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

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

Overview

The request sent to the GetEffectiveOrgPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetEffectiveOrgPolicyRequest

Returns a new instance of GetEffectiveOrgPolicyRequest.



805
806
807
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 805

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)


803
804
805
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 803

def constraint
  @constraint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



810
811
812
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 810

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