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.


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

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

Instance Attribute Details

#application_idString

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

Returns:

  • (String)

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

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 transfered in context of this application. Corresponds to the JSON property applicationTransferParams


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

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)

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

def application_transfer_status
  @application_transfer_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

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