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.



17870
17871
17872
# File 'lib/google/apis/compute_alpha/classes.rb', line 17870

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

Instance Attribute Details

#async_replication_statusGoogle::Apis::ComputeAlpha::AsyncReplicationStatus

Corresponds to the JSON property asyncReplicationStatus



17863
17864
17865
# File 'lib/google/apis/compute_alpha/classes.rb', line 17863

def async_replication_status
  @async_replication_status
end

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


17868
17869
17870
# File 'lib/google/apis/compute_alpha/classes.rb', line 17868

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17875
17876
17877
17878
# File 'lib/google/apis/compute_alpha/classes.rb', line 17875

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