class Google::Apis::DocsV1::CreateNamedRangeRequest

Creates a NamedRange referencing the given range.

Attributes

name[RW]

The name of the NamedRange. Names do not need to be unique. Names must be at least 1 character and no more than 256 characters, measured in UTF-16 code units. Corresponds to the JSON property `name` @return [String]

range[RW]

Specifies a contiguous range of text. Corresponds to the JSON property `range` @return [Google::Apis::DocsV1::Range]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 506
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @range = args[:range] if args.key?(:range)
end