Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-sqladmin/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-sqladmin</artifactId>
<version>v1-rev20261006-2.0.0</version>
<version>v1-rev20261006-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-sqladmin/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-sqladmin</artifactId>
<version>v1-rev20261006-2.0.0</version>
<name>Cloud SQL Admin API v1-rev20261006-2.0.0</name>
<version>v1-rev20261006-2.9.2</version>
<name>Cloud SQL Admin API v1-rev20261006-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-sqladmin/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-sqladmin</artifactId>
<version>v1-rev20261006-2.0.0</version>
<version>v1-rev20261006-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-sqladmin</artifactId>
<version>v1beta4-rev20260929-2.0.0</version>
<version>v1beta4-rev20261006-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down Expand Up @@ -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<com.google.api.services.sqladmin.model.Operation> {

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".
*
Expand All @@ -14116,17 +14115,15 @@ public class StopReplay extends SQLAdminRequest<com.google.api.services.sqladmin
* StopReplay#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. </p>
*
* @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
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p> 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:
Expand All @@ -30,22 +30,22 @@
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() {
return stopWorkloadReplayContext;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p> 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:
Expand All @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-sqladmin/v1beta4/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-sqladmin</artifactId>
<version>v1beta4-rev20260929-2.0.0</version>
<name>Cloud SQL Admin API v1beta4-rev20260929-2.0.0</name>
<version>v1beta4-rev20261006-2.9.2</version>
<name>Cloud SQL Admin API v1beta4-rev20261006-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-sqladmin/v1beta4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-sqladmin</artifactId>
<version>v1beta4-rev20260929-2.0.0</version>
<version>v1beta4-rev20261006-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading