Skip to content

Commit

Permalink
Autogenerated update (2018-11-20)
Browse files Browse the repository at this point in the history
Update:
- driveactivity_v2
- sheets_v4
- slides_v1
  • Loading branch information
googleapis-publisher committed Nov 20, 2018
1 parent 919e8d0 commit 7752e65
Show file tree
Hide file tree
Showing 7 changed files with 217 additions and 11 deletions.
14 changes: 14 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83728,6 +83728,7 @@
"/slides:v1/CreateImageResponse": create_image_response
"/slides:v1/CreateImageResponse/objectId": object_id_prop
"/slides:v1/CreateLineRequest": create_line_request
"/slides:v1/CreateLineRequest/category": category
"/slides:v1/CreateLineRequest/elementProperties": element_properties
"/slides:v1/CreateLineRequest/lineCategory": line_category
"/slides:v1/CreateLineRequest/objectId": object_id_prop
Expand Down Expand Up @@ -83854,16 +83855,22 @@
"/slides:v1/LayoutReference/layoutId": layout_id
"/slides:v1/LayoutReference/predefinedLayout": predefined_layout
"/slides:v1/Line": line
"/slides:v1/Line/lineCategory": line_category
"/slides:v1/Line/lineProperties": line_properties
"/slides:v1/Line/lineType": line_type
"/slides:v1/LineConnection": line_connection
"/slides:v1/LineConnection/connectedObjectId": connected_object_id
"/slides:v1/LineConnection/connectionSiteIndex": connection_site_index
"/slides:v1/LineFill": line_fill
"/slides:v1/LineFill/solidFill": solid_fill
"/slides:v1/LineProperties": line_properties
"/slides:v1/LineProperties/dashStyle": dash_style
"/slides:v1/LineProperties/endArrow": end_arrow
"/slides:v1/LineProperties/endConnection": end_connection
"/slides:v1/LineProperties/lineFill": line_fill
"/slides:v1/LineProperties/link": link
"/slides:v1/LineProperties/startArrow": start_arrow
"/slides:v1/LineProperties/startConnection": start_connection
"/slides:v1/LineProperties/weight": weight
"/slides:v1/Link": link
"/slides:v1/Link/pageObjectId": page_object_id
Expand Down Expand Up @@ -84025,9 +84032,11 @@
"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart
"/slides:v1/Request/replaceAllText": replace_all_text
"/slides:v1/Request/replaceImage": replace_image
"/slides:v1/Request/rerouteLine": reroute_line
"/slides:v1/Request/ungroupObjects": ungroup_objects
"/slides:v1/Request/unmergeTableCells": unmerge_table_cells
"/slides:v1/Request/updateImageProperties": update_image_properties
"/slides:v1/Request/updateLineCategory": update_line_category
"/slides:v1/Request/updateLineProperties": update_line_properties
"/slides:v1/Request/updatePageElementAltText": update_page_element_alt_text
"/slides:v1/Request/updatePageElementTransform": update_page_element_transform
Expand All @@ -84042,6 +84051,8 @@
"/slides:v1/Request/updateTableRowProperties": update_table_row_properties
"/slides:v1/Request/updateTextStyle": update_text_style
"/slides:v1/Request/updateVideoProperties": update_video_properties
"/slides:v1/RerouteLineRequest": reroute_line_request
"/slides:v1/RerouteLineRequest/objectId": object_id_prop
"/slides:v1/Response": response
"/slides:v1/Response/createImage": create_image
"/slides:v1/Response/createLine": create_line
Expand Down Expand Up @@ -84200,6 +84211,9 @@
"/slides:v1/UpdateImagePropertiesRequest/fields": fields
"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties
"/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop
"/slides:v1/UpdateLineCategoryRequest": update_line_category_request
"/slides:v1/UpdateLineCategoryRequest/lineCategory": line_category
"/slides:v1/UpdateLineCategoryRequest/objectId": object_id_prop
"/slides:v1/UpdateLinePropertiesRequest": update_line_properties_request
"/slides:v1/UpdateLinePropertiesRequest/fields": fields
"/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties
Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/driveactivity_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ module Google
module Apis
# Drive Activity API
#
#
# Provides a historical view of activity in Google Drive.
#
# @see https://developers.google.com/drive/activity/
module DriveactivityV2
VERSION = 'V2'
REVISION = '20181113'
REVISION = '20181116'

# View and add to the activity record of files in your Google Drive
AUTH_DRIVE_ACTIVITY = 'https://www.googleapis.com/auth/drive.activity'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/driveactivity_v2/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module Apis
module DriveactivityV2
# Drive Activity API
#
#
# Provides a historical view of activity in Google Drive.
#
# @example
# require 'google/apis/driveactivity_v2'
Expand Down
8 changes: 4 additions & 4 deletions generated/google/apis/sheets_v4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ module Apis
# @see https://developers.google.com/sheets/
module SheetsV4
VERSION = 'V4'
REVISION = '20180727'
REVISION = '20181116'

# View and manage the files in your Google Drive
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

# View and manage Google Drive files and folders that you have opened or created with this app
AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'

# View the files in your Google Drive
# See and download all your Google Drive files
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'

# View and manage your spreadsheets in Google Drive
# See, edit, create, and delete your spreadsheets in Google Drive
AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'

# View your Google Spreadsheets
Expand Down
8 changes: 4 additions & 4 deletions generated/google/apis/slides_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ module Apis
# @see https://developers.google.com/slides/
module SlidesV1
VERSION = 'V1'
REVISION = '20181108'
REVISION = '20181116'

# View and manage the files in your Google Drive
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

# View and manage Google Drive files and folders that you have opened or created with this app
AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'

# View the files in your Google Drive
# See and download all your Google Drive files
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'

# View and manage your Google Slides presentations
Expand All @@ -42,7 +42,7 @@ module SlidesV1
# View your Google Slides presentations
AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly'

# View and manage your spreadsheets in Google Drive
# See, edit, create, and delete your spreadsheets in Google Drive
AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'

# View your Google Spreadsheets
Expand Down
141 changes: 141 additions & 0 deletions generated/google/apis/slides_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,19 @@ def update!(**args)
class CreateLineRequest
include Google::Apis::Core::Hashable

# The category of line to be created.
# The exact line type created is
# determined based on the category and how it's routed to connect to other
# page elements.
# If you specify both a `category` and a `line_category`, the `category`
# takes precedence.
# If you do not specify a value for `category`, but specify a value for
# `line_category`, then the specified `line_category` value is used.
# If you do not specify either, then STRAIGHT is used.
# Corresponds to the JSON property `category`
# @return [String]
attr_accessor :category

# Common properties for a page element.
# Note: When you initially create a
# PageElement, the API may modify
Expand Down Expand Up @@ -393,6 +406,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@category = args[:category] if args.key?(:category)
@element_properties = args[:element_properties] if args.key?(:element_properties)
@line_category = args[:line_category] if args.key?(:line_category)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
Expand Down Expand Up @@ -1546,6 +1560,14 @@ def update!(**args)
class Line
include Google::Apis::Core::Hashable

# The category of the line.
# It matches the `category` specified in CreateLineRequest, and can be updated
# with
# UpdateLineCategoryRequest.
# Corresponds to the JSON property `lineCategory`
# @return [String]
attr_accessor :line_category

# The properties of the Line.
# When unset, these fields default to values that match the appearance of
# new lines created in the Slides editor.
Expand All @@ -1564,11 +1586,49 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@line_category = args[:line_category] if args.key?(:line_category)
@line_properties = args[:line_properties] if args.key?(:line_properties)
@line_type = args[:line_type] if args.key?(:line_type)
end
end

# The properties for one end of a Line
# connection.
class LineConnection
include Google::Apis::Core::Hashable

# The object ID of the connected page element.
# Some page elements, such as groups, tables, and lines
# do not have connection sites and therefore cannot be connected to a
# connector line.
# Corresponds to the JSON property `connectedObjectId`
# @return [String]
attr_accessor :connected_object_id

# The index of the connection site on the connected page element.
# In most cases, it corresponds to the predefined connection site index from
# the ECMA-376 standard. More information on those connection sites can be
# found in the description of the "cnx" attribute in section 20.1.9.9 and
# Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open
# XML File Formats-Fundamentals and Markup Language Reference", part 1 of
# [ECMA-376 5th edition]
# (http://www.ecma-international.org/publications/standards/Ecma-376.htm).
# The position of each connection site can also be viewed from Slides editor.
# Corresponds to the JSON property `connectionSiteIndex`
# @return [Fixnum]
attr_accessor :connection_site_index

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

# Update properties of this object
def update!(**args)
@connected_object_id = args[:connected_object_id] if args.key?(:connected_object_id)
@connection_site_index = args[:connection_site_index] if args.key?(:connection_site_index)
end
end

# The fill of the line.
class LineFill
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -1607,6 +1667,12 @@ class LineProperties
# @return [String]
attr_accessor :end_arrow

# The properties for one end of a Line
# connection.
# Corresponds to the JSON property `endConnection`
# @return [Google::Apis::SlidesV1::LineConnection]
attr_accessor :end_connection

# The fill of the line.
# Corresponds to the JSON property `lineFill`
# @return [Google::Apis::SlidesV1::LineFill]
Expand All @@ -1622,6 +1688,12 @@ class LineProperties
# @return [String]
attr_accessor :start_arrow

# The properties for one end of a Line
# connection.
# Corresponds to the JSON property `startConnection`
# @return [Google::Apis::SlidesV1::LineConnection]
attr_accessor :start_connection

# A magnitude in a single direction in the specified units.
# Corresponds to the JSON property `weight`
# @return [Google::Apis::SlidesV1::Dimension]
Expand All @@ -1635,9 +1707,11 @@ def initialize(**args)
def update!(**args)
@dash_style = args[:dash_style] if args.key?(:dash_style)
@end_arrow = args[:end_arrow] if args.key?(:end_arrow)
@end_connection = args[:end_connection] if args.key?(:end_connection)
@line_fill = args[:line_fill] if args.key?(:line_fill)
@link = args[:link] if args.key?(:link)
@start_arrow = args[:start_arrow] if args.key?(:start_arrow)
@start_connection = args[:start_connection] if args.key?(:start_connection)
@weight = args[:weight] if args.key?(:weight)
end
end
Expand Down Expand Up @@ -2972,6 +3046,12 @@ class Request
# @return [Google::Apis::SlidesV1::ReplaceImageRequest]
attr_accessor :replace_image

# Reroutes a line such that it's connected at the
# two closest connection sites on the connected page elements.
# Corresponds to the JSON property `rerouteLine`
# @return [Google::Apis::SlidesV1::RerouteLineRequest]
attr_accessor :reroute_line

# Ungroups objects, such as groups.
# Corresponds to the JSON property `ungroupObjects`
# @return [Google::Apis::SlidesV1::UngroupObjectsRequest]
Expand All @@ -2987,6 +3067,11 @@ class Request
# @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
attr_accessor :update_image_properties

# Updates the category of a line.
# Corresponds to the JSON property `updateLineCategory`
# @return [Google::Apis::SlidesV1::UpdateLineCategoryRequest]
attr_accessor :update_line_category

# Updates the properties of a Line.
# Corresponds to the JSON property `updateLineProperties`
# @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest]
Expand Down Expand Up @@ -3095,9 +3180,11 @@ def update!(**args)
@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)
@replace_image = args[:replace_image] if args.key?(:replace_image)
@reroute_line = args[:reroute_line] if args.key?(:reroute_line)
@ungroup_objects = args[:ungroup_objects] if args.key?(:ungroup_objects)
@unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
@update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties)
@update_line_category = args[:update_line_category] if args.key?(:update_line_category)
@update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties)
@update_page_element_alt_text = args[:update_page_element_alt_text] if args.key?(:update_page_element_alt_text)
@update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform)
Expand All @@ -3115,6 +3202,29 @@ def update!(**args)
end
end

# Reroutes a line such that it's connected at the
# two closest connection sites on the connected page elements.
class RerouteLineRequest
include Google::Apis::Core::Hashable

# The object ID of the line to reroute.
# Only a line with a category
# indicating it is a "connector" can be rerouted. The start and end
# connections of the line must be on different page elements.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop

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

# Update properties of this object
def update!(**args)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end
end

# A single response from an update.
class Response
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -4448,6 +4558,37 @@ def update!(**args)
end
end

# Updates the category of a line.
class UpdateLineCategoryRequest
include Google::Apis::Core::Hashable

# The line category to update to.
# The exact line type is determined based
# on the category to update to and how it's routed to connect to other page
# elements.
# Corresponds to the JSON property `lineCategory`
# @return [String]
attr_accessor :line_category

# The object ID of the line the update is applied to.
# Only a line with a category
# indicating it is a "connector" can be updated.
# The line may be rerouted after updating its category.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop

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

# Update properties of this object
def update!(**args)
@line_category = args[:line_category] if args.key?(:line_category)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end
end

# Updates the properties of a Line.
class UpdateLinePropertiesRequest
include Google::Apis::Core::Hashable
Expand Down
Loading

0 comments on commit 7752e65

Please sign in to comment.