diff --git a/api_names_out.yaml b/api_names_out.yaml index f551dbb3c..fb42278b6 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -138861,6 +138861,8 @@ "/sheets:v4/PieChartSpec/series": series "/sheets:v4/PieChartSpec/threeDimensional": three_dimensional "/sheets:v4/PivotFilterCriteria": pivot_filter_criteria +"/sheets:v4/PivotFilterCriteria/condition": condition +"/sheets:v4/PivotFilterCriteria/visibleByDefault": visible_by_default "/sheets:v4/PivotFilterCriteria/visibleValues": visible_values "/sheets:v4/PivotFilterCriteria/visibleValues/visible_value": visible_value "/sheets:v4/PivotFilterSpec": pivot_filter_spec diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index d6b8a36b9..e506bf24b 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20200922' + REVISION = '20201102' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index e3d8cba41..c3d1db483 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -2385,8 +2385,9 @@ module Google # @return [String] attr_accessor :formatted_value - # A hyperlink this cell points to, if any. This field is read-only. (To set it, - # use a `=HYPERLINK` formula in the userEnteredValue.formulaValue field.) + # A hyperlink this cell points to, if any. If the cell contains multiple + # hyperlinks, this field will be empty. This field is read-only. To set it, use + # a `=HYPERLINK` formula in the userEnteredValue.formulaValue field. # Corresponds to the JSON property `hyperlink` # @return [String] attr_accessor :hyperlink @@ -2402,11 +2403,10 @@ module Google attr_accessor :pivot_table # Runs of rich text applied to subsections of the cell. Runs are only valid on - # user entered strings, not formulas, bools, or numbers. Runs start at specific - # indexes in the text and continue until the next run. Properties of a run will - # continue unless explicitly changed in a subsequent run (and properties of the - # first run will continue the properties of the cell unless explicitly changed). - # When writing, the new runs will overwrite any prior runs. When writing a new + # user entered strings, not formulas, bools, or numbers. Properties of a run + # start at a specific index in the text and continue until the next run. Runs + # will inherit the properties of the cell unless explicitly changed. When + # writing, the new runs will overwrite any prior runs. When writing a new # user_entered_value, previous runs are erased. # Corresponds to the JSON property `textFormatRuns` # @return [Array] @@ -6853,6 +6853,20 @@ module Google class PivotFilterCriteria include Google::Apis::Core::Hashable + # A condition that can evaluate to true or false. BooleanConditions are used by + # conditional formatting, data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition + + # Whether values are visible by default. If true, the visible_values are ignored, + # all values that meet condition (if specified) are shown. If false, values + # that are both in visible_values and meet condition are shown. + # Corresponds to the JSON property `visibleByDefault` + # @return [Boolean] + attr_accessor :visible_by_default + alias_method :visible_by_default?, :visible_by_default + # Values that should be included. Values not listed here are excluded. # Corresponds to the JSON property `visibleValues` # @return [Array] @@ -6864,6 +6878,8 @@ module Google # Update properties of this object def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @visible_by_default = args[:visible_by_default] if args.key?(:visible_by_default) @visible_values = args[:visible_values] if args.key?(:visible_values) end end diff --git a/generated/google/apis/sheets_v4/representations.rb b/generated/google/apis/sheets_v4/representations.rb index cfc0912fe..e1b160974 100644 --- a/generated/google/apis/sheets_v4/representations.rb +++ b/generated/google/apis/sheets_v4/representations.rb @@ -3216,6 +3216,9 @@ module Google class PivotFilterCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation + + property :visible_by_default, as: 'visibleByDefault' collection :visible_values, as: 'visibleValues' end end diff --git a/generated/google/apis/sheets_v4/synth.metadata b/generated/google/apis/sheets_v4/synth.metadata index 429012f74..ef98e2e67 100644 --- a/generated/google/apis/sheets_v4/synth.metadata +++ b/generated/google/apis/sheets_v4/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "a53a0849045c7aa24aa911752bfd31c0317d3c35" } } ]