diff --git a/api_names_out.yaml b/api_names_out.yaml index 7319bd1c5..8f2f73fc5 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/dataproc_v1beta2.rb b/generated/google/apis/dataproc_v1beta2.rb index 5843343c6..09d976a80 100644 --- a/generated/google/apis/dataproc_v1beta2.rb +++ b/generated/google/apis/dataproc_v1beta2.rb @@ -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' diff --git a/generated/google/apis/dataproc_v1beta2/classes.rb b/generated/google/apis/dataproc_v1beta2/classes.rb index c5570099e..b8d1c2150 100644 --- a/generated/google/apis/dataproc_v1beta2/classes.rb +++ b/generated/google/apis/dataproc_v1beta2/classes.rb @@ -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] + 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) diff --git a/generated/google/apis/dataproc_v1beta2/representations.rb b/generated/google/apis/dataproc_v1beta2/representations.rb index 8c8cd5979..a0ce63261 100644 --- a/generated/google/apis/dataproc_v1beta2/representations.rb +++ b/generated/google/apis/dataproc_v1beta2/representations.rb @@ -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' diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index da4d5427e..6f2877394 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -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' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index b58c59bd8..ed1c97d51 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -401,6 +401,7 @@ module Google # file referenced from the --config command-line argument. For # details, see the guide to # submitting a training job. + # 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 # submitting a training job. + # Next ID: 22 class GoogleCloudMlV1TrainingInput include Google::Apis::Core::Hashable diff --git a/generated/google/apis/vision_v1.rb b/generated/google/apis/vision_v1.rb index a7f49bf5f..1cdd27c8c 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -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' diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index 75af62ba9..aa995cf7b 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -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] + 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 diff --git a/generated/google/apis/vision_v1/representations.rb b/generated/google/apis/vision_v1/representations.rb index 390f1a4f2..28276abfc 100644 --- a/generated/google/apis/vision_v1/representations.rb +++ b/generated/google/apis/vision_v1/representations.rb @@ -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 diff --git a/generated/google/apis/vision_v1/service.rb b/generated/google/apis/vision_v1/service.rb index 528338c7d..c0bfbf1c4 100644 --- a/generated/google/apis/vision_v1/service.rb +++ b/generated/google/apis/vision_v1/service.rb @@ -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 diff --git a/generated/google/apis/vision_v1p1beta1.rb b/generated/google/apis/vision_v1p1beta1.rb index 43790ba3a..d0d57f90b 100644 --- a/generated/google/apis/vision_v1p1beta1.rb +++ b/generated/google/apis/vision_v1p1beta1.rb @@ -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' diff --git a/generated/google/apis/vision_v1p1beta1/classes.rb b/generated/google/apis/vision_v1p1beta1/classes.rb index 2335d160c..8a22959d8 100644 --- a/generated/google/apis/vision_v1p1beta1/classes.rb +++ b/generated/google/apis/vision_v1p1beta1/classes.rb @@ -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] + 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 diff --git a/generated/google/apis/vision_v1p1beta1/representations.rb b/generated/google/apis/vision_v1p1beta1/representations.rb index aef4f73c6..a18363c0a 100644 --- a/generated/google/apis/vision_v1p1beta1/representations.rb +++ b/generated/google/apis/vision_v1p1beta1/representations.rb @@ -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 diff --git a/generated/google/apis/vision_v1p1beta1/service.rb b/generated/google/apis/vision_v1p1beta1/service.rb index 57442b953..0631c32c7 100644 --- a/generated/google/apis/vision_v1p1beta1/service.rb +++ b/generated/google/apis/vision_v1p1beta1/service.rb @@ -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 diff --git a/generated/google/apis/vision_v1p2beta1.rb b/generated/google/apis/vision_v1p2beta1.rb index 3f53afe50..309e9c6a0 100644 --- a/generated/google/apis/vision_v1p2beta1.rb +++ b/generated/google/apis/vision_v1p2beta1.rb @@ -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' diff --git a/generated/google/apis/vision_v1p2beta1/classes.rb b/generated/google/apis/vision_v1p2beta1/classes.rb index 9379716f0..5ac5e1e7f 100644 --- a/generated/google/apis/vision_v1p2beta1/classes.rb +++ b/generated/google/apis/vision_v1p2beta1/classes.rb @@ -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] + 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 diff --git a/generated/google/apis/vision_v1p2beta1/representations.rb b/generated/google/apis/vision_v1p2beta1/representations.rb index ea28b021d..787816773 100644 --- a/generated/google/apis/vision_v1p2beta1/representations.rb +++ b/generated/google/apis/vision_v1p2beta1/representations.rb @@ -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 diff --git a/generated/google/apis/vision_v1p2beta1/service.rb b/generated/google/apis/vision_v1p2beta1/service.rb index 40875f96e..6cb3d14e7 100644 --- a/generated/google/apis/vision_v1p2beta1/service.rb +++ b/generated/google/apis/vision_v1p2beta1/service.rb @@ -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 diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 8eeedba44..817c073c4 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -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'