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/autosynth-pubsub/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java
+18-9Lines changed: 18 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1940,9 +1940,8 @@ public final UnaryCallable<SeekRequest, SeekResponse> seekCallable() {
1940
1940
* }
1941
1941
* </code></pre>
1942
1942
*
1943
-
* @param resource REQUIRED: The resource for which the policy is being specified. `resource` is
1944
-
* usually specified as a path. For example, a Project resource is specified as
1945
-
* `projects/{project}`.
1943
+
* @param resource REQUIRED: The resource for which the policy is being specified. See the
1944
+
* operation documentation for the appropriate value for this field.
1946
1945
* @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the
1947
1946
* policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud
1948
1947
* Platform services (such as Projects) might reject them.
@@ -2018,9 +2017,8 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
2018
2017
* }
2019
2018
* </code></pre>
2020
2019
*
2021
-
* @param resource REQUIRED: The resource for which the policy is being requested. `resource` is
2022
-
* usually specified as a path. For example, a Project resource is specified as
2023
-
* `projects/{project}`.
2020
+
* @param resource REQUIRED: The resource for which the policy is being requested. See the
2021
+
* operation documentation for the appropriate value for this field.
2024
2022
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
2025
2023
*/
2026
2024
publicfinalPolicygetIamPolicy(Stringresource) {
@@ -2081,6 +2079,10 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
2081
2079
* Returns permissions that a caller has on the specified resource. If the resource does not
2082
2080
* exist, this will return an empty set of permissions, not a NOT_FOUND error.
2083
2081
*
2082
+
* <p>Note: This operation is designed to be used for building permission-aware UIs and
2083
+
* command-line tools, not for authorization checking. This operation may "fail open" without
2084
+
* warning.
2085
+
*
2084
2086
* <p>Sample code:
2085
2087
*
2086
2088
* <pre><code>
@@ -2091,9 +2093,8 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
2091
2093
* }
2092
2094
* </code></pre>
2093
2095
*
2094
-
* @param resource REQUIRED: The resource for which the policy detail is being requested.
2095
-
* `resource` is usually specified as a path. For example, a Project resource is specified as
2096
-
* `projects/{project}`.
2096
+
* @param resource REQUIRED: The resource for which the policy detail is being requested. See the
2097
+
* operation documentation for the appropriate value for this field.
2097
2098
* @param permissions The set of permissions to check for the `resource`. Permissions with
2098
2099
* wildcards (such as '*' or 'storage.*') are not allowed. For more information see
Copy file name to clipboardExpand all lines: branches/autosynth-pubsub/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java
+18-9Lines changed: 18 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -922,9 +922,8 @@ public final UnaryCallable<DeleteTopicRequest, Empty> deleteTopicCallable() {
922
922
* }
923
923
* </code></pre>
924
924
*
925
-
* @param resource REQUIRED: The resource for which the policy is being specified. `resource` is
926
-
* usually specified as a path. For example, a Project resource is specified as
927
-
* `projects/{project}`.
925
+
* @param resource REQUIRED: The resource for which the policy is being specified. See the
926
+
* operation documentation for the appropriate value for this field.
928
927
* @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the
929
928
* policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud
930
929
* Platform services (such as Projects) might reject them.
@@ -1000,9 +999,8 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
1000
999
* }
1001
1000
* </code></pre>
1002
1001
*
1003
-
* @param resource REQUIRED: The resource for which the policy is being requested. `resource` is
1004
-
* usually specified as a path. For example, a Project resource is specified as
1005
-
* `projects/{project}`.
1002
+
* @param resource REQUIRED: The resource for which the policy is being requested. See the
1003
+
* operation documentation for the appropriate value for this field.
1006
1004
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
1007
1005
*/
1008
1006
publicfinalPolicygetIamPolicy(Stringresource) {
@@ -1063,6 +1061,10 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
1063
1061
* Returns permissions that a caller has on the specified resource. If the resource does not
1064
1062
* exist, this will return an empty set of permissions, not a NOT_FOUND error.
1065
1063
*
1064
+
* <p>Note: This operation is designed to be used for building permission-aware UIs and
1065
+
* command-line tools, not for authorization checking. This operation may "fail open" without
1066
+
* warning.
1067
+
*
1066
1068
* <p>Sample code:
1067
1069
*
1068
1070
* <pre><code>
@@ -1073,9 +1075,8 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
1073
1075
* }
1074
1076
* </code></pre>
1075
1077
*
1076
-
* @param resource REQUIRED: The resource for which the policy detail is being requested.
1077
-
* `resource` is usually specified as a path. For example, a Project resource is specified as
1078
-
* `projects/{project}`.
1078
+
* @param resource REQUIRED: The resource for which the policy detail is being requested. See the
1079
+
* operation documentation for the appropriate value for this field.
1079
1080
* @param permissions The set of permissions to check for the `resource`. Permissions with
1080
1081
* wildcards (such as '*' or 'storage.*') are not allowed. For more information see
Copy file name to clipboardExpand all lines: branches/autosynth-pubsub/google-cloud-clients/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -490,7 +490,6 @@ public static class Builder extends StubSettings.Builder<PublisherStubSettings,
0 commit comments