You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/pubsub-ordering-keys/google-cloud-clients/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java
+28-18Lines changed: 28 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -2487,9 +2487,8 @@ public final AsymmetricSignResponse asymmetricSign(AsymmetricSignRequest request
2487
2487
* }
2488
2488
* </code></pre>
2489
2489
*
2490
-
* @param resource REQUIRED: The resource for which the policy is being specified. `resource` is
2491
-
* usually specified as a path. For example, a Project resource is specified as
2492
-
* `projects/{project}`.
2490
+
* @param resource REQUIRED: The resource for which the policy is being specified. See the
2491
+
* operation documentation for the appropriate value for this field.
2493
2492
* @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the
2494
2493
* policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud
2495
2494
* Platform services (such as Projects) might reject them.
@@ -2519,9 +2518,8 @@ public final Policy setIamPolicy(KeyName resource, Policy policy) {
2519
2518
* }
2520
2519
* </code></pre>
2521
2520
*
2522
-
* @param resource REQUIRED: The resource for which the policy is being specified. `resource` is
2523
-
* usually specified as a path. For example, a Project resource is specified as
2524
-
* `projects/{project}`.
2521
+
* @param resource REQUIRED: The resource for which the policy is being specified. See the
2522
+
* operation documentation for the appropriate value for this field.
2525
2523
* @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the
2526
2524
* policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud
2527
2525
* Platform services (such as Projects) might reject them.
@@ -2597,9 +2595,8 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
2597
2595
* }
2598
2596
* </code></pre>
2599
2597
*
2600
-
* @param resource REQUIRED: The resource for which the policy is being requested. `resource` is
2601
-
* usually specified as a path. For example, a Project resource is specified as
2602
-
* `projects/{project}`.
2598
+
* @param resource REQUIRED: The resource for which the policy is being requested. See the
2599
+
* operation documentation for the appropriate value for this field.
2603
2600
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
2604
2601
*/
2605
2602
publicfinalPolicygetIamPolicy(KeyNameresource) {
@@ -2625,9 +2622,8 @@ public final Policy getIamPolicy(KeyName resource) {
2625
2622
* }
2626
2623
* </code></pre>
2627
2624
*
2628
-
* @param resource REQUIRED: The resource for which the policy is being requested. `resource` is
2629
-
* usually specified as a path. For example, a Project resource is specified as
2630
-
* `projects/{project}`.
2625
+
* @param resource REQUIRED: The resource for which the policy is being requested. See the
2626
+
* operation documentation for the appropriate value for this field.
2631
2627
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
2632
2628
*/
2633
2629
publicfinalPolicygetIamPolicy(Stringresource) {
@@ -2688,6 +2684,10 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
2688
2684
* Returns permissions that a caller has on the specified resource. If the resource does not
2689
2685
* exist, this will return an empty set of permissions, not a NOT_FOUND error.
2690
2686
*
2687
+
* <p>Note: This operation is designed to be used for building permission-aware UIs and
2688
+
* command-line tools, not for authorization checking. This operation may "fail open" without
2689
+
* warning.
2690
+
*
2691
2691
* <p>Sample code:
2692
2692
*
2693
2693
* <pre><code>
@@ -2698,9 +2698,8 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
2698
2698
* }
2699
2699
* </code></pre>
2700
2700
*
2701
-
* @param resource REQUIRED: The resource for which the policy detail is being requested.
2702
-
* `resource` is usually specified as a path. For example, a Project resource is specified as
2703
-
* `projects/{project}`.
2701
+
* @param resource REQUIRED: The resource for which the policy detail is being requested. See the
2702
+
* operation documentation for the appropriate value for this field.
2704
2703
* @param permissions The set of permissions to check for the `resource`. Permissions with
2705
2704
* wildcards (such as '*' or 'storage.*') are not allowed. For more information see
0 commit comments