Class: Google::Apis::CloudtasksV2beta3::GetPolicyOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudtasks_v2beta3/classes.rb,
generated/google/apis/cloudtasks_v2beta3/representations.rb,
generated/google/apis/cloudtasks_v2beta3/representations.rb

Overview

Encapsulates settings provided to GetIamPolicy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetPolicyOptions

Returns a new instance of GetPolicyOptions



554
555
556
# File 'generated/google/apis/cloudtasks_v2beta3/classes.rb', line 554

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#requested_policy_versionFixnum

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. Corresponds to the JSON property requestedPolicyVersion

Returns:

  • (Fixnum)


552
553
554
# File 'generated/google/apis/cloudtasks_v2beta3/classes.rb', line 552

def requested_policy_version
  @requested_policy_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



559
560
561
# File 'generated/google/apis/cloudtasks_v2beta3/classes.rb', line 559

def update!(**args)
  @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
end