Class: Google::Apis::SlidesV1::Response

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_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.



3209
3210
3211
# File 'lib/google/apis/slides_v1/classes.rb', line 3209

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

Instance Attribute Details

#create_imageGoogle::Apis::SlidesV1::CreateImageResponse

The result of creating an image. Corresponds to the JSON property createImage



3152
3153
3154
# File 'lib/google/apis/slides_v1/classes.rb', line 3152

def create_image
  @create_image
end

#create_lineGoogle::Apis::SlidesV1::CreateLineResponse

The result of creating a line. Corresponds to the JSON property createLine



3157
3158
3159
# File 'lib/google/apis/slides_v1/classes.rb', line 3157

def create_line
  @create_line
end

#create_shapeGoogle::Apis::SlidesV1::CreateShapeResponse

The result of creating a shape. Corresponds to the JSON property createShape



3162
3163
3164
# File 'lib/google/apis/slides_v1/classes.rb', line 3162

def create_shape
  @create_shape
end

#create_sheets_chartGoogle::Apis::SlidesV1::CreateSheetsChartResponse

The result of creating an embedded Google Sheets chart. Corresponds to the JSON property createSheetsChart



3167
3168
3169
# File 'lib/google/apis/slides_v1/classes.rb', line 3167

def create_sheets_chart
  @create_sheets_chart
end

#create_slideGoogle::Apis::SlidesV1::CreateSlideResponse

The result of creating a slide. Corresponds to the JSON property createSlide



3172
3173
3174
# File 'lib/google/apis/slides_v1/classes.rb', line 3172

def create_slide
  @create_slide
end

#create_tableGoogle::Apis::SlidesV1::CreateTableResponse

The result of creating a table. Corresponds to the JSON property createTable



3177
3178
3179
# File 'lib/google/apis/slides_v1/classes.rb', line 3177

def create_table
  @create_table
end

#create_videoGoogle::Apis::SlidesV1::CreateVideoResponse

The result of creating a video. Corresponds to the JSON property createVideo



3182
3183
3184
# File 'lib/google/apis/slides_v1/classes.rb', line 3182

def create_video
  @create_video
end

#duplicate_objectGoogle::Apis::SlidesV1::DuplicateObjectResponse

The response of duplicating an object. Corresponds to the JSON property duplicateObject



3187
3188
3189
# File 'lib/google/apis/slides_v1/classes.rb', line 3187

def duplicate_object
  @duplicate_object
end

#group_objectsGoogle::Apis::SlidesV1::GroupObjectsResponse

The result of grouping objects. Corresponds to the JSON property groupObjects



3192
3193
3194
# File 'lib/google/apis/slides_v1/classes.rb', line 3192

def group_objects
  @group_objects
end

#replace_all_shapes_with_imageGoogle::Apis::SlidesV1::ReplaceAllShapesWithImageResponse

The result of replacing shapes with an image. Corresponds to the JSON property replaceAllShapesWithImage



3197
3198
3199
# File 'lib/google/apis/slides_v1/classes.rb', line 3197

def replace_all_shapes_with_image
  @replace_all_shapes_with_image
end

#replace_all_shapes_with_sheets_chartGoogle::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse

The result of replacing shapes with a Google Sheets chart. Corresponds to the JSON property replaceAllShapesWithSheetsChart



3202
3203
3204
# File 'lib/google/apis/slides_v1/classes.rb', line 3202

def replace_all_shapes_with_sheets_chart
  @replace_all_shapes_with_sheets_chart
end

#replace_all_textGoogle::Apis::SlidesV1::ReplaceAllTextResponse

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



3207
3208
3209
# File 'lib/google/apis/slides_v1/classes.rb', line 3207

def replace_all_text
  @replace_all_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
# File 'lib/google/apis/slides_v1/classes.rb', line 3214

def update!(**args)
  @create_image = args[:create_image] if args.key?(:create_image)
  @create_line = args[:create_line] if args.key?(:create_line)
  @create_shape = args[:create_shape] if args.key?(:create_shape)
  @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart)
  @create_slide = args[:create_slide] if args.key?(:create_slide)
  @create_table = args[:create_table] if args.key?(:create_table)
  @create_video = args[:create_video] if args.key?(:create_video)
  @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
  @group_objects = args[:group_objects] if args.key?(:group_objects)
  @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image)
  @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart)
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
end