Class: Google::Apis::RedisV1::ReconciliationOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/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) ⇒ ReconciliationOperationMetadata

Returns a new instance of ReconciliationOperationMetadata.



2546
2547
2548
# File 'lib/google/apis/redis_v1/classes.rb', line 2546

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)


2538
2539
2540
# File 'lib/google/apis/redis_v1/classes.rb', line 2538

def delete_resource
  @delete_resource
end

#exclusive_actionString

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

Returns:

  • (String)


2544
2545
2546
# File 'lib/google/apis/redis_v1/classes.rb', line 2544

def exclusive_action
  @exclusive_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2551
2552
2553
2554
# File 'lib/google/apis/redis_v1/classes.rb', line 2551

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