google-api-client 0.34.1 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +16 -3
- data/CHANGELOG.md +114 -0
- data/OVERVIEW.md +36 -0
- data/README.md +49 -1
- data/Rakefile +1 -1
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -4
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +75 -12
- data/generated/google/apis/compute_alpha/representations.rb +2 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +54 -10
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -10
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +13 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +13 -4
- data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +75 -4
- data/generated/google/apis/dataproc_v1/representations.rb +22 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
- data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4.rb +40 -0
- data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
- data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +68 -25
- data/generated/google/apis/dlp_v2/representations.rb +9 -4
- data/generated/google/apis/dlp_v2/service.rb +1925 -193
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +4 -8
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +18 -2
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +173 -97
- data/generated/google/apis/ml_v1/representations.rb +58 -0
- data/generated/google/apis/ml_v1/service.rb +37 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +780 -6
- data/generated/google/apis/monitoring_v3/representations.rb +347 -0
- data/generated/google/apis/monitoring_v3/service.rb +382 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +6 -7
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -169
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +229 -1207
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
- data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/service.rb +59 -10
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +1 -1
- metadata +33 -11
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
- data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191115'
|
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'
|
@@ -577,6 +577,11 @@ module Google
|
|
577
577
|
# @return [Fixnum]
|
578
578
|
attr_accessor :min_speaker_count
|
579
579
|
|
580
|
+
# Output only. Unused.
|
581
|
+
# Corresponds to the JSON property `speakerTag`
|
582
|
+
# @return [Fixnum]
|
583
|
+
attr_accessor :speaker_tag
|
584
|
+
|
580
585
|
def initialize(**args)
|
581
586
|
update!(**args)
|
582
587
|
end
|
@@ -586,6 +591,7 @@ module Google
|
|
586
591
|
@enable_speaker_diarization = args[:enable_speaker_diarization] if args.key?(:enable_speaker_diarization)
|
587
592
|
@max_speaker_count = args[:max_speaker_count] if args.key?(:max_speaker_count)
|
588
593
|
@min_speaker_count = args[:min_speaker_count] if args.key?(:min_speaker_count)
|
594
|
+
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
589
595
|
end
|
590
596
|
end
|
591
597
|
|
@@ -236,6 +236,7 @@ module Google
|
|
236
236
|
property :enable_speaker_diarization, as: 'enableSpeakerDiarization'
|
237
237
|
property :max_speaker_count, as: 'maxSpeakerCount'
|
238
238
|
property :min_speaker_count, as: 'minSpeakerCount'
|
239
|
+
property :speaker_tag, as: 'speakerTag'
|
239
240
|
end
|
240
241
|
end
|
241
242
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV1p1beta1
|
27
27
|
VERSION = 'V1p1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191115'
|
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'
|
@@ -627,6 +627,11 @@ module Google
|
|
627
627
|
# @return [Fixnum]
|
628
628
|
attr_accessor :min_speaker_count
|
629
629
|
|
630
|
+
# Output only. Unused.
|
631
|
+
# Corresponds to the JSON property `speakerTag`
|
632
|
+
# @return [Fixnum]
|
633
|
+
attr_accessor :speaker_tag
|
634
|
+
|
630
635
|
def initialize(**args)
|
631
636
|
update!(**args)
|
632
637
|
end
|
@@ -636,6 +641,7 @@ module Google
|
|
636
641
|
@enable_speaker_diarization = args[:enable_speaker_diarization] if args.key?(:enable_speaker_diarization)
|
637
642
|
@max_speaker_count = args[:max_speaker_count] if args.key?(:max_speaker_count)
|
638
643
|
@min_speaker_count = args[:min_speaker_count] if args.key?(:min_speaker_count)
|
644
|
+
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
639
645
|
end
|
640
646
|
end
|
641
647
|
|
@@ -241,6 +241,7 @@ module Google
|
|
241
241
|
property :enable_speaker_diarization, as: 'enableSpeakerDiarization'
|
242
242
|
property :max_speaker_count, as: 'maxSpeakerCount'
|
243
243
|
property :min_speaker_count, as: 'minSpeakerCount'
|
244
|
+
property :speaker_tag, as: 'speakerTag'
|
244
245
|
end
|
245
246
|
end
|
246
247
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-sql/
|
26
26
|
module SqlV1beta4
|
27
27
|
VERSION = 'V1beta4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191029'
|
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'
|
@@ -56,6 +56,11 @@ module Google
|
|
56
56
|
# The ID of the Backup Run to delete. To find a Backup Run ID, use the <a
|
57
57
|
# href="/sql/docs/db_path/admin-api/rest/v1beta4/backupRuns/list">list</a>
|
58
58
|
# method.
|
59
|
+
# @param [String] resource_name
|
60
|
+
# The name of the backupRun to delete.
|
61
|
+
# Format:
|
62
|
+
# projects/`project`/locations/`location`/instances/`instance`/backupRuns/`
|
63
|
+
# backupRun`
|
59
64
|
# @param [String] fields
|
60
65
|
# Selector specifying which fields to include in a partial response.
|
61
66
|
# @param [String] quota_user
|
@@ -73,13 +78,14 @@ module Google
|
|
73
78
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def delete_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
+
def delete_backup_run(project, instance, id, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
82
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options)
|
78
83
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
79
84
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
80
85
|
command.params['project'] = project unless project.nil?
|
81
86
|
command.params['instance'] = instance unless instance.nil?
|
82
87
|
command.params['id'] = id unless id.nil?
|
88
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
83
89
|
command.query['fields'] = fields unless fields.nil?
|
84
90
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
91
|
execute_or_queue_command(command, &block)
|
@@ -220,6 +226,11 @@ module Google
|
|
220
226
|
# Database instance ID. This does not include the project ID.
|
221
227
|
# @param [String] database
|
222
228
|
# Name of the database to be deleted in the instance.
|
229
|
+
# @param [String] resource_name
|
230
|
+
# The name of the database to delete.
|
231
|
+
# Format:
|
232
|
+
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
233
|
+
# database`
|
223
234
|
# @param [String] fields
|
224
235
|
# Selector specifying which fields to include in a partial response.
|
225
236
|
# @param [String] quota_user
|
@@ -237,13 +248,14 @@ module Google
|
|
237
248
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
238
249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
239
250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
240
|
-
def delete_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block)
|
251
|
+
def delete_database(project, instance, database, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
241
252
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
242
253
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
243
254
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
244
255
|
command.params['project'] = project unless project.nil?
|
245
256
|
command.params['instance'] = instance unless instance.nil?
|
246
257
|
command.params['database'] = database unless database.nil?
|
258
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
247
259
|
command.query['fields'] = fields unless fields.nil?
|
248
260
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
249
261
|
execute_or_queue_command(command, &block)
|
@@ -379,6 +391,11 @@ module Google
|
|
379
391
|
# @param [String] database
|
380
392
|
# Name of the database to be updated in the instance.
|
381
393
|
# @param [Google::Apis::SqlV1beta4::Database] database_object
|
394
|
+
# @param [String] resource_name
|
395
|
+
# The name of the database for Cloud SQL to update.
|
396
|
+
# Format:
|
397
|
+
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
398
|
+
# database`
|
382
399
|
# @param [String] fields
|
383
400
|
# Selector specifying which fields to include in a partial response.
|
384
401
|
# @param [String] quota_user
|
@@ -396,7 +413,7 @@ module Google
|
|
396
413
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
397
414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
398
415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
399
|
-
def patch_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
416
|
+
def patch_database(project, instance, database, database_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
400
417
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
401
418
|
command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
|
402
419
|
command.request_object = database_object
|
@@ -405,6 +422,7 @@ module Google
|
|
405
422
|
command.params['project'] = project unless project.nil?
|
406
423
|
command.params['instance'] = instance unless instance.nil?
|
407
424
|
command.params['database'] = database unless database.nil?
|
425
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
408
426
|
command.query['fields'] = fields unless fields.nil?
|
409
427
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
410
428
|
execute_or_queue_command(command, &block)
|
@@ -419,6 +437,11 @@ module Google
|
|
419
437
|
# @param [String] database
|
420
438
|
# Name of the database to be updated in the instance.
|
421
439
|
# @param [Google::Apis::SqlV1beta4::Database] database_object
|
440
|
+
# @param [String] resource_name
|
441
|
+
# The name of the database for Cloud SQL to update.
|
442
|
+
# Format:
|
443
|
+
# projects/`project`/locations/`location`/instances/`instance`/databases/`
|
444
|
+
# database`
|
422
445
|
# @param [String] fields
|
423
446
|
# Selector specifying which fields to include in a partial response.
|
424
447
|
# @param [String] quota_user
|
@@ -436,7 +459,7 @@ module Google
|
|
436
459
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
437
460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
438
461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
439
|
-
def update_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
462
|
+
def update_database(project, instance, database, database_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
440
463
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options)
|
441
464
|
command.request_representation = Google::Apis::SqlV1beta4::Database::Representation
|
442
465
|
command.request_object = database_object
|
@@ -445,6 +468,7 @@ module Google
|
|
445
468
|
command.params['project'] = project unless project.nil?
|
446
469
|
command.params['instance'] = instance unless instance.nil?
|
447
470
|
command.params['database'] = database unless database.nil?
|
471
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
448
472
|
command.query['fields'] = fields unless fields.nil?
|
449
473
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
450
474
|
execute_or_queue_command(command, &block)
|
@@ -568,6 +592,9 @@ module Google
|
|
568
592
|
# Project ID of the project that contains the instance to be deleted.
|
569
593
|
# @param [String] instance
|
570
594
|
# Cloud SQL instance ID. This does not include the project ID.
|
595
|
+
# @param [String] resource_name
|
596
|
+
# The name of database instance to delete.
|
597
|
+
# Format: projects/`project`/locations/`location`/instances/`instance`
|
571
598
|
# @param [String] fields
|
572
599
|
# Selector specifying which fields to include in a partial response.
|
573
600
|
# @param [String] quota_user
|
@@ -585,12 +612,13 @@ module Google
|
|
585
612
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
586
613
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
587
614
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
588
|
-
def delete_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
615
|
+
def delete_instance(project, instance, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
589
616
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
590
617
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
591
618
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
592
619
|
command.params['project'] = project unless project.nil?
|
593
620
|
command.params['instance'] = instance unless instance.nil?
|
621
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
594
622
|
command.query['fields'] = fields unless fields.nil?
|
595
623
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
596
624
|
execute_or_queue_command(command, &block)
|
@@ -925,6 +953,9 @@ module Google
|
|
925
953
|
# @param [String] instance
|
926
954
|
# Cloud SQL instance ID. This does not include the project ID.
|
927
955
|
# @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
|
956
|
+
# @param [String] resource_name
|
957
|
+
# The name of the database instance for Cloud SQL to update.
|
958
|
+
# Format: projects/`project`/locations/`location`/instances/`instance`
|
928
959
|
# @param [String] fields
|
929
960
|
# Selector specifying which fields to include in a partial response.
|
930
961
|
# @param [String] quota_user
|
@@ -942,7 +973,7 @@ module Google
|
|
942
973
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
943
974
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
944
975
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
945
|
-
def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
976
|
+
def patch_instance(project, instance, database_instance_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
946
977
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
947
978
|
command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
|
948
979
|
command.request_object = database_instance_object
|
@@ -950,6 +981,7 @@ module Google
|
|
950
981
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
951
982
|
command.params['project'] = project unless project.nil?
|
952
983
|
command.params['instance'] = instance unless instance.nil?
|
984
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
953
985
|
command.query['fields'] = fields unless fields.nil?
|
954
986
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
955
987
|
execute_or_queue_command(command, &block)
|
@@ -1276,6 +1308,9 @@ module Google
|
|
1276
1308
|
# @param [String] instance
|
1277
1309
|
# Cloud SQL instance ID. This does not include the project ID.
|
1278
1310
|
# @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object
|
1311
|
+
# @param [String] resource_name
|
1312
|
+
# The name of the database instance for Cloud SQL to update.
|
1313
|
+
# Format: projects/`project`/locations/`location`/instances/`instance`
|
1279
1314
|
# @param [String] fields
|
1280
1315
|
# Selector specifying which fields to include in a partial response.
|
1281
1316
|
# @param [String] quota_user
|
@@ -1293,7 +1328,7 @@ module Google
|
|
1293
1328
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1294
1329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1295
1330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1296
|
-
def update_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1331
|
+
def update_instance(project, instance, database_instance_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1297
1332
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
1298
1333
|
command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation
|
1299
1334
|
command.request_object = database_instance_object
|
@@ -1301,6 +1336,7 @@ module Google
|
|
1301
1336
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
1302
1337
|
command.params['project'] = project unless project.nil?
|
1303
1338
|
command.params['instance'] = instance unless instance.nil?
|
1339
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
1304
1340
|
command.query['fields'] = fields unless fields.nil?
|
1305
1341
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1306
1342
|
execute_or_queue_command(command, &block)
|
@@ -1437,6 +1473,10 @@ module Google
|
|
1437
1473
|
# Cloud SQL instance ID. This does not include the project ID.
|
1438
1474
|
# @param [String] sha1_fingerprint
|
1439
1475
|
# Sha1 FingerPrint.
|
1476
|
+
# @param [String] resource_name
|
1477
|
+
# The name of SSL certificate to delete.
|
1478
|
+
# Format:
|
1479
|
+
# projects/`project`/locations/`location`/instances/`instance`/sslCerts/`sslCert`
|
1440
1480
|
# @param [String] fields
|
1441
1481
|
# Selector specifying which fields to include in a partial response.
|
1442
1482
|
# @param [String] quota_user
|
@@ -1454,13 +1494,14 @@ module Google
|
|
1454
1494
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1455
1495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1456
1496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1457
|
-
def delete_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block)
|
1497
|
+
def delete_ssl_cert(project, instance, sha1_fingerprint, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1458
1498
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options)
|
1459
1499
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
1460
1500
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
1461
1501
|
command.params['project'] = project unless project.nil?
|
1462
1502
|
command.params['instance'] = instance unless instance.nil?
|
1463
1503
|
command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil?
|
1504
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
1464
1505
|
command.query['fields'] = fields unless fields.nil?
|
1465
1506
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1466
1507
|
execute_or_queue_command(command, &block)
|
@@ -1629,6 +1670,9 @@ module Google
|
|
1629
1670
|
# Host of the user in the instance.
|
1630
1671
|
# @param [String] name
|
1631
1672
|
# Name of the user in the instance.
|
1673
|
+
# @param [String] resource_name
|
1674
|
+
# The name of the user to delete.
|
1675
|
+
# Format: projects/`project`/locations/`location`/instances/`instance`/users
|
1632
1676
|
# @param [String] fields
|
1633
1677
|
# Selector specifying which fields to include in a partial response.
|
1634
1678
|
# @param [String] quota_user
|
@@ -1646,7 +1690,7 @@ module Google
|
|
1646
1690
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1647
1691
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1648
1692
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1649
|
-
def delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1693
|
+
def delete_user(project, instance, host: nil, name: nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1650
1694
|
command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
1651
1695
|
command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation
|
1652
1696
|
command.response_class = Google::Apis::SqlV1beta4::Operation
|
@@ -1654,6 +1698,7 @@ module Google
|
|
1654
1698
|
command.params['instance'] = instance unless instance.nil?
|
1655
1699
|
command.query['host'] = host unless host.nil?
|
1656
1700
|
command.query['name'] = name unless name.nil?
|
1701
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
1657
1702
|
command.query['fields'] = fields unless fields.nil?
|
1658
1703
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1659
1704
|
execute_or_queue_command(command, &block)
|
@@ -1747,6 +1792,9 @@ module Google
|
|
1747
1792
|
# a PostgreSQL instance, it's optional.
|
1748
1793
|
# @param [String] name
|
1749
1794
|
# Name of the user in the instance.
|
1795
|
+
# @param [String] resource_name
|
1796
|
+
# The name of the user for Cloud SQL to update.
|
1797
|
+
# Format: projects/`project`/locations/`location`/instances/`instance`/users
|
1750
1798
|
# @param [String] fields
|
1751
1799
|
# Selector specifying which fields to include in a partial response.
|
1752
1800
|
# @param [String] quota_user
|
@@ -1764,7 +1812,7 @@ module Google
|
|
1764
1812
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1765
1813
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1766
1814
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1767
|
-
def update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1815
|
+
def update_user(project, instance, user_object = nil, host: nil, name: nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1768
1816
|
command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options)
|
1769
1817
|
command.request_representation = Google::Apis::SqlV1beta4::User::Representation
|
1770
1818
|
command.request_object = user_object
|
@@ -1774,6 +1822,7 @@ module Google
|
|
1774
1822
|
command.params['instance'] = instance unless instance.nil?
|
1775
1823
|
command.query['host'] = host unless host.nil?
|
1776
1824
|
command.query['name'] = name unless name.nil?
|
1825
|
+
command.query['resourceName'] = resource_name unless resource_name.nil?
|
1777
1826
|
command.query['fields'] = fields unless fields.nil?
|
1778
1827
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1779
1828
|
execute_or_queue_command(command, &block)
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/storage-transfer/docs
|
27
27
|
module StoragetransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191118'
|
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'
|
@@ -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 = '20191109'
|
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'
|
@@ -3710,6 +3710,87 @@ module Google
|
|
3710
3710
|
end
|
3711
3711
|
end
|
3712
3712
|
|
3713
|
+
# Celebrity definition.
|
3714
|
+
class GoogleCloudVideointelligenceV1p3beta1Celebrity
|
3715
|
+
include Google::Apis::Core::Hashable
|
3716
|
+
|
3717
|
+
# Textual description of additional information about the celebrity, if
|
3718
|
+
# applicable.
|
3719
|
+
# Corresponds to the JSON property `description`
|
3720
|
+
# @return [String]
|
3721
|
+
attr_accessor :description
|
3722
|
+
|
3723
|
+
# The celebrity name.
|
3724
|
+
# Corresponds to the JSON property `displayName`
|
3725
|
+
# @return [String]
|
3726
|
+
attr_accessor :display_name
|
3727
|
+
|
3728
|
+
# The resource name of the celebrity. Have the format
|
3729
|
+
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
|
3730
|
+
# kg-mid is the id in Google knowledge graph, which is unique for the
|
3731
|
+
# celebrity.
|
3732
|
+
# Corresponds to the JSON property `name`
|
3733
|
+
# @return [String]
|
3734
|
+
attr_accessor :name
|
3735
|
+
|
3736
|
+
def initialize(**args)
|
3737
|
+
update!(**args)
|
3738
|
+
end
|
3739
|
+
|
3740
|
+
# Update properties of this object
|
3741
|
+
def update!(**args)
|
3742
|
+
@description = args[:description] if args.key?(:description)
|
3743
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3744
|
+
@name = args[:name] if args.key?(:name)
|
3745
|
+
end
|
3746
|
+
end
|
3747
|
+
|
3748
|
+
# Celebrity recognition annotation per video.
|
3749
|
+
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
|
3750
|
+
include Google::Apis::Core::Hashable
|
3751
|
+
|
3752
|
+
# The tracks detected from the input video, including recognized celebrities
|
3753
|
+
# and other detected faces in the video.
|
3754
|
+
# Corresponds to the JSON property `celebrityTracks`
|
3755
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
|
3756
|
+
attr_accessor :celebrity_tracks
|
3757
|
+
|
3758
|
+
def initialize(**args)
|
3759
|
+
update!(**args)
|
3760
|
+
end
|
3761
|
+
|
3762
|
+
# Update properties of this object
|
3763
|
+
def update!(**args)
|
3764
|
+
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
|
3765
|
+
end
|
3766
|
+
end
|
3767
|
+
|
3768
|
+
# The annotation result of a celebrity face track. RecognizedCelebrity field
|
3769
|
+
# could be empty if the face track does not have any matched celebrities.
|
3770
|
+
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
|
3771
|
+
include Google::Apis::Core::Hashable
|
3772
|
+
|
3773
|
+
# Top N match of the celebrities for the face in this track.
|
3774
|
+
# Corresponds to the JSON property `celebrities`
|
3775
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
|
3776
|
+
attr_accessor :celebrities
|
3777
|
+
|
3778
|
+
# A track of an object instance.
|
3779
|
+
# Corresponds to the JSON property `faceTrack`
|
3780
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track]
|
3781
|
+
attr_accessor :face_track
|
3782
|
+
|
3783
|
+
def initialize(**args)
|
3784
|
+
update!(**args)
|
3785
|
+
end
|
3786
|
+
|
3787
|
+
# Update properties of this object
|
3788
|
+
def update!(**args)
|
3789
|
+
@celebrities = args[:celebrities] if args.key?(:celebrities)
|
3790
|
+
@face_track = args[:face_track] if args.key?(:face_track)
|
3791
|
+
end
|
3792
|
+
end
|
3793
|
+
|
3713
3794
|
# A generic detected attribute represented by name in string format.
|
3714
3795
|
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
|
3715
3796
|
include Google::Apis::Core::Hashable
|
@@ -4125,6 +4206,31 @@ module Google
|
|
4125
4206
|
end
|
4126
4207
|
end
|
4127
4208
|
|
4209
|
+
# The recognized celebrity with confidence score.
|
4210
|
+
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
|
4211
|
+
include Google::Apis::Core::Hashable
|
4212
|
+
|
4213
|
+
# Celebrity definition.
|
4214
|
+
# Corresponds to the JSON property `celebrity`
|
4215
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
|
4216
|
+
attr_accessor :celebrity
|
4217
|
+
|
4218
|
+
# Recognition confidence. Range [0, 1].
|
4219
|
+
# Corresponds to the JSON property `confidence`
|
4220
|
+
# @return [Float]
|
4221
|
+
attr_accessor :confidence
|
4222
|
+
|
4223
|
+
def initialize(**args)
|
4224
|
+
update!(**args)
|
4225
|
+
end
|
4226
|
+
|
4227
|
+
# Update properties of this object
|
4228
|
+
def update!(**args)
|
4229
|
+
@celebrity = args[:celebrity] if args.key?(:celebrity)
|
4230
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4231
|
+
end
|
4232
|
+
end
|
4233
|
+
|
4128
4234
|
# Alternative hypotheses (a.k.a. n-best list).
|
4129
4235
|
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
|
4130
4236
|
include Google::Apis::Core::Hashable
|
@@ -4505,6 +4611,11 @@ module Google
|
|
4505
4611
|
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
|
4506
4612
|
include Google::Apis::Core::Hashable
|
4507
4613
|
|
4614
|
+
# Celebrity recognition annotation per video.
|
4615
|
+
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
|
4616
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
|
4617
|
+
attr_accessor :celebrity_recognition_annotations
|
4618
|
+
|
4508
4619
|
# The `Status` type defines a logical error model that is suitable for
|
4509
4620
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4510
4621
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
@@ -4603,6 +4714,7 @@ module Google
|
|
4603
4714
|
|
4604
4715
|
# Update properties of this object
|
4605
4716
|
def update!(**args)
|
4717
|
+
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
4606
4718
|
@error = args[:error] if args.key?(:error)
|
4607
4719
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
4608
4720
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|