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
This commit is contained in:
Google APIs 2018-06-06 00:36:17 +00:00
parent 4e34ea46f1
commit 5da7f785ee
22 changed files with 91 additions and 28 deletions

View File

@ -69710,6 +69710,7 @@
"/servicecontrol:v1/AuditLog/request": request "/servicecontrol:v1/AuditLog/request": request
"/servicecontrol:v1/AuditLog/request/request": request "/servicecontrol:v1/AuditLog/request/request": request
"/servicecontrol:v1/AuditLog/requestMetadata": request_metadata "/servicecontrol:v1/AuditLog/requestMetadata": request_metadata
"/servicecontrol:v1/AuditLog/resourceLocation": resource_location
"/servicecontrol:v1/AuditLog/resourceName": resource_name "/servicecontrol:v1/AuditLog/resourceName": resource_name
"/servicecontrol:v1/AuditLog/response": response "/servicecontrol:v1/AuditLog/response": response
"/servicecontrol:v1/AuditLog/response/response": response "/servicecontrol:v1/AuditLog/response/response": response
@ -69889,6 +69890,9 @@
"/servicecontrol:v1/ResourceInfo": resource_info "/servicecontrol:v1/ResourceInfo": resource_info
"/servicecontrol:v1/ResourceInfo/resourceContainer": resource_container "/servicecontrol:v1/ResourceInfo/resourceContainer": resource_container
"/servicecontrol:v1/ResourceInfo/resourceName": resource_name "/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": start_reconciliation_request
"/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation "/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation
"/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id "/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id
@ -74142,6 +74146,7 @@
"/speech:v1/RecognizeResponse/results": results "/speech:v1/RecognizeResponse/results": results
"/speech:v1/RecognizeResponse/results/result": result "/speech:v1/RecognizeResponse/results/result": result
"/speech:v1/SpeechContext": speech_context "/speech:v1/SpeechContext": speech_context
"/speech:v1/SpeechContext/biasingStrength": biasing_strength
"/speech:v1/SpeechContext/phrases": phrases "/speech:v1/SpeechContext/phrases": phrases
"/speech:v1/SpeechContext/phrases/phrase": phrase "/speech:v1/SpeechContext/phrases/phrase": phrase
"/speech:v1/SpeechRecognitionAlternative": speech_recognition_alternative "/speech:v1/SpeechRecognitionAlternative": speech_recognition_alternative

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1 module Adexchangebuyer2V2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180524' REVISION = '20180604'
# Manage your Ad Exchange buyer account configuration # Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/ # @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1 module AndroiddeviceprovisioningV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180511' REVISION = '20180604'
end end
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/bigquery/ # @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1 module BigquerydatatransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180521' REVISION = '20180602'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -877,7 +877,7 @@ module Google
# created as part of a regular schedule. For batch transfer runs that are # created as part of a regular schedule. For batch transfer runs that are
# scheduled manually, this is empty. # scheduled manually, this is empty.
# NOTE: the system might choose to delay the schedule depending on the # 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` # Corresponds to the JSON property `schedule`
# @return [String] # @return [String]
attr_accessor :schedule attr_accessor :schedule

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/classroom/ # @see https://developers.google.com/classroom/
module ClassroomV1 module ClassroomV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180421' REVISION = '20180602'
# View and manage announcements in Google Classroom # View and manage announcements in Google Classroom
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements' AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'

View File

@ -1624,7 +1624,7 @@ module Google
end end
# An instruction to Classroom to send notifications from the `feed` to the # An instruction to Classroom to send notifications from the `feed` to the
# provided `destination`. # provided destination.
class Registration class Registration
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -2052,31 +2052,31 @@ module Google
end end
# Creates a `Registration`, causing Classroom to start sending notifications # 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 # Returns the created `Registration`. Currently, this will be the same as
# the argument, but with server-assigned fields such as `expiry_time` and # the argument, but with server-assigned fields such as `expiry_time` and
# `id` filled in. # `id` filled in.
# Note that any value specified for the `expiry_time` or `id` fields will be # Note that any value specified for the `expiry_time` or `id` fields will be
# ignored. # ignored.
# While Classroom may validate the `destination` and return errors on a best # While Classroom may validate the `cloudPubSubTopic` and return errors on a
# effort basis, it is the caller's responsibility to ensure that it exists # best effort basis, it is the caller's responsibility to ensure that it
# and that Classroom has permission to publish to it. # exists and that Classroom has permission to publish to it.
# This method may return the following error codes: # This method may return the following error codes:
# * `PERMISSION_DENIED` if: # * `PERMISSION_DENIED` if:
# * the authenticated user does not have permission to receive # * the authenticated user does not have permission to receive
# notifications from the requested field; or # notifications from the requested field; or
# * the credential provided does not include the appropriate scope for the # * the credential provided does not include the appropriate scope for
# requested feed. # the requested feed.
# * another access error is encountered. # * another access error is encountered.
# * `INVALID_ARGUMENT` if: # * `INVALID_ARGUMENT` if:
# * no `destination` is specified, or the specified `destination` is not # * no `cloudPubsubTopic` is specified, or the specified
# valid; or # `cloudPubsubTopic` is not valid; or
# * no `feed` is specified, or the specified `feed` is not valid. # * no `feed` is specified, or the specified `feed` is not valid.
# * `NOT_FOUND` if: # * `NOT_FOUND` if:
# * the specified `feed` cannot be located, or the requesting user does not # * the specified `feed` cannot be located, or the requesting user does
# have permission to determine whether or not it exists; or # not have permission to determine whether or not it exists; or
# * the specified `destination` cannot be located, or Classroom has not # * the specified `cloudPubsubTopic` cannot be located, or Classroom has
# been granted permission to publish to it. # not been granted permission to publish to it.
# @param [Google::Apis::ClassroomV1::Registration] registration_object # @param [Google::Apis::ClassroomV1::Registration] registration_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/container-builder/docs/ # @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1 module CloudbuildV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180406' REVISION = '20180603'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/debugger # @see https://cloud.google.com/debugger
module ClouddebuggerV2 module ClouddebuggerV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180516' REVISION = '20180604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/ # @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1 module DialogflowV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180508' REVISION = '20180604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -256,6 +256,7 @@ module Google
# Represents an intent. # Represents an intent.
# Intents convert a number of user expressions or patterns into an action. An # Intents convert a number of user expressions or patterns into an action. An
# action is an extraction of a user command or sentence semantics. # action is an extraction of a user command or sentence semantics.
# Next available field number: 22.
class GoogleCloudDialogflowV2Intent class GoogleCloudDialogflowV2Intent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1239,6 +1240,7 @@ module Google
# Represents an intent. # Represents an intent.
# Intents convert a number of user expressions or patterns into an action. An # Intents convert a number of user expressions or patterns into an action. An
# action is an extraction of a user command or sentence semantics. # action is an extraction of a user command or sentence semantics.
# Next available field number: 22.
# Corresponds to the JSON property `intent` # Corresponds to the JSON property `intent`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent] # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Intent]
attr_accessor :intent attr_accessor :intent
@ -2245,6 +2247,7 @@ module Google
# Represents an intent. # Represents an intent.
# Intents convert a number of user expressions or patterns into an action. An # Intents convert a number of user expressions or patterns into an action. An
# action is an extraction of a user command or sentence semantics. # action is an extraction of a user command or sentence semantics.
# Next available field number: 22.
class GoogleCloudDialogflowV2beta1Intent class GoogleCloudDialogflowV2beta1Intent
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3492,6 +3495,7 @@ module Google
# Represents an intent. # Represents an intent.
# Intents convert a number of user expressions or patterns into an action. An # Intents convert a number of user expressions or patterns into an action. An
# action is an extraction of a user command or sentence semantics. # action is an extraction of a user command or sentence semantics.
# Next available field number: 22.
# Corresponds to the JSON property `intent` # Corresponds to the JSON property `intent`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent]
attr_accessor :intent attr_accessor :intent

View File

@ -702,7 +702,7 @@ module Google
# construction and will be available soon. If <Environment ID> is not # construction and will be available soon. If <Environment ID> is not
# specified, we assume default 'draft' environment. If <User ID> is not # specified, we assume default 'draft' environment. If <User ID> is not
# specified, we are using "-". Its up to the API caller to choose an # specified, we are using "-". Its up to the API caller to choose an
# appropriate <Session ID>. and <User Id>. They can be a random numbers or # appropriate <Session ID> and <User Id>. They can be a random numbers or
# some type of user and session identifiers (preferably hashed). The length # some type of user and session identifiers (preferably hashed). The length
# of the <Session ID> and <User ID> must not exceed 36 characters. # of the <Session ID> and <User ID> must not exceed 36 characters.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object # @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 <Environment ID> is not # construction and will be available soon. If <Environment ID> is not
# specified, we assume default 'draft' environment. If <User ID> is not # specified, we assume default 'draft' environment. If <User ID> is not
# specified, we are using "-". Its up to the API caller to choose an # specified, we are using "-". Its up to the API caller to choose an
# appropriate <Session ID>. and <User Id>. They can be a random numbers or # appropriate <Session ID> and <User Id>. They can be a random numbers or
# some type of user and session identifiers (preferably hashed). The length # some type of user and session identifiers (preferably hashed). The length
# of the <Session ID> and <User ID> must not exceed 36 characters. # of the <Session ID> and <User ID> must not exceed 36 characters.
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/ # @see https://cloud.google.com/natural-language/
module LanguageV1 module LanguageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180514' REVISION = '20180603'
# Apply machine learning models to reveal the structure and meaning of text # Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/ # @see https://cloud.google.com/natural-language/
module LanguageV1beta1 module LanguageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180514' REVISION = '20180603'
# Apply machine learning models to reveal the structure and meaning of text # Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/ # @see https://cloud.google.com/natural-language/
module LanguageV1beta2 module LanguageV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20180514' REVISION = '20180603'
# Apply machine learning models to reveal the structure and meaning of text # Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/ # @see https://cloud.google.com/service-control/
module ServicecontrolV1 module ServicecontrolV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180410' REVISION = '20180601'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -174,6 +174,11 @@ module Google
# @return [Google::Apis::ServicecontrolV1::RequestMetadata] # @return [Google::Apis::ServicecontrolV1::RequestMetadata]
attr_accessor :request_metadata 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 resource or collection that is the target of the operation.
# The name is a scheme-less URI, not including the API service name. # The name is a scheme-less URI, not including the API service name.
# For example: # For example:
@ -262,6 +267,7 @@ module Google
@num_response_items = args[:num_response_items] if args.key?(:num_response_items) @num_response_items = args[:num_response_items] if args.key?(:num_response_items)
@request = args[:request] if args.key?(:request) @request = args[:request] if args.key?(:request)
@request_metadata = args[:request_metadata] if args.key?(:request_metadata) @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) @resource_name = args[:resource_name] if args.key?(:resource_name)
@response = args[:response] if args.key?(:response) @response = args[:response] if args.key?(:response)
@service_data = args[:service_data] if args.key?(:service_data) @service_data = args[:service_data] if args.key?(:service_data)
@ -1646,6 +1652,29 @@ module Google
end end
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<String>]
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. # Request message for QuotaController.StartReconciliation.
class StartReconciliationRequest class StartReconciliationRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -226,6 +226,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourceLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StartReconciliationRequest class StartReconciliationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -287,6 +293,8 @@ module Google
hash :request, as: 'request' hash :request, as: 'request'
property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation 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' property :resource_name, as: 'resourceName'
hash :response, as: 'response' hash :response, as: 'response'
hash :service_data, as: 'serviceData' hash :service_data, as: 'serviceData'
@ -615,6 +623,13 @@ module Google
end end
end end
class ResourceLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :current_locations, as: 'currentLocations'
end
end
class StartReconciliationRequest class StartReconciliationRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/speech/ # @see https://cloud.google.com/speech/
module SpeechV1 module SpeechV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180420' REVISION = '20180601'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -322,6 +322,14 @@ module Google
class SpeechContext class SpeechContext
include Google::Apis::Core::Hashable 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 # *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 # 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 # to improve the accuracy for specific words and phrases, for example, if
@ -338,6 +346,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@biasing_strength = args[:biasing_strength] if args.key?(:biasing_strength)
@phrases = args[:phrases] if args.key?(:phrases) @phrases = args[:phrases] if args.key?(:phrases)
end end
end end

View File

@ -153,6 +153,7 @@ module Google
class SpeechContext class SpeechContext
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :biasing_strength, as: 'biasingStrength'
collection :phrases, as: 'phrases' collection :phrases, as: 'phrases'
end end
end end