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.



17893
17894
17895
# File 'lib/google/apis/compute_alpha/classes.rb', line 17893

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

Instance Attribute Details

#async_replication_statusGoogle::Apis::ComputeAlpha::AsyncReplicationStatus

Corresponds to the JSON property asyncReplicationStatus



17886
17887
17888
# File 'lib/google/apis/compute_alpha/classes.rb', line 17886

def async_replication_status
  @async_replication_status
end

#etagString

end_interface: MixerGetResponseWithEtagBuilder Corresponds to the JSON property etag

Returns:

  • (String)


17891
17892
17893
# File 'lib/google/apis/compute_alpha/classes.rb', line 17891

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17898
17899
17900
17901
# File 'lib/google/apis/compute_alpha/classes.rb', line 17898

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