Class: Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest

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 GetEffectiveOrgPolicy 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) ⇒ GetEffectiveOrgPolicyRequest

Returns a new instance of GetEffectiveOrgPolicyRequest.



608
609
610
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 608

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

Instance Attribute Details

#constraintString

The name of the Constraint to compute the effective Policy. Corresponds to the JSON property constraint

Returns:

  • (String)


606
607
608
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 606

def constraint
  @constraint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



613
614
615
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 613

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