From 6216bc19ca034f49836f8a352caf0cbe1ad709d2 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 8 Jan 2019 00:36:30 +0000 Subject: [PATCH] Autogenerated update (2019-01-08) Update: - cloudbuild_v1alpha1 - cloudtrace_v2 - firebasedynamiclinks_v1 - speech_v1p1beta1 - testing_v1 --- api_names_out.yaml | 11 ++ generated/google/apis/cloudbuild_v1alpha1.rb | 2 +- generated/google/apis/cloudtrace_v2.rb | 2 +- .../google/apis/cloudtrace_v2/classes.rb | 4 +- .../google/apis/firebasedynamiclinks_v1.rb | 2 +- .../apis/firebasedynamiclinks_v1/classes.rb | 7 ++ .../representations.rb | 1 + generated/google/apis/speech_v1p1beta1.rb | 2 +- .../google/apis/speech_v1p1beta1/service.rb | 111 ++++++++++++++++++ generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 9 ++ .../google/apis/testing_v1/representations.rb | 1 + 12 files changed, 147 insertions(+), 7 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 5f67fb276..35f22ebb8 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/cloudbuild_v1alpha1.rb b/generated/google/apis/cloudbuild_v1alpha1.rb index 159f1496d..1757f6c6b 100644 --- a/generated/google/apis/cloudbuild_v1alpha1.rb +++ b/generated/google/apis/cloudbuild_v1alpha1.rb @@ -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' diff --git a/generated/google/apis/cloudtrace_v2.rb b/generated/google/apis/cloudtrace_v2.rb index cacaa5507..beade1bf0 100644 --- a/generated/google/apis/cloudtrace_v2.rb +++ b/generated/google/apis/cloudtrace_v2.rb @@ -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' diff --git a/generated/google/apis/cloudtrace_v2/classes.rb b/generated/google/apis/cloudtrace_v2/classes.rb index 7da307a37..363cf16fd 100644 --- a/generated/google/apis/cloudtrace_v2/classes.rb +++ b/generated/google/apis/cloudtrace_v2/classes.rb @@ -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 diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index 4499564ce..a68521de5 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -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' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index fe1759157..923a21562 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -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) diff --git a/generated/google/apis/firebasedynamiclinks_v1/representations.rb b/generated/google/apis/firebasedynamiclinks_v1/representations.rb index 23d91e0cf..b89af1f7e 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/representations.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/representations.rb @@ -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' diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index 096cc456b..51144b797 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -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' diff --git a/generated/google/apis/speech_v1p1beta1/service.rb b/generated/google/apis/speech_v1p1beta1/service.rb index 62a0b4624..45591d345 100644 --- a/generated/google/apis/speech_v1p1beta1/service.rb +++ b/generated/google/apis/speech_v1p1beta1/service.rb @@ -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 diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 2c6723916..24c76ea7b 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -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' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 84d61b333..27e884728 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -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) diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb index ea36db5c9..fe0493ad2 100644 --- a/generated/google/apis/testing_v1/representations.rb +++ b/generated/google/apis/testing_v1/representations.rb @@ -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