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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Response

Returns a new instance of Response



1053
1054
1055
# File 'generated/google/apis/slides_v1/classes.rb', line 1053

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



1046
1047
1048
# File 'generated/google/apis/slides_v1/classes.rb', line 1046

def create_image
  @create_image
end

#create_lineGoogle::Apis::SlidesV1::CreateLineResponse

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



1041
1042
1043
# File 'generated/google/apis/slides_v1/classes.rb', line 1041

def create_line
  @create_line
end

#create_shapeGoogle::Apis::SlidesV1::CreateShapeResponse

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



1036
1037
1038
# File 'generated/google/apis/slides_v1/classes.rb', line 1036

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



1001
1002
1003
# File 'generated/google/apis/slides_v1/classes.rb', line 1001

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



1026
1027
1028
# File 'generated/google/apis/slides_v1/classes.rb', line 1026

def create_slide
  @create_slide
end

#create_tableGoogle::Apis::SlidesV1::CreateTableResponse

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



1016
1017
1018
# File 'generated/google/apis/slides_v1/classes.rb', line 1016

def create_table
  @create_table
end

#create_videoGoogle::Apis::SlidesV1::CreateVideoResponse

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



1051
1052
1053
# File 'generated/google/apis/slides_v1/classes.rb', line 1051

def create_video
  @create_video
end

#duplicate_objectGoogle::Apis::SlidesV1::DuplicateObjectResponse

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



1031
1032
1033
# File 'generated/google/apis/slides_v1/classes.rb', line 1031

def duplicate_object
  @duplicate_object
end

#replace_all_shapes_with_imageGoogle::Apis::SlidesV1::ReplaceAllShapesWithImageResponse

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



1011
1012
1013
# File 'generated/google/apis/slides_v1/classes.rb', line 1011

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



1006
1007
1008
# File 'generated/google/apis/slides_v1/classes.rb', line 1006

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



1021
1022
1023
# File 'generated/google/apis/slides_v1/classes.rb', line 1021

def replace_all_text
  @replace_all_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
# File 'generated/google/apis/slides_v1/classes.rb', line 1058

def update!(**args)
  @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)
  @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text)
  @create_slide = args[:create_slide] if args.key?(:create_slide)
  @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
  @create_shape = args[:create_shape] if args.key?(:create_shape)
  @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)
end