generated/google/apis/cloudresourcemanager_v1beta1/classes.rb in google-api-client-0.30.4 vs generated/google/apis/cloudresourcemanager_v1beta1/classes.rb in google-api-client-0.30.5
- old
+ new
@@ -370,15 +370,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::CloudresourcemanagerV1beta1::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
# The response returned from the `ListOrganizations` method.
class ListOrganizationsResponse