Class: Google::Apis::DataportabilityV1beta::RetryPortabilityArchiveResponse

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

Overview

Response from retrying a Portability Archive.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RetryPortabilityArchiveResponse

Returns a new instance of RetryPortabilityArchiveResponse.



151
152
153
# File 'lib/google/apis/dataportability_v1beta/classes.rb', line 151

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

Instance Attribute Details

#archive_job_idString

The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job. Corresponds to the JSON property archiveJobId

Returns:

  • (String)


149
150
151
# File 'lib/google/apis/dataportability_v1beta/classes.rb', line 149

def archive_job_id
  @archive_job_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



156
157
158
# File 'lib/google/apis/dataportability_v1beta/classes.rb', line 156

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