Class: Google::Apis::DataportabilityV1::InitiatePortabilityArchiveResponse

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

Overview

Response from initiating an Archive job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InitiatePortabilityArchiveResponse

Returns a new instance of InitiatePortabilityArchiveResponse.



71
72
73
# File 'lib/google/apis/dataportability_v1/classes.rb', line 71

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

Instance Attribute Details

#archive_job_idString

The archive job ID that is initiated in the API. This can be used to get the state of the job. Corresponds to the JSON property archiveJobId

Returns:

  • (String)


69
70
71
# File 'lib/google/apis/dataportability_v1/classes.rb', line 69

def archive_job_id
  @archive_job_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



76
77
78
# File 'lib/google/apis/dataportability_v1/classes.rb', line 76

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