Autogenerated update (2018-01-12)

Update:
- container_v1
- dataproc_v1beta2
- drive_v2
- drive_v3
- firebaserules_v1
- monitoring_v3
- serviceconsumermanagement_v1
- sourcerepo_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-01-12 00:35:18 +00:00
parent 9b676d3b8d
commit c5606328ce
18 changed files with 132 additions and 83 deletions

View File

@ -33563,6 +33563,9 @@
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.get/version": version
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiate": instantiate_project_location_workflow_template
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiate/name": name
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline": instantiate_project_location_workflow_template_inline
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/instanceId": instance_id
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/parent": parent
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list": list_project_location_workflow_templates
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list/pageSize": page_size
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list/pageToken": page_token
@ -33652,6 +33655,9 @@
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.get/version": version
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiate": instantiate_project_region_workflow_template
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiate/name": name
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline": instantiate_project_region_workflow_template_inline
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/instanceId": instance_id
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/parent": parent
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list": list_project_region_workflow_templates
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list/pageSize": page_size
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list/pageToken": page_token

View File

@ -18,7 +18,7 @@ require 'google/apis/container_v1/representations.rb'
module Google
module Apis
# Google Container Engine API
# Google Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.
@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
REVISION = '20171127'
REVISION = '20171227'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module ContainerV1
# Google Container Engine API
# Google Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20180102'
REVISION = '20180109'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -198,6 +198,58 @@ module Google
execute_or_queue_command(command, &block)
end
# Instantiates a template and begins execution.This method is equivalent to
# executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate,
# DeleteWorkflowTemplate.The returned Operation can be used to track execution
# of workflow by polling google.cloud.dataproc.v1beta2.OperationService.
# GetOperation. The Operation will complete when entire workflow is finished.The
# running workflow can be aborted via google.cloud.dataproc.v1beta2.
# OperationService.CancelOperation.The google.cloud.dataproc.v1beta2.Operation.
# metadata will always be google.cloud.dataproc.v1beta2.WorkflowMetadata.The
# google.cloud.dataproc.v1beta2.Operation.result will always be google.protobuf.
# Empty.
# @param [String] parent
# Required. The "resource name" of the workflow template region, as described in
# https://cloud.google.com/apis/design/resource_names of the form projects/`
# project_id`/regions/`region`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] instance_id
# Optional. A tag that prevents multiple concurrent workflow instances with the
# same tag from running. This mitigates risk of concurrent instances started due
# to retries.It is recommended to always set this value to a UUID (https://en.
# wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
# letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
# maximum length is 40 characters.
# @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::DataprocV1beta2::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1beta2::Operation]
#
# @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 instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
command.response_class = Google::Apis::DataprocV1beta2::Operation
command.params['parent'] = parent unless parent.nil?
command.query['instanceId'] = instance_id unless instance_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
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
@ -1213,6 +1265,58 @@ module Google
execute_or_queue_command(command, &block)
end
# Instantiates a template and begins execution.This method is equivalent to
# executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate,
# DeleteWorkflowTemplate.The returned Operation can be used to track execution
# of workflow by polling google.cloud.dataproc.v1beta2.OperationService.
# GetOperation. The Operation will complete when entire workflow is finished.The
# running workflow can be aborted via google.cloud.dataproc.v1beta2.
# OperationService.CancelOperation.The google.cloud.dataproc.v1beta2.Operation.
# metadata will always be google.cloud.dataproc.v1beta2.WorkflowMetadata.The
# google.cloud.dataproc.v1beta2.Operation.result will always be google.protobuf.
# Empty.
# @param [String] parent
# Required. The "resource name" of the workflow template region, as described in
# https://cloud.google.com/apis/design/resource_names of the form projects/`
# project_id`/regions/`region`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] instance_id
# Optional. A tag that prevents multiple concurrent workflow instances with the
# same tag from running. This mitigates risk of concurrent instances started due
# to retries.It is recommended to always set this value to a UUID (https://en.
# wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
# letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
# maximum length is 40 characters.
# @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::DataprocV1beta2::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DataprocV1beta2::Operation]
#
# @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 instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
command.request_object = workflow_template_object
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
command.response_class = Google::Apis::DataprocV1beta2::Operation
command.params['parent'] = parent unless parent.nil?
command.query['instanceId'] = instance_id unless instance_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
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20171208'
REVISION = '20180105'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1526,9 +1526,11 @@ module Google
attr_accessor :owners
# Collection of parent folders which contain this file.
# Setting this field will put the file in all of the provided folders. On insert,
# if no folders are provided, the file will be placed in the default root
# folder.
# If not specified as part of an insert request, the file will be placed
# directly in the user's My Drive folder. If not specified as part of a copy
# request, the file will inherit any discoverable parents of the source file.
# Update requests can also use the addParents and removeParents parameters to
# modify the parents list.
# Corresponds to the JSON property `parents`
# @return [Array<Google::Apis::DriveV2::ParentReference>]
attr_accessor :parents

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20171208'
REVISION = '20180105'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -685,8 +685,10 @@ module Google
# The IDs of the parent folders which contain the file.
# If not specified as part of a create request, the file will be placed directly
# in the My Drive folder. Update requests must use the addParents and
# removeParents parameters to modify the values.
# in the user's My Drive folder. If not specified as part of a copy request, the
# file will inherit any discoverable parents of the source file. Update requests
# must use the addParents and removeParents parameters to modify the parents
# list.
# Corresponds to the JSON property `parents`
# @return [Array<String>]
attr_accessor :parents

View File

@ -26,7 +26,7 @@ module Google
# @see https://firebase.google.com/docs/storage/security
module FirebaserulesV1
VERSION = 'V1'
REVISION = '20171018'
REVISION = '20180111'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -351,60 +351,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Update a `Release`.
# Only updates to the `ruleset_name` and `test_suite_name` fields will be
# honored. `Release` rename is not supported. To create a `Release` use the
# CreateRelease method.
# @param [String] name
# Resource name for the `Release`.
# `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
# which affords developers a great deal of flexibility in mapping the name
# to the style that best fits their existing development practices. For
# example, a name could refer to an environment, an app, a version, or some
# combination of three.
# In the table below, for the project name `projects/foo`, the following
# relative release paths show how flat and structured names might be chosen
# to match a desired development / deployment strategy.
# Use Case | Flat Name | Structured Name
# -------------|---------------------|----------------
# Environments | releases/qa | releases/qa
# Apps | releases/app1_qa | releases/app1/qa
# Versions | releases/app1_v2_qa | releases/app1/v2/qa
# The delimiter between the release name path elements can be almost anything
# and it should work equally well with the release name list filter, but in
# many ways the structured paths provide a clearer picture of the
# relationship between `Release` instances.
# Format: `projects/`project_id`/releases/`release_id``
# @param [Google::Apis::FirebaserulesV1::Release] release_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 [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirebaserulesV1::Release]
#
# @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 update_project_release(name, release_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::FirebaserulesV1::Release::Representation
command.request_object = release_object
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
command.response_class = Google::Apis::FirebaserulesV1::Release
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Create a `Ruleset` from `Source`.
# The `Ruleset` is given a unique generated name which is returned to the
# caller. `Source` containing syntactic or semantics errors will result in an

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20171213'
REVISION = '20180106'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20171212'
REVISION = '20180110'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1500,15 +1500,6 @@ module Google
# @return [String]
attr_accessor :put
# The name of the response field whose value is mapped to the HTTP body of
# response. Other response fields are ignored. This field is optional. When
# not set, the response message will be used as HTTP body of response.
# NOTE: the referred field must be not a repeated field and must be present
# at the top-level of response message type.
# Corresponds to the JSON property `responseBody`
# @return [String]
attr_accessor :response_body
# DO NOT USE. This is an experimental field.
# Optional. The REST collection name is by default derived from the URL
# pattern. If specified, this field overrides the default collection name.
@ -1570,7 +1561,6 @@ module Google
@patch = args[:patch] if args.key?(:patch)
@post = args[:post] if args.key?(:post)
@put = args[:put] if args.key?(:put)
@response_body = args[:response_body] if args.key?(:response_body)
@rest_collection = args[:rest_collection] if args.key?(:rest_collection)
@rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name)
@selector = args[:selector] if args.key?(:selector)

View File

@ -770,7 +770,6 @@ module Google
property :patch, as: 'patch'
property :post, as: 'post'
property :put, as: 'put'
property :response_body, as: 'responseBody'
property :rest_collection, as: 'restCollection'
property :rest_method_name, as: 'restMethodName'
property :selector, as: 'selector'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/source-repositories/docs/apis
module SourcerepoV1
VERSION = 'V1'
REVISION = '20171110'
REVISION = '20171215'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -288,7 +288,7 @@ module Google
end
# Configuration to automatically mirror a repository from another
# hosting service, for example GitHub or BitBucket.
# hosting service, for example GitHub or Bitbucket.
class MirrorConfig
include Google::Apis::Core::Hashable
@ -408,7 +408,7 @@ module Google
include Google::Apis::Core::Hashable
# Configuration to automatically mirror a repository from another
# hosting service, for example GitHub or BitBucket.
# hosting service, for example GitHub or Bitbucket.
# Corresponds to the JSON property `mirrorConfig`
# @return [Google::Apis::SourcerepoV1::MirrorConfig]
attr_accessor :mirror_config

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20171218'
REVISION = '20180108'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'