Skip to content

Commit eb7fbcf

Browse files
chore: regenerate cloudresourcemanager client (#27229)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent b228cb2 commit eb7fbcf

File tree

8 files changed

+866
-12
lines changed

8 files changed

+866
-12
lines changed

clients/google-api-services-cloudresourcemanager/v3/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-cloudresourcemanager</artifactId>
25-
<version>v3-rev20250508-2.0.0</version>
25+
<version>v3-rev20250522-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-cloudresourcemanager:v3-rev20250508-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20250522-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-cloudresourcemanager/v3/2.0.0/com/google/api/services/cloudresourcemanager/v3/CloudResourceManager.java

Lines changed: 561 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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.cloudresourcemanager.v3.model;
18+
19+
/**
20+
* Represents a collection of effective tag bindings for a GCP resource.
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 Resource Manager API. For a detailed
24+
* 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 EffectiveTagBindingCollection extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Tag keys/values effectively bound to this resource, specified in namespaced format. For
35+
* example: "123/environment": "production"
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.Map<String, java.lang.String> effectiveTags;
40+
41+
/**
42+
* The full resource name of the resource the TagBindings are bound to. E.g.
43+
* `//cloudresourcemanager.googleapis.com/projects/123`
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String fullResourceName;
48+
49+
/**
50+
* Identifier. The name of the EffectiveTagBindingCollection, following the convention:
51+
* `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the
52+
* encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are
53+
* bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.goog
54+
* leapis.com%2fprojects%2f123"
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String name;
59+
60+
/**
61+
* Tag keys/values effectively bound to this resource, specified in namespaced format. For
62+
* example: "123/environment": "production"
63+
* @return value or {@code null} for none
64+
*/
65+
public java.util.Map<String, java.lang.String> getEffectiveTags() {
66+
return effectiveTags;
67+
}
68+
69+
/**
70+
* Tag keys/values effectively bound to this resource, specified in namespaced format. For
71+
* example: "123/environment": "production"
72+
* @param effectiveTags effectiveTags or {@code null} for none
73+
*/
74+
public EffectiveTagBindingCollection setEffectiveTags(java.util.Map<String, java.lang.String> effectiveTags) {
75+
this.effectiveTags = effectiveTags;
76+
return this;
77+
}
78+
79+
/**
80+
* The full resource name of the resource the TagBindings are bound to. E.g.
81+
* `//cloudresourcemanager.googleapis.com/projects/123`
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getFullResourceName() {
85+
return fullResourceName;
86+
}
87+
88+
/**
89+
* The full resource name of the resource the TagBindings are bound to. E.g.
90+
* `//cloudresourcemanager.googleapis.com/projects/123`
91+
* @param fullResourceName fullResourceName or {@code null} for none
92+
*/
93+
public EffectiveTagBindingCollection setFullResourceName(java.lang.String fullResourceName) {
94+
this.fullResourceName = fullResourceName;
95+
return this;
96+
}
97+
98+
/**
99+
* Identifier. The name of the EffectiveTagBindingCollection, following the convention:
100+
* `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the
101+
* encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are
102+
* bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.goog
103+
* leapis.com%2fprojects%2f123"
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getName() {
107+
return name;
108+
}
109+
110+
/**
111+
* Identifier. The name of the EffectiveTagBindingCollection, following the convention:
112+
* `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` where the
113+
* encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are
114+
* bound to. E.g. "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.goog
115+
* leapis.com%2fprojects%2f123"
116+
* @param name name or {@code null} for none
117+
*/
118+
public EffectiveTagBindingCollection setName(java.lang.String name) {
119+
this.name = name;
120+
return this;
121+
}
122+
123+
@Override
124+
public EffectiveTagBindingCollection set(String fieldName, Object value) {
125+
return (EffectiveTagBindingCollection) super.set(fieldName, value);
126+
}
127+
128+
@Override
129+
public EffectiveTagBindingCollection clone() {
130+
return (EffectiveTagBindingCollection) super.clone();
131+
}
132+
133+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
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.cloudresourcemanager.v3.model;
18+
19+
/**
20+
* Represents a collection of tags directly bound to a GCP resource.
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 Resource Manager API. For a detailed
24+
* 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 TagBindingCollection extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. A checksum based on the current bindings which can be passed to prevent race
35+
* conditions. This field is always set in server responses.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String etag;
40+
41+
/**
42+
* The full resource name of the resource the TagBindings are bound to. E.g.
43+
* `//cloudresourcemanager.googleapis.com/projects/123`
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String fullResourceName;
48+
49+
/**
50+
* Identifier. The name of the TagBindingCollection, following the convention:
51+
* `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-
52+
* full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to.
53+
* "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f
54+
* 123"
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String name;
59+
60+
/**
61+
* Tag keys/values directly bound to this resource, specified in namespaced format. For example:
62+
* "123/environment": "production"
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.util.Map<String, java.lang.String> tags;
67+
68+
/**
69+
* Optional. A checksum based on the current bindings which can be passed to prevent race
70+
* conditions. This field is always set in server responses.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getEtag() {
74+
return etag;
75+
}
76+
77+
/**
78+
* Optional. A checksum based on the current bindings which can be passed to prevent race
79+
* conditions. This field is always set in server responses.
80+
* @param etag etag or {@code null} for none
81+
*/
82+
public TagBindingCollection setEtag(java.lang.String etag) {
83+
this.etag = etag;
84+
return this;
85+
}
86+
87+
/**
88+
* The full resource name of the resource the TagBindings are bound to. E.g.
89+
* `//cloudresourcemanager.googleapis.com/projects/123`
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getFullResourceName() {
93+
return fullResourceName;
94+
}
95+
96+
/**
97+
* The full resource name of the resource the TagBindings are bound to. E.g.
98+
* `//cloudresourcemanager.googleapis.com/projects/123`
99+
* @param fullResourceName fullResourceName or {@code null} for none
100+
*/
101+
public TagBindingCollection setFullResourceName(java.lang.String fullResourceName) {
102+
this.fullResourceName = fullResourceName;
103+
return this;
104+
}
105+
106+
/**
107+
* Identifier. The name of the TagBindingCollection, following the convention:
108+
* `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-
109+
* full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to.
110+
* "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f
111+
* 123"
112+
* @return value or {@code null} for none
113+
*/
114+
public java.lang.String getName() {
115+
return name;
116+
}
117+
118+
/**
119+
* Identifier. The name of the TagBindingCollection, following the convention:
120+
* `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the encoded-
121+
* full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to.
122+
* "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f
123+
* 123"
124+
* @param name name or {@code null} for none
125+
*/
126+
public TagBindingCollection setName(java.lang.String name) {
127+
this.name = name;
128+
return this;
129+
}
130+
131+
/**
132+
* Tag keys/values directly bound to this resource, specified in namespaced format. For example:
133+
* "123/environment": "production"
134+
* @return value or {@code null} for none
135+
*/
136+
public java.util.Map<String, java.lang.String> getTags() {
137+
return tags;
138+
}
139+
140+
/**
141+
* Tag keys/values directly bound to this resource, specified in namespaced format. For example:
142+
* "123/environment": "production"
143+
* @param tags tags or {@code null} for none
144+
*/
145+
public TagBindingCollection setTags(java.util.Map<String, java.lang.String> tags) {
146+
this.tags = tags;
147+
return this;
148+
}
149+
150+
@Override
151+
public TagBindingCollection set(String fieldName, Object value) {
152+
return (TagBindingCollection) super.set(fieldName, value);
153+
}
154+
155+
@Override
156+
public TagBindingCollection clone() {
157+
return (TagBindingCollection) super.clone();
158+
}
159+
160+
}

clients/google-api-services-cloudresourcemanager/v3/2.0.0/com/google/api/services/cloudresourcemanager/v3/model/TagKey.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public final class TagKey extends com.google.api.client.json.GenericJson {
9898

9999
/**
100100
* Required. Immutable. The user friendly name for a TagKey. The short name should be unique for
101-
* TagKeys within the same tag namespace. The short name must be 1-63 characters, beginning and
101+
* TagKeys within the same tag namespace. The short name must be 1-256 characters, beginning and
102102
* ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.),
103103
* and alphanumerics between.
104104
* The value may be {@code null}.
@@ -271,7 +271,7 @@ public TagKey setPurposeData(java.util.Map<String, java.lang.String> purposeData
271271

272272
/**
273273
* Required. Immutable. The user friendly name for a TagKey. The short name should be unique for
274-
* TagKeys within the same tag namespace. The short name must be 1-63 characters, beginning and
274+
* TagKeys within the same tag namespace. The short name must be 1-256 characters, beginning and
275275
* ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.),
276276
* and alphanumerics between.
277277
* @return value or {@code null} for none
@@ -282,7 +282,7 @@ public java.lang.String getShortName() {
282282

283283
/**
284284
* Required. Immutable. The user friendly name for a TagKey. The short name should be unique for
285-
* TagKeys within the same tag namespace. The short name must be 1-63 characters, beginning and
285+
* TagKeys within the same tag namespace. The short name must be 1-256 characters, beginning and
286286
* ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.),
287287
* and alphanumerics between.
288288
* @param shortName shortName or {@code null} for none

clients/google-api-services-cloudresourcemanager/v3/2.0.0/com/google/api/services/cloudresourcemanager/v3/model/TagValue.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public final class TagValue extends com.google.api.client.json.GenericJson {
8181

8282
/**
8383
* Required. Immutable. User-assigned short name for TagValue. The short name should be unique for
84-
* TagValues within the same parent TagKey. The short name must be 63 characters or less,
84+
* TagValues within the same parent TagKey. The short name must be 256 characters or less,
8585
* beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores
8686
* (_), dots (.), and alphanumerics between.
8787
* The value may be {@code null}.
@@ -212,7 +212,7 @@ public TagValue setParent(java.lang.String parent) {
212212

213213
/**
214214
* Required. Immutable. User-assigned short name for TagValue. The short name should be unique for
215-
* TagValues within the same parent TagKey. The short name must be 63 characters or less,
215+
* TagValues within the same parent TagKey. The short name must be 256 characters or less,
216216
* beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores
217217
* (_), dots (.), and alphanumerics between.
218218
* @return value or {@code null} for none
@@ -223,7 +223,7 @@ public java.lang.String getShortName() {
223223

224224
/**
225225
* Required. Immutable. User-assigned short name for TagValue. The short name should be unique for
226-
* TagValues within the same parent TagKey. The short name must be 63 characters or less,
226+
* TagValues within the same parent TagKey. The short name must be 256 characters or less,
227227
* beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores
228228
* (_), dots (.), and alphanumerics between.
229229
* @param shortName shortName or {@code null} for none

clients/google-api-services-cloudresourcemanager/v3/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-cloudresourcemanager</artifactId>
11-
<version>v3-rev20250508-2.0.0</version>
12-
<name>Cloud Resource Manager API v3-rev20250508-2.0.0</name>
11+
<version>v3-rev20250522-2.0.0</version>
12+
<name>Cloud Resource Manager API v3-rev20250522-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-cloudresourcemanager/v3/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-cloudresourcemanager</artifactId>
25-
<version>v3-rev20250508-2.0.0</version>
25+
<version>v3-rev20250522-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-cloudresourcemanager:v3-rev20250508-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20250522-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)