Class: Google::Apis::CloudresourcemanagerV1beta1::ClearOrgPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1beta1::ClearOrgPolicyRequest
- Defined in:
- generated/google/apis/cloudresourcemanager_v1beta1/classes.rb,
generated/google/apis/cloudresourcemanager_v1beta1/representations.rb,
generated/google/apis/cloudresourcemanager_v1beta1/representations.rb
Overview
The request sent to the ClearOrgPolicy method.
Instance Attribute Summary collapse
-
#constraint ⇒ String
Name of the
Constraintof thePolicyto clear. -
#etag ⇒ String
The current version, for concurrency control.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClearOrgPolicyRequest
constructor
A new instance of ClearOrgPolicyRequest.
-
#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) ⇒ ClearOrgPolicyRequest
Returns a new instance of ClearOrgPolicyRequest
54 55 56 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 54 def initialize(**args) update!(**args) end |
Instance Attribute Details
#constraint ⇒ String
Name of the Constraint of the Policy to clear.
Corresponds to the JSON property constraint
52 53 54 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 52 def constraint @constraint end |
#etag ⇒ String
The current version, for concurrency control. Not sending an etag
will cause the Policy to be cleared blindly.
Corresponds to the JSON property etag
47 48 49 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 47 def etag @etag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59 60 61 62 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 59 def update!(**args) @etag = args[:etag] if args.key?(:etag) @constraint = args[:constraint] if args.key?(:constraint) end |