Class: Google::Apis::ComputeAlpha::GetAsyncReplicationStatusResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetAsyncReplicationStatusResponse

Returns a new instance of GetAsyncReplicationStatusResponse.



13648
13649
13650
# File 'lib/google/apis/compute_alpha/classes.rb', line 13648

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

Instance Attribute Details

#async_replication_statusGoogle::Apis::ComputeAlpha::AsyncReplicationStatus

Corresponds to the JSON property asyncReplicationStatus



13641
13642
13643
# File 'lib/google/apis/compute_alpha/classes.rb', line 13641

def async_replication_status
  @async_replication_status
end

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


13646
13647
13648
# File 'lib/google/apis/compute_alpha/classes.rb', line 13646

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13653
13654
13655
13656
# File 'lib/google/apis/compute_alpha/classes.rb', line 13653

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