Class: Google::Apis::SlidesV1::Response
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::Response
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
A single response from an update.
Instance Attribute Summary collapse
-
#create_image ⇒ Google::Apis::SlidesV1::CreateImageResponse
The result of creating an image.
-
#create_line ⇒ Google::Apis::SlidesV1::CreateLineResponse
The result of creating a line.
-
#create_shape ⇒ Google::Apis::SlidesV1::CreateShapeResponse
The result of creating a shape.
-
#create_sheets_chart ⇒ Google::Apis::SlidesV1::CreateSheetsChartResponse
The result of creating an embedded Google Sheets chart.
-
#create_slide ⇒ Google::Apis::SlidesV1::CreateSlideResponse
The result of creating a slide.
-
#create_table ⇒ Google::Apis::SlidesV1::CreateTableResponse
The result of creating a table.
-
#create_video ⇒ Google::Apis::SlidesV1::CreateVideoResponse
The result of creating a video.
-
#duplicate_object ⇒ Google::Apis::SlidesV1::DuplicateObjectResponse
The response of duplicating an object.
-
#replace_all_shapes_with_image ⇒ Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse
The result of replacing shapes with an image.
-
#replace_all_shapes_with_sheets_chart ⇒ Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse
The result of replacing shapes with a Google Sheets chart.
-
#replace_all_text ⇒ Google::Apis::SlidesV1::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Response
Returns a new instance of Response
244 245 246 |
# File 'generated/google/apis/slides_v1/classes.rb', line 244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_image ⇒ Google::Apis::SlidesV1::CreateImageResponse
The result of creating an image.
Corresponds to the JSON property createImage
217 218 219 |
# File 'generated/google/apis/slides_v1/classes.rb', line 217 def create_image @create_image end |
#create_line ⇒ Google::Apis::SlidesV1::CreateLineResponse
The result of creating a line.
Corresponds to the JSON property createLine
212 213 214 |
# File 'generated/google/apis/slides_v1/classes.rb', line 212 def create_line @create_line end |
#create_shape ⇒ Google::Apis::SlidesV1::CreateShapeResponse
The result of creating a shape.
Corresponds to the JSON property createShape
202 203 204 |
# File 'generated/google/apis/slides_v1/classes.rb', line 202 def create_shape @create_shape end |
#create_sheets_chart ⇒ Google::Apis::SlidesV1::CreateSheetsChartResponse
The result of creating an embedded Google Sheets chart.
Corresponds to the JSON property createSheetsChart
227 228 229 |
# File 'generated/google/apis/slides_v1/classes.rb', line 227 def create_sheets_chart @create_sheets_chart end |
#create_slide ⇒ Google::Apis::SlidesV1::CreateSlideResponse
The result of creating a slide.
Corresponds to the JSON property createSlide
197 198 199 |
# File 'generated/google/apis/slides_v1/classes.rb', line 197 def @create_slide end |
#create_table ⇒ Google::Apis::SlidesV1::CreateTableResponse
The result of creating a table.
Corresponds to the JSON property createTable
242 243 244 |
# File 'generated/google/apis/slides_v1/classes.rb', line 242 def create_table @create_table end |
#create_video ⇒ Google::Apis::SlidesV1::CreateVideoResponse
The result of creating a video.
Corresponds to the JSON property createVideo
222 223 224 |
# File 'generated/google/apis/slides_v1/classes.rb', line 222 def create_video @create_video end |
#duplicate_object ⇒ Google::Apis::SlidesV1::DuplicateObjectResponse
The response of duplicating an object.
Corresponds to the JSON property duplicateObject
207 208 209 |
# File 'generated/google/apis/slides_v1/classes.rb', line 207 def duplicate_object @duplicate_object end |
#replace_all_shapes_with_image ⇒ Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse
The result of replacing shapes with an image.
Corresponds to the JSON property replaceAllShapesWithImage
237 238 239 |
# File 'generated/google/apis/slides_v1/classes.rb', line 237 def replace_all_shapes_with_image @replace_all_shapes_with_image end |
#replace_all_shapes_with_sheets_chart ⇒ Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse
The result of replacing shapes with a Google Sheets chart.
Corresponds to the JSON property replaceAllShapesWithSheetsChart
232 233 234 |
# File 'generated/google/apis/slides_v1/classes.rb', line 232 def replace_all_shapes_with_sheets_chart @replace_all_shapes_with_sheets_chart end |
#replace_all_text ⇒ Google::Apis::SlidesV1::ReplaceAllTextResponse
The result of replacing text.
Corresponds to the JSON property replaceAllText
192 193 194 |
# File 'generated/google/apis/slides_v1/classes.rb', line 192 def replace_all_text @replace_all_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
249 250 251 252 253 254 255 256 257 258 259 260 261 |
# File 'generated/google/apis/slides_v1/classes.rb', line 249 def update!(**args) @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) @create_slide = args[:create_slide] if args.key?(:create_slide) @create_shape = args[:create_shape] if args.key?(:create_shape) @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) @create_line = args[:create_line] if args.key?(:create_line) @create_image = args[:create_image] if args.key?(:create_image) @create_video = args[:create_video] if args.key?(:create_video) @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) @create_table = args[:create_table] if args.key?(:create_table) end |