Class: Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest
- 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 ClearOrgPolicy method.
Instance Attribute Summary collapse
-
#constraint ⇒ String
Name of the
Constraint
of thePolicy
to 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.
Constructor Details
#initialize(**args) ⇒ ClearOrgPolicyRequest
Returns a new instance of ClearOrgPolicyRequest.
293 294 295 |
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 293 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
284 285 286 |
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 284 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
NOTE: Values are automatically base64 encoded/decoded in the client library.
291 292 293 |
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 291 def etag @etag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
298 299 300 301 |
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 298 def update!(**args) @constraint = args[:constraint] if args.key?(:constraint) @etag = args[:etag] if args.key?(:etag) end |