Class: Google::Apis::SheetsV4::MatchedDeveloperMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::MatchedDeveloperMetadata
- 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
A developer metadata entry and the data filters specified in the original request that matched it.
Instance Attribute Summary collapse
-
#data_filters ⇒ Array<Google::Apis::SheetsV4::DataFilter>
All filters matching the returned developer metadata.
-
#developer_metadata ⇒ Google::Apis::SheetsV4::DeveloperMetadata
Developer metadata associated with a location or object in a spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MatchedDeveloperMetadata
constructor
A new instance of MatchedDeveloperMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MatchedDeveloperMetadata
Returns a new instance of MatchedDeveloperMetadata
5823 5824 5825 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_filters ⇒ Array<Google::Apis::SheetsV4::DataFilter>
All filters matching the returned developer metadata.
Corresponds to the JSON property dataFilters
5809 5810 5811 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5809 def data_filters @data_filters end |
#developer_metadata ⇒ Google::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
5821 5822 5823 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5821 def @developer_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5828 5829 5830 5831 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5828 def update!(**args) @data_filters = args[:data_filters] if args.key?(:data_filters) @developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata) end |