Skip to content

Commit 1ea5436

Browse files
chore: regenerate accesscontextmanager client (#20897)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 2fbba48 commit 1ea5436

File tree

5 files changed

+130
-6
lines changed

5 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* An application that accesses Google Cloud APIs.
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 Application extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The OAuth client ID of the application.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String clientId;
39+
40+
/**
41+
* The name of the application. Example: "Cloud Console"
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* The OAuth client ID of the application.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getClientId() {
52+
return clientId;
53+
}
54+
55+
/**
56+
* The OAuth client ID of the application.
57+
* @param clientId clientId or {@code null} for none
58+
*/
59+
public Application setClientId(java.lang.String clientId) {
60+
this.clientId = clientId;
61+
return this;
62+
}
63+
64+
/**
65+
* The name of the application. Example: "Cloud Console"
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getName() {
69+
return name;
70+
}
71+
72+
/**
73+
* The name of the application. Example: "Cloud Console"
74+
* @param name name or {@code null} for none
75+
*/
76+
public Application setName(java.lang.String name) {
77+
this.name = name;
78+
return this;
79+
}
80+
81+
@Override
82+
public Application set(String fieldName, Object value) {
83+
return (Application) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public Application clone() {
88+
return (Application) super.clone();
89+
}
90+
91+
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,20 @@ 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. A list of applications that are subject to this binding's restrictions. If the list
76+
* is empty, the binding restrictions will universally apply to all applications.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.util.List<Application> restrictedClientApplications;
81+
82+
static {
83+
// hack to force ProGuard to consider Application used, since otherwise it would be stripped out
84+
// see https://github.com/google/google-api-java-client/issues/543
85+
com.google.api.client.util.Data.nullOf(Application.class);
86+
}
87+
7488
/**
7589
* Optional. Access level that a user must have to be granted access. Only one access level is
7690
* supported, not multiple. This repeated field must have exactly one element. Example:
@@ -163,6 +177,25 @@ public GcpUserAccessBinding setName(java.lang.String name) {
163177
return this;
164178
}
165179

180+
/**
181+
* Optional. A list of applications that are subject to this binding's restrictions. If the list
182+
* is empty, the binding restrictions will universally apply to all applications.
183+
* @return value or {@code null} for none
184+
*/
185+
public java.util.List<Application> getRestrictedClientApplications() {
186+
return restrictedClientApplications;
187+
}
188+
189+
/**
190+
* Optional. A list of applications that are subject to this binding's restrictions. If the list
191+
* is empty, the binding restrictions will universally apply to all applications.
192+
* @param restrictedClientApplications restrictedClientApplications or {@code null} for none
193+
*/
194+
public GcpUserAccessBinding setRestrictedClientApplications(java.util.List<Application> restrictedClientApplications) {
195+
this.restrictedClientApplications = restrictedClientApplications;
196+
return this;
197+
}
198+
166199
@Override
167200
public GcpUserAccessBinding set(String fieldName, Object value) {
168201
return (GcpUserAccessBinding) super.set(fieldName, value);

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-rev20240417-2.0.0</version>
12-
<name>Access Context Manager API v1-rev20240417-2.0.0</name>
11+
<version>v1-rev20240429-2.0.0</version>
12+
<name>Access Context Manager API v1-rev20240429-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-rev20240417-2.0.0</version>
25+
<version>v1-rev20240429-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-rev20240417-2.0.0'
38+
implementation 'com.google.apis:google-api-services-accesscontextmanager:v1-rev20240429-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)