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

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 GetOrgPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetOrgPolicyRequest

Returns a new instance of GetOrgPolicyRequest.



814
815
816
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 814

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)


812
813
814
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 812

def constraint
  @constraint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



819
820
821
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 819

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