Class: Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
 generated/google/apis/sheets_v4/representations.rb,
 generated/google/apis/sheets_v4/representations.rb
Overview
The request to copy a sheet across spreadsheets.
Instance Attribute Summary collapse
- 
  
    
      #destination_spreadsheet_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the spreadsheet to copy the sheet to. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CopySheetToAnotherSpreadsheetRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CopySheetToAnotherSpreadsheetRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CopySheetToAnotherSpreadsheetRequest
Returns a new instance of CopySheetToAnotherSpreadsheetRequest
| 3336 3337 3338 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3336 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#destination_spreadsheet_id ⇒ String
The ID of the spreadsheet to copy the sheet to.
Corresponds to the JSON property destinationSpreadsheetId
| 3334 3335 3336 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3334 def destination_spreadsheet_id @destination_spreadsheet_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3341 3342 3343 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3341 def update!(**args) @destination_spreadsheet_id = args[:destination_spreadsheet_id] if args.key?(:destination_spreadsheet_id) end |