Skip to content
Open
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-rev20251201-2.0.0</version>
<version>v1-rev20260204-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20251201-2.0.0'
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260204-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class SQLAdmin extends com.google.api.client.googleapis.services.json.Abs
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -11464,6 +11464,32 @@ public Update setName(java.lang.String name) {
return this;
}

/**
* Optional. Specifies whether to revoke existing roles that are not present in the
* `database_roles` field. If `false` or unset, the database roles specified in
* `database_roles` are added to the user's existing roles.
*/
@com.google.api.client.util.Key
private java.lang.Boolean revokeExistingRoles;

/** Optional. Specifies whether to revoke existing roles that are not present in the `database_roles`
field. If `false` or unset, the database roles specified in `database_roles` are added to the
user's existing roles.
*/
public java.lang.Boolean getRevokeExistingRoles() {
return revokeExistingRoles;
}

/**
* Optional. Specifies whether to revoke existing roles that are not present in the
* `database_roles` field. If `false` or unset, the database roles specified in
* `database_roles` are added to the user's existing roles.
*/
public Update setRevokeExistingRoles(java.lang.Boolean revokeExistingRoles) {
this.revokeExistingRoles = revokeExistingRoles;
return this;
}

@Override
public Update set(String parameterName, Object value) {
return (Update) super.set(parameterName, value);
Expand Down Expand Up @@ -11504,8 +11530,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,24 @@ public final class CloneContext extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String destinationInstanceName;

/**
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
* connected via Private Services Access for private IP. For example:`projects/my-network-
* project/global/networks/my-network`. This field is only required for cross-project cloning.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String destinationNetwork;

/**
* Optional. The project ID of the destination project where the cloned instance will be created.
* To perform a cross-project clone, this field is required. If not specified, the clone is
* created in the same project as the source instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String destinationProject;

/**
* This is always `sql#cloneContext`.
* The value may be {@code null}.
Expand Down Expand Up @@ -193,6 +211,48 @@ public CloneContext setDestinationInstanceName(java.lang.String destinationInsta
return this;
}

/**
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
* connected via Private Services Access for private IP. For example:`projects/my-network-
* project/global/networks/my-network`. This field is only required for cross-project cloning.
* @return value or {@code null} for none
*/
public java.lang.String getDestinationNetwork() {
return destinationNetwork;
}

/**
* Optional. The fully qualified URI of the VPC network to which the cloned instance will be
* connected via Private Services Access for private IP. For example:`projects/my-network-
* project/global/networks/my-network`. This field is only required for cross-project cloning.
* @param destinationNetwork destinationNetwork or {@code null} for none
*/
public CloneContext setDestinationNetwork(java.lang.String destinationNetwork) {
this.destinationNetwork = destinationNetwork;
return this;
}

/**
* Optional. The project ID of the destination project where the cloned instance will be created.
* To perform a cross-project clone, this field is required. If not specified, the clone is
* created in the same project as the source instance.
* @return value or {@code null} for none
*/
public java.lang.String getDestinationProject() {
return destinationProject;
}

/**
* Optional. The project ID of the destination project where the cloned instance will be created.
* To perform a cross-project clone, this field is required. If not specified, the clone is
* created in the same project as the source instance.
* @param destinationProject destinationProject or {@code null} for none
*/
public CloneContext setDestinationProject(java.lang.String destinationProject) {
this.destinationProject = destinationProject;
return this;
}

/**
* This is always `sql#cloneContext`.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,19 @@ public final class DnsNameMapping extends com.google.api.client.json.GenericJson
private java.lang.String dnsScope;

/**
* The DNS name.
* Output only. The DNS name.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Output only. The manager for this DNS record.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String recordManager;

/**
* Output only. The connection type of the DNS name.
* @return value or {@code null} for none
Expand Down Expand Up @@ -85,22 +92,39 @@ public DnsNameMapping setDnsScope(java.lang.String dnsScope) {
}

/**
* The DNS name.
* Output only. The DNS name.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* The DNS name.
* Output only. The DNS name.
* @param name name or {@code null} for none
*/
public DnsNameMapping setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Output only. The manager for this DNS record.
* @return value or {@code null} for none
*/
public java.lang.String getRecordManager() {
return recordManager;
}

/**
* Output only. The manager for this DNS record.
* @param recordManager recordManager or {@code null} for none
*/
public DnsNameMapping setRecordManager(java.lang.String recordManager) {
this.recordManager = recordManager;
return this;
}

@Override
public DnsNameMapping set(String fieldName, Object value) {
return (DnsNameMapping) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
@SuppressWarnings("javadoc")
public final class ExecuteSqlPayload extends com.google.api.client.json.GenericJson {

/**
* Optional. Specifies the name of the application that is making the request. This field is used
* for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum
* length is 32 characters.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String application;

/**
* Optional. When set to true, the API caller identity associated with the request is used for
* database authentication. The API caller must be an IAM user in the database.
Expand Down Expand Up @@ -75,6 +84,27 @@ public final class ExecuteSqlPayload extends com.google.api.client.json.GenericJ
@com.google.api.client.util.Key
private java.lang.String user;

/**
* Optional. Specifies the name of the application that is making the request. This field is used
* for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum
* length is 32 characters.
* @return value or {@code null} for none
*/
public java.lang.String getApplication() {
return application;
}

/**
* Optional. Specifies the name of the application that is making the request. This field is used
* for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum
* length is 32 characters.
* @param application application or {@code null} for none
*/
public ExecuteSqlPayload setApplication(java.lang.String application) {
this.application = application;
return this;
}

/**
* Optional. When set to true, the API caller identity associated with the request is used for
* database authentication. The API caller must be an IAM user in the database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class InsightsConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Whether enhanced query insights feature is enabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean enhancedQueryInsightsEnabled;

/**
* Whether Query Insights feature is enabled.
* The value may be {@code null}.
Expand Down Expand Up @@ -68,6 +75,23 @@ public final class InsightsConfig extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.Boolean recordClientAddress;

/**
* Optional. Whether enhanced query insights feature is enabled.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnhancedQueryInsightsEnabled() {
return enhancedQueryInsightsEnabled;
}

/**
* Optional. Whether enhanced query insights feature is enabled.
* @param enhancedQueryInsightsEnabled enhancedQueryInsightsEnabled or {@code null} for none
*/
public InsightsConfig setEnhancedQueryInsightsEnabled(java.lang.Boolean enhancedQueryInsightsEnabled) {
this.enhancedQueryInsightsEnabled = enhancedQueryInsightsEnabled;
return this;
}

/**
* Whether Query Insights feature is enabled.
* @return value or {@code null} for none
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-rev20251201-2.0.0</version>
<name>Cloud SQL Admin API v1-rev20251201-2.0.0</name>
<version>v1-rev20260204-2.0.0</version>
<name>Cloud SQL Admin API v1-rev20260204-2.0.0</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-rev20251201-2.0.0</version>
<version>v1-rev20260204-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20251201-2.0.0'
implementation 'com.google.apis:google-api-services-sqladmin:v1-rev20260204-2.0.0'
}
```

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-rev20251201-2.0.0</version>
<version>v1beta4-rev20260204-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20251201-2.0.0'
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20260204-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class SQLAdmin extends com.google.api.client.googleapis.services.json.Abs
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -11467,17 +11467,27 @@ public Update setName(java.lang.String name) {
return this;
}

/** Optional. revoke the existing roles granted to the user. */
/**
* Optional. Specifies whether to revoke existing roles that are not present in the
* `database_roles` field. If `false` or unset, the database roles specified in
* `database_roles` are added to the user's existing roles.
*/
@com.google.api.client.util.Key
private java.lang.Boolean revokeExistingRoles;

/** Optional. revoke the existing roles granted to the user.
/** Optional. Specifies whether to revoke existing roles that are not present in the `database_roles`
field. If `false` or unset, the database roles specified in `database_roles` are added to the
user's existing roles.
*/
public java.lang.Boolean getRevokeExistingRoles() {
return revokeExistingRoles;
}

/** Optional. revoke the existing roles granted to the user. */
/**
* Optional. Specifies whether to revoke existing roles that are not present in the
* `database_roles` field. If `false` or unset, the database roles specified in
* `database_roles` are added to the user's existing roles.
*/
public Update setRevokeExistingRoles(java.lang.Boolean revokeExistingRoles) {
this.revokeExistingRoles = revokeExistingRoles;
return this;
Expand Down Expand Up @@ -11523,8 +11533,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Loading