google-api-client 0.30.8 → 0.30.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +108 -0
- data/README.md +1 -1
- data/api_names.yaml +16 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
- data/generated/google/apis/admin_directory_v1/service.rb +11 -10
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +6 -0
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +137 -5
- data/generated/google/apis/bigquery_v2/representations.rb +64 -0
- data/generated/google/apis/bigquery_v2/service.rb +5 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
- data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
- data/generated/google/apis/cloudkms_v1/service.rb +28 -16
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
- data/generated/google/apis/compute_v1/service.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +10 -5
- data/generated/google/apis/content_v2/service.rb +3 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +618 -6
- data/generated/google/apis/content_v2_1/representations.rb +271 -0
- data/generated/google/apis/content_v2_1/service.rb +357 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -8
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +121 -57
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +94 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +6 -6
- data/generated/google/apis/drive_v3/service.rb +6 -6
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +419 -0
- data/generated/google/apis/fcm_v1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +12 -1
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +12 -1
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +1 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
- data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +31 -1
- data/generated/google/apis/iam_v1/representations.rb +14 -0
- data/generated/google/apis/iam_v1/service.rb +45 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +2 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +63 -9
- data/generated/google/apis/ml_v1/representations.rb +16 -1
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -2
- data/generated/google/apis/monitoring_v3/representations.rb +4 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +7 -0
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +5 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +12 -11
- data/generated/google/apis/pubsub_v1/service.rb +3 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +25 -0
- data/generated/google/apis/run_v1/representations.rb +15 -0
- data/generated/google/apis/run_v1/service.rb +39 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
- data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1/service.rb +19 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
- data/generated/google/apis/serviceusage_v1/service.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +53 -10
- data/generated/google/apis/sheets_v4/representations.rb +17 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +50 -54
- data/generated/google/apis/spanner_v1/service.rb +8 -15
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
- data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
- data/generated/google/apis/speech_v2beta/classes.rb +355 -0
- data/generated/google/apis/speech_v2beta/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta/service.rb +138 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1/representations.rb +2 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
- data/generated/google/apis/translate_v3beta1/service.rb +82 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +579 -0
- data/generated/google/apis/vision_v1/representations.rb +172 -0
- data/generated/google/apis/vision_v1/service.rb +404 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
- data/generated/google/apis/websecurityscanner_v1.rb +4 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +322 -0
- data/generated/google/apis/youtube_v3/representations.rb +139 -0
- data/generated/google/apis/youtube_v3/service.rb +85 -0
- data/lib/google/api_client/client_secrets.rb +1 -2
- data/lib/google/apis/core/api_command.rb +12 -0
- data/lib/google/apis/core/batch.rb +2 -0
- data/lib/google/apis/core/http_command.rb +8 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -6
- data/generated/google/apis/run_v1beta1/classes.rb +0 -98
- data/generated/google/apis/run_v1beta1/representations.rb +0 -58
- data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -0,0 +1,138 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module SpeechV2beta
|
23
|
+
# Cloud Speech-to-Text API
|
24
|
+
#
|
25
|
+
# Converts audio to text by applying powerful neural network models.
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/speech_v2beta'
|
29
|
+
#
|
30
|
+
# Speech = Google::Apis::SpeechV2beta # Alias the module
|
31
|
+
# service = Speech::SpeechService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
34
|
+
class SpeechService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://speech.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
51
|
+
# method to poll the operation result at intervals as recommended by the API
|
52
|
+
# service.
|
53
|
+
# @param [String] name
|
54
|
+
# The name of the operation resource.
|
55
|
+
# @param [String] fields
|
56
|
+
# Selector specifying which fields to include in a partial response.
|
57
|
+
# @param [String] quota_user
|
58
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
+
# @param [Google::Apis::RequestOptions] options
|
61
|
+
# Request-specific options
|
62
|
+
#
|
63
|
+
# @yield [result, err] Result & error if block supplied
|
64
|
+
# @yieldparam result [Google::Apis::SpeechV2beta::Operation] parsed result object
|
65
|
+
# @yieldparam err [StandardError] error object if request failed
|
66
|
+
#
|
67
|
+
# @return [Google::Apis::SpeechV2beta::Operation]
|
68
|
+
#
|
69
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
+
command = make_simple_command(:get, 'v2beta/{+name}', options)
|
74
|
+
command.response_representation = Google::Apis::SpeechV2beta::Operation::Representation
|
75
|
+
command.response_class = Google::Apis::SpeechV2beta::Operation
|
76
|
+
command.params['name'] = name unless name.nil?
|
77
|
+
command.query['fields'] = fields unless fields.nil?
|
78
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
79
|
+
execute_or_queue_command(command, &block)
|
80
|
+
end
|
81
|
+
|
82
|
+
# Lists operations that match the specified filter in the request. If the
|
83
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
84
|
+
# NOTE: the `name` binding allows API services to override the binding
|
85
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
86
|
+
# override the binding, API services can add a binding such as
|
87
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
88
|
+
# For backwards compatibility, the default name includes the operations
|
89
|
+
# collection id, however overriding users must ensure the name binding
|
90
|
+
# is the parent resource, without the operations collection id.
|
91
|
+
# @param [String] name
|
92
|
+
# The name of the operation's parent resource.
|
93
|
+
# @param [String] filter
|
94
|
+
# The standard list filter.
|
95
|
+
# @param [Fixnum] page_size
|
96
|
+
# The standard list page size.
|
97
|
+
# @param [String] page_token
|
98
|
+
# The standard list page token.
|
99
|
+
# @param [String] fields
|
100
|
+
# Selector specifying which fields to include in a partial response.
|
101
|
+
# @param [String] quota_user
|
102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
+
# @param [Google::Apis::RequestOptions] options
|
105
|
+
# Request-specific options
|
106
|
+
#
|
107
|
+
# @yield [result, err] Result & error if block supplied
|
108
|
+
# @yieldparam result [Google::Apis::SpeechV2beta::ListOperationsResponse] parsed result object
|
109
|
+
# @yieldparam err [StandardError] error object if request failed
|
110
|
+
#
|
111
|
+
# @return [Google::Apis::SpeechV2beta::ListOperationsResponse]
|
112
|
+
#
|
113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
command = make_simple_command(:get, 'v2beta/{+name}/operations', options)
|
118
|
+
command.response_representation = Google::Apis::SpeechV2beta::ListOperationsResponse::Representation
|
119
|
+
command.response_class = Google::Apis::SpeechV2beta::ListOperationsResponse
|
120
|
+
command.params['name'] = name unless name.nil?
|
121
|
+
command.query['filter'] = filter unless filter.nil?
|
122
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
123
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
124
|
+
command.query['fields'] = fields unless fields.nil?
|
125
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
126
|
+
execute_or_queue_command(command, &block)
|
127
|
+
end
|
128
|
+
|
129
|
+
protected
|
130
|
+
|
131
|
+
def apply_command_defaults(command)
|
132
|
+
command.query['key'] = key unless key.nil?
|
133
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -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 = '20190810'
|
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'
|
@@ -186,8 +186,8 @@ module Google
|
|
186
186
|
attr_accessor :error_count
|
187
187
|
|
188
188
|
# Error samples.
|
189
|
-
#
|
190
|
-
# error code for a single
|
189
|
+
# At most 5 error log entries will be recorded for a given
|
190
|
+
# error code for a single transfer operation.
|
191
191
|
# Corresponds to the JSON property `errorLogEntries`
|
192
192
|
# @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
|
193
193
|
attr_accessor :error_log_entries
|
@@ -204,13 +204,13 @@ module Google
|
|
204
204
|
end
|
205
205
|
end
|
206
206
|
|
207
|
-
# In a GcsData resource, an object's name is the
|
207
|
+
# In a GcsData resource, an object's name is the Cloud Storage object's
|
208
208
|
# name and its `lastModificationTime` refers to the object's updated time,
|
209
209
|
# which changes when the content or the metadata of the object is updated.
|
210
210
|
class GcsData
|
211
211
|
include Google::Apis::Core::Hashable
|
212
212
|
|
213
|
-
# Required.
|
213
|
+
# Required. Cloud Storage bucket name (see
|
214
214
|
# [Bucket Name
|
215
215
|
# Requirements](https://cloud.google.com/storage/docs/naming#requirements)).
|
216
216
|
# Corresponds to the JSON property `bucketName`
|
@@ -268,7 +268,7 @@ module Google
|
|
268
268
|
# bytes, the object transfer will fail. For more information, see
|
269
269
|
# [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
|
270
270
|
# * Ensure that each URL you specify is publicly accessible. For
|
271
|
-
# example, in
|
271
|
+
# example, in Cloud Storage you can
|
272
272
|
# [share an object publicly]
|
273
273
|
# (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
|
274
274
|
# a link to it.
|
@@ -348,7 +348,7 @@ module Google
|
|
348
348
|
end
|
349
349
|
|
350
350
|
# Conditions that determine which objects will be transferred. Applies only
|
351
|
-
# to S3 and
|
351
|
+
# to S3 and Cloud Storage objects.
|
352
352
|
class ObjectConditions
|
353
353
|
include Google::Apis::Core::Hashable
|
354
354
|
|
@@ -396,7 +396,8 @@ module Google
|
|
396
396
|
# `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
|
397
397
|
# `lastModificationTime` refers to the time of the last change to the
|
398
398
|
# object's content or metadata - specifically, this would be the `updated`
|
399
|
-
# property of
|
399
|
+
# property of Cloud Storage objects and the `LastModified` field of S3
|
400
|
+
# objects.
|
400
401
|
# Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
|
401
402
|
# @return [String]
|
402
403
|
attr_accessor :max_time_elapsed_since_last_modification
|
@@ -408,7 +409,8 @@ module Google
|
|
408
409
|
# `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
|
409
410
|
# `lastModificationTime` refers to the time of the last change to the
|
410
411
|
# object's content or metadata - specifically, this would be the `updated`
|
411
|
-
# property of
|
412
|
+
# property of Cloud Storage objects and the `LastModified` field of S3
|
413
|
+
# objects.
|
412
414
|
# Corresponds to the JSON property `minTimeElapsedSinceLastModification`
|
413
415
|
# @return [String]
|
414
416
|
attr_accessor :min_time_elapsed_since_last_modification
|
@@ -950,14 +952,14 @@ module Google
|
|
950
952
|
# @return [Google::Apis::StoragetransferV1::AwsS3Data]
|
951
953
|
attr_accessor :aws_s3_data_source
|
952
954
|
|
953
|
-
# In a GcsData resource, an object's name is the
|
955
|
+
# In a GcsData resource, an object's name is the Cloud Storage object's
|
954
956
|
# name and its `lastModificationTime` refers to the object's updated time,
|
955
957
|
# which changes when the content or the metadata of the object is updated.
|
956
958
|
# Corresponds to the JSON property `gcsDataSink`
|
957
959
|
# @return [Google::Apis::StoragetransferV1::GcsData]
|
958
960
|
attr_accessor :gcs_data_sink
|
959
961
|
|
960
|
-
# In a GcsData resource, an object's name is the
|
962
|
+
# In a GcsData resource, an object's name is the Cloud Storage object's
|
961
963
|
# name and its `lastModificationTime` refers to the object's updated time,
|
962
964
|
# which changes when the content or the metadata of the object is updated.
|
963
965
|
# Corresponds to the JSON property `gcsDataSource`
|
@@ -986,7 +988,7 @@ module Google
|
|
986
988
|
# bytes, the object transfer will fail. For more information, see
|
987
989
|
# [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
|
988
990
|
# * Ensure that each URL you specify is publicly accessible. For
|
989
|
-
# example, in
|
991
|
+
# example, in Cloud Storage you can
|
990
992
|
# [share an object publicly]
|
991
993
|
# (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
|
992
994
|
# a link to it.
|
@@ -1000,7 +1002,7 @@ module Google
|
|
1000
1002
|
attr_accessor :http_data_source
|
1001
1003
|
|
1002
1004
|
# Conditions that determine which objects will be transferred. Applies only
|
1003
|
-
# to S3 and
|
1005
|
+
# to S3 and Cloud Storage objects.
|
1004
1006
|
# Corresponds to the JSON property `objectConditions`
|
1005
1007
|
# @return [Google::Apis::StoragetransferV1::ObjectConditions]
|
1006
1008
|
attr_accessor :object_conditions
|
@@ -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 = '20190822'
|
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'
|
@@ -182,7 +182,7 @@ module Google
|
|
182
182
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
183
183
|
# start.nanos;
|
184
184
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
185
|
-
# ` else if (
|
185
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
186
186
|
# 1; duration.nanos += 1000000000; `
|
187
187
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
188
188
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
308
308
|
# start.nanos;
|
309
309
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
310
|
-
# ` else if (
|
310
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
311
311
|
# 1; duration.nanos += 1000000000; `
|
312
312
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
313
313
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -341,7 +341,7 @@ module Google
|
|
341
341
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
342
342
|
# start.nanos;
|
343
343
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
344
|
-
# ` else if (
|
344
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
345
345
|
# 1; duration.nanos += 1000000000; `
|
346
346
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
347
347
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -487,7 +487,7 @@ module Google
|
|
487
487
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
488
488
|
# start.nanos;
|
489
489
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
490
|
-
# ` else if (
|
490
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
491
491
|
# 1; duration.nanos += 1000000000; `
|
492
492
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
493
493
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -1050,7 +1050,7 @@ module Google
|
|
1050
1050
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
1051
1051
|
# start.nanos;
|
1052
1052
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
1053
|
-
# ` else if (
|
1053
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
1054
1054
|
# 1; duration.nanos += 1000000000; `
|
1055
1055
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
1056
1056
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -2029,7 +2029,7 @@ module Google
|
|
2029
2029
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
2030
2030
|
# start.nanos;
|
2031
2031
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
2032
|
-
# ` else if (
|
2032
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
2033
2033
|
# 1; duration.nanos += 1000000000; `
|
2034
2034
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
2035
2035
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -2132,7 +2132,7 @@ module Google
|
|
2132
2132
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
2133
2133
|
# start.nanos;
|
2134
2134
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
2135
|
-
# ` else if (
|
2135
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
2136
2136
|
# 1; duration.nanos += 1000000000; `
|
2137
2137
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
2138
2138
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -2285,6 +2285,40 @@ module Google
|
|
2285
2285
|
class TestCase
|
2286
2286
|
include Google::Apis::Core::Hashable
|
2287
2287
|
|
2288
|
+
# A Duration represents a signed, fixed-length span of time represented as a
|
2289
|
+
# count of seconds and fractions of seconds at nanosecond resolution. It is
|
2290
|
+
# independent of any calendar and concepts like "day" or "month". It is related
|
2291
|
+
# to Timestamp in that the difference between two Timestamp values is a Duration
|
2292
|
+
# and it can be added or subtracted from a Timestamp. Range is approximately +-
|
2293
|
+
# 10,000 years.
|
2294
|
+
# # Examples
|
2295
|
+
# Example 1: Compute Duration from two Timestamps in pseudo code.
|
2296
|
+
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
|
2297
|
+
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
2298
|
+
# start.nanos;
|
2299
|
+
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
2300
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
2301
|
+
# 1; duration.nanos += 1000000000; `
|
2302
|
+
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
2303
|
+
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
2304
|
+
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
|
2305
|
+
# duration.nanos;
|
2306
|
+
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
|
2307
|
+
# Example 3: Compute Duration from datetime.timedelta in Python.
|
2308
|
+
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
|
2309
|
+
# FromTimedelta(td)
|
2310
|
+
# # JSON Mapping
|
2311
|
+
# In JSON format, the Duration type is encoded as a string rather than an object,
|
2312
|
+
# where the string ends in the suffix "s" (indicating seconds) and is preceded
|
2313
|
+
# by the number of seconds, with nanoseconds expressed as fractional seconds.
|
2314
|
+
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
|
2315
|
+
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
|
2316
|
+
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
|
2317
|
+
# format as "3.000001s".
|
2318
|
+
# Corresponds to the JSON property `elapsedTime`
|
2319
|
+
# @return [Google::Apis::ToolresultsV1beta3::Duration]
|
2320
|
+
attr_accessor :elapsed_time
|
2321
|
+
|
2288
2322
|
# A Timestamp represents a point in time independent of any time zone or local
|
2289
2323
|
# calendar, encoded as a count of seconds and fractions of seconds at nanosecond
|
2290
2324
|
# resolution. The count is relative to an epoch at UTC midnight on January 1,
|
@@ -2443,6 +2477,7 @@ module Google
|
|
2443
2477
|
|
2444
2478
|
# Update properties of this object
|
2445
2479
|
def update!(**args)
|
2480
|
+
@elapsed_time = args[:elapsed_time] if args.key?(:elapsed_time)
|
2446
2481
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2447
2482
|
@skipped_message = args[:skipped_message] if args.key?(:skipped_message)
|
2448
2483
|
@stack_traces = args[:stack_traces] if args.key?(:stack_traces)
|
@@ -2638,7 +2673,7 @@ module Google
|
|
2638
2673
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
2639
2674
|
# start.nanos;
|
2640
2675
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
2641
|
-
# ` else if (
|
2676
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
2642
2677
|
# 1; duration.nanos += 1000000000; `
|
2643
2678
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
2644
2679
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -2730,7 +2765,7 @@ module Google
|
|
2730
2765
|
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
|
2731
2766
|
# start.nanos;
|
2732
2767
|
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
|
2733
|
-
# ` else if (
|
2768
|
+
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
|
2734
2769
|
# 1; duration.nanos += 1000000000; `
|
2735
2770
|
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
2736
2771
|
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
|
@@ -881,6 +881,8 @@ module Google
|
|
881
881
|
class TestCase
|
882
882
|
# @private
|
883
883
|
class Representation < Google::Apis::Core::JsonRepresentation
|
884
|
+
property :elapsed_time, as: 'elapsedTime', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
|
885
|
+
|
884
886
|
property :end_time, as: 'endTime', class: Google::Apis::ToolresultsV1beta3::Timestamp, decorator: Google::Apis::ToolresultsV1beta3::Timestamp::Representation
|
885
887
|
|
886
888
|
property :skipped_message, as: 'skippedMessage'
|
@@ -589,14 +589,11 @@ module Google
|
|
589
589
|
# step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution
|
590
590
|
# does not exist
|
591
591
|
# @param [String] project_id
|
592
|
-
# A Project id.
|
593
|
-
# Required.
|
592
|
+
# Required. A Project id.
|
594
593
|
# @param [String] history_id
|
595
|
-
# A History id.
|
596
|
-
# Required.
|
594
|
+
# Required. A History id.
|
597
595
|
# @param [String] execution_id
|
598
|
-
#
|
599
|
-
# Required.
|
596
|
+
# Required. An Execution id.
|
600
597
|
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
601
598
|
# @param [String] request_id
|
602
599
|
# A unique request ID for server to detect duplicated requests. For example, a
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tpu/
|
26
26
|
module TpuV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190821'
|
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'
|
@@ -80,6 +80,11 @@ module Google
|
|
80
80
|
# @return [String]
|
81
81
|
attr_accessor :next_page_token
|
82
82
|
|
83
|
+
# Locations that could not be reached.
|
84
|
+
# Corresponds to the JSON property `unreachable`
|
85
|
+
# @return [Array<String>]
|
86
|
+
attr_accessor :unreachable
|
87
|
+
|
83
88
|
def initialize(**args)
|
84
89
|
update!(**args)
|
85
90
|
end
|
@@ -88,6 +93,7 @@ module Google
|
|
88
93
|
def update!(**args)
|
89
94
|
@accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types)
|
90
95
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
96
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
91
97
|
end
|
92
98
|
end
|
93
99
|
|
@@ -186,6 +192,11 @@ module Google
|
|
186
192
|
# @return [Array<Google::Apis::TpuV1::TensorFlowVersion>]
|
187
193
|
attr_accessor :tensorflow_versions
|
188
194
|
|
195
|
+
# Locations that could not be reached.
|
196
|
+
# Corresponds to the JSON property `unreachable`
|
197
|
+
# @return [Array<String>]
|
198
|
+
attr_accessor :unreachable
|
199
|
+
|
189
200
|
def initialize(**args)
|
190
201
|
update!(**args)
|
191
202
|
end
|
@@ -194,6 +205,7 @@ module Google
|
|
194
205
|
def update!(**args)
|
195
206
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
196
207
|
@tensorflow_versions = args[:tensorflow_versions] if args.key?(:tensorflow_versions)
|
208
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
197
209
|
end
|
198
210
|
end
|
199
211
|
|