Class: Google::Apis::AdminDatatransferV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::AdminDatatransferV1::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_datatransfer_v1/classes.rb,
lib/google/apis/admin_datatransfer_v1/representations.rb,
lib/google/apis/admin_datatransfer_v1/representations.rb
Overview
Application resources represent applications installed on the domain that support transferring ownership of user data.
Instance Attribute Summary collapse
-
#etag ⇒ String
Etag of the resource.
-
#id ⇒ Fixnum
The application's ID.
-
#kind ⇒ String
Identifies the resource as a DataTransfer Application Resource.
-
#name ⇒ String
The application's name.
-
#transfer_params ⇒ Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>
The list of all possible transfer parameters for this application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Application
constructor
A new instance of Application.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application.
57 58 59 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Etag of the resource.
Corresponds to the JSON property etag
33 34 35 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 33 def etag @etag end |
#id ⇒ Fixnum
The application's ID. Retrievable by using the applications.list()
method.
Corresponds to the JSON property id
39 40 41 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 39 def id @id end |
#kind ⇒ String
Identifies the resource as a DataTransfer Application Resource.
Corresponds to the JSON property kind
44 45 46 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 44 def kind @kind end |
#name ⇒ String
The application's name.
Corresponds to the JSON property name
49 50 51 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 49 def name @name end |
#transfer_params ⇒ Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>
The list of all possible transfer parameters for this application. These
parameters select which categories of the user's data to transfer.
Corresponds to the JSON property transferParams
55 56 57 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 55 def transfer_params @transfer_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 66 67 68 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 62 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @transfer_params = args[:transfer_params] if args.key?(:transfer_params) end |