Class: Google::Apis::AdminDatatransferV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::AdminDatatransferV1::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_datatransfer_v1/classes.rb,
generated/google/apis/admin_datatransfer_v1/representations.rb,
generated/google/apis/admin_datatransfer_v1/representations.rb
Overview
The JSON template for an Application resource.
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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application
56 57 58 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 56 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Etag of the resource.
Corresponds to the JSON property etag
32 33 34 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 32 def etag @etag end |
#id ⇒ Fixnum
The application's ID.
Corresponds to the JSON property id
37 38 39 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 37 def id @id end |
#kind ⇒ String
Identifies the resource as a DataTransfer Application Resource.
Corresponds to the JSON property kind
42 43 44 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 42 def kind @kind end |
#name ⇒ String
The application's name.
Corresponds to the JSON property name
47 48 49 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 47 def name @name end |
#transfer_params ⇒ Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>
The list of all possible transfer parameters for this application. These
parameters can be used to select the data of the user in this application to
be transfered.
Corresponds to the JSON property transferParams
54 55 56 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 54 def transfer_params @transfer_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
61 62 63 64 65 66 67 |
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 61 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 |