diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/README.md b/clients/google-api-services-sqladmin/v1/2.0.0/README.md index faa591d65ee..76d2b1d6b98 100644 --- a/clients/google-api-services-sqladmin/v1/2.0.0/README.md +++ b/clients/google-api-services-sqladmin/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1-rev20261006-2.0.0 + v1-rev20261006-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20261006-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20261006-2.9.2' } ``` diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java index 7ac73ca8720..ea9ac6e86be 100644 --- a/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java +++ b/clients/google-api-services-sqladmin/v1/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java @@ -49,7 +49,7 @@ public class SQLAdmin extends com.google.api.client.googleapis.services.json.Abs com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION >= 2, "You are currently running with version %s of google-api-client. " + "You need at least version 1.31.1 of google-api-client to run version " + - "2.0.0 of the Cloud SQL Admin API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); + "2.9.2 of the Cloud SQL Admin API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); } /** diff --git a/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml b/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml index f423af7908f..4aad373cfeb 100644 --- a/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml +++ b/clients/google-api-services-sqladmin/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-sqladmin - v1-rev20261006-2.0.0 - Cloud SQL Admin API v1-rev20261006-2.0.0 + v1-rev20261006-2.9.2 + Cloud SQL Admin API v1-rev20261006-2.9.2 jar 2011 diff --git a/clients/google-api-services-sqladmin/v1/README.md b/clients/google-api-services-sqladmin/v1/README.md index faa591d65ee..76d2b1d6b98 100644 --- a/clients/google-api-services-sqladmin/v1/README.md +++ b/clients/google-api-services-sqladmin/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1-rev20261006-2.0.0 + v1-rev20261006-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20261006-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20261006-2.9.2' } ``` diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md b/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md index c5d2485e51a..6cc3a0a0c31 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1beta4-rev20260929-2.0.0 + v1beta4-rev20261006-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260929-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20261006-2.9.2' } ``` diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java index 68415f1887b..3facfa442dc 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/SQLAdmin.java @@ -49,7 +49,7 @@ public class SQLAdmin extends com.google.api.client.googleapis.services.json.Abs com.google.api.client.googleapis.GoogleUtils.MAJOR_VERSION >= 2, "You are currently running with version %s of google-api-client. " + "You need at least version 1.31.1 of google-api-client to run version " + - "2.0.0 of the Cloud SQL Admin API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); + "2.9.2 of the Cloud SQL Admin API library.", com.google.api.client.googleapis.GoogleUtils.VERSION); } /** @@ -14082,31 +14082,30 @@ public Stop set(String parameterName, Object value) { } } /** - * Stops executing a captured workload on the separate Cloud SQL instance. + * Stops an active workload replay on the target Cloud SQL replay instance. * * Create a request for the method "workloadCaptures.stopReplay". * * This request holds the parameters needed by the sqladmin server. After setting any optional * parameters, call the {@link StopReplay#execute()} method to invoke the remote operation. * - * @param project Required. Project ID of the project that contains the instance. - * @param instance Required. Cloud SQL instance ID. This does not include the project ID. - * @param workloadId Required. The ID of the workload to replay. + * @param project Required. Project ID of the project that contains the target replay instance. + * @param instance Required. Cloud SQL instance ID of the target replay instance. This does not include the project ID. * @param content the {@link com.google.api.services.sqladmin.model.SqlWorkloadCapturesStopReplayRequest} * @return the request */ - public StopReplay stopReplay(java.lang.String project, java.lang.String instance, java.lang.String workloadId, com.google.api.services.sqladmin.model.SqlWorkloadCapturesStopReplayRequest content) throws java.io.IOException { - StopReplay result = new StopReplay(project, instance, workloadId, content); + public StopReplay stopReplay(java.lang.String project, java.lang.String instance, com.google.api.services.sqladmin.model.SqlWorkloadCapturesStopReplayRequest content) throws java.io.IOException { + StopReplay result = new StopReplay(project, instance, content); initialize(result); return result; } public class StopReplay extends SQLAdminRequest { - private static final String REST_PATH = "sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures/{workloadId}:stopReplay"; + private static final String REST_PATH = "sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:stopReplay"; /** - * Stops executing a captured workload on the separate Cloud SQL instance. + * Stops an active workload replay on the target Cloud SQL replay instance. * * Create a request for the method "workloadCaptures.stopReplay". * @@ -14116,17 +14115,15 @@ public class StopReplay extends SQLAdminRequest * - * @param project Required. Project ID of the project that contains the instance. - * @param instance Required. Cloud SQL instance ID. This does not include the project ID. - * @param workloadId Required. The ID of the workload to replay. + * @param project Required. Project ID of the project that contains the target replay instance. + * @param instance Required. Cloud SQL instance ID of the target replay instance. This does not include the project ID. * @param content the {@link com.google.api.services.sqladmin.model.SqlWorkloadCapturesStopReplayRequest} * @since 1.13 */ - protected StopReplay(java.lang.String project, java.lang.String instance, java.lang.String workloadId, com.google.api.services.sqladmin.model.SqlWorkloadCapturesStopReplayRequest content) { + protected StopReplay(java.lang.String project, java.lang.String instance, com.google.api.services.sqladmin.model.SqlWorkloadCapturesStopReplayRequest content) { super(SQLAdmin.this, "POST", REST_PATH, content, com.google.api.services.sqladmin.model.Operation.class); this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified."); this.instance = com.google.api.client.util.Preconditions.checkNotNull(instance, "Required parameter instance must be specified."); - this.workloadId = com.google.api.client.util.Preconditions.checkNotNull(workloadId, "Required parameter workloadId must be specified."); } @Override @@ -14184,54 +14181,45 @@ public StopReplay setUploadProtocol(java.lang.String uploadProtocol) { return (StopReplay) super.setUploadProtocol(uploadProtocol); } - /** Required. Project ID of the project that contains the instance. */ + /** Required. Project ID of the project that contains the target replay instance. */ @com.google.api.client.util.Key private java.lang.String project; - /** Required. Project ID of the project that contains the instance. + /** Required. Project ID of the project that contains the target replay instance. */ public java.lang.String getProject() { return project; } - /** Required. Project ID of the project that contains the instance. */ + /** Required. Project ID of the project that contains the target replay instance. */ public StopReplay setProject(java.lang.String project) { this.project = project; return this; } - /** Required. Cloud SQL instance ID. This does not include the project ID. */ + /** + * Required. Cloud SQL instance ID of the target replay instance. This does not include the + * project ID. + */ @com.google.api.client.util.Key private java.lang.String instance; - /** Required. Cloud SQL instance ID. This does not include the project ID. + /** Required. Cloud SQL instance ID of the target replay instance. This does not include the project + ID. */ public java.lang.String getInstance() { return instance; } - /** Required. Cloud SQL instance ID. This does not include the project ID. */ + /** + * Required. Cloud SQL instance ID of the target replay instance. This does not include the + * project ID. + */ public StopReplay setInstance(java.lang.String instance) { this.instance = instance; return this; } - /** Required. The ID of the workload to replay. */ - @com.google.api.client.util.Key - private java.lang.String workloadId; - - /** Required. The ID of the workload to replay. - */ - public java.lang.String getWorkloadId() { - return workloadId; - } - - /** Required. The ID of the workload to replay. */ - public StopReplay setWorkloadId(java.lang.String workloadId) { - this.workloadId = workloadId; - return this; - } - @Override public StopReplay set(String parameterName, Object value) { return (StopReplay) super.set(parameterName, value); diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/SqlWorkloadCapturesStopReplayRequest.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/SqlWorkloadCapturesStopReplayRequest.java index 59755af4cad..70c17dd4a3b 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/SqlWorkloadCapturesStopReplayRequest.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/SqlWorkloadCapturesStopReplayRequest.java @@ -17,7 +17,7 @@ package com.google.api.services.sqladmin.model; /** - * Request to stop executing a captured workload on a replay instance. + * Request to stop an active workload replay on a target Cloud SQL replay instance. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: @@ -30,14 +30,14 @@ public final class SqlWorkloadCapturesStopReplayRequest extends com.google.api.client.json.GenericJson { /** - * Required. Contains details about the stop workload replay operation. + * Optional. Contains details about the stop workload replay operation. * The value may be {@code null}. */ @com.google.api.client.util.Key private StopWorkloadReplayContext stopWorkloadReplayContext; /** - * Required. Contains details about the stop workload replay operation. + * Optional. Contains details about the stop workload replay operation. * @return value or {@code null} for none */ public StopWorkloadReplayContext getStopWorkloadReplayContext() { @@ -45,7 +45,7 @@ public StopWorkloadReplayContext getStopWorkloadReplayContext() { } /** - * Required. Contains details about the stop workload replay operation. + * Optional. Contains details about the stop workload replay operation. * @param stopWorkloadReplayContext stopWorkloadReplayContext or {@code null} for none */ public SqlWorkloadCapturesStopReplayRequest setStopWorkloadReplayContext(StopWorkloadReplayContext stopWorkloadReplayContext) { diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/StopWorkloadReplayContext.java b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/StopWorkloadReplayContext.java index 45b049eb6bc..ae2dd3ac412 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/StopWorkloadReplayContext.java +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/StopWorkloadReplayContext.java @@ -17,8 +17,8 @@ package com.google.api.services.sqladmin.model; /** - * The context for the `StopWorkloadReplay` operation, which contains details about stopping the - * execution of a captured workload (recorded read and write SQL queries) on a replay instance. + * The context for the `StopWorkloadReplay` operation, which represents an operation that stops an + * active workload replay on a target Cloud SQL replay instance. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: @@ -30,69 +30,6 @@ @SuppressWarnings("javadoc") public final class StopWorkloadReplayContext extends com.google.api.client.json.GenericJson { - /** - * Required. The name of the Cloud SQL instance where the captured workload (SQL queries) is being - * executed, excluding the project ID (for example, `my-replay-instance`). The instance name must - * start with a lowercase letter and contain only lowercase letters, numbers, and hyphens. The - * combined length of `project-ID:instance-name` must be 98 characters or less. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String replayInstance; - - /** - * Output only. The ID of the workload to stop executing on the replay instance. Each workload - * capture generates a unique ID in the format `workload-` (for example, `workload-1786046400`). - * Use this ID to stop executing the recorded SQL queries. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String workloadId; - - /** - * Required. The name of the Cloud SQL instance where the captured workload (SQL queries) is being - * executed, excluding the project ID (for example, `my-replay-instance`). The instance name must - * start with a lowercase letter and contain only lowercase letters, numbers, and hyphens. The - * combined length of `project-ID:instance-name` must be 98 characters or less. - * @return value or {@code null} for none - */ - public java.lang.String getReplayInstance() { - return replayInstance; - } - - /** - * Required. The name of the Cloud SQL instance where the captured workload (SQL queries) is being - * executed, excluding the project ID (for example, `my-replay-instance`). The instance name must - * start with a lowercase letter and contain only lowercase letters, numbers, and hyphens. The - * combined length of `project-ID:instance-name` must be 98 characters or less. - * @param replayInstance replayInstance or {@code null} for none - */ - public StopWorkloadReplayContext setReplayInstance(java.lang.String replayInstance) { - this.replayInstance = replayInstance; - return this; - } - - /** - * Output only. The ID of the workload to stop executing on the replay instance. Each workload - * capture generates a unique ID in the format `workload-` (for example, `workload-1786046400`). - * Use this ID to stop executing the recorded SQL queries. - * @return value or {@code null} for none - */ - public java.lang.String getWorkloadId() { - return workloadId; - } - - /** - * Output only. The ID of the workload to stop executing on the replay instance. Each workload - * capture generates a unique ID in the format `workload-` (for example, `workload-1786046400`). - * Use this ID to stop executing the recorded SQL queries. - * @param workloadId workloadId or {@code null} for none - */ - public StopWorkloadReplayContext setWorkloadId(java.lang.String workloadId) { - this.workloadId = workloadId; - return this; - } - @Override public StopWorkloadReplayContext set(String fieldName, Object value) { return (StopWorkloadReplayContext) super.set(fieldName, value); diff --git a/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml b/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml index c2ea6f8e7e6..98dcfb5521b 100644 --- a/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml +++ b/clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-sqladmin - v1beta4-rev20260929-2.0.0 - Cloud SQL Admin API v1beta4-rev20260929-2.0.0 + v1beta4-rev20261006-2.9.2 + Cloud SQL Admin API v1beta4-rev20261006-2.9.2 jar 2011 diff --git a/clients/google-api-services-sqladmin/v1beta4/README.md b/clients/google-api-services-sqladmin/v1beta4/README.md index c5d2485e51a..6cc3a0a0c31 100644 --- a/clients/google-api-services-sqladmin/v1beta4/README.md +++ b/clients/google-api-services-sqladmin/v1beta4/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-sqladmin - v1beta4-rev20260929-2.0.0 + v1beta4-rev20261006-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260929-2.0.0' + implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20261006-2.9.2' } ```