Skip to content

Commit 87db903

Browse files
1 parent c789193 commit 87db903

25 files changed

+4724
-40
lines changed

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

clients/google-api-services-iam/v1/2.0.0/com/google/api/services/iam/v1/Iam.java

Lines changed: 2940 additions & 31 deletions
Large diffs are not rendered by default.
Lines changed: 67 additions & 0 deletions
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.iam.v1.model;
18+
19+
/**
20+
* Request message for AddAttestationRule.
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 Identity and Access Management (IAM) API. For a
24+
* detailed 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 AddAttestationRuleRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. The attestation rule to be added.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private AttestationRule attestationRule;
39+
40+
/**
41+
* Required. The attestation rule to be added.
42+
* @return value or {@code null} for none
43+
*/
44+
public AttestationRule getAttestationRule() {
45+
return attestationRule;
46+
}
47+
48+
/**
49+
* Required. The attestation rule to be added.
50+
* @param attestationRule attestationRule or {@code null} for none
51+
*/
52+
public AddAttestationRuleRequest setAttestationRule(AttestationRule attestationRule) {
53+
this.attestationRule = attestationRule;
54+
return this;
55+
}
56+
57+
@Override
58+
public AddAttestationRuleRequest set(String fieldName, Object value) {
59+
return (AddAttestationRuleRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AddAttestationRuleRequest clone() {
64+
return (AddAttestationRuleRequest) super.clone();
65+
}
66+
67+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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.iam.v1.model;
18+
19+
/**
20+
* Defines which workloads can receive an identity within a pool. When an AttestationRule is defined
21+
* under a managed identity, matching workloads may receive that identity.
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 Identity and Access Management (IAM) API. For a
25+
* detailed 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 AttestationRule extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. A single workload operating on Google Cloud. For example:
36+
* `//compute.googleapis.com/projects/123/uid/zones/us-central1-a/instances/12345`.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String googleCloudResource;
41+
42+
/**
43+
* Optional. A single workload operating on Google Cloud. For example:
44+
* `//compute.googleapis.com/projects/123/uid/zones/us-central1-a/instances/12345`.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getGoogleCloudResource() {
48+
return googleCloudResource;
49+
}
50+
51+
/**
52+
* Optional. A single workload operating on Google Cloud. For example:
53+
* `//compute.googleapis.com/projects/123/uid/zones/us-central1-a/instances/12345`.
54+
* @param googleCloudResource googleCloudResource or {@code null} for none
55+
*/
56+
public AttestationRule setGoogleCloudResource(java.lang.String googleCloudResource) {
57+
this.googleCloudResource = googleCloudResource;
58+
return this;
59+
}
60+
61+
@Override
62+
public AttestationRule set(String fieldName, Object value) {
63+
return (AttestationRule) super.set(fieldName, value);
64+
}
65+
66+
@Override
67+
public AttestationRule clone() {
68+
return (AttestationRule) super.clone();
69+
}
70+
71+
}
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
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.iam.v1.model;
18+
19+
/**
20+
* Represents configuration for generating mutual TLS (mTLS) certificates for the identities within
21+
* this pool.
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 Identity and Access Management (IAM) API. For a
25+
* detailed 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 InlineCertificateIssuanceConfig extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. A required mapping of a cloud region to the CA pool resource located in that region
36+
* used for certificate issuance, adhering to these constraints: * Key format: A supported cloud
37+
* region name equivalent to the location identifier in the corresponding map entry's value. *
38+
* Value format: A valid CA pool resource path format like:
39+
* "projects/{project}/locations/{location}/caPools/{ca_pool}" * Region Matching: Workloads are
40+
* ONLY issued certificates from CA pools within the same region. Also the CA pool region (in
41+
* value) must match the workload's region (key).
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.Map<String, java.lang.String> caPools;
46+
47+
/**
48+
* Optional. Key algorithm to use when generating the key pair. This key pair will be used to
49+
* create the certificate. If unspecified, this will default to ECDSA_P256.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String keyAlgorithm;
54+
55+
/**
56+
* Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours
57+
* - 30 days. If unspecified, this will be defaulted to 24 hours.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private String lifetime;
62+
63+
/**
64+
* Optional. Rotation window percentage indicating when certificate rotation should be initiated
65+
* based on remaining lifetime. Must be between 10 - 80. If unspecified, this will be defaulted to
66+
* 50.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.lang.Integer rotationWindowPercentage;
71+
72+
/**
73+
* Optional. A required mapping of a cloud region to the CA pool resource located in that region
74+
* used for certificate issuance, adhering to these constraints: * Key format: A supported cloud
75+
* region name equivalent to the location identifier in the corresponding map entry's value. *
76+
* Value format: A valid CA pool resource path format like:
77+
* "projects/{project}/locations/{location}/caPools/{ca_pool}" * Region Matching: Workloads are
78+
* ONLY issued certificates from CA pools within the same region. Also the CA pool region (in
79+
* value) must match the workload's region (key).
80+
* @return value or {@code null} for none
81+
*/
82+
public java.util.Map<String, java.lang.String> getCaPools() {
83+
return caPools;
84+
}
85+
86+
/**
87+
* Optional. A required mapping of a cloud region to the CA pool resource located in that region
88+
* used for certificate issuance, adhering to these constraints: * Key format: A supported cloud
89+
* region name equivalent to the location identifier in the corresponding map entry's value. *
90+
* Value format: A valid CA pool resource path format like:
91+
* "projects/{project}/locations/{location}/caPools/{ca_pool}" * Region Matching: Workloads are
92+
* ONLY issued certificates from CA pools within the same region. Also the CA pool region (in
93+
* value) must match the workload's region (key).
94+
* @param caPools caPools or {@code null} for none
95+
*/
96+
public InlineCertificateIssuanceConfig setCaPools(java.util.Map<String, java.lang.String> caPools) {
97+
this.caPools = caPools;
98+
return this;
99+
}
100+
101+
/**
102+
* Optional. Key algorithm to use when generating the key pair. This key pair will be used to
103+
* create the certificate. If unspecified, this will default to ECDSA_P256.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getKeyAlgorithm() {
107+
return keyAlgorithm;
108+
}
109+
110+
/**
111+
* Optional. Key algorithm to use when generating the key pair. This key pair will be used to
112+
* create the certificate. If unspecified, this will default to ECDSA_P256.
113+
* @param keyAlgorithm keyAlgorithm or {@code null} for none
114+
*/
115+
public InlineCertificateIssuanceConfig setKeyAlgorithm(java.lang.String keyAlgorithm) {
116+
this.keyAlgorithm = keyAlgorithm;
117+
return this;
118+
}
119+
120+
/**
121+
* Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours
122+
* - 30 days. If unspecified, this will be defaulted to 24 hours.
123+
* @return value or {@code null} for none
124+
*/
125+
public String getLifetime() {
126+
return lifetime;
127+
}
128+
129+
/**
130+
* Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 10 hours
131+
* - 30 days. If unspecified, this will be defaulted to 24 hours.
132+
* @param lifetime lifetime or {@code null} for none
133+
*/
134+
public InlineCertificateIssuanceConfig setLifetime(String lifetime) {
135+
this.lifetime = lifetime;
136+
return this;
137+
}
138+
139+
/**
140+
* Optional. Rotation window percentage indicating when certificate rotation should be initiated
141+
* based on remaining lifetime. Must be between 10 - 80. If unspecified, this will be defaulted to
142+
* 50.
143+
* @return value or {@code null} for none
144+
*/
145+
public java.lang.Integer getRotationWindowPercentage() {
146+
return rotationWindowPercentage;
147+
}
148+
149+
/**
150+
* Optional. Rotation window percentage indicating when certificate rotation should be initiated
151+
* based on remaining lifetime. Must be between 10 - 80. If unspecified, this will be defaulted to
152+
* 50.
153+
* @param rotationWindowPercentage rotationWindowPercentage or {@code null} for none
154+
*/
155+
public InlineCertificateIssuanceConfig setRotationWindowPercentage(java.lang.Integer rotationWindowPercentage) {
156+
this.rotationWindowPercentage = rotationWindowPercentage;
157+
return this;
158+
}
159+
160+
@Override
161+
public InlineCertificateIssuanceConfig set(String fieldName, Object value) {
162+
return (InlineCertificateIssuanceConfig) super.set(fieldName, value);
163+
}
164+
165+
@Override
166+
public InlineCertificateIssuanceConfig clone() {
167+
return (InlineCertificateIssuanceConfig) super.clone();
168+
}
169+
170+
}

0 commit comments

Comments
 (0)