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

Constructor Details

#initialize(**args) ⇒ ApplicationDataTransfer

Returns a new instance of ApplicationDataTransfer.



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

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

Instance Attribute Details

#application_idFixnum

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

Returns:

  • (Fixnum)


78
79
80
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 78

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



84
85
86
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 84

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)


89
90
91
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 89

def application_transfer_status
  @application_transfer_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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