class Google::Apis::SheetsV4::UpdateNamedRangeRequest

Updates properties of the named range with the specified namedRangeId.

Attributes

fields[RW]

The fields that should be updated. At least one field must be specified. The root `namedRange` is implied and should not be specified. A single `“*”` can be used as short-hand for listing every field. Corresponds to the JSON property `fields` @return [String]

named_range[RW]

A named range. Corresponds to the JSON property `namedRange` @return [Google::Apis::SheetsV4::NamedRange]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 10787
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 10792
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @named_range = args[:named_range] if args.key?(:named_range)
end