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.



15271
15272
15273
# File 'lib/google/apis/compute_alpha/classes.rb', line 15271

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

Instance Attribute Details

#async_replication_statusGoogle::Apis::ComputeAlpha::AsyncReplicationStatus

Corresponds to the JSON property asyncReplicationStatus



15264
15265
15266
# File 'lib/google/apis/compute_alpha/classes.rb', line 15264

def async_replication_status
  @async_replication_status
end

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


15269
15270
15271
# File 'lib/google/apis/compute_alpha/classes.rb', line 15269

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15276
15277
15278
15279
# File 'lib/google/apis/compute_alpha/classes.rb', line 15276

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