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



227
228
229
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 227

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)


225
226
227
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 225

def constraint
  @constraint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



232
233
234
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 232

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