Skip to content

Commit

Permalink
chore: regenerate run client (#18336)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Oct 11, 2023
1 parent 8475c75 commit d6735e8
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 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-rev20231001-2.0.0</version>
<version>v1-rev20231008-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-rev20231001-2.0.0'
implementation 'com.google.apis:google-api-services-run:v1-rev20231008-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ public final class RevisionStatus extends com.google.api.client.json.GenericJson
com.google.api.client.util.Data.nullOf(GoogleCloudRunV1Condition.class);
}

/**
* Output only. The desired number of instances running this revision. For Cloud Run, this only
* includes instances provisioned using the minScale annotation. It does not include instances
* created by autoscaling.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer desiredReplicas;

/**
* ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image. The
* digest is resolved during the creation of Revision. This field holds the digest value
Expand Down Expand Up @@ -107,6 +116,27 @@ public RevisionStatus setConditions(java.util.List<GoogleCloudRunV1Condition> co
return this;
}

/**
* Output only. The desired number of instances running this revision. For Cloud Run, this only
* includes instances provisioned using the minScale annotation. It does not include instances
* created by autoscaling.
* @return value or {@code null} for none
*/
public java.lang.Integer getDesiredReplicas() {
return desiredReplicas;
}

/**
* Output only. The desired number of instances running this revision. For Cloud Run, this only
* includes instances provisioned using the minScale annotation. It does not include instances
* created by autoscaling.
* @param desiredReplicas desiredReplicas or {@code null} for none
*/
public RevisionStatus setDesiredReplicas(java.lang.Integer desiredReplicas) {
this.desiredReplicas = desiredReplicas;
return this;
}

/**
* ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image. The
* digest is resolved during the creation of Revision. This field holds the digest value
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-rev20231001-2.0.0</version>
<name>Cloud Run Admin API v1-rev20231001-2.0.0</name>
<version>v1-rev20231008-2.0.0</version>
<name>Cloud Run Admin API v1-rev20231008-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down

0 comments on commit d6735e8

Please sign in to comment.