Skip to content

Commit 476cf3e

Browse files
1 parent 675d339 commit 476cf3e

File tree

9 files changed

+598
-6
lines changed

9 files changed

+598
-6
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.accesscontextmanager.v1.model;
18+
19+
/**
20+
* Access scope represents the client scope, etc. to which the settings will be applied to.
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 Access Context 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 AccessScope extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Client scope for this access scope.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private ClientScope clientScope;
39+
40+
/**
41+
* Optional. Client scope for this access scope.
42+
* @return value or {@code null} for none
43+
*/
44+
public ClientScope getClientScope() {
45+
return clientScope;
46+
}
47+
48+
/**
49+
* Optional. Client scope for this access scope.
50+
* @param clientScope clientScope or {@code null} for none
51+
*/
52+
public AccessScope setClientScope(ClientScope clientScope) {
53+
this.clientScope = clientScope;
54+
return this;
55+
}
56+
57+
@Override
58+
public AccessScope set(String fieldName, Object value) {
59+
return (AccessScope) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AccessScope clone() {
64+
return (AccessScope) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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.accesscontextmanager.v1.model;
18+
19+
/**
20+
* Access settings represent the set of conditions that must be met for access to be granted. At
21+
* least one of the fields must be set.
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 Access Context Manager API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class AccessSettings extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. Access level that a user must have to be granted access. Only one access level is
36+
* supported, not multiple. This repeated field must have exactly one element. Example:
37+
* "accessPolicies/9522/accessLevels/device_trusted"
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> accessLevels;
42+
43+
/**
44+
* Optional. Reauth settings applied to user access on a given AccessScope.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private ReauthSettings reauthSettings;
49+
50+
/**
51+
* Optional. Access level that a user must have to be granted access. Only one access level is
52+
* supported, not multiple. This repeated field must have exactly one element. Example:
53+
* "accessPolicies/9522/accessLevels/device_trusted"
54+
* @return value or {@code null} for none
55+
*/
56+
public java.util.List<java.lang.String> getAccessLevels() {
57+
return accessLevels;
58+
}
59+
60+
/**
61+
* Optional. Access level that a user must have to be granted access. Only one access level is
62+
* supported, not multiple. This repeated field must have exactly one element. Example:
63+
* "accessPolicies/9522/accessLevels/device_trusted"
64+
* @param accessLevels accessLevels or {@code null} for none
65+
*/
66+
public AccessSettings setAccessLevels(java.util.List<java.lang.String> accessLevels) {
67+
this.accessLevels = accessLevels;
68+
return this;
69+
}
70+
71+
/**
72+
* Optional. Reauth settings applied to user access on a given AccessScope.
73+
* @return value or {@code null} for none
74+
*/
75+
public ReauthSettings getReauthSettings() {
76+
return reauthSettings;
77+
}
78+
79+
/**
80+
* Optional. Reauth settings applied to user access on a given AccessScope.
81+
* @param reauthSettings reauthSettings or {@code null} for none
82+
*/
83+
public AccessSettings setReauthSettings(ReauthSettings reauthSettings) {
84+
this.reauthSettings = reauthSettings;
85+
return this;
86+
}
87+
88+
@Override
89+
public AccessSettings set(String fieldName, Object value) {
90+
return (AccessSettings) super.set(fieldName, value);
91+
}
92+
93+
@Override
94+
public AccessSettings clone() {
95+
return (AccessSettings) super.clone();
96+
}
97+
98+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.accesscontextmanager.v1.model;
18+
19+
/**
20+
* Client scope represents the application, etc. subject to this binding's restrictions.
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 Access Context 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 ClientScope extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The application that is subject to this binding's scope.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private Application restrictedClientApplication;
39+
40+
/**
41+
* Optional. The application that is subject to this binding's scope.
42+
* @return value or {@code null} for none
43+
*/
44+
public Application getRestrictedClientApplication() {
45+
return restrictedClientApplication;
46+
}
47+
48+
/**
49+
* Optional. The application that is subject to this binding's scope.
50+
* @param restrictedClientApplication restrictedClientApplication or {@code null} for none
51+
*/
52+
public ClientScope setRestrictedClientApplication(Application restrictedClientApplication) {
53+
this.restrictedClientApplication = restrictedClientApplication;
54+
return this;
55+
}
56+
57+
@Override
58+
public ClientScope set(String fieldName, Object value) {
59+
return (ClientScope) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public ClientScope clone() {
64+
return (ClientScope) super.clone();
65+
}
66+
67+
}

clients/google-api-services-accesscontextmanager/v1/2.0.0/com/google/api/services/accesscontextmanager/v1/model/GcpUserAccessBinding.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ public final class GcpUserAccessBinding extends com.google.api.client.json.Gener
7171
@com.google.api.client.util.Key
7272
private java.lang.String name;
7373

74+
/**
75+
* Optional. GCSL policy for the group key.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private ReauthSettings reauthSettings;
80+
7481
/**
7582
* Optional. A list of applications that are subject to this binding's restrictions. If the list
7683
* is empty, the binding restrictions will universally apply to all applications.
@@ -85,6 +92,14 @@ public final class GcpUserAccessBinding extends com.google.api.client.json.Gener
8592
com.google.api.client.util.Data.nullOf(Application.class);
8693
}
8794

95+
/**
96+
* Optional. A list of scoped access settings that set this binding's restrictions on a subset of
97+
* applications. This field cannot be set if restricted_client_applications is set.
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private java.util.List<ScopedAccessSettings> scopedAccessSettings;
102+
88103
/**
89104
* Optional. Access level that a user must have to be granted access. Only one access level is
90105
* supported, not multiple. This repeated field must have exactly one element. Example:
@@ -177,6 +192,23 @@ public GcpUserAccessBinding setName(java.lang.String name) {
177192
return this;
178193
}
179194

195+
/**
196+
* Optional. GCSL policy for the group key.
197+
* @return value or {@code null} for none
198+
*/
199+
public ReauthSettings getReauthSettings() {
200+
return reauthSettings;
201+
}
202+
203+
/**
204+
* Optional. GCSL policy for the group key.
205+
* @param reauthSettings reauthSettings or {@code null} for none
206+
*/
207+
public GcpUserAccessBinding setReauthSettings(ReauthSettings reauthSettings) {
208+
this.reauthSettings = reauthSettings;
209+
return this;
210+
}
211+
180212
/**
181213
* Optional. A list of applications that are subject to this binding's restrictions. If the list
182214
* is empty, the binding restrictions will universally apply to all applications.
@@ -196,6 +228,25 @@ public GcpUserAccessBinding setRestrictedClientApplications(java.util.List<Appli
196228
return this;
197229
}
198230

231+
/**
232+
* Optional. A list of scoped access settings that set this binding's restrictions on a subset of
233+
* applications. This field cannot be set if restricted_client_applications is set.
234+
* @return value or {@code null} for none
235+
*/
236+
public java.util.List<ScopedAccessSettings> getScopedAccessSettings() {
237+
return scopedAccessSettings;
238+
}
239+
240+
/**
241+
* Optional. A list of scoped access settings that set this binding's restrictions on a subset of
242+
* applications. This field cannot be set if restricted_client_applications is set.
243+
* @param scopedAccessSettings scopedAccessSettings or {@code null} for none
244+
*/
245+
public GcpUserAccessBinding setScopedAccessSettings(java.util.List<ScopedAccessSettings> scopedAccessSettings) {
246+
this.scopedAccessSettings = scopedAccessSettings;
247+
return this;
248+
}
249+
199250
@Override
200251
public GcpUserAccessBinding set(String fieldName, Object value) {
201252
return (GcpUserAccessBinding) super.set(fieldName, value);

0 commit comments

Comments
 (0)