Skip to content

Commit 180fe68

Browse files
1 parent b425e73 commit 180fe68

18 files changed

+3319
-142
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-rev20240314-2.0.0</version>
25+
<version>v1-rev20240415-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-rev20240314-2.0.0'
38+
implementation 'com.google.apis:google-api-services-iam:v1-rev20240415-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: 1996 additions & 102 deletions
Large diffs are not rendered by default.

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,63 @@
3030
@SuppressWarnings("javadoc")
3131
public final class DisableServiceAccountKeyRequest extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. Usable by internal google services only. An extended_status_message can be used to
35+
* include additional information about the key, such as its private key data being exposed on a
36+
* public repository like GitHub.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String extendedStatusMessage;
41+
42+
/**
43+
* Optional. Describes the reason this key is being disabled. If unspecified, the default value of
44+
* SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED will be used.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String serviceAccountKeyDisableReason;
49+
50+
/**
51+
* Optional. Usable by internal google services only. An extended_status_message can be used to
52+
* include additional information about the key, such as its private key data being exposed on a
53+
* public repository like GitHub.
54+
* @return value or {@code null} for none
55+
*/
56+
public java.lang.String getExtendedStatusMessage() {
57+
return extendedStatusMessage;
58+
}
59+
60+
/**
61+
* Optional. Usable by internal google services only. An extended_status_message can be used to
62+
* include additional information about the key, such as its private key data being exposed on a
63+
* public repository like GitHub.
64+
* @param extendedStatusMessage extendedStatusMessage or {@code null} for none
65+
*/
66+
public DisableServiceAccountKeyRequest setExtendedStatusMessage(java.lang.String extendedStatusMessage) {
67+
this.extendedStatusMessage = extendedStatusMessage;
68+
return this;
69+
}
70+
71+
/**
72+
* Optional. Describes the reason this key is being disabled. If unspecified, the default value of
73+
* SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED will be used.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getServiceAccountKeyDisableReason() {
77+
return serviceAccountKeyDisableReason;
78+
}
79+
80+
/**
81+
* Optional. Describes the reason this key is being disabled. If unspecified, the default value of
82+
* SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED will be used.
83+
* @param serviceAccountKeyDisableReason serviceAccountKeyDisableReason or {@code null} for none
84+
*/
85+
public DisableServiceAccountKeyRequest setServiceAccountKeyDisableReason(java.lang.String serviceAccountKeyDisableReason) {
86+
this.serviceAccountKeyDisableReason = serviceAccountKeyDisableReason;
87+
return this;
88+
}
89+
3390
@Override
3491
public DisableServiceAccountKeyRequest set(String fieldName, Object value) {
3592
return (DisableServiceAccountKeyRequest) super.set(fieldName, value);
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Extended status can store additional metadata. For example, for keys disabled due to their
21+
* private key data being expoesed we may include a message with more information about the
22+
* exposure.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Identity and Access Management (IAM) API. For a
26+
* detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class ExtendedStatus extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* The key for this extended status.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String key;
41+
42+
/**
43+
* The value for the extended status.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String value;
48+
49+
/**
50+
* The key for this extended status.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getKey() {
54+
return key;
55+
}
56+
57+
/**
58+
* The key for this extended status.
59+
* @param key key or {@code null} for none
60+
*/
61+
public ExtendedStatus setKey(java.lang.String key) {
62+
this.key = key;
63+
return this;
64+
}
65+
66+
/**
67+
* The value for the extended status.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getValue() {
71+
return value;
72+
}
73+
74+
/**
75+
* The value for the extended status.
76+
* @param value value or {@code null} for none
77+
*/
78+
public ExtendedStatus setValue(java.lang.String value) {
79+
this.value = value;
80+
return this;
81+
}
82+
83+
@Override
84+
public ExtendedStatus set(String fieldName, Object value) {
85+
return (ExtendedStatus) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public ExtendedStatus clone() {
90+
return (ExtendedStatus) super.clone();
91+
}
92+
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
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 the OAuth 2.0 client credential configuration for retrieving additional user
21+
* attributes that are not present in the initial authentication credentials from the identity
22+
* provider, e.g. groups. See https://datatracker.ietf.org/doc/html/rfc6749#section-4.4 for more
23+
* details on client credentials grant flow.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the Identity and Access Management (IAM) API. For a
27+
* detailed explanation see:
28+
* <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>
29+
* </p>
30+
*
31+
* @author Google, Inc.
32+
*/
33+
@SuppressWarnings("javadoc")
34+
public final class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client extends com.google.api.client.json.GenericJson {
35+
36+
/**
37+
* Required. Represents the IdP and type of claims that should be fetched.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String attributesType;
42+
43+
/**
44+
* Required. The OAuth 2.0 client ID for retrieving extra attributes from the identity provider.
45+
* Required to get the Access Token using client credentials grant flow.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String clientId;
50+
51+
/**
52+
* Required. The OAuth 2.0 client secret for retrieving extra attributes from the identity
53+
* provider. Required to get the Access Token using client credentials grant flow.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret clientSecret;
58+
59+
/**
60+
* Required. The OIDC identity provider's issuer URI. Must be a valid URI using the `https`
61+
* scheme. Required to get the OIDC discovery document.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String issuerUri;
66+
67+
/**
68+
* Optional. Represents the parameters to control which claims are fetched from an IdP.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters queryParameters;
73+
74+
/**
75+
* Required. Represents the IdP and type of claims that should be fetched.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.String getAttributesType() {
79+
return attributesType;
80+
}
81+
82+
/**
83+
* Required. Represents the IdP and type of claims that should be fetched.
84+
* @param attributesType attributesType or {@code null} for none
85+
*/
86+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client setAttributesType(java.lang.String attributesType) {
87+
this.attributesType = attributesType;
88+
return this;
89+
}
90+
91+
/**
92+
* Required. The OAuth 2.0 client ID for retrieving extra attributes from the identity provider.
93+
* Required to get the Access Token using client credentials grant flow.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.String getClientId() {
97+
return clientId;
98+
}
99+
100+
/**
101+
* Required. The OAuth 2.0 client ID for retrieving extra attributes from the identity provider.
102+
* Required to get the Access Token using client credentials grant flow.
103+
* @param clientId clientId or {@code null} for none
104+
*/
105+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client setClientId(java.lang.String clientId) {
106+
this.clientId = clientId;
107+
return this;
108+
}
109+
110+
/**
111+
* Required. The OAuth 2.0 client secret for retrieving extra attributes from the identity
112+
* provider. Required to get the Access Token using client credentials grant flow.
113+
* @return value or {@code null} for none
114+
*/
115+
public GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret getClientSecret() {
116+
return clientSecret;
117+
}
118+
119+
/**
120+
* Required. The OAuth 2.0 client secret for retrieving extra attributes from the identity
121+
* provider. Required to get the Access Token using client credentials grant flow.
122+
* @param clientSecret clientSecret or {@code null} for none
123+
*/
124+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client setClientSecret(GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret clientSecret) {
125+
this.clientSecret = clientSecret;
126+
return this;
127+
}
128+
129+
/**
130+
* Required. The OIDC identity provider's issuer URI. Must be a valid URI using the `https`
131+
* scheme. Required to get the OIDC discovery document.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getIssuerUri() {
135+
return issuerUri;
136+
}
137+
138+
/**
139+
* Required. The OIDC identity provider's issuer URI. Must be a valid URI using the `https`
140+
* scheme. Required to get the OIDC discovery document.
141+
* @param issuerUri issuerUri or {@code null} for none
142+
*/
143+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client setIssuerUri(java.lang.String issuerUri) {
144+
this.issuerUri = issuerUri;
145+
return this;
146+
}
147+
148+
/**
149+
* Optional. Represents the parameters to control which claims are fetched from an IdP.
150+
* @return value or {@code null} for none
151+
*/
152+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters getQueryParameters() {
153+
return queryParameters;
154+
}
155+
156+
/**
157+
* Optional. Represents the parameters to control which claims are fetched from an IdP.
158+
* @param queryParameters queryParameters or {@code null} for none
159+
*/
160+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client setQueryParameters(GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters queryParameters) {
161+
this.queryParameters = queryParameters;
162+
return this;
163+
}
164+
165+
@Override
166+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client set(String fieldName, Object value) {
167+
return (GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client) super.set(fieldName, value);
168+
}
169+
170+
@Override
171+
public GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client clone() {
172+
return (GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client) super.clone();
173+
}
174+
175+
}

0 commit comments

Comments
 (0)