Class: Google::Apis::AdminDatatransferV1::Application

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

The JSON template for an Application resource. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/ stepladder-help#fieldNumber)

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) ⇒ Application

Returns a new instance of Application.


59
60
61
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 59

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

Instance Attribute Details

#etagString

Etag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

35
36
37
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 35

def etag
  @etag
end

#idFixnum

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

Returns:

  • (Fixnum)

40
41
42
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 40

def id
  @id
end

#kindString

Identifies the resource as a DataTransfer Application Resource. Corresponds to the JSON property kind

Returns:

  • (String)

45
46
47
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 45

def kind
  @kind
end

#nameString

The application's name. Corresponds to the JSON property name

Returns:

  • (String)

50
51
52
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 50

def name
  @name
end

#transfer_paramsArray<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 transferred. Corresponds to the JSON property transferParams


57
58
59
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 57

def transfer_params
  @transfer_params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


64
65
66
67
68
69
70
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 64

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