Skip to content

Commit

Permalink
chore: regenerate run client (#23624)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Oct 13, 2024
1 parent 152bc41 commit f736aa9
Show file tree
Hide file tree
Showing 14 changed files with 89 additions and 83 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-run/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-run</artifactId>
<version>v1-rev20240927-2.0.0</version>
<version>v1-rev20241004-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-run:v1-rev20240927-2.0.0'
implementation 'com.google.apis:google-api-services-run:v1-rev20241004-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ public final class ObjectMeta extends com.google.api.client.json.GenericJson {
* `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-
* hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. *
* `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-
* traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-
* stage`: Service, Job. * `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-
* interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`:
* Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
* session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. *
* `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`:
* Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
* traffic-tags`: Service. * `run.googleapis.com/health-check-disabled`: Revision. *
* `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. *
* `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-interfaces`: Revision,
* Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. *
* `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`:
* Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-
* boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. *
* `run.googleapis.com/vpc-access-egress`: Revision, Execution.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -191,13 +192,14 @@ public final class ObjectMeta extends com.google.api.client.json.GenericJson {
* `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-
* hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. *
* `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-
* traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-
* stage`: Service, Job. * `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-
* interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`:
* Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
* session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. *
* `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`:
* Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
* traffic-tags`: Service. * `run.googleapis.com/health-check-disabled`: Revision. *
* `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. *
* `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-interfaces`: Revision,
* Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. *
* `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`:
* Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-
* boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. *
* `run.googleapis.com/vpc-access-egress`: Revision, Execution.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getAnnotations() {
Expand Down Expand Up @@ -225,13 +227,14 @@ public java.util.Map<String, java.lang.String> getAnnotations() {
* `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-
* hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. *
* `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-
* traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-
* stage`: Service, Job. * `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-
* interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`:
* Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-
* session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. *
* `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`:
* Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
* traffic-tags`: Service. * `run.googleapis.com/health-check-disabled`: Revision. *
* `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. *
* `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-interfaces`: Revision,
* Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. *
* `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`:
* Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-
* boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. *
* `run.googleapis.com/vpc-access-egress`: Revision, Execution.
* @param annotations annotations or {@code null} for none
*/
public ObjectMeta setAnnotations(java.util.Map<String, java.lang.String> annotations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ public final class RevisionTemplate extends com.google.api.client.json.GenericJs
* `autoscaling.knative.dev/minScale` sets the minimum number of instances. *
* `autoscaling.knative.dev/maxScale` sets the maximum number of instances. *
* `run.googleapis.com/cloudsql-instances` sets Cloud SQL connections. Multiple values should be
* comma separated. * `run.googleapis.com/vpc-access-connector` sets a Serverless VPC Access
* connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported values are `all-
* traffic`, `all` (deprecated), and `private-ranges-only`. `all-traffic` and `all` provide the
* same functionality. `all` is deprecated but will continue to be supported. Prefer `all-
* traffic`.
* comma separated. * `run.googleapis.com/health-check-disabled`: if true, deploy-time startup
* probes will not run for this revision. * `run.googleapis.com/vpc-access-connector` sets a
* Serverless VPC Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress.
* Supported values are `all-traffic`, `all` (deprecated), and `private-ranges-only`. `all-
* traffic` and `all` provide the same functionality. `all` is deprecated but will continue to be
* supported. Prefer `all-traffic`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -58,11 +59,12 @@ public final class RevisionTemplate extends com.google.api.client.json.GenericJs
* `autoscaling.knative.dev/minScale` sets the minimum number of instances. *
* `autoscaling.knative.dev/maxScale` sets the maximum number of instances. *
* `run.googleapis.com/cloudsql-instances` sets Cloud SQL connections. Multiple values should be
* comma separated. * `run.googleapis.com/vpc-access-connector` sets a Serverless VPC Access
* connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported values are `all-
* traffic`, `all` (deprecated), and `private-ranges-only`. `all-traffic` and `all` provide the
* same functionality. `all` is deprecated but will continue to be supported. Prefer `all-
* traffic`.
* comma separated. * `run.googleapis.com/health-check-disabled`: if true, deploy-time startup
* probes will not run for this revision. * `run.googleapis.com/vpc-access-connector` sets a
* Serverless VPC Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress.
* Supported values are `all-traffic`, `all` (deprecated), and `private-ranges-only`. `all-
* traffic` and `all` provide the same functionality. `all` is deprecated but will continue to be
* supported. Prefer `all-traffic`.
* @return value or {@code null} for none
*/
public ObjectMeta getMetadata() {
Expand All @@ -75,11 +77,12 @@ public ObjectMeta getMetadata() {
* `autoscaling.knative.dev/minScale` sets the minimum number of instances. *
* `autoscaling.knative.dev/maxScale` sets the maximum number of instances. *
* `run.googleapis.com/cloudsql-instances` sets Cloud SQL connections. Multiple values should be
* comma separated. * `run.googleapis.com/vpc-access-connector` sets a Serverless VPC Access
* connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported values are `all-
* traffic`, `all` (deprecated), and `private-ranges-only`. `all-traffic` and `all` provide the
* same functionality. `all` is deprecated but will continue to be supported. Prefer `all-
* traffic`.
* comma separated. * `run.googleapis.com/health-check-disabled`: if true, deploy-time startup
* probes will not run for this revision. * `run.googleapis.com/vpc-access-connector` sets a
* Serverless VPC Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress.
* Supported values are `all-traffic`, `all` (deprecated), and `private-ranges-only`. `all-
* traffic` and `all` provide the same functionality. `all` is deprecated but will continue to be
* supported. Prefer `all-traffic`.
* @param metadata metadata or {@code null} for none
*/
public RevisionTemplate setMetadata(ObjectMeta metadata) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/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-run</artifactId>
<version>v1-rev20240927-2.0.0</version>
<name>Cloud Run Admin API v1-rev20240927-2.0.0</name>
<version>v1-rev20241004-2.0.0</version>
<name>Cloud Run Admin API v1-rev20241004-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/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-run</artifactId>
<version>v1-rev20240927-2.0.0</version>
<version>v1-rev20241004-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-run:v1-rev20240927-2.0.0'
implementation 'com.google.apis:google-api-services-run:v1-rev20241004-2.0.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v2/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-run</artifactId>
<version>v2-rev20240927-2.0.0</version>
<version>v2-rev20241004-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-run:v2-rev20240927-2.0.0'
implementation 'com.google.apis:google-api-services-run:v2-rev20241004-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ public class Builds {
*
* @param parent Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or
* 'global' if the global builder is to be used. Format:
* projects/{project}/locations/{location}
* `projects/{project}/locations/{location}`
* @param content the {@link com.google.api.services.run.v2.model.GoogleCloudRunV2SubmitBuildRequest}
* @return the request
*/
Expand Down Expand Up @@ -865,7 +865,7 @@ public class Submit extends CloudRunRequest<com.google.api.services.run.v2.model
*
* @param parent Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or
* 'global' if the global builder is to be used. Format:
* projects/{project}/locations/{location}
* `projects/{project}/locations/{location}`
* @param content the {@link com.google.api.services.run.v2.model.GoogleCloudRunV2SubmitBuildRequest}
* @since 1.13
*/
Expand Down Expand Up @@ -937,13 +937,13 @@ public Submit setUploadProtocol(java.lang.String uploadProtocol) {
/**
* Required. The project and location to build in. Location must be a region, e.g., 'us-
* central1' or 'global' if the global builder is to be used. Format:
* projects/{project}/locations/{location}
* `projects/{project}/locations/{location}`
*/
@com.google.api.client.util.Key
private java.lang.String parent;

/** Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or
'global' if the global builder is to be used. Format: projects/{project}/locations/{location}
'global' if the global builder is to be used. Format: `projects/{project}/locations/{location}`
*/
public java.lang.String getParent() {
return parent;
Expand All @@ -952,7 +952,7 @@ public java.lang.String getParent() {
/**
* Required. The project and location to build in. Location must be a region, e.g., 'us-
* central1' or 'global' if the global builder is to be used. Format:
* projects/{project}/locations/{location}
* `projects/{project}/locations/{location}`
*/
public Submit setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final class GoogleCloudRunV2BinaryAuthorization extends com.google.api.cl

/**
* Optional. The path to a binary authorization policy. Format:
* projects/{project}/platforms/cloudRun/{policy-name}
* `projects/{project}/platforms/cloudRun/{policy-name}`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -77,7 +77,7 @@ public GoogleCloudRunV2BinaryAuthorization setBreakglassJustification(java.lang.

/**
* Optional. The path to a binary authorization policy. Format:
* projects/{project}/platforms/cloudRun/{policy-name}
* `projects/{project}/platforms/cloudRun/{policy-name}`
* @return value or {@code null} for none
*/
public java.lang.String getPolicy() {
Expand All @@ -86,7 +86,7 @@ public java.lang.String getPolicy() {

/**
* Optional. The path to a binary authorization policy. Format:
* projects/{project}/platforms/cloudRun/{policy-name}
* `projects/{project}/platforms/cloudRun/{policy-name}`
* @param policy policy or {@code null} for none
*/
public GoogleCloudRunV2BinaryAuthorization setPolicy(java.lang.String policy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public final class GoogleCloudRunV2RevisionTemplate extends com.google.api.clien

/**
* Optional. Sets the maximum number of requests that each serving instance can receive. If not
* specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU <
* 1.
* specified or 0, defaults to 80 when requested `CPU >= 1` and defaults to 1 when requested `CPU
* < 1`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -297,8 +297,8 @@ public GoogleCloudRunV2RevisionTemplate setLabels(java.util.Map<String, java.lan

/**
* Optional. Sets the maximum number of requests that each serving instance can receive. If not
* specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU <
* 1.
* specified or 0, defaults to 80 when requested `CPU >= 1` and defaults to 1 when requested `CPU
* < 1`.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxInstanceRequestConcurrency() {
Expand All @@ -307,8 +307,8 @@ public java.lang.Integer getMaxInstanceRequestConcurrency() {

/**
* Optional. Sets the maximum number of requests that each serving instance can receive. If not
* specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU <
* 1.
* specified or 0, defaults to 80 when requested `CPU >= 1` and defaults to 1 when requested `CPU
* < 1`.
* @param maxInstanceRequestConcurrency maxInstanceRequestConcurrency or {@code null} for none
*/
public GoogleCloudRunV2RevisionTemplate setMaxInstanceRequestConcurrency(java.lang.Integer maxInstanceRequestConcurrency) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
public final class GoogleCloudRunV2ServiceMesh extends com.google.api.client.json.GenericJson {

/**
* The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where
* {project} can be project id or number.
* The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where
* `{project}` can be project id or number.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String mesh;

/**
* The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where
* {project} can be project id or number.
* The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where
* `{project}` can be project id or number.
* @return value or {@code null} for none
*/
public java.lang.String getMesh() {
return mesh;
}

/**
* The Mesh resource name. Format: projects/{project}/locations/global/meshes/{mesh}, where
* {project} can be project id or number.
* The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where
* `{project}` can be project id or number.
* @param mesh mesh or {@code null} for none
*/
public GoogleCloudRunV2ServiceMesh setMesh(java.lang.String mesh) {
Expand Down
Loading

0 comments on commit f736aa9

Please sign in to comment.