Autogenerated update (2018-03-23)
Update: - dataproc_v1beta2 - ml_v1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - youtube_partner_v1
This commit is contained in:
parent
21664ca705
commit
4a402cf1bf
|
@ -34675,6 +34675,8 @@
|
|||
"/dataproc:v1beta2/WorkflowMetadata/createCluster": create_cluster
|
||||
"/dataproc:v1beta2/WorkflowMetadata/deleteCluster": delete_cluster
|
||||
"/dataproc:v1beta2/WorkflowMetadata/graph": graph
|
||||
"/dataproc:v1beta2/WorkflowMetadata/parameters": parameters
|
||||
"/dataproc:v1beta2/WorkflowMetadata/parameters/parameter": parameter
|
||||
"/dataproc:v1beta2/WorkflowMetadata/state": state
|
||||
"/dataproc:v1beta2/WorkflowMetadata/template": template
|
||||
"/dataproc:v1beta2/WorkflowMetadata/version": version
|
||||
|
@ -72758,6 +72760,8 @@
|
|||
"/vision:v1/GoogleCloudVisionV1Word/symbols/symbol": symbol
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse": google_cloud_vision_v1p2beta1_async_annotate_file_response
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputConfig": output_config
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputs": outputs
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputs/output": output
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse": google_cloud_vision_v1p2beta1_async_batch_annotate_files_response
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse/responses": responses
|
||||
"/vision:v1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse/responses/response": response
|
||||
|
@ -72913,6 +72917,8 @@
|
|||
"/vision:v1/key": key
|
||||
"/vision:v1/quotaUser": quota_user
|
||||
"/vision:v1/vision.images.annotate": annotate_image
|
||||
"/vision:v1/vision.locations.operations.get": get_location_operation
|
||||
"/vision:v1/vision.locations.operations.get/name": name
|
||||
"/vision:v1/vision.operations.cancel": cancel_operation
|
||||
"/vision:v1/vision.operations.cancel/name": name
|
||||
"/vision:v1/vision.operations.delete": delete_operation
|
||||
|
@ -73129,6 +73135,8 @@
|
|||
"/vision:v1p1beta1/GoogleCloudVisionV1p1beta1Word/symbols/symbol": symbol
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse": google_cloud_vision_v1p2beta1_async_annotate_file_response
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputConfig": output_config
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputs": outputs
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputs/output": output
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse": google_cloud_vision_v1p2beta1_async_batch_annotate_files_response
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse/responses": responses
|
||||
"/vision:v1p1beta1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse/responses/response": response
|
||||
|
@ -73204,6 +73212,8 @@
|
|||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest/outputConfig": output_config
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse": google_cloud_vision_v1p2beta1_async_annotate_file_response
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputConfig": output_config
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputs": outputs
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse/outputs/output": output
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest": google_cloud_vision_v1p2beta1_async_batch_annotate_files_request
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest/requests": requests
|
||||
"/vision:v1p2beta1/GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest/requests/request": request
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180312'
|
||||
REVISION = '20180320'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2208,6 +2208,11 @@ module Google
|
|||
# @return [Google::Apis::DataprocV1beta2::WorkflowGraph]
|
||||
attr_accessor :graph
|
||||
|
||||
# Map from parameter names to values that were used for those parameters.
|
||||
# Corresponds to the JSON property `parameters`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :parameters
|
||||
|
||||
# Output only. The workflow state.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
|
@ -2233,6 +2238,7 @@ module Google
|
|||
@create_cluster = args[:create_cluster] if args.key?(:create_cluster)
|
||||
@delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
|
||||
@graph = args[:graph] if args.key?(:graph)
|
||||
@parameters = args[:parameters] if args.key?(:parameters)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@template = args[:template] if args.key?(:template)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
|
|
|
@ -885,6 +885,7 @@ module Google
|
|||
|
||||
property :graph, as: 'graph', class: Google::Apis::DataprocV1beta2::WorkflowGraph, decorator: Google::Apis::DataprocV1beta2::WorkflowGraph::Representation
|
||||
|
||||
hash :parameters, as: 'parameters'
|
||||
property :state, as: 'state'
|
||||
property :template, as: 'template'
|
||||
property :version, as: 'version'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180315'
|
||||
REVISION = '20180320'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -401,6 +401,7 @@ module Google
|
|||
# file referenced from the --config command-line argument. For
|
||||
# details, see the guide to
|
||||
# <a href="/ml-engine/docs/training-jobs">submitting a training job</a>.
|
||||
# Next ID: 22
|
||||
# Corresponds to the JSON property `trainingInput`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
|
||||
attr_accessor :training_input
|
||||
|
@ -984,6 +985,7 @@ module Google
|
|||
# file referenced from the --config command-line argument. For
|
||||
# details, see the guide to
|
||||
# <a href="/ml-engine/docs/training-jobs">submitting a training job</a>.
|
||||
# Next ID: 22
|
||||
class GoogleCloudMlV1TrainingInput
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/apis/vision_v1/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Vision API
|
||||
# Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180221'
|
||||
REVISION = '20180320'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -968,6 +968,11 @@ module Google
|
|||
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig]
|
||||
attr_accessor :output_config
|
||||
|
||||
# The full list of output files in GCS.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination>]
|
||||
attr_accessor :outputs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -975,6 +980,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_config = args[:output_config] if args.key?(:output_config)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -543,6 +543,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module VisionV1
|
||||
# Google Cloud Vision API
|
||||
# Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
|
@ -79,6 +79,38 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @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::VisionV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::VisionV1::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 get_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::VisionV1::Operation::Representation
|
||||
command.response_class = Google::Apis::VisionV1::Operation
|
||||
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
|
||||
|
||||
# Starts asynchronous cancellation on a long-running operation. The server
|
||||
# makes a best effort to cancel the operation, but success is not
|
||||
# guaranteed. If the server doesn't support this method, it returns
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/apis/vision_v1p1beta1/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Vision API
|
||||
# Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20180221'
|
||||
REVISION = '20180320'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1710,6 +1710,11 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig]
|
||||
attr_accessor :output_config
|
||||
|
||||
# The full list of output files in GCS.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination>]
|
||||
attr_accessor :outputs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1717,6 +1722,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_config = args[:output_config] if args.key?(:output_config)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -742,6 +742,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module VisionV1p1beta1
|
||||
# Google Cloud Vision API
|
||||
# Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/apis/vision_v1p2beta1/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Vision API
|
||||
# Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20180221'
|
||||
REVISION = '20180320'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -375,6 +375,11 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig]
|
||||
attr_accessor :output_config
|
||||
|
||||
# The full list of output files in GCS.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsDestination>]
|
||||
attr_accessor :outputs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -382,6 +387,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_config = args[:output_config] if args.key?(:output_config)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -411,6 +411,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module VisionV1p2beta1
|
||||
# Google Cloud Vision API
|
||||
# Cloud Vision API
|
||||
#
|
||||
# Integrates Google Vision features, including image labeling, face, logo, and
|
||||
# landmark detection, optical character recognition (OCR), and detection of
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180312'
|
||||
REVISION = '20180319'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue