Synchronize new proto/yaml changes.

PiperOrigin-RevId: 265565344
This commit is contained in:
Google APIs 2019-08-26 16:23:51 -07:00 committed by Copybara-Service
parent 37c923effe
commit 650caad718
3 changed files with 16 additions and 5 deletions

View File

@ -113,7 +113,7 @@ message GetIamPolicyRequest {
// OPTIONAL: A `GetPolicyOptions` object for specifying options to
// `GetIamPolicy`. This field is only used by Cloud IAM.
google.iam.v1.GetPolicyOptions options = 2;
GetPolicyOptions options = 2;
}
// Request message for `TestIamPermissions` method.

View File

@ -30,8 +30,12 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
// Encapsulates settings provided to GetIamPolicy.
message GetPolicyOptions {
// Optional. The policy format version to be returned.
// Acceptable values are 0 and 1.
// If the value is 0, or the field is omitted, policy format version 1 will be
// returned.
//
// Valid values are 0, 1, and 3. Requests specifying an invalid value will be
// rejected.
//
// Requests for policies with any conditional bindings must specify version 3.
// Policies without any conditional bindings may specify any valid value or
// leave the field unset.
int32 requested_policy_version = 1;
}

View File

@ -74,7 +74,14 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
// For a description of IAM and its features, see the
// [IAM developer's guide](https://cloud.google.com/iam/docs).
message Policy {
// Deprecated.
// Specifies the format of the policy.
//
// Valid values are 0, 1, and 3. Requests specifying an invalid value will be
// rejected.
//
// Policies with any conditional bindings must specify version 3. Policies
// without any conditional bindings may specify any valid value or leave the
// field unset.
int32 version = 1;
// Associates a list of `members` to a `role`.