generated/google/apis/iap_v1/classes.rb in google-api-client-0.30.4 vs generated/google/apis/iap_v1/classes.rb in google-api-client-0.30.5
- old
+ new
@@ -119,15 +119,43 @@
# Request message for `GetIamPolicy` method.
class GetIamPolicyRequest
include Google::Apis::Core::Hashable
+ # Encapsulates settings provided to GetIamPolicy.
+ # Corresponds to the JSON property `options`
+ # @return [Google::Apis::IapV1::GetPolicyOptions]
+ attr_accessor :options
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @options = args[:options] if args.key?(:options)
+ end
+ end
+
+ # Encapsulates settings provided to GetIamPolicy.
+ class GetPolicyOptions
+ include Google::Apis::Core::Hashable
+
+ # 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.
+ # Corresponds to the JSON property `requestedPolicyVersion`
+ # @return [Fixnum]
+ attr_accessor :requested_policy_version
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.