Skip to content

Commit 2b3d446

Browse files
1 parent 6788498 commit 2b3d446

File tree

6 files changed

+28
-329
lines changed

6 files changed

+28
-329
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-rev20240617-2.0.0</version>
25+
<version>v1-rev20240722-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-rev20240617-2.0.0'
38+
implementation 'com.google.apis:google-api-services-iam:v1-rev20240722-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: 22 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -4809,9 +4809,11 @@ public Create set(String parameterName, Object value) {
48094809
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately: *
48104810
* You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
48114811
* custom role are not changed, but they have no effect. * By default, the response from ListRoles
4812-
* does not include the custom role. You have 7 days to undelete the custom role. After 7 days, the
4813-
* following changes occur: * The custom role is permanently deleted and cannot be recovered. * If
4814-
* an IAM policy contains a binding to the custom role, the binding is permanently removed.
4812+
* does not include the custom role. A deleted custom role still counts toward the [custom role
4813+
* limit](/iam/quotas#limits) until it is permanently deleted. You have 7 days to undelete the
4814+
* custom role. After 7 days, the following changes occur: * The custom role is permanently deleted
4815+
* and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is
4816+
* permanently removed. * The custom role no longer counts toward your custom role limit.
48154817
*
48164818
* Create a request for the method "roles.delete".
48174819
*
@@ -4853,9 +4855,12 @@ public class Delete extends IamRequest<com.google.api.services.iam.v1.model.Role
48534855
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately:
48544856
* * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
48554857
* custom role are not changed, but they have no effect. * By default, the response from ListRoles
4856-
* does not include the custom role. You have 7 days to undelete the custom role. After 7 days,
4857-
* the following changes occur: * The custom role is permanently deleted and cannot be recovered.
4858-
* * If an IAM policy contains a binding to the custom role, the binding is permanently removed.
4858+
* does not include the custom role. A deleted custom role still counts toward the [custom role
4859+
* limit](/iam/quotas#limits) until it is permanently deleted. You have 7 days to undelete the
4860+
* custom role. After 7 days, the following changes occur: * The custom role is permanently
4861+
* deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the
4862+
* binding is permanently removed. * The custom role no longer counts toward your custom role
4863+
* limit.
48594864
*
48604865
* Create a request for the method "roles.delete".
48614866
*
@@ -11844,9 +11849,11 @@ public Create set(String parameterName, Object value) {
1184411849
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately: *
1184511850
* You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
1184611851
* custom role are not changed, but they have no effect. * By default, the response from ListRoles
11847-
* does not include the custom role. You have 7 days to undelete the custom role. After 7 days, the
11848-
* following changes occur: * The custom role is permanently deleted and cannot be recovered. * If
11849-
* an IAM policy contains a binding to the custom role, the binding is permanently removed.
11852+
* does not include the custom role. A deleted custom role still counts toward the [custom role
11853+
* limit](/iam/quotas#limits) until it is permanently deleted. You have 7 days to undelete the
11854+
* custom role. After 7 days, the following changes occur: * The custom role is permanently deleted
11855+
* and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is
11856+
* permanently removed. * The custom role no longer counts toward your custom role limit.
1185011857
*
1185111858
* Create a request for the method "roles.delete".
1185211859
*
@@ -11888,9 +11895,12 @@ public class Delete extends IamRequest<com.google.api.services.iam.v1.model.Role
1188811895
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately:
1188911896
* * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
1189011897
* custom role are not changed, but they have no effect. * By default, the response from ListRoles
11891-
* does not include the custom role. You have 7 days to undelete the custom role. After 7 days,
11892-
* the following changes occur: * The custom role is permanently deleted and cannot be recovered.
11893-
* * If an IAM policy contains a binding to the custom role, the binding is permanently removed.
11898+
* does not include the custom role. A deleted custom role still counts toward the [custom role
11899+
* limit](/iam/quotas#limits) until it is permanently deleted. You have 7 days to undelete the
11900+
* custom role. After 7 days, the following changes occur: * The custom role is permanently
11901+
* deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the
11902+
* binding is permanently removed. * The custom role no longer counts toward your custom role
11903+
* limit.
1189411904
*
1189511905
* Create a request for the method "roles.delete".
1189611906
*
@@ -16717,145 +16727,6 @@ public List set(String parameterName, Object value) {
1671716727
return (List) super.set(parameterName, value);
1671816728
}
1671916729
}
16720-
/**
16721-
* Patches a ServiceAccountKey.
16722-
*
16723-
* Create a request for the method "keys.patch".
16724-
*
16725-
* This request holds the parameters needed by the iam server. After setting any optional
16726-
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
16727-
*
16728-
* @param name The resource name of the service account key in the following format
16729-
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
16730-
* @param content the {@link com.google.api.services.iam.v1.model.PatchServiceAccountKeyRequest}
16731-
* @return the request
16732-
*/
16733-
public Patch patch(java.lang.String name, com.google.api.services.iam.v1.model.PatchServiceAccountKeyRequest content) throws java.io.IOException {
16734-
Patch result = new Patch(name, content);
16735-
initialize(result);
16736-
return result;
16737-
}
16738-
16739-
public class Patch extends IamRequest<com.google.api.services.iam.v1.model.ServiceAccountKey> {
16740-
16741-
private static final String REST_PATH = "v1/{+name}:patch";
16742-
16743-
private final java.util.regex.Pattern NAME_PATTERN =
16744-
java.util.regex.Pattern.compile("^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$");
16745-
16746-
/**
16747-
* Patches a ServiceAccountKey.
16748-
*
16749-
* Create a request for the method "keys.patch".
16750-
*
16751-
* This request holds the parameters needed by the the iam server. After setting any optional
16752-
* parameters, call the {@link Patch#execute()} method to invoke the remote operation. <p> {@link
16753-
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
16754-
* be called to initialize this instance immediately after invoking the constructor. </p>
16755-
*
16756-
* @param name The resource name of the service account key in the following format
16757-
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
16758-
* @param content the {@link com.google.api.services.iam.v1.model.PatchServiceAccountKeyRequest}
16759-
* @since 1.13
16760-
*/
16761-
protected Patch(java.lang.String name, com.google.api.services.iam.v1.model.PatchServiceAccountKeyRequest content) {
16762-
super(Iam.this, "POST", REST_PATH, content, com.google.api.services.iam.v1.model.ServiceAccountKey.class);
16763-
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
16764-
if (!getSuppressPatternChecks()) {
16765-
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
16766-
"Parameter name must conform to the pattern " +
16767-
"^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$");
16768-
}
16769-
}
16770-
16771-
@Override
16772-
public Patch set$Xgafv(java.lang.String $Xgafv) {
16773-
return (Patch) super.set$Xgafv($Xgafv);
16774-
}
16775-
16776-
@Override
16777-
public Patch setAccessToken(java.lang.String accessToken) {
16778-
return (Patch) super.setAccessToken(accessToken);
16779-
}
16780-
16781-
@Override
16782-
public Patch setAlt(java.lang.String alt) {
16783-
return (Patch) super.setAlt(alt);
16784-
}
16785-
16786-
@Override
16787-
public Patch setCallback(java.lang.String callback) {
16788-
return (Patch) super.setCallback(callback);
16789-
}
16790-
16791-
@Override
16792-
public Patch setFields(java.lang.String fields) {
16793-
return (Patch) super.setFields(fields);
16794-
}
16795-
16796-
@Override
16797-
public Patch setKey(java.lang.String key) {
16798-
return (Patch) super.setKey(key);
16799-
}
16800-
16801-
@Override
16802-
public Patch setOauthToken(java.lang.String oauthToken) {
16803-
return (Patch) super.setOauthToken(oauthToken);
16804-
}
16805-
16806-
@Override
16807-
public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
16808-
return (Patch) super.setPrettyPrint(prettyPrint);
16809-
}
16810-
16811-
@Override
16812-
public Patch setQuotaUser(java.lang.String quotaUser) {
16813-
return (Patch) super.setQuotaUser(quotaUser);
16814-
}
16815-
16816-
@Override
16817-
public Patch setUploadType(java.lang.String uploadType) {
16818-
return (Patch) super.setUploadType(uploadType);
16819-
}
16820-
16821-
@Override
16822-
public Patch setUploadProtocol(java.lang.String uploadProtocol) {
16823-
return (Patch) super.setUploadProtocol(uploadProtocol);
16824-
}
16825-
16826-
/**
16827-
* The resource name of the service account key in the following format
16828-
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
16829-
*/
16830-
@com.google.api.client.util.Key
16831-
private java.lang.String name;
16832-
16833-
/** The resource name of the service account key in the following format
16834-
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
16835-
*/
16836-
public java.lang.String getName() {
16837-
return name;
16838-
}
16839-
16840-
/**
16841-
* The resource name of the service account key in the following format
16842-
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
16843-
*/
16844-
public Patch setName(java.lang.String name) {
16845-
if (!getSuppressPatternChecks()) {
16846-
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
16847-
"Parameter name must conform to the pattern " +
16848-
"^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$");
16849-
}
16850-
this.name = name;
16851-
return this;
16852-
}
16853-
16854-
@Override
16855-
public Patch set(String parameterName, Object value) {
16856-
return (Patch) super.set(parameterName, value);
16857-
}
16858-
}
1685916730
/**
1686016731
* Uploads the public key portion of a key pair that you manage, and associates the public key with
1686116732
* a ServiceAccount. After you upload the public key, you can use the private key from the key pair

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

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)