Class: Google::Apis::DocsV1::Response
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::Response
- 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
-
#create_footer ⇒ Google::Apis::DocsV1::CreateFooterResponse
The result of creating a footer.
-
#create_footnote ⇒ Google::Apis::DocsV1::CreateFootnoteResponse
The result of creating a footnote.
-
#create_header ⇒ Google::Apis::DocsV1::CreateHeaderResponse
The result of creating a header.
-
#create_named_range ⇒ Google::Apis::DocsV1::CreateNamedRangeResponse
The result of creating a named range.
-
#insert_inline_image ⇒ Google::Apis::DocsV1::InsertInlineImageResponse
The result of inserting an inline image.
-
#insert_inline_sheets_chart ⇒ Google::Apis::DocsV1::InsertInlineSheetsChartResponse
The result of inserting an embedded Google Sheets chart.
-
#replace_all_text ⇒ Google::Apis::DocsV1::ReplaceAllTextResponse
The result of replacing text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Response
constructor
A new instance of Response.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Response
Returns a new instance of Response.
4111 4112 4113 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_footer ⇒ Google::Apis::DocsV1::CreateFooterResponse
The result of creating a footer.
Corresponds to the JSON property createFooter
4079 4080 4081 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4079 def @create_footer end |
#create_footnote ⇒ Google::Apis::DocsV1::CreateFootnoteResponse
The result of creating a footnote.
Corresponds to the JSON property createFootnote
4084 4085 4086 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4084 def create_footnote @create_footnote end |
#create_header ⇒ Google::Apis::DocsV1::CreateHeaderResponse
The result of creating a header.
Corresponds to the JSON property createHeader
4089 4090 4091 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4089 def create_header @create_header end |
#create_named_range ⇒ Google::Apis::DocsV1::CreateNamedRangeResponse
The result of creating a named range.
Corresponds to the JSON property createNamedRange
4094 4095 4096 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4094 def create_named_range @create_named_range end |
#insert_inline_image ⇒ Google::Apis::DocsV1::InsertInlineImageResponse
The result of inserting an inline image.
Corresponds to the JSON property insertInlineImage
4099 4100 4101 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4099 def insert_inline_image @insert_inline_image end |
#insert_inline_sheets_chart ⇒ Google::Apis::DocsV1::InsertInlineSheetsChartResponse
The result of inserting an embedded Google Sheets chart.
Corresponds to the JSON property insertInlineSheetsChart
4104 4105 4106 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4104 def insert_inline_sheets_chart @insert_inline_sheets_chart end |
#replace_all_text ⇒ Google::Apis::DocsV1::ReplaceAllTextResponse
The result of replacing text.
Corresponds to the JSON property replaceAllText
4109 4110 4111 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4109 def replace_all_text @replace_all_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4116 4117 4118 4119 4120 4121 4122 4123 4124 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4116 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 |