Class: Google::Apis::AdminDatatransferV1::ApplicationTransferParam

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 for application transfer parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplicationTransferParam

Returns a new instance of ApplicationTransferParam.



117
118
119
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 117

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

Instance Attribute Details

#keyString

The type of the transfer parameter. eg: 'PRIVACY_LEVEL' Corresponds to the JSON property key

Returns:

  • (String)


110
111
112
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 110

def key
  @key
end

#valueArray<String>

The value of the corresponding transfer parameter. eg: 'PRIVATE' or 'SHARED' Corresponds to the JSON property value

Returns:

  • (Array<String>)


115
116
117
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 115

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



122
123
124
125
# File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 122

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