google-api-client 0.31.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV2beta
|
27
27
|
VERSION = 'V2beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190918'
|
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'
|
@@ -309,9 +309,9 @@ module Google
|
|
309
309
|
# in the top hypothesis.
|
310
310
|
# This is an experimental feature and the accuracy of the time offset can
|
311
311
|
# vary.
|
312
|
-
# Corresponds to the JSON property `
|
312
|
+
# Corresponds to the JSON property `endOffset`
|
313
313
|
# @return [String]
|
314
|
-
attr_accessor :
|
314
|
+
attr_accessor :end_offset
|
315
315
|
|
316
316
|
# Output only. A distinct integer value is assigned for every speaker within
|
317
317
|
# the audio. This field specifies which one of those speakers was detected to
|
@@ -328,9 +328,9 @@ module Google
|
|
328
328
|
# in the top hypothesis.
|
329
329
|
# This is an experimental feature and the accuracy of the time offset can
|
330
330
|
# vary.
|
331
|
-
# Corresponds to the JSON property `
|
331
|
+
# Corresponds to the JSON property `startOffset`
|
332
332
|
# @return [String]
|
333
|
-
attr_accessor :
|
333
|
+
attr_accessor :start_offset
|
334
334
|
|
335
335
|
# Output only. The word corresponding to this set of information.
|
336
336
|
# Corresponds to the JSON property `word`
|
@@ -344,9 +344,9 @@ module Google
|
|
344
344
|
# Update properties of this object
|
345
345
|
def update!(**args)
|
346
346
|
@confidence = args[:confidence] if args.key?(:confidence)
|
347
|
-
@
|
347
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
348
348
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
349
|
-
@
|
349
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
350
350
|
@word = args[:word] if args.key?(:word)
|
351
351
|
end
|
352
352
|
end
|
@@ -141,9 +141,9 @@ module Google
|
|
141
141
|
# @private
|
142
142
|
class Representation < Google::Apis::Core::JsonRepresentation
|
143
143
|
property :confidence, as: 'confidence'
|
144
|
-
property :
|
144
|
+
property :end_offset, as: 'endOffset'
|
145
145
|
property :speaker_tag, as: 'speakerTag'
|
146
|
-
property :
|
146
|
+
property :start_offset, as: 'startOffset'
|
147
147
|
property :word, as: 'word'
|
148
148
|
end
|
149
149
|
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 = '20190910'
|
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'
|
@@ -371,7 +371,7 @@ module Google
|
|
371
371
|
# uniformBucketLevelAccess.enabled may be changed from true to false until the
|
372
372
|
# locked time, after which the field is immutable.
|
373
373
|
# Corresponds to the JSON property `lockedTime`
|
374
|
-
# @return [
|
374
|
+
# @return [DateTime]
|
375
375
|
attr_accessor :locked_time
|
376
376
|
|
377
377
|
def initialize(**args)
|
@@ -365,7 +365,8 @@ module Google
|
|
365
365
|
# @private
|
366
366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
367
367
|
property :enabled, as: 'enabled'
|
368
|
-
property :locked_time, as: 'lockedTime'
|
368
|
+
property :locked_time, as: 'lockedTime', type: DateTime
|
369
|
+
|
369
370
|
end
|
370
371
|
end
|
371
372
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190913'
|
29
29
|
|
30
30
|
# Manage your data and permissions in Google Cloud Storage
|
31
31
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190913'
|
29
29
|
|
30
30
|
# Manage your data and permissions in Google Cloud Storage
|
31
31
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/streetview/publish/
|
28
28
|
module StreetviewpublishV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190917'
|
31
31
|
|
32
32
|
# Publish and manage your 360 photos on Google Street View
|
33
33
|
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
@@ -620,7 +620,7 @@ module Google
|
|
620
620
|
# @return [Google::Apis::StreetviewpublishV1::Photo]
|
621
621
|
attr_accessor :photo
|
622
622
|
|
623
|
-
# Mask that identifies fields on the photo metadata to update.
|
623
|
+
# Required. Mask that identifies fields on the photo metadata to update.
|
624
624
|
# If not present, the old Photo
|
625
625
|
# metadata is entirely replaced with the
|
626
626
|
# new Photo metadata in this request.
|
@@ -146,7 +146,8 @@ module Google
|
|
146
146
|
# If language_code is unspecified, the user's language preference for Google
|
147
147
|
# services is used.
|
148
148
|
# @param [String] view
|
149
|
-
# Specifies if a download URL for the photo bytes should be returned
|
149
|
+
# Required. Specifies if a download URL for the photo bytes should be returned
|
150
|
+
# in the
|
150
151
|
# Photo response.
|
151
152
|
# @param [String] fields
|
152
153
|
# Selector specifying which fields to include in a partial response.
|
@@ -241,7 +242,7 @@ module Google
|
|
241
242
|
# Required. A unique identifier for a photo.
|
242
243
|
# @param [Google::Apis::StreetviewpublishV1::Photo] photo_object
|
243
244
|
# @param [String] update_mask
|
244
|
-
# Mask that identifies fields on the photo metadata to update.
|
245
|
+
# Required. Mask that identifies fields on the photo metadata to update.
|
245
246
|
# If not present, the old Photo
|
246
247
|
# metadata is entirely replaced with the
|
247
248
|
# new Photo metadata in this request.
|
@@ -363,7 +364,8 @@ module Google
|
|
363
364
|
# GET requests, the URL query parameter should be
|
364
365
|
# `photoIds=<id1>&photoIds=<id2>&...`.
|
365
366
|
# @param [String] view
|
366
|
-
# Specifies if a download URL for the photo bytes should be returned
|
367
|
+
# Required. Specifies if a download URL for the photo bytes should be returned
|
368
|
+
# in the
|
367
369
|
# Photo response.
|
368
370
|
# @param [String] fields
|
369
371
|
# Selector specifying which fields to include in a partial response.
|
@@ -457,7 +459,8 @@ module Google
|
|
457
459
|
# <aside class="note"><b>Note:</b> Recently created photos that are still
|
458
460
|
# being indexed are not returned in the response.</aside>
|
459
461
|
# @param [String] filter
|
460
|
-
# The filter expression. For example: `placeId=
|
462
|
+
# Required. The filter expression. For example: `placeId=
|
463
|
+
# ChIJj61dQgK6j4AR4GeTYWZsKWw`.
|
461
464
|
# The only filter supported at the moment is `placeId`.
|
462
465
|
# @param [String] language_code
|
463
466
|
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
@@ -478,7 +481,8 @@ module Google
|
|
478
481
|
# ListPhotos
|
479
482
|
# request, if any.
|
480
483
|
# @param [String] view
|
481
|
-
# Specifies if a download URL for the photos bytes should be returned
|
484
|
+
# Required. Specifies if a download URL for the photos bytes should be returned
|
485
|
+
# in the
|
482
486
|
# Photos response.
|
483
487
|
# @param [String] fields
|
484
488
|
# Selector specifying which fields to include in a partial response.
|
@@ -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 = '20190924'
|
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'
|
@@ -1296,6 +1296,40 @@ module Google
|
|
1296
1296
|
end
|
1297
1297
|
end
|
1298
1298
|
|
1299
|
+
# A test of an iOS application that implements one or more game loop scenarios.
|
1300
|
+
# This test type accepts an archived application (.ipa file) and a list of
|
1301
|
+
# integer scenarios that will be executed on the app sequentially.
|
1302
|
+
class IosTestLoop
|
1303
|
+
include Google::Apis::Core::Hashable
|
1304
|
+
|
1305
|
+
# Output only. The bundle id for the application under test.
|
1306
|
+
# Corresponds to the JSON property `appBundleId`
|
1307
|
+
# @return [String]
|
1308
|
+
attr_accessor :app_bundle_id
|
1309
|
+
|
1310
|
+
# A reference to a file, used for user inputs.
|
1311
|
+
# Corresponds to the JSON property `appIpa`
|
1312
|
+
# @return [Google::Apis::TestingV1::FileReference]
|
1313
|
+
attr_accessor :app_ipa
|
1314
|
+
|
1315
|
+
# The list of scenarios that should be run during the test. Defaults to the
|
1316
|
+
# single scenario 0 if unspecified.
|
1317
|
+
# Corresponds to the JSON property `scenarios`
|
1318
|
+
# @return [Array<Fixnum>]
|
1319
|
+
attr_accessor :scenarios
|
1320
|
+
|
1321
|
+
def initialize(**args)
|
1322
|
+
update!(**args)
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# Update properties of this object
|
1326
|
+
def update!(**args)
|
1327
|
+
@app_bundle_id = args[:app_bundle_id] if args.key?(:app_bundle_id)
|
1328
|
+
@app_ipa = args[:app_ipa] if args.key?(:app_ipa)
|
1329
|
+
@scenarios = args[:scenarios] if args.key?(:scenarios)
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1299
1333
|
# A description of how to set up an iOS device prior to running the test.
|
1300
1334
|
class IosTestSetup
|
1301
1335
|
include Google::Apis::Core::Hashable
|
@@ -2107,6 +2141,13 @@ module Google
|
|
2107
2141
|
attr_accessor :disable_video_recording
|
2108
2142
|
alias_method :disable_video_recording?, :disable_video_recording
|
2109
2143
|
|
2144
|
+
# A test of an iOS application that implements one or more game loop scenarios.
|
2145
|
+
# This test type accepts an archived application (.ipa file) and a list of
|
2146
|
+
# integer scenarios that will be executed on the app sequentially.
|
2147
|
+
# Corresponds to the JSON property `iosTestLoop`
|
2148
|
+
# @return [Google::Apis::TestingV1::IosTestLoop]
|
2149
|
+
attr_accessor :ios_test_loop
|
2150
|
+
|
2110
2151
|
# A description of how to set up an iOS device prior to running the test.
|
2111
2152
|
# Corresponds to the JSON property `iosTestSetup`
|
2112
2153
|
# @return [Google::Apis::TestingV1::IosTestSetup]
|
@@ -2145,6 +2186,7 @@ module Google
|
|
2145
2186
|
@android_test_loop = args[:android_test_loop] if args.key?(:android_test_loop)
|
2146
2187
|
@disable_performance_metrics = args[:disable_performance_metrics] if args.key?(:disable_performance_metrics)
|
2147
2188
|
@disable_video_recording = args[:disable_video_recording] if args.key?(:disable_video_recording)
|
2189
|
+
@ios_test_loop = args[:ios_test_loop] if args.key?(:ios_test_loop)
|
2148
2190
|
@ios_test_setup = args[:ios_test_setup] if args.key?(:ios_test_setup)
|
2149
2191
|
@ios_xc_test = args[:ios_xc_test] if args.key?(:ios_xc_test)
|
2150
2192
|
@test_setup = args[:test_setup] if args.key?(:test_setup)
|
@@ -226,6 +226,12 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class IosTestLoop
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
229
235
|
class IosTestSetup
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
@@ -738,6 +744,16 @@ module Google
|
|
738
744
|
end
|
739
745
|
end
|
740
746
|
|
747
|
+
class IosTestLoop
|
748
|
+
# @private
|
749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
750
|
+
property :app_bundle_id, as: 'appBundleId'
|
751
|
+
property :app_ipa, as: 'appIpa', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
752
|
+
|
753
|
+
collection :scenarios, as: 'scenarios'
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
741
757
|
class IosTestSetup
|
742
758
|
# @private
|
743
759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -970,6 +986,8 @@ module Google
|
|
970
986
|
|
971
987
|
property :disable_performance_metrics, as: 'disablePerformanceMetrics'
|
972
988
|
property :disable_video_recording, as: 'disableVideoRecording'
|
989
|
+
property :ios_test_loop, as: 'iosTestLoop', class: Google::Apis::TestingV1::IosTestLoop, decorator: Google::Apis::TestingV1::IosTestLoop::Representation
|
990
|
+
|
973
991
|
property :ios_test_setup, as: 'iosTestSetup', class: Google::Apis::TestingV1::IosTestSetup, decorator: Google::Apis::TestingV1::IosTestSetup::Representation
|
974
992
|
|
975
993
|
property :ios_xc_test, as: 'iosXcTest', class: Google::Apis::TestingV1::IosXcTest, decorator: Google::Apis::TestingV1::IosXcTest::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
26
26
|
module TexttospeechV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190920'
|
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'
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
# @return [Float]
|
49
49
|
attr_accessor :pitch
|
50
50
|
|
51
|
-
# The synthesis sample rate (in hertz) for this audio.
|
51
|
+
# Optional. The synthesis sample rate (in hertz) for this audio. When this is
|
52
52
|
# specified in SynthesizeSpeechRequest, if this is different from the voice's
|
53
53
|
# natural sample rate, then the synthesizer will honor this request by
|
54
54
|
# converting to the desired sample rate (which might result in worse audio
|
@@ -245,9 +245,10 @@ module Google
|
|
245
245
|
class VoiceSelectionParams
|
246
246
|
include Google::Apis::Core::Hashable
|
247
247
|
|
248
|
-
# The language (and
|
248
|
+
# Required. The language (and potentially also the region) of the voice
|
249
|
+
# expressed as a
|
249
250
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g.
|
250
|
-
# "en-US".
|
251
|
+
# "en-US". This should not include a script tag (e.g. use
|
251
252
|
# "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred
|
252
253
|
# from the input provided in the SynthesisInput. The TTS service
|
253
254
|
# will use this parameter to help choose an appropriate voice. Note that
|
@@ -260,13 +261,13 @@ module Google
|
|
260
261
|
# @return [String]
|
261
262
|
attr_accessor :language_code
|
262
263
|
|
263
|
-
# The name of the voice.
|
264
|
+
# The name of the voice. If not set, the service will choose a
|
264
265
|
# voice based on the other parameters such as language_code and gender.
|
265
266
|
# Corresponds to the JSON property `name`
|
266
267
|
# @return [String]
|
267
268
|
attr_accessor :name
|
268
269
|
|
269
|
-
# The preferred gender of the voice.
|
270
|
+
# The preferred gender of the voice. If not set, the service will
|
270
271
|
# choose a voice based on the other parameters such as language_code and
|
271
272
|
# name. Note that this is only a preference, not requirement; if a
|
272
273
|
# voice of the appropriate gender is not available, the synthesizer should
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
|
81
81
|
# Returns a list of Voice supported for synthesis.
|
82
82
|
# @param [String] language_code
|
83
|
-
# Optional
|
83
|
+
# Optional. Recommended.
|
84
84
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
|
85
85
|
# specified, the ListVoices call will only return voices that can be used to
|
86
86
|
# synthesize this language_code. E.g. when specifying "en-NZ", you will get
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
26
26
|
module TexttospeechV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190920'
|
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'
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
# @return [Float]
|
49
49
|
attr_accessor :pitch
|
50
50
|
|
51
|
-
# The synthesis sample rate (in hertz) for this audio.
|
51
|
+
# Optional. The synthesis sample rate (in hertz) for this audio. When this is
|
52
52
|
# specified in SynthesizeSpeechRequest, if this is different from the voice's
|
53
53
|
# natural sample rate, then the synthesizer will honor this request by
|
54
54
|
# converting to the desired sample rate (which might result in worse audio
|
@@ -245,9 +245,10 @@ module Google
|
|
245
245
|
class VoiceSelectionParams
|
246
246
|
include Google::Apis::Core::Hashable
|
247
247
|
|
248
|
-
# The language (and
|
248
|
+
# Required. The language (and potentially also the region) of the voice
|
249
|
+
# expressed as a
|
249
250
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g.
|
250
|
-
# "en-US".
|
251
|
+
# "en-US". This should not include a script tag (e.g. use
|
251
252
|
# "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred
|
252
253
|
# from the input provided in the SynthesisInput. The TTS service
|
253
254
|
# will use this parameter to help choose an appropriate voice. Note that
|
@@ -260,13 +261,13 @@ module Google
|
|
260
261
|
# @return [String]
|
261
262
|
attr_accessor :language_code
|
262
263
|
|
263
|
-
# The name of the voice.
|
264
|
+
# The name of the voice. If not set, the service will choose a
|
264
265
|
# voice based on the other parameters such as language_code and gender.
|
265
266
|
# Corresponds to the JSON property `name`
|
266
267
|
# @return [String]
|
267
268
|
attr_accessor :name
|
268
269
|
|
269
|
-
# The preferred gender of the voice.
|
270
|
+
# The preferred gender of the voice. If not set, the service will
|
270
271
|
# choose a voice based on the other parameters such as language_code and
|
271
272
|
# name. Note that this is only a preference, not requirement; if a
|
272
273
|
# voice of the appropriate gender is not available, the synthesizer should
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
|
81
81
|
# Returns a list of Voice supported for synthesis.
|
82
82
|
# @param [String] language_code
|
83
|
-
# Optional
|
83
|
+
# Optional. Recommended.
|
84
84
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
|
85
85
|
# specified, the ListVoices call will only return voices that can be used to
|
86
86
|
# synthesize this language_code. E.g. when specifying "en-NZ", you will get
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
26
26
|
module ToolresultsV1beta3
|
27
27
|
VERSION = 'V1beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190924'
|
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'
|
@@ -1893,7 +1893,7 @@ module Google
|
|
1893
1893
|
# 100 to COMPLETE
|
1894
1894
|
# A Step can be updated until its state is set to COMPLETE at which points it
|
1895
1895
|
# becomes immutable.
|
1896
|
-
# Next tag:
|
1896
|
+
# Next tag: 27
|
1897
1897
|
class Step
|
1898
1898
|
include Google::Apis::Core::Hashable
|
1899
1899
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/translate/docs/quickstarts
|
26
26
|
module TranslateV3beta1
|
27
27
|
VERSION = 'V3beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190924'
|
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'
|
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
# (Unicode codepoints), can only contain lowercase letters, numeric
|
46
46
|
# characters, underscores and dashes. International characters are allowed.
|
47
47
|
# Label values are optional. Label keys must start with a letter.
|
48
|
-
# See https://
|
48
|
+
# See https://cloud.google.com/translate/docs/labels for more information.
|
49
49
|
# Corresponds to the JSON property `labels`
|
50
50
|
# @return [Hash<String,String>]
|
51
51
|
attr_accessor :labels
|
@@ -55,10 +55,10 @@ module Google
|
|
55
55
|
# or an AutoML Translation model.
|
56
56
|
# The value format depends on model type:
|
57
57
|
# - AutoML Translation models:
|
58
|
-
# `projects/`project-id`/locations/`location-id`/models/`model-id``
|
58
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
|
59
59
|
# - General (built-in) models:
|
60
|
-
# `projects/`project-id`/locations/`location-id`/models/general/nmt`,
|
61
|
-
# `projects/`project-id`/locations/`location-id`/models/general/base`
|
60
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
61
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
62
62
|
# If the map is empty or a specific model is
|
63
63
|
# not requested for a language pair, then default google model (nmt) is used.
|
64
64
|
# Corresponds to the JSON property `models`
|
@@ -123,7 +123,7 @@ module Google
|
|
123
123
|
# (Unicode codepoints), can only contain lowercase letters, numeric
|
124
124
|
# characters, underscores and dashes. International characters are allowed.
|
125
125
|
# Label values are optional. Label keys must start with a letter.
|
126
|
-
# See https://
|
126
|
+
# See https://cloud.google.com/translate/docs/labels for more information.
|
127
127
|
# Corresponds to the JSON property `labels`
|
128
128
|
# @return [Hash<String,String>]
|
129
129
|
attr_accessor :labels
|
@@ -136,11 +136,11 @@ module Google
|
|
136
136
|
|
137
137
|
# Optional. The language detection model to be used.
|
138
138
|
# Format:
|
139
|
-
# `projects/`project-id`/locations/`location-id`/models/language-
|
140
|
-
# model-id``
|
139
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/language-
|
140
|
+
# detection/`model-id``
|
141
141
|
# Only one language detection model is currently supported:
|
142
|
-
# `projects/`project-id`/locations/`location-id`/models/language-
|
143
|
-
# default`.
|
142
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/language-
|
143
|
+
# detection/default`.
|
144
144
|
# If not specified, the default model is used.
|
145
145
|
# Corresponds to the JSON property `model`
|
146
146
|
# @return [String]
|
@@ -294,7 +294,8 @@ module Google
|
|
294
294
|
attr_accessor :language_pair
|
295
295
|
|
296
296
|
# Required. The resource name of the glossary. Glossary names have the form
|
297
|
-
# `projects/`project-id`/locations/`location-id`/glossaries/`glossary-
|
297
|
+
# `projects/`project-number-or-id`/locations/`location-id`/glossaries/`glossary-
|
298
|
+
# id``.
|
298
299
|
# Corresponds to the JSON property `name`
|
299
300
|
# @return [String]
|
300
301
|
attr_accessor :name
|
@@ -776,7 +777,7 @@ module Google
|
|
776
777
|
# (Unicode codepoints), can only contain lowercase letters, numeric
|
777
778
|
# characters, underscores and dashes. International characters are allowed.
|
778
779
|
# Label values are optional. Label keys must start with a letter.
|
779
|
-
# See https://
|
780
|
+
# See https://cloud.google.com/translate/docs/labels for more information.
|
780
781
|
# Corresponds to the JSON property `labels`
|
781
782
|
# @return [Hash<String,String>]
|
782
783
|
attr_accessor :labels
|
@@ -790,13 +791,13 @@ module Google
|
|
790
791
|
# Optional. The `model` type requested for this translation.
|
791
792
|
# The format depends on model type:
|
792
793
|
# - AutoML Translation models:
|
793
|
-
# `projects/`project-id`/locations/`location-id`/models/`model-id``
|
794
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
|
794
795
|
# - General (built-in) models:
|
795
|
-
# `projects/`project-id`/locations/`location-id`/models/general/nmt`,
|
796
|
-
# `projects/`project-id`/locations/`location-id`/models/general/base`
|
796
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
|
797
|
+
# `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
|
797
798
|
# For global (non-regionalized) requests, use `location-id` `global`.
|
798
799
|
# For example,
|
799
|
-
# `projects/`project-id`/locations/global/models/general/nmt`.
|
800
|
+
# `projects/`project-number-or-id`/locations/global/models/general/nmt`.
|
800
801
|
# If missing, the system decides which google base model to use.
|
801
802
|
# Corresponds to the JSON property `model`
|
802
803
|
# @return [String]
|
@@ -883,7 +884,12 @@ module Google
|
|
883
884
|
attr_accessor :glossary_config
|
884
885
|
|
885
886
|
# Only present when `model` is present in the request.
|
886
|
-
#
|
887
|
+
# `model` here is normalized to have project number.
|
888
|
+
# For example:
|
889
|
+
# If the `model` requested in TranslationTextRequest is
|
890
|
+
# `projects/`project-id`/locations/`location-id`/models/general/nmt` then
|
891
|
+
# `model` here would be normalized to
|
892
|
+
# `projects/`project-number`/locations/`location-id`/models/general/nmt`.
|
887
893
|
# Corresponds to the JSON property `model`
|
888
894
|
# @return [String]
|
889
895
|
attr_accessor :model
|