Class: Google::Apis::StorageV1beta2::ComposeRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::StorageV1beta2::ComposeRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/storage_v1beta2/classes.rb,
generated/google/apis/storage_v1beta2/representations.rb,
generated/google/apis/storage_v1beta2/representations.rb 
Overview
A Compose request.
Defined Under Namespace
Classes: SourceObject
Instance Attribute Summary collapse
- 
  
    
      #destination  ⇒ Google::Apis::StorageV1beta2::Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An object.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The kind of item this is.
 - 
  
    
      #source_objects  ⇒ Array<Google::Apis::StorageV1beta2::ComposeRequest::SourceObject> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The list of source objects that will be concatenated into a single object.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ComposeRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ComposeRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ComposeRequest
Returns a new instance of ComposeRequest
      635 636 637  | 
    
      # File 'generated/google/apis/storage_v1beta2/classes.rb', line 635 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#destination ⇒ Google::Apis::StorageV1beta2::Object
An object.
Corresponds to the JSON property destination
      623 624 625  | 
    
      # File 'generated/google/apis/storage_v1beta2/classes.rb', line 623 def destination @destination end  | 
  
#kind ⇒ String
The kind of item this is.
Corresponds to the JSON property kind
      628 629 630  | 
    
      # File 'generated/google/apis/storage_v1beta2/classes.rb', line 628 def kind @kind end  | 
  
#source_objects ⇒ Array<Google::Apis::StorageV1beta2::ComposeRequest::SourceObject>
The list of source objects that will be concatenated into a single object.
Corresponds to the JSON property sourceObjects
      633 634 635  | 
    
      # File 'generated/google/apis/storage_v1beta2/classes.rb', line 633 def source_objects @source_objects end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      640 641 642 643 644  | 
    
      # File 'generated/google/apis/storage_v1beta2/classes.rb', line 640 def update!(**args) @destination = args[:destination] if args.key?(:destination) @kind = args[:kind] if args.key?(:kind) @source_objects = args[:source_objects] if args.key?(:source_objects) end  |