Class: Google::Apis::AdminDatatransferV1::ApplicationTransferParam
- Inherits:
-
Object
- Object
- Google::Apis::AdminDatatransferV1::ApplicationTransferParam
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_datatransfer_v1/classes.rb,
lib/google/apis/admin_datatransfer_v1/representations.rb,
lib/google/apis/admin_datatransfer_v1/representations.rb
Overview
Template for application transfer parameters.
Instance Attribute Summary collapse
-
#key ⇒ String
The type of the transfer parameter, such as
PRIVACY_LEVEL
. -
#value ⇒ Array<String>
The value of the transfer parameter, such as
PRIVATE
orSHARED
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationTransferParam
constructor
A new instance of ApplicationTransferParam.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationTransferParam
Returns a new instance of ApplicationTransferParam.
119 120 121 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The type of the transfer parameter, such as PRIVACY_LEVEL
.
Corresponds to the JSON property key
112 113 114 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 112 def key @key end |
#value ⇒ Array<String>
The value of the transfer parameter, such as PRIVATE
or SHARED
.
Corresponds to the JSON property value
117 118 119 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 117 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
124 125 126 127 |
# File 'lib/google/apis/admin_datatransfer_v1/classes.rb', line 124 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |