Skip to content

Commit ec130cd

Browse files
1 parent 4f3dbde commit ec130cd

5 files changed

Lines changed: 172 additions & 6 deletions

File tree

clients/google-api-services-policytroubleshooter/v3beta/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-policytroubleshooter</artifactId>
25-
<version>v3beta-rev20260329-2.0.0</version>
25+
<version>v3beta-rev20260426-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-policytroubleshooter:v3beta-rev20260329-2.0.0'
38+
implementation 'com.google.apis:google-api-services-policytroubleshooter:v3beta-rev20260426-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-policytroubleshooter/v3beta/2.0.0/com/google/api/services/policytroubleshooter/v3beta/model/GoogleIamV3PrincipalAccessBoundaryPolicyRule.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ public final class GoogleIamV3PrincipalAccessBoundaryPolicyRule extends com.goog
4545
@com.google.api.client.util.Key
4646
private java.lang.String effect;
4747

48+
/**
49+
* Optional. The operation attributes that determine whether this rule applies to a request. If
50+
* this field is not specified, the rule applies to all operations.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation operation;
55+
4856
/**
4957
* Required. A list of Resource Manager resources. If a resource is listed in the rule, then the
5058
* rule applies for that resource and its descendants. The number of resources in a policy is
@@ -94,6 +102,25 @@ public GoogleIamV3PrincipalAccessBoundaryPolicyRule setEffect(java.lang.String e
94102
return this;
95103
}
96104

105+
/**
106+
* Optional. The operation attributes that determine whether this rule applies to a request. If
107+
* this field is not specified, the rule applies to all operations.
108+
* @return value or {@code null} for none
109+
*/
110+
public GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation getOperation() {
111+
return operation;
112+
}
113+
114+
/**
115+
* Optional. The operation attributes that determine whether this rule applies to a request. If
116+
* this field is not specified, the rule applies to all operations.
117+
* @param operation operation or {@code null} for none
118+
*/
119+
public GoogleIamV3PrincipalAccessBoundaryPolicyRule setOperation(GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation operation) {
120+
this.operation = operation;
121+
return this;
122+
}
123+
97124
/**
98125
* Required. A list of Resource Manager resources. If a resource is listed in the rule, then the
99126
* rule applies for that resource and its descendants. The number of resources in a policy is
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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.policytroubleshooter.v3beta.model;
18+
19+
/**
20+
* An operation attribute that defines the permissions applicable to this rule.
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 Policy Troubleshooter API. For a detailed explanation
24+
* 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 GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Specifies the permissions that this rule excludes from the set of affected
35+
* permissions given by `permissions`. The number of excluded permission strings in this field is
36+
* limited to 50. If a permission appears in both `permissions` and `excluded_permissions` then it
37+
* will _not_ be subject to the policy effect. The excluded permissions can be specified using the
38+
* same syntax as `permissions`.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.util.List<java.lang.String> excludedPermissions;
43+
44+
/**
45+
* Optional. The permissions that are explicitly affected by this rule. The number of permission
46+
* strings in this field is limited to 50. Each permission uses the format
47+
* `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name
48+
* for the service. `*` can be used as a wildcard to match all permissions for a specific service,
49+
* resource type, or verb. The following formats are supported: *
50+
* `{service_fqdn}/{resource}.{verb}`: A specific permission. * `{service_fqdn}/{resource}.*`: All
51+
* permissions for a specific resource type. * `{service_fqdn}.*`: All permissions for all
52+
* resource types under a specific service. * `{service_fqdn}.{verb}`: All permissions with a
53+
* specific verb under a specific service. * `*`: All permissions across all services. For
54+
* example, `compute.googleapis.com.setIamPolicy` refers to all setIamPolicy permissions for any
55+
* compute resource. Wildcards expand only to the permissions specified in the
56+
* `enforcement_version` of the policy. If the `enforcement_version` is updated, the wildcard will
57+
* automatically expand to include new permissions in the updated version.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.util.List<java.lang.String> permissions;
62+
63+
/**
64+
* Optional. Specifies the permissions that this rule excludes from the set of affected
65+
* permissions given by `permissions`. The number of excluded permission strings in this field is
66+
* limited to 50. If a permission appears in both `permissions` and `excluded_permissions` then it
67+
* will _not_ be subject to the policy effect. The excluded permissions can be specified using the
68+
* same syntax as `permissions`.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.util.List<java.lang.String> getExcludedPermissions() {
72+
return excludedPermissions;
73+
}
74+
75+
/**
76+
* Optional. Specifies the permissions that this rule excludes from the set of affected
77+
* permissions given by `permissions`. The number of excluded permission strings in this field is
78+
* limited to 50. If a permission appears in both `permissions` and `excluded_permissions` then it
79+
* will _not_ be subject to the policy effect. The excluded permissions can be specified using the
80+
* same syntax as `permissions`.
81+
* @param excludedPermissions excludedPermissions or {@code null} for none
82+
*/
83+
public GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation setExcludedPermissions(java.util.List<java.lang.String> excludedPermissions) {
84+
this.excludedPermissions = excludedPermissions;
85+
return this;
86+
}
87+
88+
/**
89+
* Optional. The permissions that are explicitly affected by this rule. The number of permission
90+
* strings in this field is limited to 50. Each permission uses the format
91+
* `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name
92+
* for the service. `*` can be used as a wildcard to match all permissions for a specific service,
93+
* resource type, or verb. The following formats are supported: *
94+
* `{service_fqdn}/{resource}.{verb}`: A specific permission. * `{service_fqdn}/{resource}.*`: All
95+
* permissions for a specific resource type. * `{service_fqdn}.*`: All permissions for all
96+
* resource types under a specific service. * `{service_fqdn}.{verb}`: All permissions with a
97+
* specific verb under a specific service. * `*`: All permissions across all services. For
98+
* example, `compute.googleapis.com.setIamPolicy` refers to all setIamPolicy permissions for any
99+
* compute resource. Wildcards expand only to the permissions specified in the
100+
* `enforcement_version` of the policy. If the `enforcement_version` is updated, the wildcard will
101+
* automatically expand to include new permissions in the updated version.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.util.List<java.lang.String> getPermissions() {
105+
return permissions;
106+
}
107+
108+
/**
109+
* Optional. The permissions that are explicitly affected by this rule. The number of permission
110+
* strings in this field is limited to 50. Each permission uses the format
111+
* `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name
112+
* for the service. `*` can be used as a wildcard to match all permissions for a specific service,
113+
* resource type, or verb. The following formats are supported: *
114+
* `{service_fqdn}/{resource}.{verb}`: A specific permission. * `{service_fqdn}/{resource}.*`: All
115+
* permissions for a specific resource type. * `{service_fqdn}.*`: All permissions for all
116+
* resource types under a specific service. * `{service_fqdn}.{verb}`: All permissions with a
117+
* specific verb under a specific service. * `*`: All permissions across all services. For
118+
* example, `compute.googleapis.com.setIamPolicy` refers to all setIamPolicy permissions for any
119+
* compute resource. Wildcards expand only to the permissions specified in the
120+
* `enforcement_version` of the policy. If the `enforcement_version` is updated, the wildcard will
121+
* automatically expand to include new permissions in the updated version.
122+
* @param permissions permissions or {@code null} for none
123+
*/
124+
public GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation setPermissions(java.util.List<java.lang.String> permissions) {
125+
this.permissions = permissions;
126+
return this;
127+
}
128+
129+
@Override
130+
public GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation set(String fieldName, Object value) {
131+
return (GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation) super.set(fieldName, value);
132+
}
133+
134+
@Override
135+
public GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation clone() {
136+
return (GoogleIamV3PrincipalAccessBoundaryPolicyRuleOperation) super.clone();
137+
}
138+
139+
}

clients/google-api-services-policytroubleshooter/v3beta/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-policytroubleshooter</artifactId>
11-
<version>v3beta-rev20260329-2.0.0</version>
12-
<name>Policy Troubleshooter API v3beta-rev20260329-2.0.0</name>
11+
<version>v3beta-rev20260426-2.0.0</version>
12+
<name>Policy Troubleshooter API v3beta-rev20260426-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-policytroubleshooter/v3beta/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-policytroubleshooter</artifactId>
25-
<version>v3beta-rev20260329-2.0.0</version>
25+
<version>v3beta-rev20260426-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-policytroubleshooter:v3beta-rev20260329-2.0.0'
38+
implementation 'com.google.apis:google-api-services-policytroubleshooter:v3beta-rev20260426-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)