Skip to content

Commit 5c90502

Browse files
1 parent d72d8d0 commit 5c90502

File tree

6 files changed

+147
-6
lines changed

6 files changed

+147
-6
lines changed

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

clients/google-api-services-accessapproval/v1/2.0.0/com/google/api/services/accessapproval/v1/model/AccessApprovalSettings.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ public final class AccessApprovalSettings extends com.google.api.client.json.Gen
4949
@com.google.api.client.util.Key
5050
private java.lang.Boolean ancestorHasActiveKeyVersion;
5151

52+
/**
53+
* Optional. Policy for approval. This contains all policies.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private CustomerApprovalApprovalPolicy approvalPolicy;
58+
59+
/**
60+
* Output only. Policy for approval included inherited settings to understand the exact policy
61+
* applied to this resource. This is a read-only field.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private CustomerApprovalApprovalPolicy effectiveApprovalPolicy;
66+
5267
/**
5368
* Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If
5469
* the field is true, that indicates that at least one service is enrolled for Access Approval in
@@ -185,6 +200,42 @@ public AccessApprovalSettings setAncestorHasActiveKeyVersion(java.lang.Boolean a
185200
return this;
186201
}
187202

203+
/**
204+
* Optional. Policy for approval. This contains all policies.
205+
* @return value or {@code null} for none
206+
*/
207+
public CustomerApprovalApprovalPolicy getApprovalPolicy() {
208+
return approvalPolicy;
209+
}
210+
211+
/**
212+
* Optional. Policy for approval. This contains all policies.
213+
* @param approvalPolicy approvalPolicy or {@code null} for none
214+
*/
215+
public AccessApprovalSettings setApprovalPolicy(CustomerApprovalApprovalPolicy approvalPolicy) {
216+
this.approvalPolicy = approvalPolicy;
217+
return this;
218+
}
219+
220+
/**
221+
* Output only. Policy for approval included inherited settings to understand the exact policy
222+
* applied to this resource. This is a read-only field.
223+
* @return value or {@code null} for none
224+
*/
225+
public CustomerApprovalApprovalPolicy getEffectiveApprovalPolicy() {
226+
return effectiveApprovalPolicy;
227+
}
228+
229+
/**
230+
* Output only. Policy for approval included inherited settings to understand the exact policy
231+
* applied to this resource. This is a read-only field.
232+
* @param effectiveApprovalPolicy effectiveApprovalPolicy or {@code null} for none
233+
*/
234+
public AccessApprovalSettings setEffectiveApprovalPolicy(CustomerApprovalApprovalPolicy effectiveApprovalPolicy) {
235+
this.effectiveApprovalPolicy = effectiveApprovalPolicy;
236+
return this;
237+
}
238+
188239
/**
189240
* Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If
190241
* the field is true, that indicates that at least one service is enrolled for Access Approval in

clients/google-api-services-accessapproval/v1/2.0.0/com/google/api/services/accessapproval/v1/model/ApproveDecision.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public final class ApproveDecision extends com.google.api.client.json.GenericJso
5757
@com.google.api.client.util.Key
5858
private String invalidateTime;
5959

60+
/**
61+
* True when the request has been approved by the customer's defined policy.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.Boolean policyApproved;
66+
6067
/**
6168
* The signature for the ApprovalRequest and details on how it was signed.
6269
* The value may be {@code null}.
@@ -132,6 +139,23 @@ public ApproveDecision setInvalidateTime(String invalidateTime) {
132139
return this;
133140
}
134141

142+
/**
143+
* True when the request has been approved by the customer's defined policy.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.lang.Boolean getPolicyApproved() {
147+
return policyApproved;
148+
}
149+
150+
/**
151+
* True when the request has been approved by the customer's defined policy.
152+
* @param policyApproved policyApproved or {@code null} for none
153+
*/
154+
public ApproveDecision setPolicyApproved(java.lang.Boolean policyApproved) {
155+
this.policyApproved = policyApproved;
156+
return this;
157+
}
158+
135159
/**
136160
* The signature for the ApprovalRequest and details on how it was signed.
137161
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.accessapproval.v1.model;
18+
19+
/**
20+
* Represents all the policies that can be set for Customer Approval.
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 Approval API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class CustomerApprovalApprovalPolicy extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Policy for approval based on the justification given.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String justificationBasedApprovalPolicy;
38+
39+
/**
40+
* Optional. Policy for approval based on the justification given.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getJustificationBasedApprovalPolicy() {
44+
return justificationBasedApprovalPolicy;
45+
}
46+
47+
/**
48+
* Optional. Policy for approval based on the justification given.
49+
* @param justificationBasedApprovalPolicy justificationBasedApprovalPolicy or {@code null} for none
50+
*/
51+
public CustomerApprovalApprovalPolicy setJustificationBasedApprovalPolicy(java.lang.String justificationBasedApprovalPolicy) {
52+
this.justificationBasedApprovalPolicy = justificationBasedApprovalPolicy;
53+
return this;
54+
}
55+
56+
@Override
57+
public CustomerApprovalApprovalPolicy set(String fieldName, Object value) {
58+
return (CustomerApprovalApprovalPolicy) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public CustomerApprovalApprovalPolicy clone() {
63+
return (CustomerApprovalApprovalPolicy) super.clone();
64+
}
65+
66+
}

clients/google-api-services-accessapproval/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-accessapproval</artifactId>
11-
<version>v1-rev20250206-2.0.0</version>
12-
<name>Access Approval API v1-rev20250206-2.0.0</name>
11+
<version>v1-rev20250411-2.0.0</version>
12+
<name>Access Approval API v1-rev20250411-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)