Class: Google::Apis::AdminDatatransferV1::ApplicationDataTransfer

Inherits:
Object
  • Object
show all
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

Template to map fields of ApplicationDataTransfer resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ApplicationDataTransfer

Returns a new instance of ApplicationDataTransfer.


93
94
95
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 93

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

Instance Attribute Details

#application_idFixnum

The application's ID. Corresponds to the JSON property applicationId

Returns:

  • (Fixnum)

80
81
82
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 80

def application_id
  @application_id
end

#application_transfer_paramsArray<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>

The transfer parameters for the application. These parameters are used to select the data which will get transferred in context of this application. Corresponds to the JSON property applicationTransferParams


86
87
88
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 86

def application_transfer_params
  @application_transfer_params
end

#application_transfer_statusString

Current status of transfer for this application. (Read-only) Corresponds to the JSON property applicationTransferStatus

Returns:

  • (String)

91
92
93
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 91

def application_transfer_status
  @application_transfer_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


98
99
100
101
102
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 98

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