Class: Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest
- 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
-
#constraint ⇒ String
Name of the
Constraint
to get thePolicy
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetOrgPolicyRequest
constructor
A new instance of GetOrgPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetOrgPolicyRequest
Returns a new instance of GetOrgPolicyRequest
658 659 660 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#constraint ⇒ String
Name of the Constraint
to get the Policy
.
Corresponds to the JSON property constraint
656 657 658 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 656 def constraint @constraint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
663 664 665 |
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 663 def update!(**args) @constraint = args[:constraint] if args.key?(:constraint) end |