Class: Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest

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

Overview

The request sent to the GetOrgPolicy method.

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) ⇒ GetOrgPolicyRequest

Returns a new instance of GetOrgPolicyRequest



534
535
536
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 534

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

Instance Attribute Details

#constraintString

Name of the Constraint to get the Policy. Corresponds to the JSON property constraint

Returns:

  • (String)


532
533
534
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 532

def constraint
  @constraint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



539
540
541
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 539

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