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 @@