Class: Google::Apis::AlloydbV1beta::CloudControl2SharedOperationsReconciliationOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb

Overview

Operation metadata returned by the CLH during resource state reconciliation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudControl2SharedOperationsReconciliationOperationMetadata

Returns a new instance of CloudControl2SharedOperationsReconciliationOperationMetadata.



369
370
371
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 369

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

Instance Attribute Details

#delete_resourceBoolean Also known as: delete_resource?

DEPRECATED. Use exclusive_action instead. Corresponds to the JSON property deleteResource

Returns:

  • (Boolean)


361
362
363
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 361

def delete_resource
  @delete_resource
end

#exclusive_actionString

Excluisive action returned by the CLH. Corresponds to the JSON property exclusiveAction

Returns:

  • (String)


367
368
369
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 367

def exclusive_action
  @exclusive_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



374
375
376
377
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 374

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