Bump version, regen APIs

This commit is contained in:
Steve Bazyl committed 2017-05-26 10:44:32 -06:00
1 parent b8f6f7c2fe
commit 9237ba59cb
241 files changed
+53894 -50212

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+48 -48
View File
@@ -50,11 +50,11 @@ module Google
# Gets the latest version of the specified presentation.
# @param [String] presentation_id
# The ID of the presentation to retrieve.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -67,13 +67,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_presentation(presentation_id, quota_user: nil, fields: nil, options: nil, &block)
def get_presentation(presentation_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/presentations/{+presentationId}', options)
command.response_representation = Google::Apis::SlidesV1::Presentation::Representation
command.response_class = Google::Apis::SlidesV1::Presentation
command.params['presentationId'] = presentation_id unless presentation_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
@@ -81,11 +81,11 @@ module Google
# fields in the request are ignored.
# Returns the created presentation.
# @param [Google::Apis::SlidesV1::Presentation] presentation_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -98,14 +98,14 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_presentation(presentation_object = nil, quota_user: nil, fields: nil, options: nil, &block)
def create_presentation(presentation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/presentations', options)
command.request_representation = Google::Apis::SlidesV1::Presentation::Representation
command.request_object = presentation_object
command.response_representation = Google::Apis::SlidesV1::Presentation::Representation
command.response_class = Google::Apis::SlidesV1::Presentation
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
@@ -129,11 +129,11 @@ module Google
# @param [String] presentation_id
# The presentation to apply the updates to.
# @param [Google::Apis::SlidesV1::BatchUpdatePresentationRequest] batch_update_presentation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -146,15 +146,48 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_update_presentation(presentation_id, batch_update_presentation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
def batch_update_presentation(presentation_id, batch_update_presentation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/presentations/{presentationId}:batchUpdate', options)
command.request_representation = Google::Apis::SlidesV1::BatchUpdatePresentationRequest::Representation
command.request_object = batch_update_presentation_request_object
command.response_representation = Google::Apis::SlidesV1::BatchUpdatePresentationResponse::Representation
command.response_class = Google::Apis::SlidesV1::BatchUpdatePresentationResponse
command.params['presentationId'] = presentation_id unless presentation_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the latest version of the specified page in the presentation.
# @param [String] presentation_id
# The ID of the presentation to retrieve.
# @param [String] page_object_id
# The object ID of the page to retrieve.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SlidesV1::Page] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SlidesV1::Page]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_presentation_page(presentation_id, page_object_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}', options)
command.response_representation = Google::Apis::SlidesV1::Page::Representation
command.response_class = Google::Apis::SlidesV1::Page
command.params['presentationId'] = presentation_id unless presentation_id.nil?
command.params['pageObjectId'] = page_object_id unless page_object_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
@@ -171,11 +204,11 @@ module Google
# The optional thumbnail image size.
# If you don't specify the size, the server chooses a default size of the
# image.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
@@ -188,7 +221,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_mime_type: nil, thumbnail_properties_thumbnail_size: nil, quota_user: nil, fields: nil, options: nil, &block)
def get_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_mime_type: nil, thumbnail_properties_thumbnail_size: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail', options)
command.response_representation = Google::Apis::SlidesV1::Thumbnail::Representation
command.response_class = Google::Apis::SlidesV1::Thumbnail
@@ -196,41 +229,8 @@ module Google
command.params['pageObjectId'] = page_object_id unless page_object_id.nil?
command.query['thumbnailProperties.mimeType'] = thumbnail_properties_mime_type unless thumbnail_properties_mime_type.nil?
command.query['thumbnailProperties.thumbnailSize'] = thumbnail_properties_thumbnail_size unless thumbnail_properties_thumbnail_size.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end
# Gets the latest version of the specified page in the presentation.
# @param [String] presentation_id
# The ID of the presentation to retrieve.
# @param [String] page_object_id
# The object ID of the page to retrieve.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::SlidesV1::Page] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SlidesV1::Page]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_presentation_page(presentation_id, page_object_id, quota_user: nil, fields: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}', options)
command.response_representation = Google::Apis::SlidesV1::Page::Representation
command.response_class = Google::Apis::SlidesV1::Page
command.params['presentationId'] = presentation_id unless presentation_id.nil?
command.params['pageObjectId'] = page_object_id unless page_object_id.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['fields'] = fields unless fields.nil?
execute_or_queue_command(command, &block)
end