class Google::Apis::DocsV1::Response

A single response from an update.

Attributes

create_footnote[RW]

The result of creating a footnote. Corresponds to the JSON property `createFootnote` @return [Google::Apis::DocsV1::CreateFootnoteResponse]

create_header[RW]

The result of creating a header. Corresponds to the JSON property `createHeader` @return [Google::Apis::DocsV1::CreateHeaderResponse]

create_named_range[RW]

The result of creating a named range. Corresponds to the JSON property `createNamedRange` @return [Google::Apis::DocsV1::CreateNamedRangeResponse]

insert_inline_image[RW]

The result of inserting an inline image. Corresponds to the JSON property `insertInlineImage` @return [Google::Apis::DocsV1::InsertInlineImageResponse]

insert_inline_sheets_chart[RW]

The result of inserting an embedded Google Sheets chart. Corresponds to the JSON property `insertInlineSheetsChart` @return [Google::Apis::DocsV1::InsertInlineSheetsChartResponse]

replace_all_text[RW]

The result of replacing text. Corresponds to the JSON property `replaceAllText` @return [Google::Apis::DocsV1::ReplaceAllTextResponse]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 4216
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 4221
def update!(**args)
  @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