Autogenerated update (2019-01-08)

Update:
- cloudbuild_v1alpha1
- cloudtrace_v2
- firebasedynamiclinks_v1
- speech_v1p1beta1
- testing_v1
This commit is contained in:
Google APIs 2019-01-08 00:36:30 +00:00
parent f89c52a585
commit 6216bc19ca
12 changed files with 147 additions and 7 deletions

View File

@ -67447,6 +67447,7 @@
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse": get_ios_reopen_attribution_response
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/deepLink": deep_link
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/invitationId": invitation_id
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/iosMinAppVersion": ios_min_app_version
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/resolvedLink": resolved_link
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmCampaign": utm_campaign
"/firebasedynamiclinks:v1/GetIosReopenAttributionResponse/utmMedium": utm_medium
@ -88813,6 +88814,15 @@
"/speech:v1p1beta1/speech.projects.locations.models.list/pageSize": page_size
"/speech:v1p1beta1/speech.projects.locations.models.list/pageToken": page_token
"/speech:v1p1beta1/speech.projects.locations.models.list/parent": parent
"/speech:v1p1beta1/speech.projects.locations.operations.get": get_project_location_operation
"/speech:v1p1beta1/speech.projects.locations.operations.get/name": name
"/speech:v1p1beta1/speech.projects.locations.operations.list": list_project_location_operations
"/speech:v1p1beta1/speech.projects.locations.operations.list/filter": filter
"/speech:v1p1beta1/speech.projects.locations.operations.list/name": name
"/speech:v1p1beta1/speech.projects.locations.operations.list/pageSize": page_size
"/speech:v1p1beta1/speech.projects.locations.operations.list/pageToken": page_token
"/speech:v1p1beta1/speech.projects.operations.manualRecognitionTasks.get": get_project_operation_manual_recognition_task
"/speech:v1p1beta1/speech.projects.operations.manualRecognitionTasks.get/name": name
"/speech:v1p1beta1/speech.speech.longrunningrecognize": longrunningrecognize_speech
"/speech:v1p1beta1/speech.speech.recognize": recognize_speech
"/sqladmin:v1beta3/BackupConfiguration": backup_configuration
@ -92458,6 +92468,7 @@
"/testing:v1/TestMatrix": test_matrix
"/testing:v1/TestMatrix/clientInfo": client_info
"/testing:v1/TestMatrix/environmentMatrix": environment_matrix
"/testing:v1/TestMatrix/flakyTestAttempts": flaky_test_attempts
"/testing:v1/TestMatrix/invalidMatrixDetails": invalid_matrix_details
"/testing:v1/TestMatrix/projectId": project_id
"/testing:v1/TestMatrix/resultStorage": result_storage

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1alpha1
VERSION = 'V1alpha1'
REVISION = '20181215'
REVISION = '20190107'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV2
VERSION = 'V2'
REVISION = '20180820'
REVISION = '20190102'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -84,8 +84,8 @@ module Google
include Google::Apis::Core::Hashable
# The set of attributes. Each attribute's key can be up to 128 bytes
# long. The value can be a string up to 256 bytes, an integer, or the
# Boolean values `true` and `false`. For example:
# long. The value can be a string up to 256 bytes, a signed 64-bit integer,
# or the Boolean values `true` and `false`. For example:
# "/instance_id": "my-instance"
# "/http/user_agent": ""
# "/http/request_bytes": 300

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1
VERSION = 'V1'
REVISION = '20181121'
REVISION = '20190105'
# View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

@ -720,6 +720,12 @@ module Google
# @return [String]
attr_accessor :invitation_id
# FDL input value of the "&imv=" parameter, minimum app version to be
# returned to Google Firebase SDK running on iOS-9.
# Corresponds to the JSON property `iosMinAppVersion`
# @return [String]
attr_accessor :ios_min_app_version
# The entire FDL, expanded from a short link. It is the same as the
# requested_link, if it is long.
# Corresponds to the JSON property `resolvedLink`
@ -749,6 +755,7 @@ module Google
def update!(**args)
@deep_link = args[:deep_link] if args.key?(:deep_link)
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
@ios_min_app_version = args[:ios_min_app_version] if args.key?(:ios_min_app_version)
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)

View File

@ -342,6 +342,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :deep_link, as: 'deepLink'
property :invitation_id, as: 'invitationId'
property :ios_min_app_version, as: 'iosMinAppVersion'
property :resolved_link, as: 'resolvedLink'
property :utm_campaign, as: 'utmCampaign'
property :utm_medium, as: 'utmMedium'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
module SpeechV1p1beta1
VERSION = 'V1p1beta1'
REVISION = '20181127'
REVISION = '20190104'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -126,6 +126,117 @@ 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::SpeechV1p1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SpeechV1p1beta1::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_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::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
# Lists operations that match the specified filter in the request. If the
# server doesn't support this method, it returns `UNIMPLEMENTED`.
# NOTE: the `name` binding allows API services to override the binding
# to use different resource name schemes, such as `users/*/operations`. To
# override the binding, API services can add a binding such as
# `"/v1/`name=users/*`/operations"` to their service configuration.
# For backwards compatibility, the default name includes the operations
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @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::SpeechV1p1beta1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SpeechV1p1beta1::ListOperationsResponse]
#
# @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 list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1p1beta1/{+name}/operations', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
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::SpeechV1p1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SpeechV1p1beta1::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_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SpeechV1p1beta1::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
# Performs asynchronous speech recognition: receive results via the
# google.longrunning.Operations interface. Returns either an
# `Operation.error` or an `Operation.response` which contains

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20181231'
REVISION = '20190107'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1891,6 +1891,14 @@ module Google
# @return [Google::Apis::TestingV1::EnvironmentMatrix]
attr_accessor :environment_matrix
# The number of times a TestExecution should be re-attempted if one or more
# of its test cases fail for any reason.
# The maximum number of reruns allowed is 10.
# Default is 0, which implies no reruns.
# Corresponds to the JSON property `flakyTestAttempts`
# @return [Fixnum]
attr_accessor :flaky_test_attempts
# Output only. Describes why the matrix is considered invalid.
# Only useful for matrices in the INVALID state.
# Corresponds to the JSON property `invalidMatrixDetails`
@ -1942,6 +1950,7 @@ module Google
def update!(**args)
@client_info = args[:client_info] if args.key?(:client_info)
@environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix)
@flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts)
@invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details)
@project_id = args[:project_id] if args.key?(:project_id)
@result_storage = args[:result_storage] if args.key?(:result_storage)

View File

@ -921,6 +921,7 @@ module Google
property :environment_matrix, as: 'environmentMatrix', class: Google::Apis::TestingV1::EnvironmentMatrix, decorator: Google::Apis::TestingV1::EnvironmentMatrix::Representation
property :flaky_test_attempts, as: 'flakyTestAttempts'
property :invalid_matrix_details, as: 'invalidMatrixDetails'
property :project_id, as: 'projectId'
property :result_storage, as: 'resultStorage', class: Google::Apis::TestingV1::ResultStorage, decorator: Google::Apis::TestingV1::ResultStorage::Representation