Class: Google::Apis::SpannerV1::ChangeQuorumMetadata

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

Overview

Metadata type for the long-running operation returned by ChangeQuorum.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChangeQuorumMetadata

Returns a new instance of ChangeQuorumMetadata.



945
946
947
# File 'lib/google/apis/spanner_v1/classes.rb', line 945

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

Instance Attribute Details

#end_timeString

If set, the time at which this operation failed or was completed successfully. Corresponds to the JSON property endTime

Returns:

  • (String)


933
934
935
# File 'lib/google/apis/spanner_v1/classes.rb', line 933

def end_time
  @end_time
end

#requestGoogle::Apis::SpannerV1::ChangeQuorumRequest

The request for ChangeQuorum. Corresponds to the JSON property request



938
939
940
# File 'lib/google/apis/spanner_v1/classes.rb', line 938

def request
  @request
end

#start_timeString

Time the request was received. Corresponds to the JSON property startTime

Returns:

  • (String)


943
944
945
# File 'lib/google/apis/spanner_v1/classes.rb', line 943

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



950
951
952
953
954
# File 'lib/google/apis/spanner_v1/classes.rb', line 950

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @request = args[:request] if args.key?(:request)
  @start_time = args[:start_time] if args.key?(:start_time)
end