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-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-rev20260522-2.0.0</version>
<version>v1-rev20260529-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-rev20260522-2.0.0'
implementation 'com.google.apis:google-api-services-run:v1-rev20260529-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ public final class InstanceSpec extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> nodeSelector;

/**
* Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or
* 'Never'.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String restartPolicy;

/**
* Optional. Email address of the IAM service account associated with the Instance. The service
* account represents the identity of the running container, and determines what permissions the
Expand Down Expand Up @@ -102,6 +110,25 @@ public InstanceSpec setNodeSelector(java.util.Map<String, java.lang.String> node
return this;
}

/**
* Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or
* 'Never'.
* @return value or {@code null} for none
*/
public java.lang.String getRestartPolicy() {
return restartPolicy;
}

/**
* Optional. Restart policy for the Instance. Allowable values are 'Always', 'OnFailure', or
* 'Never'.
* @param restartPolicy restartPolicy or {@code null} for none
*/
public InstanceSpec setRestartPolicy(java.lang.String restartPolicy) {
this.restartPolicy = restartPolicy;
return this;
}

/**
* Optional. Email address of the IAM service account associated with the Instance. The service
* account represents the identity of the running container, and determines what permissions the
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-rev20260522-2.0.0</version>
<name>Cloud Run Admin API v1-rev20260522-2.0.0</name>
<version>v1-rev20260529-2.0.0</version>
<name>Cloud Run Admin API v1-rev20260529-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-rev20260522-2.0.0</version>
<version>v1-rev20260529-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-rev20260522-2.0.0'
implementation 'com.google.apis:google-api-services-run:v1-rev20260529-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-rev20260522-2.0.0</version>
<version>v2-rev20260529-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-rev20260522-2.0.0'
implementation 'com.google.apis:google-api-services-run:v2-rev20260529-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,13 @@ public final class GoogleCloudRunV2Instance extends com.google.api.client.json.G
@com.google.api.client.util.Key
private java.lang.Boolean reconciling;

/**
* Optional. Restart policy for the Instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String restartPolicy;

/**
* Output only. Reserved for future use.
* The value may be {@code null}.
Expand Down Expand Up @@ -904,6 +911,23 @@ public GoogleCloudRunV2Instance setReconciling(java.lang.Boolean reconciling) {
return this;
}

/**
* Optional. Restart policy for the Instance.
* @return value or {@code null} for none
*/
public java.lang.String getRestartPolicy() {
return restartPolicy;
}

/**
* Optional. Restart policy for the Instance.
* @param restartPolicy restartPolicy or {@code null} for none
*/
public GoogleCloudRunV2Instance setRestartPolicy(java.lang.String restartPolicy) {
this.restartPolicy = restartPolicy;
return this;
}

/**
* Output only. Reserved for future use.
* @return value or {@code null} for none
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v2/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>v2-rev20260522-2.0.0</version>
<name>Cloud Run Admin API v2-rev20260522-2.0.0</name>
<version>v2-rev20260529-2.0.0</version>
<name>Cloud Run Admin API v2-rev20260529-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-run/v2/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-rev20260522-2.0.0</version>
<version>v2-rev20260529-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-rev20260522-2.0.0'
implementation 'com.google.apis:google-api-services-run:v2-rev20260529-2.0.0'
}
```

Expand Down