Class: Google::Apis::AdminDatatransferV1::ApplicationTransferParam
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminDatatransferV1::ApplicationTransferParam
 
- 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
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the transfer parameter. 
- 
  
    
      #value  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value of the coressponding transfer parameter. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ApplicationTransferParam 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ApplicationTransferParam. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApplicationTransferParam
Returns a new instance of ApplicationTransferParam
| 116 117 118 | # File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 116 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#key ⇒ String
The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
Corresponds to the JSON property key
| 109 110 111 | # File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 109 def key @key end | 
#value ⇒ Array<String>
The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
Corresponds to the JSON property value
| 114 115 116 | # File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 114 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 121 122 123 124 | # File 'generated/google/apis/admin_datatransfer_v1/classes.rb', line 121 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |