@@ -24,7 +24,6 @@ import "google/iam/v1/options.proto"; |
24 | 24 | import "google/iam/v1/policy.proto"; |
25 | 25 | import "google/protobuf/field_mask.proto"; |
26 | 26 |
|
27 | | -option cc_enable_arenas = true; |
28 | 27 | option csharp_namespace = "Google.Cloud.Iam.V1"; |
29 | 28 | option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb"; |
30 | 29 | option java_multiple_files = true; |
@@ -34,7 +33,6 @@ option php_namespace = "Google\\Cloud\\Iam\\V1"; |
34 | 33 |
|
35 | 34 | // API Overview |
36 | 35 | // |
37 | | -// |
38 | 36 | // Manages Identity and Access Management (IAM) policies. |
39 | 37 | // |
40 | 38 | // Any implementation of an API that offers access control features |
@@ -89,7 +87,8 @@ service IAMPolicy { |
89 | 87 | // Note: This operation is designed to be used for building permission-aware |
90 | 88 | // UIs and command-line tools, not for authorization checking. This operation |
91 | 89 | // may "fail open" without warning. |
92 | | - rpc TestIamPermissions(TestIamPermissionsRequest) returns (TestIamPermissionsResponse) { |
| 90 | + rpc TestIamPermissions(TestIamPermissionsRequest) |
| 91 | + returns (TestIamPermissionsResponse) { |
93 | 92 | option (google.api.http) = { |
94 | 93 | post: "/v1/{resource=**}:testIamPermissions" |
95 | 94 | body: "*" |
@@ -103,7 +102,8 @@ message SetIamPolicyRequest { |
103 | 102 | // See the operation documentation for the appropriate value for this field. |
104 | 103 | string resource = 1 [ |
105 | 104 | (google.api.field_behavior) = REQUIRED, |
106 | | - (google.api.resource_reference).type = "*"]; |
| 105 | + (google.api.resource_reference).type = "*" |
| 106 | + ]; |
107 | 107 |
|
108 | 108 | // REQUIRED: The complete policy to be applied to the `resource`. The size of |
109 | 109 | // the policy is limited to a few 10s of KB. An empty policy is a |
@@ -125,7 +125,8 @@ message GetIamPolicyRequest { |
125 | 125 | // See the operation documentation for the appropriate value for this field. |
126 | 126 | string resource = 1 [ |
127 | 127 | (google.api.field_behavior) = REQUIRED, |
128 | | - (google.api.resource_reference).type = "*"]; |
| 128 | + (google.api.resource_reference).type = "*" |
| 129 | + ]; |
129 | 130 |
|
130 | 131 | // OPTIONAL: A `GetPolicyOptions` object for specifying options to |
131 | 132 | // `GetIamPolicy`. |
@@ -136,9 +137,10 @@ message GetIamPolicyRequest { |
136 | 137 | message TestIamPermissionsRequest { |
137 | 138 | // REQUIRED: The resource for which the policy detail is being requested. |
138 | 139 | // See the operation documentation for the appropriate value for this field. |
139 | | - string resource = 1[ |
| 140 | + string resource = 1 [ |
140 | 141 | (google.api.field_behavior) = REQUIRED, |
141 | | - (google.api.resource_reference).type = "*"]; |
| 142 | + (google.api.resource_reference).type = "*" |
| 143 | + ]; |
142 | 144 |
|
143 | 145 | // The set of permissions to check for the `resource`. Permissions with |
144 | 146 | // wildcards (such as '*' or 'storage.*') are not allowed. For more |
|