google-api-client 0.32.1 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +159 -0
- data/README.md +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +25 -19
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +519 -152
- data/generated/google/apis/compute_alpha/representations.rb +108 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1016 -266
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +283 -125
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +207 -5
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +125 -3
- data/generated/google/apis/container_v1beta1/representations.rb +22 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -220
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +57 -18
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -11
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -2
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +66 -23
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +7 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +260 -0
- data/generated/google/apis/monitoring_v1/representations.rb +123 -0
- data/generated/google/apis/monitoring_v1/service.rb +64 -0
- data/generated/google/apis/monitoring_v1.rb +36 -0
- data/generated/google/apis/monitoring_v3/classes.rb +27 -13
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +3 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -7
- data/generated/google/apis/run_v1/service.rb +156 -94
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
- data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +389 -0
- data/generated/google/apis/sheets_v4/representations.rb +79 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
- data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
- data/generated/google/apis/sql_v1beta4.rb +37 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +28 -30
- data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
- data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
- data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
- data/generated/google/apis/dfareporting_v3_2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/sql_v1beta4/service.rb'
|
|
16
|
+
require 'google/apis/sql_v1beta4/classes.rb'
|
|
17
|
+
require 'google/apis/sql_v1beta4/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# Cloud SQL Admin API
|
|
22
|
+
#
|
|
23
|
+
# API for Cloud SQL database instance management
|
|
24
|
+
#
|
|
25
|
+
# @see https://developers.google.com/cloud-sql/
|
|
26
|
+
module SqlV1beta4
|
|
27
|
+
VERSION = 'V1beta4'
|
|
28
|
+
REVISION = '20191018'
|
|
29
|
+
|
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
32
|
+
|
|
33
|
+
# Manage your Google SQL Service instances
|
|
34
|
+
AUTH_SQLSERVICE_ADMIN = 'https://www.googleapis.com/auth/sqlservice.admin'
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191011'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -185,6 +185,11 @@ module Google
|
|
|
185
185
|
# @return [String]
|
|
186
186
|
attr_accessor :orchestrator_option
|
|
187
187
|
|
|
188
|
+
# Options for enabling sharding.
|
|
189
|
+
# Corresponds to the JSON property `shardingOption`
|
|
190
|
+
# @return [Google::Apis::TestingV1::ShardingOption]
|
|
191
|
+
attr_accessor :sharding_option
|
|
192
|
+
|
|
188
193
|
# A reference to a file, used for user inputs.
|
|
189
194
|
# Corresponds to the JSON property `testApk`
|
|
190
195
|
# @return [Google::Apis::TestingV1::FileReference]
|
|
@@ -222,6 +227,7 @@ module Google
|
|
|
222
227
|
@app_bundle = args[:app_bundle] if args.key?(:app_bundle)
|
|
223
228
|
@app_package_id = args[:app_package_id] if args.key?(:app_package_id)
|
|
224
229
|
@orchestrator_option = args[:orchestrator_option] if args.key?(:orchestrator_option)
|
|
230
|
+
@sharding_option = args[:sharding_option] if args.key?(:sharding_option)
|
|
225
231
|
@test_apk = args[:test_apk] if args.key?(:test_apk)
|
|
226
232
|
@test_package_id = args[:test_package_id] if args.key?(:test_package_id)
|
|
227
233
|
@test_runner_class = args[:test_runner_class] if args.key?(:test_runner_class)
|
|
@@ -1197,7 +1203,7 @@ module Google
|
|
|
1197
1203
|
end
|
|
1198
1204
|
|
|
1199
1205
|
# A description of an iOS device tests may be run on.
|
|
1200
|
-
# Next tag:
|
|
1206
|
+
# Next tag: 11
|
|
1201
1207
|
class IosModel
|
|
1202
1208
|
include Google::Apis::Core::Hashable
|
|
1203
1209
|
|
|
@@ -1497,6 +1503,29 @@ module Google
|
|
|
1497
1503
|
end
|
|
1498
1504
|
end
|
|
1499
1505
|
|
|
1506
|
+
# Shards test cases into the specified groups of packages, classes, and/or
|
|
1507
|
+
# methods.
|
|
1508
|
+
# With manual sharding enabled, specifying test targets via
|
|
1509
|
+
# environment_variables or in InstrumentationTest is invalid.
|
|
1510
|
+
class ManualSharding
|
|
1511
|
+
include Google::Apis::Core::Hashable
|
|
1512
|
+
|
|
1513
|
+
# Required. Group of packages, classes, and/or test methods to be run for
|
|
1514
|
+
# each shard. The number of shard_test_targets must be > 1, and <= 50.
|
|
1515
|
+
# Corresponds to the JSON property `testTargetsForShard`
|
|
1516
|
+
# @return [Array<Google::Apis::TestingV1::TestTargetsForShard>]
|
|
1517
|
+
attr_accessor :test_targets_for_shard
|
|
1518
|
+
|
|
1519
|
+
def initialize(**args)
|
|
1520
|
+
update!(**args)
|
|
1521
|
+
end
|
|
1522
|
+
|
|
1523
|
+
# Update properties of this object
|
|
1524
|
+
def update!(**args)
|
|
1525
|
+
@test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
|
|
1526
|
+
end
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1500
1529
|
#
|
|
1501
1530
|
class NetworkConfiguration
|
|
1502
1531
|
include Google::Apis::Core::Hashable
|
|
@@ -1780,6 +1809,68 @@ module Google
|
|
|
1780
1809
|
end
|
|
1781
1810
|
end
|
|
1782
1811
|
|
|
1812
|
+
# Output only. Details about the shard.
|
|
1813
|
+
class Shard
|
|
1814
|
+
include Google::Apis::Core::Hashable
|
|
1815
|
+
|
|
1816
|
+
# Output only. The total number of shards.
|
|
1817
|
+
# Corresponds to the JSON property `numShards`
|
|
1818
|
+
# @return [Fixnum]
|
|
1819
|
+
attr_accessor :num_shards
|
|
1820
|
+
|
|
1821
|
+
# Output only. The index of the shard among all the shards.
|
|
1822
|
+
# Corresponds to the JSON property `shardIndex`
|
|
1823
|
+
# @return [Fixnum]
|
|
1824
|
+
attr_accessor :shard_index
|
|
1825
|
+
|
|
1826
|
+
# Test targets for a shard.
|
|
1827
|
+
# Corresponds to the JSON property `testTargetsForShard`
|
|
1828
|
+
# @return [Google::Apis::TestingV1::TestTargetsForShard]
|
|
1829
|
+
attr_accessor :test_targets_for_shard
|
|
1830
|
+
|
|
1831
|
+
def initialize(**args)
|
|
1832
|
+
update!(**args)
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
# Update properties of this object
|
|
1836
|
+
def update!(**args)
|
|
1837
|
+
@num_shards = args[:num_shards] if args.key?(:num_shards)
|
|
1838
|
+
@shard_index = args[:shard_index] if args.key?(:shard_index)
|
|
1839
|
+
@test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard)
|
|
1840
|
+
end
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1843
|
+
# Options for enabling sharding.
|
|
1844
|
+
class ShardingOption
|
|
1845
|
+
include Google::Apis::Core::Hashable
|
|
1846
|
+
|
|
1847
|
+
# Shards test cases into the specified groups of packages, classes, and/or
|
|
1848
|
+
# methods.
|
|
1849
|
+
# With manual sharding enabled, specifying test targets via
|
|
1850
|
+
# environment_variables or in InstrumentationTest is invalid.
|
|
1851
|
+
# Corresponds to the JSON property `manualSharding`
|
|
1852
|
+
# @return [Google::Apis::TestingV1::ManualSharding]
|
|
1853
|
+
attr_accessor :manual_sharding
|
|
1854
|
+
|
|
1855
|
+
# Uniformly shards test cases given a total number of shards.
|
|
1856
|
+
# For Instrumentation test, it will be translated to “-e numShard” “-e
|
|
1857
|
+
# shardIndex” AndroidJUnitRunner arguments. With uniform sharding enabled,
|
|
1858
|
+
# specifying these sharding arguments via environment_variables is invalid.
|
|
1859
|
+
# Corresponds to the JSON property `uniformSharding`
|
|
1860
|
+
# @return [Google::Apis::TestingV1::UniformSharding]
|
|
1861
|
+
attr_accessor :uniform_sharding
|
|
1862
|
+
|
|
1863
|
+
def initialize(**args)
|
|
1864
|
+
update!(**args)
|
|
1865
|
+
end
|
|
1866
|
+
|
|
1867
|
+
# Update properties of this object
|
|
1868
|
+
def update!(**args)
|
|
1869
|
+
@manual_sharding = args[:manual_sharding] if args.key?(:manual_sharding)
|
|
1870
|
+
@uniform_sharding = args[:uniform_sharding] if args.key?(:uniform_sharding)
|
|
1871
|
+
end
|
|
1872
|
+
end
|
|
1873
|
+
|
|
1783
1874
|
# A starting intent specified by an action, uri, and categories.
|
|
1784
1875
|
class StartActivityIntent
|
|
1785
1876
|
include Google::Apis::Core::Hashable
|
|
@@ -1902,6 +1993,11 @@ module Google
|
|
|
1902
1993
|
# @return [String]
|
|
1903
1994
|
attr_accessor :project_id
|
|
1904
1995
|
|
|
1996
|
+
# Output only. Details about the shard.
|
|
1997
|
+
# Corresponds to the JSON property `shard`
|
|
1998
|
+
# @return [Google::Apis::TestingV1::Shard]
|
|
1999
|
+
attr_accessor :shard
|
|
2000
|
+
|
|
1905
2001
|
# Output only. Indicates the current progress of the test execution
|
|
1906
2002
|
# (e.g., FINISHED).
|
|
1907
2003
|
# Corresponds to the JSON property `state`
|
|
@@ -1939,6 +2035,7 @@ module Google
|
|
|
1939
2035
|
@id = args[:id] if args.key?(:id)
|
|
1940
2036
|
@matrix_id = args[:matrix_id] if args.key?(:matrix_id)
|
|
1941
2037
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
2038
|
+
@shard = args[:shard] if args.key?(:shard)
|
|
1942
2039
|
@state = args[:state] if args.key?(:state)
|
|
1943
2040
|
@test_details = args[:test_details] if args.key?(:test_details)
|
|
1944
2041
|
@test_specification = args[:test_specification] if args.key?(:test_specification)
|
|
@@ -2194,6 +2291,28 @@ module Google
|
|
|
2194
2291
|
end
|
|
2195
2292
|
end
|
|
2196
2293
|
|
|
2294
|
+
# Test targets for a shard.
|
|
2295
|
+
class TestTargetsForShard
|
|
2296
|
+
include Google::Apis::Core::Hashable
|
|
2297
|
+
|
|
2298
|
+
# Group of packages, classes, and/or test methods to be run for each shard.
|
|
2299
|
+
# The targets need to be specified in AndroidJUnitRunner argument format. For
|
|
2300
|
+
# example, “package com.my.packages” “class com.my.package.MyClass”.
|
|
2301
|
+
# The number of shard_test_targets must be greater than 0.
|
|
2302
|
+
# Corresponds to the JSON property `testTargets`
|
|
2303
|
+
# @return [Array<String>]
|
|
2304
|
+
attr_accessor :test_targets
|
|
2305
|
+
|
|
2306
|
+
def initialize(**args)
|
|
2307
|
+
update!(**args)
|
|
2308
|
+
end
|
|
2309
|
+
|
|
2310
|
+
# Update properties of this object
|
|
2311
|
+
def update!(**args)
|
|
2312
|
+
@test_targets = args[:test_targets] if args.key?(:test_targets)
|
|
2313
|
+
end
|
|
2314
|
+
end
|
|
2315
|
+
|
|
2197
2316
|
# Represents a tool results execution resource.
|
|
2198
2317
|
# This has the results of a TestMatrix.
|
|
2199
2318
|
class ToolResultsExecution
|
|
@@ -2332,6 +2451,28 @@ module Google
|
|
|
2332
2451
|
end
|
|
2333
2452
|
end
|
|
2334
2453
|
|
|
2454
|
+
# Uniformly shards test cases given a total number of shards.
|
|
2455
|
+
# For Instrumentation test, it will be translated to “-e numShard” “-e
|
|
2456
|
+
# shardIndex” AndroidJUnitRunner arguments. With uniform sharding enabled,
|
|
2457
|
+
# specifying these sharding arguments via environment_variables is invalid.
|
|
2458
|
+
class UniformSharding
|
|
2459
|
+
include Google::Apis::Core::Hashable
|
|
2460
|
+
|
|
2461
|
+
# Required. Total number of shards. The number must be > 1, and <= 50.
|
|
2462
|
+
# Corresponds to the JSON property `numShards`
|
|
2463
|
+
# @return [Fixnum]
|
|
2464
|
+
attr_accessor :num_shards
|
|
2465
|
+
|
|
2466
|
+
def initialize(**args)
|
|
2467
|
+
update!(**args)
|
|
2468
|
+
end
|
|
2469
|
+
|
|
2470
|
+
# Update properties of this object
|
|
2471
|
+
def update!(**args)
|
|
2472
|
+
@num_shards = args[:num_shards] if args.key?(:num_shards)
|
|
2473
|
+
end
|
|
2474
|
+
end
|
|
2475
|
+
|
|
2335
2476
|
# An Xcode version that an iOS version is compatible with.
|
|
2336
2477
|
class XcodeVersion
|
|
2337
2478
|
include Google::Apis::Core::Hashable
|
|
@@ -262,6 +262,12 @@ module Google
|
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
+
class ManualSharding
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
265
271
|
class NetworkConfiguration
|
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
273
|
|
|
@@ -316,6 +322,18 @@ module Google
|
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
|
317
323
|
end
|
|
318
324
|
|
|
325
|
+
class Shard
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class ShardingOption
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
319
337
|
class StartActivityIntent
|
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
339
|
|
|
@@ -358,6 +376,12 @@ module Google
|
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
377
|
end
|
|
360
378
|
|
|
379
|
+
class TestTargetsForShard
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
361
385
|
class ToolResultsExecution
|
|
362
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
387
|
|
|
@@ -382,6 +406,12 @@ module Google
|
|
|
382
406
|
include Google::Apis::Core::JsonObjectSupport
|
|
383
407
|
end
|
|
384
408
|
|
|
409
|
+
class UniformSharding
|
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
411
|
+
|
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
413
|
+
end
|
|
414
|
+
|
|
385
415
|
class XcodeVersion
|
|
386
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
417
|
|
|
@@ -435,6 +465,8 @@ module Google
|
|
|
435
465
|
|
|
436
466
|
property :app_package_id, as: 'appPackageId'
|
|
437
467
|
property :orchestrator_option, as: 'orchestratorOption'
|
|
468
|
+
property :sharding_option, as: 'shardingOption', class: Google::Apis::TestingV1::ShardingOption, decorator: Google::Apis::TestingV1::ShardingOption::Representation
|
|
469
|
+
|
|
438
470
|
property :test_apk, as: 'testApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
|
439
471
|
|
|
440
472
|
property :test_package_id, as: 'testPackageId'
|
|
@@ -800,6 +832,14 @@ module Google
|
|
|
800
832
|
end
|
|
801
833
|
end
|
|
802
834
|
|
|
835
|
+
class ManualSharding
|
|
836
|
+
# @private
|
|
837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
838
|
+
collection :test_targets_for_shard, as: 'testTargetsForShard', class: Google::Apis::TestingV1::TestTargetsForShard, decorator: Google::Apis::TestingV1::TestTargetsForShard::Representation
|
|
839
|
+
|
|
840
|
+
end
|
|
841
|
+
end
|
|
842
|
+
|
|
803
843
|
class NetworkConfiguration
|
|
804
844
|
# @private
|
|
805
845
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -886,6 +926,26 @@ module Google
|
|
|
886
926
|
end
|
|
887
927
|
end
|
|
888
928
|
|
|
929
|
+
class Shard
|
|
930
|
+
# @private
|
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
932
|
+
property :num_shards, as: 'numShards'
|
|
933
|
+
property :shard_index, as: 'shardIndex'
|
|
934
|
+
property :test_targets_for_shard, as: 'testTargetsForShard', class: Google::Apis::TestingV1::TestTargetsForShard, decorator: Google::Apis::TestingV1::TestTargetsForShard::Representation
|
|
935
|
+
|
|
936
|
+
end
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
class ShardingOption
|
|
940
|
+
# @private
|
|
941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
942
|
+
property :manual_sharding, as: 'manualSharding', class: Google::Apis::TestingV1::ManualSharding, decorator: Google::Apis::TestingV1::ManualSharding::Representation
|
|
943
|
+
|
|
944
|
+
property :uniform_sharding, as: 'uniformSharding', class: Google::Apis::TestingV1::UniformSharding, decorator: Google::Apis::TestingV1::UniformSharding::Representation
|
|
945
|
+
|
|
946
|
+
end
|
|
947
|
+
end
|
|
948
|
+
|
|
889
949
|
class StartActivityIntent
|
|
890
950
|
# @private
|
|
891
951
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -925,6 +985,8 @@ module Google
|
|
|
925
985
|
property :id, as: 'id'
|
|
926
986
|
property :matrix_id, as: 'matrixId'
|
|
927
987
|
property :project_id, as: 'projectId'
|
|
988
|
+
property :shard, as: 'shard', class: Google::Apis::TestingV1::Shard, decorator: Google::Apis::TestingV1::Shard::Representation
|
|
989
|
+
|
|
928
990
|
property :state, as: 'state'
|
|
929
991
|
property :test_details, as: 'testDetails', class: Google::Apis::TestingV1::TestDetails, decorator: Google::Apis::TestingV1::TestDetails::Representation
|
|
930
992
|
|
|
@@ -998,6 +1060,13 @@ module Google
|
|
|
998
1060
|
end
|
|
999
1061
|
end
|
|
1000
1062
|
|
|
1063
|
+
class TestTargetsForShard
|
|
1064
|
+
# @private
|
|
1065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1066
|
+
collection :test_targets, as: 'testTargets'
|
|
1067
|
+
end
|
|
1068
|
+
end
|
|
1069
|
+
|
|
1001
1070
|
class ToolResultsExecution
|
|
1002
1071
|
# @private
|
|
1003
1072
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1036,6 +1105,13 @@ module Google
|
|
|
1036
1105
|
end
|
|
1037
1106
|
end
|
|
1038
1107
|
|
|
1108
|
+
class UniformSharding
|
|
1109
|
+
# @private
|
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1111
|
+
property :num_shards, as: 'numShards'
|
|
1112
|
+
end
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1039
1115
|
class XcodeVersion
|
|
1040
1116
|
# @private
|
|
1041
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/cloud-test-lab/
|
|
27
27
|
module TestingV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191021'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -47,7 +47,7 @@ module Google
|
|
|
47
47
|
class GoogleCloudVideointelligenceV1AnnotateVideoRequest
|
|
48
48
|
include Google::Apis::Core::Hashable
|
|
49
49
|
|
|
50
|
-
# Requested video annotation features.
|
|
50
|
+
# Required. Requested video annotation features.
|
|
51
51
|
# Corresponds to the JSON property `features`
|
|
52
52
|
# @return [Array<String>]
|
|
53
53
|
attr_accessor :features
|
|
@@ -74,14 +74,14 @@ module Google
|
|
|
74
74
|
# @return [String]
|
|
75
75
|
attr_accessor :input_uri
|
|
76
76
|
|
|
77
|
-
# Optional
|
|
77
|
+
# Optional. Cloud region where annotation should take place. Supported cloud
|
|
78
78
|
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
|
79
79
|
# is specified, a region will be determined based on video file location.
|
|
80
80
|
# Corresponds to the JSON property `locationId`
|
|
81
81
|
# @return [String]
|
|
82
82
|
attr_accessor :location_id
|
|
83
83
|
|
|
84
|
-
# Optional
|
|
84
|
+
# Optional. Location where the output (in JSON format) should be stored.
|
|
85
85
|
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
|
86
86
|
# URIs are supported, which must be specified in the following format:
|
|
87
87
|
# `gs://bucket-id/object-id` (other URI formats return
|
|
@@ -609,7 +609,7 @@ module Google
|
|
|
609
609
|
class GoogleCloudVideointelligenceV1SpeechContext
|
|
610
610
|
include Google::Apis::Core::Hashable
|
|
611
611
|
|
|
612
|
-
#
|
|
612
|
+
# Optional. A list of strings containing words and phrases "hints" so that
|
|
613
613
|
# the speech recognition is more likely to recognize them. This can be used
|
|
614
614
|
# to improve the accuracy for specific words and phrases, for example, if
|
|
615
615
|
# specific commands are typically spoken by the user. This can also be used
|
|
@@ -679,10 +679,10 @@ module Google
|
|
|
679
679
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
|
680
680
|
attr_accessor :alternatives
|
|
681
681
|
|
|
682
|
-
# Output only. The
|
|
683
|
-
#
|
|
684
|
-
# language in this result. This language code was detected to have the
|
|
685
|
-
# likelihood of being spoken in the audio.
|
|
682
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
683
|
+
# language tag of
|
|
684
|
+
# the language in this result. This language code was detected to have the
|
|
685
|
+
# most likelihood of being spoken in the audio.
|
|
686
686
|
# Corresponds to the JSON property `languageCode`
|
|
687
687
|
# @return [String]
|
|
688
688
|
attr_accessor :language_code
|
|
@@ -702,21 +702,21 @@ module Google
|
|
|
702
702
|
class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
|
|
703
703
|
include Google::Apis::Core::Hashable
|
|
704
704
|
|
|
705
|
-
#
|
|
705
|
+
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
|
706
706
|
# tracks, specify up to two tracks. Default: track 0.
|
|
707
707
|
# Corresponds to the JSON property `audioTracks`
|
|
708
708
|
# @return [Array<Fixnum>]
|
|
709
709
|
attr_accessor :audio_tracks
|
|
710
710
|
|
|
711
|
-
#
|
|
712
|
-
#
|
|
711
|
+
# Optional. If set, specifies the estimated number of speakers in the
|
|
712
|
+
# conversation.
|
|
713
713
|
# If not set, defaults to '2'.
|
|
714
714
|
# Ignored unless enable_speaker_diarization is set to true.
|
|
715
715
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
|
716
716
|
# @return [Fixnum]
|
|
717
717
|
attr_accessor :diarization_speaker_count
|
|
718
718
|
|
|
719
|
-
#
|
|
719
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
|
720
720
|
# This feature is only available in select languages. Setting this for
|
|
721
721
|
# requests in other languages has no effect at all. The default 'false' value
|
|
722
722
|
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
|
@@ -727,7 +727,7 @@ module Google
|
|
|
727
727
|
attr_accessor :enable_automatic_punctuation
|
|
728
728
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
|
729
729
|
|
|
730
|
-
#
|
|
730
|
+
# Optional. If 'true', enables speaker detection for each recognized word in
|
|
731
731
|
# the top alternative of the recognition result using a speaker_tag provided
|
|
732
732
|
# in the WordInfo.
|
|
733
733
|
# Note: When this is true, we send all the words from the beginning of the
|
|
@@ -739,7 +739,7 @@ module Google
|
|
|
739
739
|
attr_accessor :enable_speaker_diarization
|
|
740
740
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
|
741
741
|
|
|
742
|
-
#
|
|
742
|
+
# Optional. If `true`, the top result includes a list of words and the
|
|
743
743
|
# confidence for those words. If `false`, no word-level confidence
|
|
744
744
|
# information is returned. The default is `false`.
|
|
745
745
|
# Corresponds to the JSON property `enableWordConfidence`
|
|
@@ -747,7 +747,7 @@ module Google
|
|
|
747
747
|
attr_accessor :enable_word_confidence
|
|
748
748
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
|
749
749
|
|
|
750
|
-
#
|
|
750
|
+
# Optional. If set to `true`, the server will attempt to filter out
|
|
751
751
|
# profanities, replacing all but the initial character in each filtered word
|
|
752
752
|
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
|
753
753
|
# won't be filtered out.
|
|
@@ -756,7 +756,7 @@ module Google
|
|
|
756
756
|
attr_accessor :filter_profanity
|
|
757
757
|
alias_method :filter_profanity?, :filter_profanity
|
|
758
758
|
|
|
759
|
-
# *Required* The language of the supplied audio as a
|
|
759
|
+
# Required. *Required* The language of the supplied audio as a
|
|
760
760
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
|
761
761
|
# Example: "en-US".
|
|
762
762
|
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
|
@@ -765,7 +765,7 @@ module Google
|
|
|
765
765
|
# @return [String]
|
|
766
766
|
attr_accessor :language_code
|
|
767
767
|
|
|
768
|
-
#
|
|
768
|
+
# Optional. Maximum number of recognition hypotheses to be returned.
|
|
769
769
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
|
770
770
|
# within each `SpeechTranscription`. The server may return fewer than
|
|
771
771
|
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
|
@@ -774,7 +774,7 @@ module Google
|
|
|
774
774
|
# @return [Fixnum]
|
|
775
775
|
attr_accessor :max_alternatives
|
|
776
776
|
|
|
777
|
-
#
|
|
777
|
+
# Optional. A means to provide context to assist the speech recognition.
|
|
778
778
|
# Corresponds to the JSON property `speechContexts`
|
|
779
779
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechContext>]
|
|
780
780
|
attr_accessor :speech_contexts
|
|
@@ -1676,10 +1676,10 @@ module Google
|
|
|
1676
1676
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
|
1677
1677
|
attr_accessor :alternatives
|
|
1678
1678
|
|
|
1679
|
-
# Output only. The
|
|
1680
|
-
#
|
|
1681
|
-
# language in this result. This language code was detected to have the
|
|
1682
|
-
# likelihood of being spoken in the audio.
|
|
1679
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
1680
|
+
# language tag of
|
|
1681
|
+
# the language in this result. This language code was detected to have the
|
|
1682
|
+
# most likelihood of being spoken in the audio.
|
|
1683
1683
|
# Corresponds to the JSON property `languageCode`
|
|
1684
1684
|
# @return [String]
|
|
1685
1685
|
attr_accessor :language_code
|
|
@@ -2487,10 +2487,10 @@ module Google
|
|
|
2487
2487
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
|
2488
2488
|
attr_accessor :alternatives
|
|
2489
2489
|
|
|
2490
|
-
# Output only. The
|
|
2491
|
-
#
|
|
2492
|
-
# language in this result. This language code was detected to have the
|
|
2493
|
-
# likelihood of being spoken in the audio.
|
|
2490
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
2491
|
+
# language tag of
|
|
2492
|
+
# the language in this result. This language code was detected to have the
|
|
2493
|
+
# most likelihood of being spoken in the audio.
|
|
2494
2494
|
# Corresponds to the JSON property `languageCode`
|
|
2495
2495
|
# @return [String]
|
|
2496
2496
|
attr_accessor :language_code
|
|
@@ -3298,10 +3298,10 @@ module Google
|
|
|
3298
3298
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
|
3299
3299
|
attr_accessor :alternatives
|
|
3300
3300
|
|
|
3301
|
-
# Output only. The
|
|
3302
|
-
#
|
|
3303
|
-
# language in this result. This language code was detected to have the
|
|
3304
|
-
# likelihood of being spoken in the audio.
|
|
3301
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
3302
|
+
# language tag of
|
|
3303
|
+
# the language in this result. This language code was detected to have the
|
|
3304
|
+
# most likelihood of being spoken in the audio.
|
|
3305
3305
|
# Corresponds to the JSON property `languageCode`
|
|
3306
3306
|
# @return [String]
|
|
3307
3307
|
attr_accessor :language_code
|
|
@@ -4175,10 +4175,10 @@ module Google
|
|
|
4175
4175
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
|
4176
4176
|
attr_accessor :alternatives
|
|
4177
4177
|
|
|
4178
|
-
# Output only. The
|
|
4179
|
-
#
|
|
4180
|
-
# language in this result. This language code was detected to have the
|
|
4181
|
-
# likelihood of being spoken in the audio.
|
|
4178
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
4179
|
+
# language tag of
|
|
4180
|
+
# the language in this result. This language code was detected to have the
|
|
4181
|
+
# most likelihood of being spoken in the audio.
|
|
4182
4182
|
# Corresponds to the JSON property `languageCode`
|
|
4183
4183
|
# @return [String]
|
|
4184
4184
|
attr_accessor :language_code
|
|
@@ -4376,8 +4376,7 @@ module Google
|
|
|
4376
4376
|
end
|
|
4377
4377
|
end
|
|
4378
4378
|
|
|
4379
|
-
# For tracking related features
|
|
4380
|
-
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
|
|
4379
|
+
# For tracking related features.
|
|
4381
4380
|
# An object at time_offset with attributes, and located with
|
|
4382
4381
|
# normalized_bounding_box.
|
|
4383
4382
|
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
|
28
28
|
module VideointelligenceV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20191028'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|