google-api-client 0.36.4 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/CHANGELOG.md +184 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
- data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
- data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
- 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 +0 -22
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
- data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
- data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +429 -237
- data/generated/google/apis/compute_alpha/representations.rb +42 -3
- data/generated/google/apis/compute_alpha/service.rb +99 -32
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1054 -235
- data/generated/google/apis/compute_beta/representations.rb +266 -0
- data/generated/google/apis/compute_beta/service.rb +5821 -4671
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1118 -314
- data/generated/google/apis/compute_v1/representations.rb +313 -0
- data/generated/google/apis/compute_v1/service.rb +612 -24
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +247 -3
- data/generated/google/apis/container_v1/representations.rb +74 -0
- data/generated/google/apis/container_v1/service.rb +8 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +284 -80
- data/generated/google/apis/container_v1beta1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1/service.rb +129 -121
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +97 -0
- data/generated/google/apis/content_v2/representations.rb +47 -0
- data/generated/google/apis/content_v2/service.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +191 -0
- data/generated/google/apis/content_v2_1/representations.rb +94 -0
- data/generated/google/apis/content_v2_1/service.rb +77 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
- data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
- data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
- data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +156 -122
- data/generated/google/apis/dataproc_v1/service.rb +16 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
- data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
- data/generated/google/apis/dialogflow_v2/service.rb +477 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +101 -92
- data/generated/google/apis/dlp_v2/service.rb +56 -56
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +275 -18
- data/generated/google/apis/docs_v1/representations.rb +75 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -2
- data/generated/google/apis/drive_v2/service.rb +0 -92
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -4
- data/generated/google/apis/fitness_v1/service.rb +26 -8
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +93 -23
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +66 -17
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +31 -33
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +106 -4
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +184 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +4 -1
- data/generated/google/apis/ml_v1/classes.rb +131 -26
- data/generated/google/apis/ml_v1/representations.rb +15 -0
- data/generated/google/apis/ml_v1/service.rb +2 -7
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +144 -109
- data/generated/google/apis/monitoring_v1/representations.rb +0 -18
- data/generated/google/apis/monitoring_v1/service.rb +11 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +211 -99
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +178 -153
- data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
- data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
- data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +14 -13
- data/generated/google/apis/people_v1/service.rb +12 -16
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +119 -15
- data/generated/google/apis/pubsub_v1/representations.rb +17 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
- data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +10 -3
- data/generated/google/apis/redis_v1/representations.rb +1 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +49 -15
- data/generated/google/apis/run_v1/service.rb +0 -30
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
- data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
- data/generated/google/apis/run_v1alpha1/service.rb +272 -682
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
- data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +195 -31
- data/generated/google/apis/sheets_v4/representations.rb +56 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +49 -15
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -8
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
- data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
- data/generated/google/apis/sql_v1beta4/service.rb +190 -9
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +16 -7
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
- data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -1
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3/classes.rb +943 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +61 -9
- data/generated/google/apis/youtube_v3/representations.rb +8 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -2
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -27
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
- data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -1091,7 +1091,7 @@ module Google
|
|
1091
1091
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
1092
1092
|
# to.
|
1093
1093
|
# @param [String] region
|
1094
|
-
# Required. The
|
1094
|
+
# Required. The Dataproc region in which to handle the request.
|
1095
1095
|
# @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
|
1096
1096
|
# @param [String] request_id
|
1097
1097
|
# Optional. A unique id used to identify the request. If the server receives two
|
@@ -1119,7 +1119,7 @@ module Google
|
|
1119
1119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1120
1120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1121
1121
|
def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1122
|
-
command = make_simple_command(:post, 'v1beta2/projects/{
|
1122
|
+
command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
|
1123
1123
|
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
1124
1124
|
command.request_object = cluster_object
|
1125
1125
|
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
@@ -1138,7 +1138,7 @@ module Google
|
|
1138
1138
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
1139
1139
|
# to.
|
1140
1140
|
# @param [String] region
|
1141
|
-
# Required. The
|
1141
|
+
# Required. The Dataproc region in which to handle the request.
|
1142
1142
|
# @param [String] cluster_name
|
1143
1143
|
# Required. The cluster name.
|
1144
1144
|
# @param [String] cluster_uuid
|
@@ -1170,7 +1170,7 @@ module Google
|
|
1170
1170
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1171
1171
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1172
1172
|
def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1173
|
-
command = make_simple_command(:delete, 'v1beta2/projects/{
|
1173
|
+
command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
1174
1174
|
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
1175
1175
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
1176
1176
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1190,7 +1190,7 @@ module Google
|
|
1190
1190
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
1191
1191
|
# to.
|
1192
1192
|
# @param [String] region
|
1193
|
-
# Required. The
|
1193
|
+
# Required. The Dataproc region in which to handle the request.
|
1194
1194
|
# @param [String] cluster_name
|
1195
1195
|
# Required. The cluster name.
|
1196
1196
|
# @param [Google::Apis::DataprocV1beta2::DiagnoseClusterRequest] diagnose_cluster_request_object
|
@@ -1212,7 +1212,7 @@ module Google
|
|
1212
1212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1213
1213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1214
1214
|
def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1215
|
-
command = make_simple_command(:post, 'v1beta2/projects/{
|
1215
|
+
command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
|
1216
1216
|
command.request_representation = Google::Apis::DataprocV1beta2::DiagnoseClusterRequest::Representation
|
1217
1217
|
command.request_object = diagnose_cluster_request_object
|
1218
1218
|
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
@@ -1230,7 +1230,7 @@ module Google
|
|
1230
1230
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
1231
1231
|
# to.
|
1232
1232
|
# @param [String] region
|
1233
|
-
# Required. The
|
1233
|
+
# Required. The Dataproc region in which to handle the request.
|
1234
1234
|
# @param [String] cluster_name
|
1235
1235
|
# Required. The cluster name.
|
1236
1236
|
# @param [String] fields
|
@@ -1251,7 +1251,7 @@ module Google
|
|
1251
1251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1252
1252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1253
1253
|
def get_project_region_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
|
1254
|
-
command = make_simple_command(:get, 'v1beta2/projects/{
|
1254
|
+
command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
1255
1255
|
command.response_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
1256
1256
|
command.response_class = Google::Apis::DataprocV1beta2::Cluster
|
1257
1257
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1305,7 +1305,7 @@ module Google
|
|
1305
1305
|
# Required. The ID of the Google Cloud Platform project that the cluster belongs
|
1306
1306
|
# to.
|
1307
1307
|
# @param [String] region
|
1308
|
-
# Required. The
|
1308
|
+
# Required. The Dataproc region in which to handle the request.
|
1309
1309
|
# @param [String] filter
|
1310
1310
|
# Optional. A filter constraining the clusters to list. Filters are case-
|
1311
1311
|
# sensitive and have the following syntax:field = value AND field = value ...
|
@@ -1340,7 +1340,7 @@ module Google
|
|
1340
1340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1341
1341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1342
1342
|
def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1343
|
-
command = make_simple_command(:get, 'v1beta2/projects/{
|
1343
|
+
command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
|
1344
1344
|
command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation
|
1345
1345
|
command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse
|
1346
1346
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1358,7 +1358,7 @@ module Google
|
|
1358
1358
|
# @param [String] project_id
|
1359
1359
|
# Required. The ID of the Google Cloud Platform project the cluster belongs to.
|
1360
1360
|
# @param [String] region
|
1361
|
-
# Required. The
|
1361
|
+
# Required. The Dataproc region in which to handle the request.
|
1362
1362
|
# @param [String] cluster_name
|
1363
1363
|
# Required. The cluster name.
|
1364
1364
|
# @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
|
@@ -1367,8 +1367,10 @@ module Google
|
|
1367
1367
|
# allows removing nodes from the cluster without interrupting jobs in progress.
|
1368
1368
|
# Timeout specifies how long to wait for jobs in progress to finish before
|
1369
1369
|
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
1370
|
-
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day
|
1371
|
-
#
|
1370
|
+
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day (
|
1371
|
+
# see JSON representation of Duration (https://developers.google.com/protocol-
|
1372
|
+
# buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and
|
1373
|
+
# higher.
|
1372
1374
|
# @param [String] request_id
|
1373
1375
|
# Optional. A unique id used to identify the request. If the server receives two
|
1374
1376
|
# UpdateClusterRequest requests with the same id, then the second request will
|
@@ -1450,7 +1452,7 @@ module Google
|
|
1450
1452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1451
1453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1452
1454
|
def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1453
|
-
command = make_simple_command(:patch, 'v1beta2/projects/{
|
1455
|
+
command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
1454
1456
|
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
|
1455
1457
|
command.request_object = cluster_object
|
1456
1458
|
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
@@ -1545,7 +1547,7 @@ module Google
|
|
1545
1547
|
# @param [String] project_id
|
1546
1548
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
1547
1549
|
# @param [String] region
|
1548
|
-
# Required. The
|
1550
|
+
# Required. The Dataproc region in which to handle the request.
|
1549
1551
|
# @param [String] job_id
|
1550
1552
|
# Required. The job ID.
|
1551
1553
|
# @param [Google::Apis::DataprocV1beta2::CancelJobRequest] cancel_job_request_object
|
@@ -1567,7 +1569,7 @@ module Google
|
|
1567
1569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1568
1570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1569
1571
|
def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1570
|
-
command = make_simple_command(:post, 'v1beta2/projects/{
|
1572
|
+
command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
|
1571
1573
|
command.request_representation = Google::Apis::DataprocV1beta2::CancelJobRequest::Representation
|
1572
1574
|
command.request_object = cancel_job_request_object
|
1573
1575
|
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
|
@@ -1585,7 +1587,7 @@ module Google
|
|
1585
1587
|
# @param [String] project_id
|
1586
1588
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
1587
1589
|
# @param [String] region
|
1588
|
-
# Required. The
|
1590
|
+
# Required. The Dataproc region in which to handle the request.
|
1589
1591
|
# @param [String] job_id
|
1590
1592
|
# Required. The job ID.
|
1591
1593
|
# @param [String] fields
|
@@ -1606,7 +1608,7 @@ module Google
|
|
1606
1608
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1607
1609
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1608
1610
|
def delete_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
1609
|
-
command = make_simple_command(:delete, 'v1beta2/projects/{
|
1611
|
+
command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
1610
1612
|
command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
|
1611
1613
|
command.response_class = Google::Apis::DataprocV1beta2::Empty
|
1612
1614
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1621,7 +1623,7 @@ module Google
|
|
1621
1623
|
# @param [String] project_id
|
1622
1624
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
1623
1625
|
# @param [String] region
|
1624
|
-
# Required. The
|
1626
|
+
# Required. The Dataproc region in which to handle the request.
|
1625
1627
|
# @param [String] job_id
|
1626
1628
|
# Required. The job ID.
|
1627
1629
|
# @param [String] fields
|
@@ -1642,7 +1644,7 @@ module Google
|
|
1642
1644
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1643
1645
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1644
1646
|
def get_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
1645
|
-
command = make_simple_command(:get, 'v1beta2/projects/{
|
1647
|
+
command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
1646
1648
|
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
|
1647
1649
|
command.response_class = Google::Apis::DataprocV1beta2::Job
|
1648
1650
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1695,7 +1697,7 @@ module Google
|
|
1695
1697
|
# @param [String] project_id
|
1696
1698
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
1697
1699
|
# @param [String] region
|
1698
|
-
# Required. The
|
1700
|
+
# Required. The Dataproc region in which to handle the request.
|
1699
1701
|
# @param [String] cluster_name
|
1700
1702
|
# Optional. If set, the returned jobs list includes only jobs that were
|
1701
1703
|
# submitted to the named cluster.
|
@@ -1733,7 +1735,7 @@ module Google
|
|
1733
1735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1734
1736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1735
1737
|
def list_project_region_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1736
|
-
command = make_simple_command(:get, 'v1beta2/projects/{
|
1738
|
+
command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs', options)
|
1737
1739
|
command.response_representation = Google::Apis::DataprocV1beta2::ListJobsResponse::Representation
|
1738
1740
|
command.response_class = Google::Apis::DataprocV1beta2::ListJobsResponse
|
1739
1741
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1752,7 +1754,7 @@ module Google
|
|
1752
1754
|
# @param [String] project_id
|
1753
1755
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
1754
1756
|
# @param [String] region
|
1755
|
-
# Required. The
|
1757
|
+
# Required. The Dataproc region in which to handle the request.
|
1756
1758
|
# @param [String] job_id
|
1757
1759
|
# Required. The job ID.
|
1758
1760
|
# @param [Google::Apis::DataprocV1beta2::Job] job_object
|
@@ -1780,7 +1782,7 @@ module Google
|
|
1780
1782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1781
1783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1782
1784
|
def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1783
|
-
command = make_simple_command(:patch, 'v1beta2/projects/{
|
1785
|
+
command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
|
1784
1786
|
command.request_representation = Google::Apis::DataprocV1beta2::Job::Representation
|
1785
1787
|
command.request_object = job_object
|
1786
1788
|
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
|
@@ -1834,7 +1836,7 @@ module Google
|
|
1834
1836
|
# @param [String] project_id
|
1835
1837
|
# Required. The ID of the Google Cloud Platform project that the job belongs to.
|
1836
1838
|
# @param [String] region
|
1837
|
-
# Required. The
|
1839
|
+
# Required. The Dataproc region in which to handle the request.
|
1838
1840
|
# @param [Google::Apis::DataprocV1beta2::SubmitJobRequest] submit_job_request_object
|
1839
1841
|
# @param [String] fields
|
1840
1842
|
# Selector specifying which fields to include in a partial response.
|
@@ -1854,7 +1856,7 @@ module Google
|
|
1854
1856
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1855
1857
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1856
1858
|
def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1857
|
-
command = make_simple_command(:post, 'v1beta2/projects/{
|
1859
|
+
command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs:submit', options)
|
1858
1860
|
command.request_representation = Google::Apis::DataprocV1beta2::SubmitJobRequest::Representation
|
1859
1861
|
command.request_object = submit_job_request_object
|
1860
1862
|
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200212'
|
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'
|
@@ -209,7 +209,7 @@ module Google
|
|
209
209
|
class GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
|
210
210
|
include Google::Apis::Core::Hashable
|
211
211
|
|
212
|
-
# Required. The
|
212
|
+
# Required. The reference `values` of the entities to delete. Note that
|
213
213
|
# these are not fully-qualified names, i.e. they don't start with
|
214
214
|
# `projects/<Project ID>`.
|
215
215
|
# Corresponds to the JSON property `entityValues`
|
@@ -462,6 +462,11 @@ module Google
|
|
462
462
|
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
|
463
463
|
# The `Context ID` is always converted to lowercase, may only contain
|
464
464
|
# characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
|
465
|
+
# The following context names are reserved for internal use by Dialogflow.
|
466
|
+
# You should not use these contexts or create contexts with these names:
|
467
|
+
# * `__system_counters__`
|
468
|
+
# * `*_id_dialog_context`
|
469
|
+
# * `*_dialog_params_size`
|
465
470
|
# Corresponds to the JSON property `name`
|
466
471
|
# @return [String]
|
467
472
|
attr_accessor :name
|
@@ -531,6 +536,8 @@ module Google
|
|
531
536
|
end
|
532
537
|
end
|
533
538
|
|
539
|
+
# ============================================================================
|
540
|
+
# Requests and responses for custom methods.
|
534
541
|
# The request to detect user's intent.
|
535
542
|
class GoogleCloudDialogflowV2DetectIntentRequest
|
536
543
|
include Google::Apis::Core::Hashable
|
@@ -544,6 +551,8 @@ module Google
|
|
544
551
|
attr_accessor :input_audio
|
545
552
|
|
546
553
|
# Instructs the speech synthesizer on how to generate the output audio content.
|
554
|
+
# If this audio config is supplied in a request, it overrides all existing
|
555
|
+
# text-to-speech settings applied to the agent.
|
547
556
|
# Corresponds to the JSON property `outputAudioConfig`
|
548
557
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
|
549
558
|
attr_accessor :output_audio_config
|
@@ -591,6 +600,8 @@ module Google
|
|
591
600
|
attr_accessor :output_audio
|
592
601
|
|
593
602
|
# Instructs the speech synthesizer on how to generate the output audio content.
|
603
|
+
# If this audio config is supplied in a request, it overrides all existing
|
604
|
+
# text-to-speech settings applied to the agent.
|
594
605
|
# Corresponds to the JSON property `outputAudioConfig`
|
595
606
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
|
596
607
|
attr_accessor :output_audio_config
|
@@ -722,7 +733,7 @@ module Google
|
|
722
733
|
# For example, if the entity type is *vegetable*, the value could be
|
723
734
|
# *scallions*.
|
724
735
|
# For `KIND_MAP` entity types:
|
725
|
-
# * A
|
736
|
+
# * A reference value to be used in place of synonyms.
|
726
737
|
# For `KIND_LIST` entity types:
|
727
738
|
# * A string that can contain references to other entity types (with or
|
728
739
|
# without aliases).
|
@@ -741,6 +752,123 @@ module Google
|
|
741
752
|
end
|
742
753
|
end
|
743
754
|
|
755
|
+
# Represents an agent environment.
|
756
|
+
class GoogleCloudDialogflowV2Environment
|
757
|
+
include Google::Apis::Core::Hashable
|
758
|
+
|
759
|
+
# Optional. The agent version loaded into this environment.
|
760
|
+
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
|
761
|
+
# Corresponds to the JSON property `agentVersion`
|
762
|
+
# @return [String]
|
763
|
+
attr_accessor :agent_version
|
764
|
+
|
765
|
+
# Optional. The developer-provided description for this environment.
|
766
|
+
# The maximum length is 500 characters. If exceeded, the request is rejected.
|
767
|
+
# Corresponds to the JSON property `description`
|
768
|
+
# @return [String]
|
769
|
+
attr_accessor :description
|
770
|
+
|
771
|
+
# Output only. The unique identifier of this agent environment.
|
772
|
+
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
773
|
+
# Corresponds to the JSON property `name`
|
774
|
+
# @return [String]
|
775
|
+
attr_accessor :name
|
776
|
+
|
777
|
+
# Output only. The state of this environment. This field is read-only, i.e., it
|
778
|
+
# cannot be
|
779
|
+
# set by create and update methods.
|
780
|
+
# Corresponds to the JSON property `state`
|
781
|
+
# @return [String]
|
782
|
+
attr_accessor :state
|
783
|
+
|
784
|
+
# Output only. The last update time of this environment. This field is read-only,
|
785
|
+
# i.e., it
|
786
|
+
# cannot be set by create and update methods.
|
787
|
+
# Corresponds to the JSON property `updateTime`
|
788
|
+
# @return [String]
|
789
|
+
attr_accessor :update_time
|
790
|
+
|
791
|
+
def initialize(**args)
|
792
|
+
update!(**args)
|
793
|
+
end
|
794
|
+
|
795
|
+
# Update properties of this object
|
796
|
+
def update!(**args)
|
797
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
798
|
+
@description = args[:description] if args.key?(:description)
|
799
|
+
@name = args[:name] if args.key?(:name)
|
800
|
+
@state = args[:state] if args.key?(:state)
|
801
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
802
|
+
end
|
803
|
+
end
|
804
|
+
|
805
|
+
# The response message for Environments.GetEnvironmentHistory.
|
806
|
+
class GoogleCloudDialogflowV2EnvironmentHistory
|
807
|
+
include Google::Apis::Core::Hashable
|
808
|
+
|
809
|
+
# Output only. The list of agent environments. There will be a maximum number of
|
810
|
+
# items
|
811
|
+
# returned based on the page_size field in the request.
|
812
|
+
# Corresponds to the JSON property `entries`
|
813
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EnvironmentHistoryEntry>]
|
814
|
+
attr_accessor :entries
|
815
|
+
|
816
|
+
# Output only. Token to retrieve the next page of results, or empty if there are
|
817
|
+
# no
|
818
|
+
# more results in the list.
|
819
|
+
# Corresponds to the JSON property `nextPageToken`
|
820
|
+
# @return [String]
|
821
|
+
attr_accessor :next_page_token
|
822
|
+
|
823
|
+
# Output only. The name of the environment this history is for.
|
824
|
+
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
825
|
+
# Corresponds to the JSON property `parent`
|
826
|
+
# @return [String]
|
827
|
+
attr_accessor :parent
|
828
|
+
|
829
|
+
def initialize(**args)
|
830
|
+
update!(**args)
|
831
|
+
end
|
832
|
+
|
833
|
+
# Update properties of this object
|
834
|
+
def update!(**args)
|
835
|
+
@entries = args[:entries] if args.key?(:entries)
|
836
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
837
|
+
@parent = args[:parent] if args.key?(:parent)
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
# Represents a environment history entry.
|
842
|
+
class GoogleCloudDialogflowV2EnvironmentHistoryEntry
|
843
|
+
include Google::Apis::Core::Hashable
|
844
|
+
|
845
|
+
# The agent version loaded into this environment history entry.
|
846
|
+
# Corresponds to the JSON property `agentVersion`
|
847
|
+
# @return [String]
|
848
|
+
attr_accessor :agent_version
|
849
|
+
|
850
|
+
# The creation time of this environment history entry.
|
851
|
+
# Corresponds to the JSON property `createTime`
|
852
|
+
# @return [String]
|
853
|
+
attr_accessor :create_time
|
854
|
+
|
855
|
+
# The developer-provided description for this environment history entry.
|
856
|
+
# Corresponds to the JSON property `description`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :description
|
859
|
+
|
860
|
+
def initialize(**args)
|
861
|
+
update!(**args)
|
862
|
+
end
|
863
|
+
|
864
|
+
# Update properties of this object
|
865
|
+
def update!(**args)
|
866
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
867
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
868
|
+
@description = args[:description] if args.key?(:description)
|
869
|
+
end
|
870
|
+
end
|
871
|
+
|
744
872
|
# Events allow for matching intents by event name instead of the natural
|
745
873
|
# language input. For instance, input `<event: ` name: "welcome_event",
|
746
874
|
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
@@ -828,6 +956,126 @@ module Google
|
|
828
956
|
end
|
829
957
|
end
|
830
958
|
|
959
|
+
# Represents a fulfillment.
|
960
|
+
class GoogleCloudDialogflowV2Fulfillment
|
961
|
+
include Google::Apis::Core::Hashable
|
962
|
+
|
963
|
+
# Optional. The human-readable name of the fulfillment, unique within the agent.
|
964
|
+
# Corresponds to the JSON property `displayName`
|
965
|
+
# @return [String]
|
966
|
+
attr_accessor :display_name
|
967
|
+
|
968
|
+
# Optional. Whether fulfillment is enabled.
|
969
|
+
# Corresponds to the JSON property `enabled`
|
970
|
+
# @return [Boolean]
|
971
|
+
attr_accessor :enabled
|
972
|
+
alias_method :enabled?, :enabled
|
973
|
+
|
974
|
+
# Optional. The field defines whether the fulfillment is enabled for certain
|
975
|
+
# features.
|
976
|
+
# Corresponds to the JSON property `features`
|
977
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentFeature>]
|
978
|
+
attr_accessor :features
|
979
|
+
|
980
|
+
# Represents configuration for a generic web service.
|
981
|
+
# Dialogflow supports two mechanisms for authentications:
|
982
|
+
# - Basic authentication with username and password.
|
983
|
+
# - Authentication with additional authentication headers.
|
984
|
+
# More information could be found at:
|
985
|
+
# https://cloud.google.com/dialogflow/docs/fulfillment-configure.
|
986
|
+
# Corresponds to the JSON property `genericWebService`
|
987
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FulfillmentGenericWebService]
|
988
|
+
attr_accessor :generic_web_service
|
989
|
+
|
990
|
+
# Required. The unique identifier of the fulfillment.
|
991
|
+
# Format: `projects/<Project ID>/agent/fulfillment`.
|
992
|
+
# Corresponds to the JSON property `name`
|
993
|
+
# @return [String]
|
994
|
+
attr_accessor :name
|
995
|
+
|
996
|
+
def initialize(**args)
|
997
|
+
update!(**args)
|
998
|
+
end
|
999
|
+
|
1000
|
+
# Update properties of this object
|
1001
|
+
def update!(**args)
|
1002
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1003
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1004
|
+
@features = args[:features] if args.key?(:features)
|
1005
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
1006
|
+
@name = args[:name] if args.key?(:name)
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# Whether fulfillment is enabled for the specific feature.
|
1011
|
+
class GoogleCloudDialogflowV2FulfillmentFeature
|
1012
|
+
include Google::Apis::Core::Hashable
|
1013
|
+
|
1014
|
+
# The type of the feature that enabled for fulfillment.
|
1015
|
+
# Corresponds to the JSON property `type`
|
1016
|
+
# @return [String]
|
1017
|
+
attr_accessor :type
|
1018
|
+
|
1019
|
+
def initialize(**args)
|
1020
|
+
update!(**args)
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
# Update properties of this object
|
1024
|
+
def update!(**args)
|
1025
|
+
@type = args[:type] if args.key?(:type)
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Represents configuration for a generic web service.
|
1030
|
+
# Dialogflow supports two mechanisms for authentications:
|
1031
|
+
# - Basic authentication with username and password.
|
1032
|
+
# - Authentication with additional authentication headers.
|
1033
|
+
# More information could be found at:
|
1034
|
+
# https://cloud.google.com/dialogflow/docs/fulfillment-configure.
|
1035
|
+
class GoogleCloudDialogflowV2FulfillmentGenericWebService
|
1036
|
+
include Google::Apis::Core::Hashable
|
1037
|
+
|
1038
|
+
# Optional. Indicates if generic web service is created through Cloud Functions
|
1039
|
+
# integration. Defaults to false.
|
1040
|
+
# Corresponds to the JSON property `isCloudFunction`
|
1041
|
+
# @return [Boolean]
|
1042
|
+
attr_accessor :is_cloud_function
|
1043
|
+
alias_method :is_cloud_function?, :is_cloud_function
|
1044
|
+
|
1045
|
+
# Optional. The password for HTTP Basic authentication.
|
1046
|
+
# Corresponds to the JSON property `password`
|
1047
|
+
# @return [String]
|
1048
|
+
attr_accessor :password
|
1049
|
+
|
1050
|
+
# Optional. The HTTP request headers to send together with fulfillment requests.
|
1051
|
+
# Corresponds to the JSON property `requestHeaders`
|
1052
|
+
# @return [Hash<String,String>]
|
1053
|
+
attr_accessor :request_headers
|
1054
|
+
|
1055
|
+
# Required. The fulfillment URI for receiving POST requests.
|
1056
|
+
# Corresponds to the JSON property `uri`
|
1057
|
+
# @return [String]
|
1058
|
+
attr_accessor :uri
|
1059
|
+
|
1060
|
+
# Optional. The user name for HTTP Basic authentication.
|
1061
|
+
# Corresponds to the JSON property `username`
|
1062
|
+
# @return [String]
|
1063
|
+
attr_accessor :username
|
1064
|
+
|
1065
|
+
def initialize(**args)
|
1066
|
+
update!(**args)
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# Update properties of this object
|
1070
|
+
def update!(**args)
|
1071
|
+
@is_cloud_function = args[:is_cloud_function] if args.key?(:is_cloud_function)
|
1072
|
+
@password = args[:password] if args.key?(:password)
|
1073
|
+
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
1074
|
+
@uri = args[:uri] if args.key?(:uri)
|
1075
|
+
@username = args[:username] if args.key?(:username)
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
831
1079
|
# The request message for Agents.ImportAgent.
|
832
1080
|
class GoogleCloudDialogflowV2ImportAgentRequest
|
833
1081
|
include Google::Apis::Core::Hashable
|
@@ -864,6 +1112,15 @@ module Google
|
|
864
1112
|
# @return [String]
|
865
1113
|
attr_accessor :audio_encoding
|
866
1114
|
|
1115
|
+
# Optional. If `true`, Dialogflow returns SpeechWordInfo in
|
1116
|
+
# StreamingRecognitionResult with information about the recognized speech
|
1117
|
+
# words, e.g. start and end time offsets. If false or unspecified, Speech
|
1118
|
+
# doesn't return any word-level information.
|
1119
|
+
# Corresponds to the JSON property `enableWordInfo`
|
1120
|
+
# @return [Boolean]
|
1121
|
+
attr_accessor :enable_word_info
|
1122
|
+
alias_method :enable_word_info?, :enable_word_info
|
1123
|
+
|
867
1124
|
# Required. The language of the supplied audio. Dialogflow does not do
|
868
1125
|
# translations. See [Language
|
869
1126
|
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
@@ -873,6 +1130,22 @@ module Google
|
|
873
1130
|
# @return [String]
|
874
1131
|
attr_accessor :language_code
|
875
1132
|
|
1133
|
+
# Optional. Which Speech model to select for the given request. Select the
|
1134
|
+
# model best suited to your domain to get best results. If a model is not
|
1135
|
+
# explicitly specified, then we auto-select a model based on the parameters
|
1136
|
+
# in the InputAudioConfig.
|
1137
|
+
# If enhanced speech model is enabled for the agent and an enhanced
|
1138
|
+
# version of the specified model for the language does not exist, then the
|
1139
|
+
# speech is recognized using the standard version of the specified model.
|
1140
|
+
# Refer to
|
1141
|
+
# [Cloud Speech API
|
1142
|
+
# documentation](https://cloud.google.com/speech-to-text/docs/basics#select-
|
1143
|
+
# model)
|
1144
|
+
# for more details.
|
1145
|
+
# Corresponds to the JSON property `model`
|
1146
|
+
# @return [String]
|
1147
|
+
attr_accessor :model
|
1148
|
+
|
876
1149
|
# Optional. Which variant of the Speech model to use.
|
877
1150
|
# Corresponds to the JSON property `modelVariant`
|
878
1151
|
# @return [String]
|
@@ -884,6 +1157,9 @@ module Google
|
|
884
1157
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
885
1158
|
# hints)
|
886
1159
|
# for more details.
|
1160
|
+
# This field is deprecated. Please use [speech_contexts]() instead. If you
|
1161
|
+
# specify both [phrase_hints]() and [speech_contexts](), Dialogflow will
|
1162
|
+
# treat the [phrase_hints]() as a single additional [SpeechContext]().
|
887
1163
|
# Corresponds to the JSON property `phraseHints`
|
888
1164
|
# @return [Array<String>]
|
889
1165
|
attr_accessor :phrase_hints
|
@@ -912,6 +1188,15 @@ module Google
|
|
912
1188
|
attr_accessor :single_utterance
|
913
1189
|
alias_method :single_utterance?, :single_utterance
|
914
1190
|
|
1191
|
+
# Optional. Context information to assist speech recognition.
|
1192
|
+
# See [the Cloud Speech
|
1193
|
+
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
1194
|
+
# hints)
|
1195
|
+
# for more details.
|
1196
|
+
# Corresponds to the JSON property `speechContexts`
|
1197
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechContext>]
|
1198
|
+
attr_accessor :speech_contexts
|
1199
|
+
|
915
1200
|
def initialize(**args)
|
916
1201
|
update!(**args)
|
917
1202
|
end
|
@@ -919,11 +1204,14 @@ module Google
|
|
919
1204
|
# Update properties of this object
|
920
1205
|
def update!(**args)
|
921
1206
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
1207
|
+
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
922
1208
|
@language_code = args[:language_code] if args.key?(:language_code)
|
1209
|
+
@model = args[:model] if args.key?(:model)
|
923
1210
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
924
1211
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
925
1212
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
926
1213
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
1214
|
+
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
927
1215
|
end
|
928
1216
|
end
|
929
1217
|
|
@@ -2252,6 +2540,33 @@ module Google
|
|
2252
2540
|
end
|
2253
2541
|
end
|
2254
2542
|
|
2543
|
+
# The response message for Environments.ListEnvironments.
|
2544
|
+
class GoogleCloudDialogflowV2ListEnvironmentsResponse
|
2545
|
+
include Google::Apis::Core::Hashable
|
2546
|
+
|
2547
|
+
# The list of agent environments. There will be a maximum number of items
|
2548
|
+
# returned based on the page_size field in the request.
|
2549
|
+
# Corresponds to the JSON property `environments`
|
2550
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment>]
|
2551
|
+
attr_accessor :environments
|
2552
|
+
|
2553
|
+
# Token to retrieve the next page of results, or empty if there are no
|
2554
|
+
# more results in the list.
|
2555
|
+
# Corresponds to the JSON property `nextPageToken`
|
2556
|
+
# @return [String]
|
2557
|
+
attr_accessor :next_page_token
|
2558
|
+
|
2559
|
+
def initialize(**args)
|
2560
|
+
update!(**args)
|
2561
|
+
end
|
2562
|
+
|
2563
|
+
# Update properties of this object
|
2564
|
+
def update!(**args)
|
2565
|
+
@environments = args[:environments] if args.key?(:environments)
|
2566
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2567
|
+
end
|
2568
|
+
end
|
2569
|
+
|
2255
2570
|
# The response message for Intents.ListIntents.
|
2256
2571
|
class GoogleCloudDialogflowV2ListIntentsResponse
|
2257
2572
|
include Google::Apis::Core::Hashable
|
@@ -2306,6 +2621,33 @@ module Google
|
|
2306
2621
|
end
|
2307
2622
|
end
|
2308
2623
|
|
2624
|
+
# The response message for Versions.ListVersions.
|
2625
|
+
class GoogleCloudDialogflowV2ListVersionsResponse
|
2626
|
+
include Google::Apis::Core::Hashable
|
2627
|
+
|
2628
|
+
# Token to retrieve the next page of results, or empty if there are no
|
2629
|
+
# more results in the list.
|
2630
|
+
# Corresponds to the JSON property `nextPageToken`
|
2631
|
+
# @return [String]
|
2632
|
+
attr_accessor :next_page_token
|
2633
|
+
|
2634
|
+
# The list of agent versions. There will be a maximum number of items
|
2635
|
+
# returned based on the page_size field in the request.
|
2636
|
+
# Corresponds to the JSON property `versions`
|
2637
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Version>]
|
2638
|
+
attr_accessor :versions
|
2639
|
+
|
2640
|
+
def initialize(**args)
|
2641
|
+
update!(**args)
|
2642
|
+
end
|
2643
|
+
|
2644
|
+
# Update properties of this object
|
2645
|
+
def update!(**args)
|
2646
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2647
|
+
@versions = args[:versions] if args.key?(:versions)
|
2648
|
+
end
|
2649
|
+
end
|
2650
|
+
|
2309
2651
|
# Represents a message posted into a conversation.
|
2310
2652
|
class GoogleCloudDialogflowV2Message
|
2311
2653
|
include Google::Apis::Core::Hashable
|
@@ -2439,6 +2781,8 @@ module Google
|
|
2439
2781
|
end
|
2440
2782
|
|
2441
2783
|
# Instructs the speech synthesizer on how to generate the output audio content.
|
2784
|
+
# If this audio config is supplied in a request, it overrides all existing
|
2785
|
+
# text-to-speech settings applied to the agent.
|
2442
2786
|
class GoogleCloudDialogflowV2OutputAudioConfig
|
2443
2787
|
include Google::Apis::Core::Hashable
|
2444
2788
|
|
@@ -2852,8 +3196,8 @@ module Google
|
|
2852
3196
|
end
|
2853
3197
|
|
2854
3198
|
# Represents a session entity type.
|
2855
|
-
# Extends or replaces a
|
2856
|
-
# refer to the entity types defined at the agent level as "
|
3199
|
+
# Extends or replaces a custom entity type at the user session level (we
|
3200
|
+
# refer to the entity types defined at the agent level as "custom entity
|
2857
3201
|
# types").
|
2858
3202
|
# Note: session entity types apply to all queries, regardless of the language.
|
2859
3203
|
class GoogleCloudDialogflowV2SessionEntityType
|
@@ -2866,7 +3210,7 @@ module Google
|
|
2866
3210
|
attr_accessor :entities
|
2867
3211
|
|
2868
3212
|
# Required. Indicates whether the additional data should override or
|
2869
|
-
# supplement the
|
3213
|
+
# supplement the custom entity type definition.
|
2870
3214
|
# Corresponds to the JSON property `entityOverrideMode`
|
2871
3215
|
# @return [String]
|
2872
3216
|
attr_accessor :entity_override_mode
|
@@ -2892,6 +3236,47 @@ module Google
|
|
2892
3236
|
end
|
2893
3237
|
end
|
2894
3238
|
|
3239
|
+
# Hints for the speech recognizer to help with recognition in a specific
|
3240
|
+
# conversation state.
|
3241
|
+
class GoogleCloudDialogflowV2SpeechContext
|
3242
|
+
include Google::Apis::Core::Hashable
|
3243
|
+
|
3244
|
+
# Optional. Boost for this context compared to other contexts:
|
3245
|
+
# * If the boost is positive, Dialogflow will increase the probability that
|
3246
|
+
# the phrases in this context are recognized over similar sounding phrases.
|
3247
|
+
# * If the boost is unspecified or non-positive, Dialogflow will not apply
|
3248
|
+
# any boost.
|
3249
|
+
# Dialogflow recommends that you use boosts in the range (0, 20] and that you
|
3250
|
+
# find a value that fits your use case with binary search.
|
3251
|
+
# Corresponds to the JSON property `boost`
|
3252
|
+
# @return [Float]
|
3253
|
+
attr_accessor :boost
|
3254
|
+
|
3255
|
+
# Optional. A list of strings containing words and phrases that the speech
|
3256
|
+
# recognizer should recognize with higher likelihood.
|
3257
|
+
# This list can be used to:
|
3258
|
+
# * improve accuracy for words and phrases you expect the user to say,
|
3259
|
+
# e.g. typical commands for your Dialogflow agent
|
3260
|
+
# * add additional words to the speech recognizer vocabulary
|
3261
|
+
# * ...
|
3262
|
+
# See the [Cloud Speech
|
3263
|
+
# documentation](https://cloud.google.com/speech-to-text/quotas) for usage
|
3264
|
+
# limits.
|
3265
|
+
# Corresponds to the JSON property `phrases`
|
3266
|
+
# @return [Array<String>]
|
3267
|
+
attr_accessor :phrases
|
3268
|
+
|
3269
|
+
def initialize(**args)
|
3270
|
+
update!(**args)
|
3271
|
+
end
|
3272
|
+
|
3273
|
+
# Update properties of this object
|
3274
|
+
def update!(**args)
|
3275
|
+
@boost = args[:boost] if args.key?(:boost)
|
3276
|
+
@phrases = args[:phrases] if args.key?(:phrases)
|
3277
|
+
end
|
3278
|
+
end
|
3279
|
+
|
2895
3280
|
# Configuration of how speech should be synthesized.
|
2896
3281
|
class GoogleCloudDialogflowV2SynthesizeSpeechConfig
|
2897
3282
|
include Google::Apis::Core::Hashable
|
@@ -2991,6 +3376,118 @@ module Google
|
|
2991
3376
|
end
|
2992
3377
|
end
|
2993
3378
|
|
3379
|
+
# Represents a single validation error.
|
3380
|
+
class GoogleCloudDialogflowV2ValidationError
|
3381
|
+
include Google::Apis::Core::Hashable
|
3382
|
+
|
3383
|
+
# The names of the entries that the error is associated with.
|
3384
|
+
# Format:
|
3385
|
+
# - "projects/<Project ID>/agent", if the error is associated with the entire
|
3386
|
+
# agent.
|
3387
|
+
# - "projects/<Project ID>/agent/intents/<Intent ID>", if the error is
|
3388
|
+
# associated with certain intents.
|
3389
|
+
# - "projects/<Project
|
3390
|
+
# ID>/agent/intents/<Intent Id>/trainingPhrases/<Training Phrase ID>", if the
|
3391
|
+
# error is associated with certain intent training phrases.
|
3392
|
+
# - "projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter
|
3393
|
+
# ID>", if the error is associated with certain intent parameters.
|
3394
|
+
# - "projects/<Project ID>/agent/entities/<Entity ID>", if the error is
|
3395
|
+
# associated with certain entities.
|
3396
|
+
# Corresponds to the JSON property `entries`
|
3397
|
+
# @return [Array<String>]
|
3398
|
+
attr_accessor :entries
|
3399
|
+
|
3400
|
+
# The detailed error messsage.
|
3401
|
+
# Corresponds to the JSON property `errorMessage`
|
3402
|
+
# @return [String]
|
3403
|
+
attr_accessor :error_message
|
3404
|
+
|
3405
|
+
# The severity of the error.
|
3406
|
+
# Corresponds to the JSON property `severity`
|
3407
|
+
# @return [String]
|
3408
|
+
attr_accessor :severity
|
3409
|
+
|
3410
|
+
def initialize(**args)
|
3411
|
+
update!(**args)
|
3412
|
+
end
|
3413
|
+
|
3414
|
+
# Update properties of this object
|
3415
|
+
def update!(**args)
|
3416
|
+
@entries = args[:entries] if args.key?(:entries)
|
3417
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
3418
|
+
@severity = args[:severity] if args.key?(:severity)
|
3419
|
+
end
|
3420
|
+
end
|
3421
|
+
|
3422
|
+
# Represents the output of agent validation.
|
3423
|
+
class GoogleCloudDialogflowV2ValidationResult
|
3424
|
+
include Google::Apis::Core::Hashable
|
3425
|
+
|
3426
|
+
# Contains all validation errors.
|
3427
|
+
# Corresponds to the JSON property `validationErrors`
|
3428
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ValidationError>]
|
3429
|
+
attr_accessor :validation_errors
|
3430
|
+
|
3431
|
+
def initialize(**args)
|
3432
|
+
update!(**args)
|
3433
|
+
end
|
3434
|
+
|
3435
|
+
# Update properties of this object
|
3436
|
+
def update!(**args)
|
3437
|
+
@validation_errors = args[:validation_errors] if args.key?(:validation_errors)
|
3438
|
+
end
|
3439
|
+
end
|
3440
|
+
|
3441
|
+
# Represents an agent version.
|
3442
|
+
class GoogleCloudDialogflowV2Version
|
3443
|
+
include Google::Apis::Core::Hashable
|
3444
|
+
|
3445
|
+
# Output only. The creation time of this version. This field is read-only, i.e.,
|
3446
|
+
# it cannot
|
3447
|
+
# be set by create and update methods.
|
3448
|
+
# Corresponds to the JSON property `createTime`
|
3449
|
+
# @return [String]
|
3450
|
+
attr_accessor :create_time
|
3451
|
+
|
3452
|
+
# Optional. The developer-provided description of this version.
|
3453
|
+
# Corresponds to the JSON property `description`
|
3454
|
+
# @return [String]
|
3455
|
+
attr_accessor :description
|
3456
|
+
|
3457
|
+
# Output only. The unique identifier of this agent version.
|
3458
|
+
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
|
3459
|
+
# Corresponds to the JSON property `name`
|
3460
|
+
# @return [String]
|
3461
|
+
attr_accessor :name
|
3462
|
+
|
3463
|
+
# Output only. The status of this version. This field is read-only and cannot be
|
3464
|
+
# set by
|
3465
|
+
# create and update methods.
|
3466
|
+
# Corresponds to the JSON property `status`
|
3467
|
+
# @return [String]
|
3468
|
+
attr_accessor :status
|
3469
|
+
|
3470
|
+
# Output only. The sequential number of this version. This field is read-only
|
3471
|
+
# which means
|
3472
|
+
# it cannot be set by create and update methods.
|
3473
|
+
# Corresponds to the JSON property `versionNumber`
|
3474
|
+
# @return [Fixnum]
|
3475
|
+
attr_accessor :version_number
|
3476
|
+
|
3477
|
+
def initialize(**args)
|
3478
|
+
update!(**args)
|
3479
|
+
end
|
3480
|
+
|
3481
|
+
# Update properties of this object
|
3482
|
+
def update!(**args)
|
3483
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3484
|
+
@description = args[:description] if args.key?(:description)
|
3485
|
+
@name = args[:name] if args.key?(:name)
|
3486
|
+
@status = args[:status] if args.key?(:status)
|
3487
|
+
@version_number = args[:version_number] if args.key?(:version_number)
|
3488
|
+
end
|
3489
|
+
end
|
3490
|
+
|
2994
3491
|
# Description of which voice to use for speech synthesis.
|
2995
3492
|
class GoogleCloudDialogflowV2VoiceSelectionParams
|
2996
3493
|
include Google::Apis::Core::Hashable
|
@@ -3389,7 +3886,7 @@ module Google
|
|
3389
3886
|
# For example, if the entity type is *vegetable*, the value could be
|
3390
3887
|
# *scallions*.
|
3391
3888
|
# For `KIND_MAP` entity types:
|
3392
|
-
# * A
|
3889
|
+
# * A reference value to be used in place of synonyms.
|
3393
3890
|
# For `KIND_LIST` entity types:
|
3394
3891
|
# * A string that can contain references to other entity types (with or
|
3395
3892
|
# without aliases).
|
@@ -5623,8 +6120,8 @@ module Google
|
|
5623
6120
|
end
|
5624
6121
|
|
5625
6122
|
# Represents a session entity type.
|
5626
|
-
# Extends or replaces a
|
5627
|
-
# refer to the entity types defined at the agent level as "
|
6123
|
+
# Extends or replaces a custom entity type at the user session level (we
|
6124
|
+
# refer to the entity types defined at the agent level as "custom entity
|
5628
6125
|
# types").
|
5629
6126
|
# Note: session entity types apply to all queries, regardless of the language.
|
5630
6127
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
@@ -5637,7 +6134,7 @@ module Google
|
|
5637
6134
|
attr_accessor :entities
|
5638
6135
|
|
5639
6136
|
# Required. Indicates whether the additional data should override or
|
5640
|
-
# supplement the
|
6137
|
+
# supplement the custom entity type definition.
|
5641
6138
|
# Corresponds to the JSON property `entityOverrideMode`
|
5642
6139
|
# @return [String]
|
5643
6140
|
attr_accessor :entity_override_mode
|