@@ -4809,9 +4809,11 @@ public Create set(String parameterName, Object value) {
4809
4809
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately: *
4810
4810
* You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
4811
4811
* 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.
4815
4817
*
4816
4818
* Create a request for the method "roles.delete".
4817
4819
*
@@ -4853,9 +4855,12 @@ public class Delete extends IamRequest<com.google.api.services.iam.v1.model.Role
4853
4855
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately:
4854
4856
* * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
4855
4857
* 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.
4859
4864
*
4860
4865
* Create a request for the method "roles.delete".
4861
4866
*
@@ -11844,9 +11849,11 @@ public Create set(String parameterName, Object value) {
11844
11849
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately: *
11845
11850
* You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
11846
11851
* 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.
11850
11857
*
11851
11858
* Create a request for the method "roles.delete".
11852
11859
*
@@ -11888,9 +11895,12 @@ public class Delete extends IamRequest<com.google.api.services.iam.v1.model.Role
11888
11895
* Deletes a custom Role. When you delete a custom role, the following changes occur immediately:
11889
11896
* * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the
11890
11897
* 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.
11894
11904
*
11895
11905
* Create a request for the method "roles.delete".
11896
11906
*
@@ -16717,145 +16727,6 @@ public List set(String parameterName, Object value) {
16717
16727
return (List) super.set(parameterName, value);
16718
16728
}
16719
16729
}
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
- }
16859
16730
/**
16860
16731
* Uploads the public key portion of a key pair that you manage, and associates the public key with
16861
16732
* a ServiceAccount. After you upload the public key, you can use the private key from the key pair
0 commit comments