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

Inherits:
Object
  • Object
show all
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

A single response from an update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Response

Returns a new instance of Response.



4974
4975
4976
# File 'lib/google/apis/docs_v1/classes.rb', line 4974

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

Instance Attribute Details

#add_document_tabGoogle::Apis::DocsV1::AddDocumentTabResponse

The result of adding a document tab. Corresponds to the JSON property addDocumentTab



4937
4938
4939
# File 'lib/google/apis/docs_v1/classes.rb', line 4937

def add_document_tab
  @add_document_tab
end

The result of creating a footer. Corresponds to the JSON property createFooter



4942
4943
4944
# File 'lib/google/apis/docs_v1/classes.rb', line 4942

def create_footer
  @create_footer
end

#create_footnoteGoogle::Apis::DocsV1::CreateFootnoteResponse

The result of creating a footnote. Corresponds to the JSON property createFootnote



4947
4948
4949
# File 'lib/google/apis/docs_v1/classes.rb', line 4947

def create_footnote
  @create_footnote
end

#create_headerGoogle::Apis::DocsV1::CreateHeaderResponse

The result of creating a header. Corresponds to the JSON property createHeader



4952
4953
4954
# File 'lib/google/apis/docs_v1/classes.rb', line 4952

def create_header
  @create_header
end

#create_named_rangeGoogle::Apis::DocsV1::CreateNamedRangeResponse

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



4957
4958
4959
# File 'lib/google/apis/docs_v1/classes.rb', line 4957

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



4962
4963
4964
# File 'lib/google/apis/docs_v1/classes.rb', line 4962

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



4967
4968
4969
# File 'lib/google/apis/docs_v1/classes.rb', line 4967

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



4972
4973
4974
# File 'lib/google/apis/docs_v1/classes.rb', line 4972

def replace_all_text
  @replace_all_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
# File 'lib/google/apis/docs_v1/classes.rb', line 4979

def update!(**args)
  @add_document_tab = args[:add_document_tab] if args.key?(:add_document_tab)
  @create_footer = args[:create_footer] if args.key?(:create_footer)
  @create_footnote = args[:create_footnote] if args.key?(:create_footnote)
  @create_header = args[:create_header] if args.key?(:create_header)
  @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