Class: Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest

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 ClearOrgPolicy 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) ⇒ ClearOrgPolicyRequest

Returns a new instance of ClearOrgPolicyRequest.



337
338
339
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 337

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#constraintString

Name of the Constraint of the Policy to clear. Corresponds to the JSON property constraint

Returns:

  • (String)


328
329
330
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 328

def constraint
  @constraint
end

#etagString

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.

Returns:

  • (String)


335
336
337
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 335

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



342
343
344
345
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 342

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