Class: Google::Apis::DocsV1::CreateNamedRangeRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::CreateNamedRangeRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb 
Overview
Creates a NamedRange referencing the given range.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the NamedRange.
 - 
  
    
      #range  ⇒ Google::Apis::DocsV1::Range 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Specifies a contiguous range of text.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreateNamedRangeRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreateNamedRangeRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ CreateNamedRangeRequest
Returns a new instance of CreateNamedRangeRequest.
      526 527 528  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 526 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#name ⇒ String
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
      519 520 521  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 519 def name @name end  | 
  
#range ⇒ Google::Apis::DocsV1::Range
Specifies a contiguous range of text.
Corresponds to the JSON property range
      524 525 526  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 524 def range @range end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      531 532 533 534  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 531 def update!(**args) @name = args[:name] if args.key?(:name) @range = args[:range] if args.key?(:range) end  |