From 5da7f785eeb3071499f18730e67a7ccbae12bd99 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 6 Jun 2018 00:36:17 +0000 Subject: [PATCH] Autogenerated update (2018-06-06) Update: - adexchangebuyer2_v2beta1 - androiddeviceprovisioning_v1 - bigquerydatatransfer_v1 - classroom_v1 - cloudbuild_v1 - clouddebugger_v2 - dialogflow_v2beta1 - language_v1 - language_v1beta1 - language_v1beta2 - servicecontrol_v1 - speech_v1 --- api_names_out.yaml | 5 ++++ .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- .../apis/androiddeviceprovisioning_v1.rb | 2 +- .../google/apis/bigquerydatatransfer_v1.rb | 2 +- .../apis/bigquerydatatransfer_v1/classes.rb | 2 +- generated/google/apis/classroom_v1.rb | 2 +- generated/google/apis/classroom_v1/classes.rb | 2 +- generated/google/apis/classroom_v1/service.rb | 24 +++++++-------- generated/google/apis/cloudbuild_v1.rb | 2 +- generated/google/apis/clouddebugger_v2.rb | 2 +- generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 4 +++ .../google/apis/dialogflow_v2beta1/service.rb | 4 +-- generated/google/apis/language_v1.rb | 2 +- generated/google/apis/language_v1beta1.rb | 2 +- generated/google/apis/language_v1beta2.rb | 2 +- generated/google/apis/servicecontrol_v1.rb | 2 +- .../google/apis/servicecontrol_v1/classes.rb | 29 +++++++++++++++++++ .../apis/servicecontrol_v1/representations.rb | 15 ++++++++++ generated/google/apis/speech_v1.rb | 2 +- generated/google/apis/speech_v1/classes.rb | 9 ++++++ .../google/apis/speech_v1/representations.rb | 1 + 22 files changed, 91 insertions(+), 28 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 62f932819..afb896e23 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -69710,6 +69710,7 @@ "/servicecontrol:v1/AuditLog/request": request "/servicecontrol:v1/AuditLog/request/request": request "/servicecontrol:v1/AuditLog/requestMetadata": request_metadata +"/servicecontrol:v1/AuditLog/resourceLocation": resource_location "/servicecontrol:v1/AuditLog/resourceName": resource_name "/servicecontrol:v1/AuditLog/response": response "/servicecontrol:v1/AuditLog/response/response": response @@ -69889,6 +69890,9 @@ "/servicecontrol:v1/ResourceInfo": resource_info "/servicecontrol:v1/ResourceInfo/resourceContainer": resource_container "/servicecontrol:v1/ResourceInfo/resourceName": resource_name +"/servicecontrol:v1/ResourceLocation": resource_location +"/servicecontrol:v1/ResourceLocation/currentLocations": current_locations +"/servicecontrol:v1/ResourceLocation/currentLocations/current_location": current_location "/servicecontrol:v1/StartReconciliationRequest": start_reconciliation_request "/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation "/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id @@ -74142,6 +74146,7 @@ "/speech:v1/RecognizeResponse/results": results "/speech:v1/RecognizeResponse/results/result": result "/speech:v1/SpeechContext": speech_context +"/speech:v1/SpeechContext/biasingStrength": biasing_strength "/speech:v1/SpeechContext/phrases": phrases "/speech:v1/SpeechContext/phrases/phrase": phrase "/speech:v1/SpeechRecognitionAlternative": speech_recognition_alternative diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 9e6681f92..c5ea588d6 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20180524' + REVISION = '20180604' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/androiddeviceprovisioning_v1.rb b/generated/google/apis/androiddeviceprovisioning_v1.rb index 503991331..6b121ef54 100644 --- a/generated/google/apis/androiddeviceprovisioning_v1.rb +++ b/generated/google/apis/androiddeviceprovisioning_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/zero-touch/ module AndroiddeviceprovisioningV1 VERSION = 'V1' - REVISION = '20180511' + REVISION = '20180604' end end end diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 294f72ba1..40444606a 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20180521' + REVISION = '20180602' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index bee9e4ca6..c20e253f4 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -877,7 +877,7 @@ module Google # created as part of a regular schedule. For batch transfer runs that are # scheduled manually, this is empty. # NOTE: the system might choose to delay the schedule depending on the - # current load, so `schedule_time` doesn't always matches this. + # current load, so `schedule_time` doesn't always match this. # Corresponds to the JSON property `schedule` # @return [String] attr_accessor :schedule diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb index bf980ef02..6f806be9c 100644 --- a/generated/google/apis/classroom_v1.rb +++ b/generated/google/apis/classroom_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/classroom/ module ClassroomV1 VERSION = 'V1' - REVISION = '20180421' + REVISION = '20180602' # View and manage announcements in Google Classroom AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements' diff --git a/generated/google/apis/classroom_v1/classes.rb b/generated/google/apis/classroom_v1/classes.rb index 65b4ed2ac..6413db328 100644 --- a/generated/google/apis/classroom_v1/classes.rb +++ b/generated/google/apis/classroom_v1/classes.rb @@ -1624,7 +1624,7 @@ module Google end # An instruction to Classroom to send notifications from the `feed` to the - # provided `destination`. + # provided destination. class Registration include Google::Apis::Core::Hashable diff --git a/generated/google/apis/classroom_v1/service.rb b/generated/google/apis/classroom_v1/service.rb index 573a13904..c3ad7930c 100644 --- a/generated/google/apis/classroom_v1/service.rb +++ b/generated/google/apis/classroom_v1/service.rb @@ -2052,31 +2052,31 @@ module Google end # Creates a `Registration`, causing Classroom to start sending notifications - # from the provided `feed` to the provided `destination`. + # from the provided `feed` to the destination provided in `cloudPubSubTopic`. # Returns the created `Registration`. Currently, this will be the same as # the argument, but with server-assigned fields such as `expiry_time` and # `id` filled in. # Note that any value specified for the `expiry_time` or `id` fields will be # ignored. - # While Classroom may validate the `destination` and return errors on a best - # effort basis, it is the caller's responsibility to ensure that it exists - # and that Classroom has permission to publish to it. + # While Classroom may validate the `cloudPubSubTopic` and return errors on a + # best effort basis, it is the caller's responsibility to ensure that it + # exists and that Classroom has permission to publish to it. # This method may return the following error codes: # * `PERMISSION_DENIED` if: # * the authenticated user does not have permission to receive # notifications from the requested field; or - # * the credential provided does not include the appropriate scope for the - # requested feed. + # * the credential provided does not include the appropriate scope for + # the requested feed. # * another access error is encountered. # * `INVALID_ARGUMENT` if: - # * no `destination` is specified, or the specified `destination` is not - # valid; or + # * no `cloudPubsubTopic` is specified, or the specified + # `cloudPubsubTopic` is not valid; or # * no `feed` is specified, or the specified `feed` is not valid. # * `NOT_FOUND` if: - # * the specified `feed` cannot be located, or the requesting user does not - # have permission to determine whether or not it exists; or - # * the specified `destination` cannot be located, or Classroom has not - # been granted permission to publish to it. + # * the specified `feed` cannot be located, or the requesting user does + # not have permission to determine whether or not it exists; or + # * the specified `cloudPubsubTopic` cannot be located, or Classroom has + # not been granted permission to publish to it. # @param [Google::Apis::ClassroomV1::Registration] registration_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index e1d991680..cf0b50ef3 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20180406' + REVISION = '20180603' # 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/clouddebugger_v2.rb b/generated/google/apis/clouddebugger_v2.rb index 5cdfcf813..465bb7764 100644 --- a/generated/google/apis/clouddebugger_v2.rb +++ b/generated/google/apis/clouddebugger_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/debugger module ClouddebuggerV2 VERSION = 'V2' - REVISION = '20180516' + REVISION = '20180604' # 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/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 654c5446c..875706b58 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20180508' + REVISION = '20180604' # 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/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 1bd99b0e8..ef3d737e4 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -256,6 +256,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. class GoogleCloudDialogflowV2Intent include Google::Apis::Core::Hashable @@ -1239,6 +1240,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. # Corresponds to the JSON property `intent` # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent] attr_accessor :intent @@ -2245,6 +2247,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. class GoogleCloudDialogflowV2beta1Intent include Google::Apis::Core::Hashable @@ -3492,6 +3495,7 @@ module Google # Represents an intent. # Intents convert a number of user expressions or patterns into an action. An # action is an extraction of a user command or sentence semantics. + # Next available field number: 22. # Corresponds to the JSON property `intent` # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] attr_accessor :intent diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 6c5020dea..d939f946e 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -702,7 +702,7 @@ module Google # construction and will be available soon. If is not # specified, we assume default 'draft' environment. If is not # specified, we are using "-". It’s up to the API caller to choose an - # appropriate . and . They can be a random numbers or + # appropriate and . They can be a random numbers or # some type of user and session identifiers (preferably hashed). The length # of the and must not exceed 36 characters. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object @@ -1465,7 +1465,7 @@ module Google # construction and will be available soon. If is not # specified, we assume default 'draft' environment. If is not # specified, we are using "-". It’s up to the API caller to choose an - # appropriate . and . They can be a random numbers or + # appropriate and . They can be a random numbers or # some type of user and session identifiers (preferably hashed). The length # of the and must not exceed 36 characters. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb index 9f1b2bad8..7ffdc5d2d 100644 --- a/generated/google/apis/language_v1.rb +++ b/generated/google/apis/language_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1 VERSION = 'V1' - REVISION = '20180514' + REVISION = '20180603' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/language_v1beta1.rb b/generated/google/apis/language_v1beta1.rb index 6e100d3c9..fcb3863c2 100644 --- a/generated/google/apis/language_v1beta1.rb +++ b/generated/google/apis/language_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta1 VERSION = 'V1beta1' - REVISION = '20180514' + REVISION = '20180603' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/language_v1beta2.rb b/generated/google/apis/language_v1beta2.rb index 02f5e8ee3..c46f10609 100644 --- a/generated/google/apis/language_v1beta2.rb +++ b/generated/google/apis/language_v1beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/natural-language/ module LanguageV1beta2 VERSION = 'V1beta2' - REVISION = '20180514' + REVISION = '20180603' # Apply machine learning models to reveal the structure and meaning of text AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 58670a297..f3f3eecca 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20180410' + REVISION = '20180601' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 2a030be27..976c50c12 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -174,6 +174,11 @@ module Google # @return [Google::Apis::ServicecontrolV1::RequestMetadata] attr_accessor :request_metadata + # Location information about a resource. + # Corresponds to the JSON property `resourceLocation` + # @return [Google::Apis::ServicecontrolV1::ResourceLocation] + attr_accessor :resource_location + # The resource or collection that is the target of the operation. # The name is a scheme-less URI, not including the API service name. # For example: @@ -262,6 +267,7 @@ module Google @num_response_items = args[:num_response_items] if args.key?(:num_response_items) @request = args[:request] if args.key?(:request) @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + @resource_location = args[:resource_location] if args.key?(:resource_location) @resource_name = args[:resource_name] if args.key?(:resource_name) @response = args[:response] if args.key?(:response) @service_data = args[:service_data] if args.key?(:service_data) @@ -1646,6 +1652,29 @@ module Google end end + # Location information about a resource. + class ResourceLocation + include Google::Apis::Core::Hashable + + # The locations of a resource after the execution of the operation. + # For example: + # "europe-west1-a" + # "us-east1" + # "nam3" + # Corresponds to the JSON property `currentLocations` + # @return [Array] + attr_accessor :current_locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_locations = args[:current_locations] if args.key?(:current_locations) + end + end + # Request message for QuotaController.StartReconciliation. class StartReconciliationRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index b6251345f..e129eac12 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -226,6 +226,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ResourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StartReconciliationRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -287,6 +293,8 @@ module Google hash :request, as: 'request' property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation + property :resource_location, as: 'resourceLocation', class: Google::Apis::ServicecontrolV1::ResourceLocation, decorator: Google::Apis::ServicecontrolV1::ResourceLocation::Representation + property :resource_name, as: 'resourceName' hash :response, as: 'response' hash :service_data, as: 'serviceData' @@ -615,6 +623,13 @@ module Google end end + class ResourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :current_locations, as: 'currentLocations' + end + end + class StartReconciliationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 6abcea2ee..c6054bc5b 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech/ module SpeechV1 VERSION = 'V1' - REVISION = '20180420' + REVISION = '20180601' # 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/speech_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb index c5df0c047..abfe179a6 100644 --- a/generated/google/apis/speech_v1/classes.rb +++ b/generated/google/apis/speech_v1/classes.rb @@ -322,6 +322,14 @@ module Google class SpeechContext include Google::Apis::Core::Hashable + # Strength of biasing to use (strong, medium or weak). If you use strong + # biasing option then more likely to see those phrases in the results. If + # biasing streangth is not specified then by default medium biasing would be + # used. + # Corresponds to the JSON property `biasingStrength` + # @return [String] + attr_accessor :biasing_strength + # *Optional* A list of strings containing words and phrases "hints" so that # the speech recognition is more likely to recognize them. This can be used # to improve the accuracy for specific words and phrases, for example, if @@ -338,6 +346,7 @@ module Google # Update properties of this object def update!(**args) + @biasing_strength = args[:biasing_strength] if args.key?(:biasing_strength) @phrases = args[:phrases] if args.key?(:phrases) end end diff --git a/generated/google/apis/speech_v1/representations.rb b/generated/google/apis/speech_v1/representations.rb index e5e699a5d..329174255 100644 --- a/generated/google/apis/speech_v1/representations.rb +++ b/generated/google/apis/speech_v1/representations.rb @@ -153,6 +153,7 @@ module Google class SpeechContext # @private class Representation < Google::Apis::Core::JsonRepresentation + property :biasing_strength, as: 'biasingStrength' collection :phrases, as: 'phrases' end end