Skip to content

Commit 27ecdea

Browse files
1 parent 8245363 commit 27ecdea

File tree

7 files changed

+237
-25
lines changed

7 files changed

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

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5984,21 +5984,21 @@ public Patch setName(java.lang.String name) {
59845984
* Optional. This field controls whether or not certain repeated settings in the update
59855985
* request overwrite or append to existing settings on the binding. If true, then append.
59865986
* Otherwise overwrite. So far, only scoped_access_settings supports appending. Global
5987-
* access_levels, dry_run_access_levels, and reauth_settings are not compatible with append
5988-
* functionality, and the request will return an error if append=true when these settings
5989-
* are in the update_mask. The request will also return an error if append=true when
5990-
* "scoped_access_settings" is not set in the update_mask.
5987+
* access_levels, dry_run_access_levels, reauth_settings, and session_settings are not
5988+
* compatible with append functionality, and the request will return an error if append=true
5989+
* when these settings are in the update_mask. The request will also return an error if
5990+
* append=true when "scoped_access_settings" is not set in the update_mask.
59915991
*/
59925992
@com.google.api.client.util.Key
59935993
private java.lang.Boolean append;
59945994

59955995
/** Optional. This field controls whether or not certain repeated settings in the update request
59965996
overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite.
59975997
So far, only scoped_access_settings supports appending. Global access_levels,
5998-
dry_run_access_levels, and reauth_settings are not compatible with append functionality, and the
5999-
request will return an error if append=true when these settings are in the update_mask. The request
6000-
will also return an error if append=true when "scoped_access_settings" is not set in the
6001-
update_mask.
5998+
dry_run_access_levels, reauth_settings, and session_settings are not compatible with append
5999+
functionality, and the request will return an error if append=true when these settings are in the
6000+
update_mask. The request will also return an error if append=true when "scoped_access_settings" is
6001+
not set in the update_mask.
60026002
*/
60036003
public java.lang.Boolean getAppend() {
60046004
return append;
@@ -6008,10 +6008,10 @@ public java.lang.Boolean getAppend() {
60086008
* Optional. This field controls whether or not certain repeated settings in the update
60096009
* request overwrite or append to existing settings on the binding. If true, then append.
60106010
* Otherwise overwrite. So far, only scoped_access_settings supports appending. Global
6011-
* access_levels, dry_run_access_levels, and reauth_settings are not compatible with append
6012-
* functionality, and the request will return an error if append=true when these settings
6013-
* are in the update_mask. The request will also return an error if append=true when
6014-
* "scoped_access_settings" is not set in the update_mask.
6011+
* access_levels, dry_run_access_levels, reauth_settings, and session_settings are not
6012+
* compatible with append functionality, and the request will return an error if append=true
6013+
* when these settings are in the update_mask. The request will also return an error if
6014+
* append=true when "scoped_access_settings" is not set in the update_mask.
60156015
*/
60166016
public Patch setAppend(java.lang.Boolean append) {
60176017
this.append = append;
@@ -6021,16 +6021,16 @@ public Patch setAppend(java.lang.Boolean append) {
60216021
/**
60226022
* Required. Only the fields specified in this mask are updated. Because name and group_key
60236023
* cannot be changed, update_mask is required and may only contain the following fields:
6024-
* `access_levels`, `dry_run_access_levels`, `reauth_settings`, `scoped_access_settings`.
6025-
* update_mask { paths: "access_levels" }
6024+
* `access_levels`, `dry_run_access_levels`, `reauth_settings` `session_settings`,
6025+
* `scoped_access_settings`. update_mask { paths: "access_levels" }
60266026
*/
60276027
@com.google.api.client.util.Key
60286028
private String updateMask;
60296029

60306030
/** Required. Only the fields specified in this mask are updated. Because name and group_key cannot be
60316031
changed, update_mask is required and may only contain the following fields: `access_levels`,
6032-
`dry_run_access_levels`, `reauth_settings`, `scoped_access_settings`. update_mask { paths:
6033-
"access_levels" }
6032+
`dry_run_access_levels`, `reauth_settings` `session_settings`, `scoped_access_settings`.
6033+
update_mask { paths: "access_levels" }
60346034
*/
60356035
public String getUpdateMask() {
60366036
return updateMask;
@@ -6039,8 +6039,8 @@ public String getUpdateMask() {
60396039
/**
60406040
* Required. Only the fields specified in this mask are updated. Because name and group_key
60416041
* cannot be changed, update_mask is required and may only contain the following fields:
6042-
* `access_levels`, `dry_run_access_levels`, `reauth_settings`, `scoped_access_settings`.
6043-
* update_mask { paths: "access_levels" }
6042+
* `access_levels`, `dry_run_access_levels`, `reauth_settings` `session_settings`,
6043+
* `scoped_access_settings`. update_mask { paths: "access_levels" }
60446044
*/
60456045
public Patch setUpdateMask(String updateMask) {
60466046
this.updateMask = updateMask;

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ public final class AccessSettings extends com.google.api.client.json.GenericJson
4747
@com.google.api.client.util.Key
4848
private ReauthSettings reauthSettings;
4949

50+
/**
51+
* Optional. Session settings applied to user access on a given AccessScope. Migrated from
52+
* ReauthSettings
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private SessionSettings sessionSettings;
57+
5058
/**
5159
* Optional. Access level that a user must have to be granted access. Only one access level is
5260
* supported, not multiple. This repeated field must have exactly one element. Example:
@@ -85,6 +93,25 @@ public AccessSettings setReauthSettings(ReauthSettings reauthSettings) {
8593
return this;
8694
}
8795

96+
/**
97+
* Optional. Session settings applied to user access on a given AccessScope. Migrated from
98+
* ReauthSettings
99+
* @return value or {@code null} for none
100+
*/
101+
public SessionSettings getSessionSettings() {
102+
return sessionSettings;
103+
}
104+
105+
/**
106+
* Optional. Session settings applied to user access on a given AccessScope. Migrated from
107+
* ReauthSettings
108+
* @param sessionSettings sessionSettings or {@code null} for none
109+
*/
110+
public AccessSettings setSessionSettings(SessionSettings sessionSettings) {
111+
this.sessionSettings = sessionSettings;
112+
return this;
113+
}
114+
88115
@Override
89116
public AccessSettings set(String fieldName, Object value) {
90117
return (AccessSettings) super.set(fieldName, value);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware
21-
* Access.
21+
* Access. Next ID: 11
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Access Context Manager API. For a detailed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
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+
* Stores settings related to Google Cloud Session Length including session duration, the type of
21+
* challenge (i.e. method) they should face when their session expires, and other related settings.
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 SessionSettings extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. How long a user is allowed to take between actions before a new access token must be
36+
* issued. Presently only set for Cloud Apps.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private String maxInactivity;
41+
42+
/**
43+
* Optional. The session length. Setting this field to zero is equal to disabling. Session. Also
44+
* can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is
45+
* true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age
46+
* param.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private String sessionLength;
51+
52+
/**
53+
* Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded
54+
* and the session length is basically infinite.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Boolean sessionLengthEnabled;
59+
60+
/**
61+
* Optional. Session method when users GCP session is up.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String sessionReauthMethod;
66+
67+
/**
68+
* Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the
69+
* authentication request will be ignored. When true, the re-auth period will be the minimum of
70+
* the session_length field and the max_age OIDC param.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private java.lang.Boolean useOidcMaxAge;
75+
76+
/**
77+
* Optional. How long a user is allowed to take between actions before a new access token must be
78+
* issued. Presently only set for Cloud Apps.
79+
* @return value or {@code null} for none
80+
*/
81+
public String getMaxInactivity() {
82+
return maxInactivity;
83+
}
84+
85+
/**
86+
* Optional. How long a user is allowed to take between actions before a new access token must be
87+
* issued. Presently only set for Cloud Apps.
88+
* @param maxInactivity maxInactivity or {@code null} for none
89+
*/
90+
public SessionSettings setMaxInactivity(String maxInactivity) {
91+
this.maxInactivity = maxInactivity;
92+
return this;
93+
}
94+
95+
/**
96+
* Optional. The session length. Setting this field to zero is equal to disabling. Session. Also
97+
* can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is
98+
* true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age
99+
* param.
100+
* @return value or {@code null} for none
101+
*/
102+
public String getSessionLength() {
103+
return sessionLength;
104+
}
105+
106+
/**
107+
* Optional. The session length. Setting this field to zero is equal to disabling. Session. Also
108+
* can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is
109+
* true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age
110+
* param.
111+
* @param sessionLength sessionLength or {@code null} for none
112+
*/
113+
public SessionSettings setSessionLength(String sessionLength) {
114+
this.sessionLength = sessionLength;
115+
return this;
116+
}
117+
118+
/**
119+
* Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded
120+
* and the session length is basically infinite.
121+
* @return value or {@code null} for none
122+
*/
123+
public java.lang.Boolean getSessionLengthEnabled() {
124+
return sessionLengthEnabled;
125+
}
126+
127+
/**
128+
* Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded
129+
* and the session length is basically infinite.
130+
* @param sessionLengthEnabled sessionLengthEnabled or {@code null} for none
131+
*/
132+
public SessionSettings setSessionLengthEnabled(java.lang.Boolean sessionLengthEnabled) {
133+
this.sessionLengthEnabled = sessionLengthEnabled;
134+
return this;
135+
}
136+
137+
/**
138+
* Optional. Session method when users GCP session is up.
139+
* @return value or {@code null} for none
140+
*/
141+
public java.lang.String getSessionReauthMethod() {
142+
return sessionReauthMethod;
143+
}
144+
145+
/**
146+
* Optional. Session method when users GCP session is up.
147+
* @param sessionReauthMethod sessionReauthMethod or {@code null} for none
148+
*/
149+
public SessionSettings setSessionReauthMethod(java.lang.String sessionReauthMethod) {
150+
this.sessionReauthMethod = sessionReauthMethod;
151+
return this;
152+
}
153+
154+
/**
155+
* Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the
156+
* authentication request will be ignored. When true, the re-auth period will be the minimum of
157+
* the session_length field and the max_age OIDC param.
158+
* @return value or {@code null} for none
159+
*/
160+
public java.lang.Boolean getUseOidcMaxAge() {
161+
return useOidcMaxAge;
162+
}
163+
164+
/**
165+
* Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the
166+
* authentication request will be ignored. When true, the re-auth period will be the minimum of
167+
* the session_length field and the max_age OIDC param.
168+
* @param useOidcMaxAge useOidcMaxAge or {@code null} for none
169+
*/
170+
public SessionSettings setUseOidcMaxAge(java.lang.Boolean useOidcMaxAge) {
171+
this.useOidcMaxAge = useOidcMaxAge;
172+
return this;
173+
}
174+
175+
@Override
176+
public SessionSettings set(String fieldName, Object value) {
177+
return (SessionSettings) super.set(fieldName, value);
178+
}
179+
180+
@Override
181+
public SessionSettings clone() {
182+
return (SessionSettings) super.clone();
183+
}
184+
185+
}

clients/google-api-services-accesscontextmanager/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-accesscontextmanager</artifactId>
11-
<version>v1-rev20241014-2.0.0</version>
12-
<name>Access Context Manager API v1-rev20241014-2.0.0</name>
11+
<version>v1-rev20241022-2.0.0</version>
12+
<name>Access Context Manager API v1-rev20241022-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)