Skip to content

Commit e848c76

Browse files
Google APIscopybara-github
authored andcommitted
Synchronize new proto/yaml changes.
PiperOrigin-RevId: 683894613
1 parent 2b6b93b commit e848c76

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

google/iam/v1/iam_policy.proto

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import "google/iam/v1/options.proto";
2424
import "google/iam/v1/policy.proto";
2525
import "google/protobuf/field_mask.proto";
2626

27-
option cc_enable_arenas = true;
2827
option csharp_namespace = "Google.Cloud.Iam.V1";
2928
option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb";
3029
option java_multiple_files = true;
@@ -34,7 +33,6 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
3433

3534
// API Overview
3635
//
37-
//
3836
// Manages Identity and Access Management (IAM) policies.
3937
//
4038
// Any implementation of an API that offers access control features
@@ -89,7 +87,8 @@ service IAMPolicy {
8987
// Note: This operation is designed to be used for building permission-aware
9088
// UIs and command-line tools, not for authorization checking. This operation
9189
// may "fail open" without warning.
92-
rpc TestIamPermissions(TestIamPermissionsRequest) returns (TestIamPermissionsResponse) {
90+
rpc TestIamPermissions(TestIamPermissionsRequest)
91+
returns (TestIamPermissionsResponse) {
9392
option (google.api.http) = {
9493
post: "/v1/{resource=**}:testIamPermissions"
9594
body: "*"
@@ -103,7 +102,8 @@ message SetIamPolicyRequest {
103102
// See the operation documentation for the appropriate value for this field.
104103
string resource = 1 [
105104
(google.api.field_behavior) = REQUIRED,
106-
(google.api.resource_reference).type = "*"];
105+
(google.api.resource_reference).type = "*"
106+
];
107107

108108
// REQUIRED: The complete policy to be applied to the `resource`. The size of
109109
// the policy is limited to a few 10s of KB. An empty policy is a
@@ -125,7 +125,8 @@ message GetIamPolicyRequest {
125125
// See the operation documentation for the appropriate value for this field.
126126
string resource = 1 [
127127
(google.api.field_behavior) = REQUIRED,
128-
(google.api.resource_reference).type = "*"];
128+
(google.api.resource_reference).type = "*"
129+
];
129130

130131
// OPTIONAL: A `GetPolicyOptions` object for specifying options to
131132
// `GetIamPolicy`.
@@ -136,9 +137,10 @@ message GetIamPolicyRequest {
136137
message TestIamPermissionsRequest {
137138
// REQUIRED: The resource for which the policy detail is being requested.
138139
// See the operation documentation for the appropriate value for this field.
139-
string resource = 1[
140+
string resource = 1 [
140141
(google.api.field_behavior) = REQUIRED,
141-
(google.api.resource_reference).type = "*"];
142+
(google.api.resource_reference).type = "*"
143+
];
142144

143145
// The set of permissions to check for the `resource`. Permissions with
144146
// wildcards (such as '*' or 'storage.*') are not allowed. For more

0 commit comments

Comments
 (0)