generated/google/apis/iap_v1/classes.rb in google-api-client-0.30.10 vs generated/google/apis/iap_v1/classes.rb in google-api-client-0.31.0
- old
+ new
@@ -139,13 +139,15 @@
# Encapsulates settings provided to GetIamPolicy.
class GetPolicyOptions
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
- # Acceptable values are 0, 1, and 3.
- # 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.
# Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum]
attr_accessor :requested_policy_version
def initialize(**args)
@@ -216,10 +218,15 @@
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
- # 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.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
def initialize(**args)