Skip to content

Commit 39a5804

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

File tree

13 files changed

+145
-71
lines changed

13 files changed

+145
-71
lines changed

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

clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Project.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
@SuppressWarnings("javadoc")
3232
public final class Project extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Output only. If this project is a Management Project, list of capabilities configured on the
36+
* parent folder. Note, presence of any capability implies that this is a Management Project.
37+
* Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> configuredCapabilities;
42+
3443
/**
3544
* Creation time. Read-only.
3645
* The value may be {@code null}.
@@ -101,6 +110,27 @@ public final class Project extends com.google.api.client.json.GenericJson {
101110
@com.google.api.client.util.Key
102111
private java.util.Map<String, java.lang.String> tags;
103112

113+
/**
114+
* Output only. If this project is a Management Project, list of capabilities configured on the
115+
* parent folder. Note, presence of any capability implies that this is a Management Project.
116+
* Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.util.List<java.lang.String> getConfiguredCapabilities() {
120+
return configuredCapabilities;
121+
}
122+
123+
/**
124+
* Output only. If this project is a Management Project, list of capabilities configured on the
125+
* parent folder. Note, presence of any capability implies that this is a Management Project.
126+
* Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.
127+
* @param configuredCapabilities configuredCapabilities or {@code null} for none
128+
*/
129+
public Project setConfiguredCapabilities(java.util.List<java.lang.String> configuredCapabilities) {
130+
this.configuredCapabilities = configuredCapabilities;
131+
return this;
132+
}
133+
104134
/**
105135
* Creation time. Read-only.
106136
* @return value or {@code null} for none

clients/google-api-services-cloudresourcemanager/v1/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>v1-rev20250302-2.0.0</version>
12-
<name>Cloud Resource Manager API v1-rev20250302-2.0.0</name>
11+
<version>v1-rev20250606-2.0.0</version>
12+
<name>Cloud Resource Manager API v1-rev20250606-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

clients/google-api-services-cloudresourcemanager/v1beta1/2.0.0/com/google/api/services/cloudresourcemanager/model/Project.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
@SuppressWarnings("javadoc")
3232
public final class Project extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Output only. If this project is a Management Project, list of capabilities configured on the
36+
* parent folder. Note, presence of any capability implies that this is a Management Project.
37+
* Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> configuredCapabilities;
42+
3443
/**
3544
* Creation time. Read-only.
3645
* The value may be {@code null}.
@@ -92,6 +101,27 @@ public final class Project extends com.google.api.client.json.GenericJson {
92101
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
93102
private java.lang.Long projectNumber;
94103

104+
/**
105+
* Output only. If this project is a Management Project, list of capabilities configured on the
106+
* parent folder. Note, presence of any capability implies that this is a Management Project.
107+
* Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.
108+
* @return value or {@code null} for none
109+
*/
110+
public java.util.List<java.lang.String> getConfiguredCapabilities() {
111+
return configuredCapabilities;
112+
}
113+
114+
/**
115+
* Output only. If this project is a Management Project, list of capabilities configured on the
116+
* parent folder. Note, presence of any capability implies that this is a Management Project.
117+
* Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.
118+
* @param configuredCapabilities configuredCapabilities or {@code null} for none
119+
*/
120+
public Project setConfiguredCapabilities(java.util.List<java.lang.String> configuredCapabilities) {
121+
this.configuredCapabilities = configuredCapabilities;
122+
return this;
123+
}
124+
95125
/**
96126
* Creation time. Read-only.
97127
* @return value or {@code null} for none

clients/google-api-services-cloudresourcemanager/v1beta1/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>v1beta1-rev20250302-2.0.0</version>
12-
<name>Cloud Resource Manager API v1beta1-rev20250302-2.0.0</name>
11+
<version>v1beta1-rev20250606-2.0.0</version>
12+
<name>Cloud Resource Manager API v1beta1-rev20250606-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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-rev20250522-2.0.0</version>
25+
<version>v3-rev20250606-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-rev20250522-2.0.0'
38+
implementation 'com.google.apis:google-api-services-cloudresourcemanager:v3-rev20250606-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: 37 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3433,12 +3433,12 @@ public Get set(String parameterName, Object value) {
34333433
}
34343434
}
34353435
/**
3436-
* Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*".
3436+
* Updates tag bindings directly attached to a GCP resource.
34373437
*
3438-
* Create a request for the method "tagBindingCollections.patch".
3438+
* Create a request for the method "tagBindingCollections.update".
34393439
*
34403440
* This request holds the parameters needed by the cloudresourcemanager server. After setting any
3441-
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
3441+
* optional parameters, call the {@link Update#execute()} method to invoke the remote operation.
34423442
*
34433443
* @param name Identifier. The name of the TagBindingCollection, following the convention:
34443444
* `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` where the
@@ -3448,28 +3448,28 @@ public Get set(String parameterName, Object value) {
34483448
* @param content the {@link com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection}
34493449
* @return the request
34503450
*/
3451-
public Patch patch(java.lang.String name, com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection content) throws java.io.IOException {
3452-
Patch result = new Patch(name, content);
3451+
public Update update(java.lang.String name, com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection content) throws java.io.IOException {
3452+
Update result = new Update(name, content);
34533453
initialize(result);
34543454
return result;
34553455
}
34563456

3457-
public class Patch extends CloudResourceManagerRequest<com.google.api.services.cloudresourcemanager.v3.model.Operation> {
3457+
public class Update extends CloudResourceManagerRequest<com.google.api.services.cloudresourcemanager.v3.model.Operation> {
34583458

34593459
private static final String REST_PATH = "v3/{+name}";
34603460

34613461
private final java.util.regex.Pattern NAME_PATTERN =
34623462
java.util.regex.Pattern.compile("^locations/[^/]+/tagBindingCollections/[^/]+$");
34633463

34643464
/**
3465-
* Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*".
3465+
* Updates tag bindings directly attached to a GCP resource.
34663466
*
3467-
* Create a request for the method "tagBindingCollections.patch".
3467+
* Create a request for the method "tagBindingCollections.update".
34683468
*
34693469
* This request holds the parameters needed by the the cloudresourcemanager server. After setting
3470-
* any optional parameters, call the {@link Patch#execute()} method to invoke the remote
3470+
* any optional parameters, call the {@link Update#execute()} method to invoke the remote
34713471
* operation. <p> {@link
3472-
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
3472+
* Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
34733473
* be called to initialize this instance immediately after invoking the constructor. </p>
34743474
*
34753475
* @param name Identifier. The name of the TagBindingCollection, following the convention:
@@ -3480,8 +3480,8 @@ public class Patch extends CloudResourceManagerRequest<com.google.api.services.c
34803480
* @param content the {@link com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection}
34813481
* @since 1.13
34823482
*/
3483-
protected Patch(java.lang.String name, com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection content) {
3484-
super(CloudResourceManager.this, "PATCH", REST_PATH, content, com.google.api.services.cloudresourcemanager.v3.model.Operation.class);
3483+
protected Update(java.lang.String name, com.google.api.services.cloudresourcemanager.v3.model.TagBindingCollection content) {
3484+
super(CloudResourceManager.this, "PUT", REST_PATH, content, com.google.api.services.cloudresourcemanager.v3.model.Operation.class);
34853485
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
34863486
if (!getSuppressPatternChecks()) {
34873487
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -3491,58 +3491,58 @@ protected Patch(java.lang.String name, com.google.api.services.cloudresourcemana
34913491
}
34923492

34933493
@Override
3494-
public Patch set$Xgafv(java.lang.String $Xgafv) {
3495-
return (Patch) super.set$Xgafv($Xgafv);
3494+
public Update set$Xgafv(java.lang.String $Xgafv) {
3495+
return (Update) super.set$Xgafv($Xgafv);
34963496
}
34973497

34983498
@Override
3499-
public Patch setAccessToken(java.lang.String accessToken) {
3500-
return (Patch) super.setAccessToken(accessToken);
3499+
public Update setAccessToken(java.lang.String accessToken) {
3500+
return (Update) super.setAccessToken(accessToken);
35013501
}
35023502

35033503
@Override
3504-
public Patch setAlt(java.lang.String alt) {
3505-
return (Patch) super.setAlt(alt);
3504+
public Update setAlt(java.lang.String alt) {
3505+
return (Update) super.setAlt(alt);
35063506
}
35073507

35083508
@Override
3509-
public Patch setCallback(java.lang.String callback) {
3510-
return (Patch) super.setCallback(callback);
3509+
public Update setCallback(java.lang.String callback) {
3510+
return (Update) super.setCallback(callback);
35113511
}
35123512

35133513
@Override
3514-
public Patch setFields(java.lang.String fields) {
3515-
return (Patch) super.setFields(fields);
3514+
public Update setFields(java.lang.String fields) {
3515+
return (Update) super.setFields(fields);
35163516
}
35173517

35183518
@Override
3519-
public Patch setKey(java.lang.String key) {
3520-
return (Patch) super.setKey(key);
3519+
public Update setKey(java.lang.String key) {
3520+
return (Update) super.setKey(key);
35213521
}
35223522

35233523
@Override
3524-
public Patch setOauthToken(java.lang.String oauthToken) {
3525-
return (Patch) super.setOauthToken(oauthToken);
3524+
public Update setOauthToken(java.lang.String oauthToken) {
3525+
return (Update) super.setOauthToken(oauthToken);
35263526
}
35273527

35283528
@Override
3529-
public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
3530-
return (Patch) super.setPrettyPrint(prettyPrint);
3529+
public Update setPrettyPrint(java.lang.Boolean prettyPrint) {
3530+
return (Update) super.setPrettyPrint(prettyPrint);
35313531
}
35323532

35333533
@Override
3534-
public Patch setQuotaUser(java.lang.String quotaUser) {
3535-
return (Patch) super.setQuotaUser(quotaUser);
3534+
public Update setQuotaUser(java.lang.String quotaUser) {
3535+
return (Update) super.setQuotaUser(quotaUser);
35363536
}
35373537

35383538
@Override
3539-
public Patch setUploadType(java.lang.String uploadType) {
3540-
return (Patch) super.setUploadType(uploadType);
3539+
public Update setUploadType(java.lang.String uploadType) {
3540+
return (Update) super.setUploadType(uploadType);
35413541
}
35423542

35433543
@Override
3544-
public Patch setUploadProtocol(java.lang.String uploadProtocol) {
3545-
return (Patch) super.setUploadProtocol(uploadProtocol);
3544+
public Update setUploadProtocol(java.lang.String uploadProtocol) {
3545+
return (Update) super.setUploadProtocol(uploadProtocol);
35463546
}
35473547

35483548
/**
@@ -3571,7 +3571,7 @@ public java.lang.String getName() {
35713571
* are bound to. "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleap
35723572
* is.com%2fprojects%2f123"
35733573
*/
3574-
public Patch setName(java.lang.String name) {
3574+
public Update setName(java.lang.String name) {
35753575
if (!getSuppressPatternChecks()) {
35763576
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
35773577
"Parameter name must conform to the pattern " +
@@ -3581,25 +3581,9 @@ public Patch setName(java.lang.String name) {
35813581
return this;
35823582
}
35833583

3584-
/** Optional. An update mask to selectively update fields. */
3585-
@com.google.api.client.util.Key
3586-
private String updateMask;
3587-
3588-
/** Optional. An update mask to selectively update fields.
3589-
*/
3590-
public String getUpdateMask() {
3591-
return updateMask;
3592-
}
3593-
3594-
/** Optional. An update mask to selectively update fields. */
3595-
public Patch setUpdateMask(String updateMask) {
3596-
this.updateMask = updateMask;
3597-
return this;
3598-
}
3599-
36003584
@Override
3601-
public Patch set(String parameterName, Object value) {
3602-
return (Patch) super.set(parameterName, value);
3585+
public Update set(String parameterName, Object value) {
3586+
return (Update) super.set(parameterName, value);
36033587
}
36043588
}
36053589

0 commit comments

Comments
 (0)