Skip to content

Commit 9df564b

Browse files
chore: regenerate run client
1 parent 5ec85f7 commit 9df564b

27 files changed

+7697
-2728
lines changed

clients/google-api-services-run/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-run</artifactId>
25-
<version>v1-rev20251202-2.0.0</version>
25+
<version>v1-rev20260123-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-run:v1-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-run:v1-rev20260123-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/CloudRun.java

Lines changed: 4194 additions & 2620 deletions
Large diffs are not rendered by default.
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.run.v1.model;
18+
19+
/**
20+
* Instance represents the configuration of a single Instance, which references a container image
21+
* which is run to completion.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class Instance extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. APIVersion defines the versioned schema of this representation of an object. Servers
35+
* should convert recognized schemas to the latest internal value, and may reject unrecognized
36+
* values.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String apiVersion;
41+
42+
/**
43+
* Optional. Kind is a string value representing the REST resource this object represents. Servers
44+
* may infer this from the endpoint the client submits requests to. Cannot be updated. In
45+
* CamelCase.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String kind;
50+
51+
/**
52+
* Optional. Standard object's metadata.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private ObjectMeta metadata;
57+
58+
/**
59+
* Optional. Specification of the desired behavior of a Instance.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private InstanceSpec spec;
64+
65+
/**
66+
* Output only. Current status of a Instance.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private InstanceStatus status;
71+
72+
/**
73+
* Optional. APIVersion defines the versioned schema of this representation of an object. Servers
74+
* should convert recognized schemas to the latest internal value, and may reject unrecognized
75+
* values.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getApiVersion() {
79+
return apiVersion;
80+
}
81+
82+
/**
83+
* Optional. APIVersion defines the versioned schema of this representation of an object. Servers
84+
* should convert recognized schemas to the latest internal value, and may reject unrecognized
85+
* values.
86+
* @param apiVersion apiVersion or {@code null} for none
87+
*/
88+
public Instance setApiVersion(java.lang.String apiVersion) {
89+
this.apiVersion = apiVersion;
90+
return this;
91+
}
92+
93+
/**
94+
* Optional. Kind is a string value representing the REST resource this object represents. Servers
95+
* may infer this from the endpoint the client submits requests to. Cannot be updated. In
96+
* CamelCase.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getKind() {
100+
return kind;
101+
}
102+
103+
/**
104+
* Optional. Kind is a string value representing the REST resource this object represents. Servers
105+
* may infer this from the endpoint the client submits requests to. Cannot be updated. In
106+
* CamelCase.
107+
* @param kind kind or {@code null} for none
108+
*/
109+
public Instance setKind(java.lang.String kind) {
110+
this.kind = kind;
111+
return this;
112+
}
113+
114+
/**
115+
* Optional. Standard object's metadata.
116+
* @return value or {@code null} for none
117+
*/
118+
public ObjectMeta getMetadata() {
119+
return metadata;
120+
}
121+
122+
/**
123+
* Optional. Standard object's metadata.
124+
* @param metadata metadata or {@code null} for none
125+
*/
126+
public Instance setMetadata(ObjectMeta metadata) {
127+
this.metadata = metadata;
128+
return this;
129+
}
130+
131+
/**
132+
* Optional. Specification of the desired behavior of a Instance.
133+
* @return value or {@code null} for none
134+
*/
135+
public InstanceSpec getSpec() {
136+
return spec;
137+
}
138+
139+
/**
140+
* Optional. Specification of the desired behavior of a Instance.
141+
* @param spec spec or {@code null} for none
142+
*/
143+
public Instance setSpec(InstanceSpec spec) {
144+
this.spec = spec;
145+
return this;
146+
}
147+
148+
/**
149+
* Output only. Current status of a Instance.
150+
* @return value or {@code null} for none
151+
*/
152+
public InstanceStatus getStatus() {
153+
return status;
154+
}
155+
156+
/**
157+
* Output only. Current status of a Instance.
158+
* @param status status or {@code null} for none
159+
*/
160+
public Instance setStatus(InstanceStatus status) {
161+
this.status = status;
162+
return this;
163+
}
164+
165+
@Override
166+
public Instance set(String fieldName, Object value) {
167+
return (Instance) super.set(fieldName, value);
168+
}
169+
170+
@Override
171+
public Instance clone() {
172+
return (Instance) super.clone();
173+
}
174+
175+
}
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.run.v1.model;
18+
19+
/**
20+
* InstanceSpec describes how the Instance will look.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class InstanceSpec extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. List of containers belonging to the Instance. We disallow a number of fields on this
34+
* Container.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<Container> containers;
39+
40+
static {
41+
// hack to force ProGuard to consider Container used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(Container.class);
44+
}
45+
46+
/**
47+
* Optional. The Node Selector configuration. Map of selector key to a value which matches a node.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.Map<String, java.lang.String> nodeSelector;
52+
53+
/**
54+
* Optional. Email address of the IAM service account associated with the Instance. The service
55+
* account represents the identity of the running container, and determines what permissions the
56+
* Instance has. If not provided, the Instance will use the project's default service account.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String serviceAccountName;
61+
62+
/**
63+
* Optional. List of volumes that can be mounted by containers belonging to the Instance.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.util.List<Volume> volumes;
68+
69+
/**
70+
* Optional. List of containers belonging to the Instance. We disallow a number of fields on this
71+
* Container.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.util.List<Container> getContainers() {
75+
return containers;
76+
}
77+
78+
/**
79+
* Optional. List of containers belonging to the Instance. We disallow a number of fields on this
80+
* Container.
81+
* @param containers containers or {@code null} for none
82+
*/
83+
public InstanceSpec setContainers(java.util.List<Container> containers) {
84+
this.containers = containers;
85+
return this;
86+
}
87+
88+
/**
89+
* Optional. The Node Selector configuration. Map of selector key to a value which matches a node.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.util.Map<String, java.lang.String> getNodeSelector() {
93+
return nodeSelector;
94+
}
95+
96+
/**
97+
* Optional. The Node Selector configuration. Map of selector key to a value which matches a node.
98+
* @param nodeSelector nodeSelector or {@code null} for none
99+
*/
100+
public InstanceSpec setNodeSelector(java.util.Map<String, java.lang.String> nodeSelector) {
101+
this.nodeSelector = nodeSelector;
102+
return this;
103+
}
104+
105+
/**
106+
* Optional. Email address of the IAM service account associated with the Instance. The service
107+
* account represents the identity of the running container, and determines what permissions the
108+
* Instance has. If not provided, the Instance will use the project's default service account.
109+
* @return value or {@code null} for none
110+
*/
111+
public java.lang.String getServiceAccountName() {
112+
return serviceAccountName;
113+
}
114+
115+
/**
116+
* Optional. Email address of the IAM service account associated with the Instance. The service
117+
* account represents the identity of the running container, and determines what permissions the
118+
* Instance has. If not provided, the Instance will use the project's default service account.
119+
* @param serviceAccountName serviceAccountName or {@code null} for none
120+
*/
121+
public InstanceSpec setServiceAccountName(java.lang.String serviceAccountName) {
122+
this.serviceAccountName = serviceAccountName;
123+
return this;
124+
}
125+
126+
/**
127+
* Optional. List of volumes that can be mounted by containers belonging to the Instance.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.util.List<Volume> getVolumes() {
131+
return volumes;
132+
}
133+
134+
/**
135+
* Optional. List of volumes that can be mounted by containers belonging to the Instance.
136+
* @param volumes volumes or {@code null} for none
137+
*/
138+
public InstanceSpec setVolumes(java.util.List<Volume> volumes) {
139+
this.volumes = volumes;
140+
return this;
141+
}
142+
143+
@Override
144+
public InstanceSpec set(String fieldName, Object value) {
145+
return (InstanceSpec) super.set(fieldName, value);
146+
}
147+
148+
@Override
149+
public InstanceSpec clone() {
150+
return (InstanceSpec) super.clone();
151+
}
152+
153+
}

0 commit comments

Comments
 (0)