Class: Google::Apis::DocsV1::Response

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

A single response from an update.

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) ⇒ Response

Returns a new instance of Response



3677
3678
3679
# File 'generated/google/apis/docs_v1/classes.rb', line 3677

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

Instance Attribute Details

#create_named_rangeGoogle::Apis::DocsV1::CreateNamedRangeResponse

The result of creating a named range. Corresponds to the JSON property createNamedRange



3660
3661
3662
# File 'generated/google/apis/docs_v1/classes.rb', line 3660

def create_named_range
  @create_named_range
end

#insert_inline_imageGoogle::Apis::DocsV1::InsertInlineImageResponse

The result of inserting an inline image. Corresponds to the JSON property insertInlineImage



3665
3666
3667
# File 'generated/google/apis/docs_v1/classes.rb', line 3665

def insert_inline_image
  @insert_inline_image
end

#insert_inline_sheets_chartGoogle::Apis::DocsV1::InsertInlineSheetsChartResponse

The result of inserting an embedded Google Sheets chart. Corresponds to the JSON property insertInlineSheetsChart



3670
3671
3672
# File 'generated/google/apis/docs_v1/classes.rb', line 3670

def insert_inline_sheets_chart
  @insert_inline_sheets_chart
end

#replace_all_textGoogle::Apis::DocsV1::ReplaceAllTextResponse

The result of replacing text. Corresponds to the JSON property replaceAllText



3675
3676
3677
# File 'generated/google/apis/docs_v1/classes.rb', line 3675

def replace_all_text
  @replace_all_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3682
3683
3684
3685
3686
3687
# File 'generated/google/apis/docs_v1/classes.rb', line 3682

def update!(**args)
  @create_named_range = args[:create_named_range] if args.key?(:create_named_range)
  @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
  @insert_inline_sheets_chart = args[:insert_inline_sheets_chart] if args.key?(:insert_inline_sheets_chart)
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
end