Class: Google::Apis::DataportabilityV1beta::InitiatePortabilityArchiveRequest

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

Request to kick off an Archive job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InitiatePortabilityArchiveRequest

Returns a new instance of InitiatePortabilityArchiveRequest.



51
52
53
# File 'lib/google/apis/dataportability_v1beta/classes.rb', line 51

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

Instance Attribute Details

#resourcesArray<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

Returns:

  • (Array<String>)


49
50
51
# File 'lib/google/apis/dataportability_v1beta/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_v1beta/classes.rb', line 56

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