Class: Google::Apis::SheetsV4::CreateDeveloperMetadataResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb

Overview

The response from creating developer metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateDeveloperMetadataResponse

Returns a new instance of CreateDeveloperMetadataResponse.



3623
3624
3625
# File 'lib/google/apis/sheets_v4/classes.rb', line 3623

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

Instance Attribute Details

#developer_metadataGoogle::Apis::SheetsV4::DeveloperMetadata

Developer metadata associated with a location or object in a spreadsheet. Developer metadata may be used to associate arbitrary data with various parts of a spreadsheet and will remain associated at those locations as they move around and the spreadsheet is edited. For example, if developer metadata is associated with row 5 and another row is then subsequently inserted above row 5, that original metadata will still be associated with the row it was first associated with (what is now row 6). If the associated object is deleted its metadata is deleted too. Corresponds to the JSON property developerMetadata



3621
3622
3623
# File 'lib/google/apis/sheets_v4/classes.rb', line 3621

def 
  @developer_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3628
3629
3630
# File 'lib/google/apis/sheets_v4/classes.rb', line 3628

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