Class: Google::Apis::DocsV1::CreateNamedRangeResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

The result of creating a named range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateNamedRangeResponse

Returns a new instance of CreateNamedRangeResponse.



521
522
523
# File 'generated/google/apis/docs_v1/classes.rb', line 521

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#named_range_idString

The ID of the created named range. Corresponds to the JSON property namedRangeId

Returns:

  • (String)


519
520
521
# File 'generated/google/apis/docs_v1/classes.rb', line 519

def named_range_id
  @named_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



526
527
528
# File 'generated/google/apis/docs_v1/classes.rb', line 526

def update!(**args)
  @named_range_id = args[:named_range_id] if args.key?(:named_range_id)
end