Class: Google::Apis::DataportabilityV1::InitiatePortabilityArchiveRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataportabilityV1::InitiatePortabilityArchiveRequest
- 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
Request to kick off an Archive job.
Instance Attribute Summary collapse
-
#resources ⇒ Array<String>
The resources from which you're exporting data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InitiatePortabilityArchiveRequest
constructor
A new instance of InitiatePortabilityArchiveRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InitiatePortabilityArchiveRequest
Returns a new instance of InitiatePortabilityArchiveRequest.
51 52 53 |
# File 'lib/google/apis/dataportability_v1/classes.rb', line 51 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Array<String>
The resources from which you're exporting data. These values have a 1:1
correspondence with the OAuth scopes.
Corresponds to the JSON property resources
49 50 51 |
# File 'lib/google/apis/dataportability_v1/classes.rb', line 49 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
56 57 58 |
# File 'lib/google/apis/dataportability_v1/classes.rb', line 56 def update!(**args) @resources = args[:resources] if args.key?(:resources) end |