google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- 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/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/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/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.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/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -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/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.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/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -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/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- 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/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- 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/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- 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/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- 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/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -48,13 +48,10 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
51
|
+
# Deletes the specified agent.
|
52
52
|
# @param [String] parent
|
53
|
-
# Required. The project
|
53
|
+
# Required. The project that the agent to delete is associated with.
|
54
54
|
# Format: `projects/<Project ID>`.
|
55
|
-
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
56
|
-
# @param [String] update_mask
|
57
|
-
# Optional. The mask to control which fields get updated.
|
58
55
|
# @param [String] fields
|
59
56
|
# Selector specifying which fields to include in a partial response.
|
60
57
|
# @param [String] quota_user
|
@@ -64,30 +61,27 @@ module Google
|
|
64
61
|
# Request-specific options
|
65
62
|
#
|
66
63
|
# @yield [result, err] Result & error if block supplied
|
67
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
64
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
68
65
|
# @yieldparam err [StandardError] error object if request failed
|
69
66
|
#
|
70
|
-
# @return [Google::Apis::DialogflowV2::
|
67
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
71
68
|
#
|
72
69
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
-
def
|
76
|
-
command = make_simple_command(:
|
77
|
-
command.
|
78
|
-
command.
|
79
|
-
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
|
80
|
-
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
|
72
|
+
def delete_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
+
command = make_simple_command(:delete, 'v2/{+parent}/agent', options)
|
74
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
75
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
81
76
|
command.params['parent'] = parent unless parent.nil?
|
82
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
83
77
|
command.query['fields'] = fields unless fields.nil?
|
84
78
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
79
|
execute_or_queue_command(command, &block)
|
86
80
|
end
|
87
81
|
|
88
|
-
#
|
82
|
+
# Retrieves the specified agent.
|
89
83
|
# @param [String] parent
|
90
|
-
# Required. The project that the agent to
|
84
|
+
# Required. The project that the agent to fetch is associated with.
|
91
85
|
# Format: `projects/<Project ID>`.
|
92
86
|
# @param [String] fields
|
93
87
|
# Selector specifying which fields to include in a partial response.
|
@@ -98,28 +92,31 @@ module Google
|
|
98
92
|
# Request-specific options
|
99
93
|
#
|
100
94
|
# @yield [result, err] Result & error if block supplied
|
101
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
95
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] parsed result object
|
102
96
|
# @yieldparam err [StandardError] error object if request failed
|
103
97
|
#
|
104
|
-
# @return [Google::Apis::DialogflowV2::
|
98
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent]
|
105
99
|
#
|
106
100
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
-
def
|
110
|
-
command = make_simple_command(:
|
111
|
-
command.response_representation = Google::Apis::DialogflowV2::
|
112
|
-
command.response_class = Google::Apis::DialogflowV2::
|
103
|
+
def get_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
104
|
+
command = make_simple_command(:get, 'v2/{+parent}/agent', options)
|
105
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
|
106
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
|
113
107
|
command.params['parent'] = parent unless parent.nil?
|
114
108
|
command.query['fields'] = fields unless fields.nil?
|
115
109
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
110
|
execute_or_queue_command(command, &block)
|
117
111
|
end
|
118
112
|
|
119
|
-
#
|
113
|
+
# Creates/updates the specified agent.
|
120
114
|
# @param [String] parent
|
121
|
-
# Required. The project
|
115
|
+
# Required. The project of this agent.
|
122
116
|
# Format: `projects/<Project ID>`.
|
117
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
118
|
+
# @param [String] update_mask
|
119
|
+
# Optional. The mask to control which fields get updated.
|
123
120
|
# @param [String] fields
|
124
121
|
# Selector specifying which fields to include in a partial response.
|
125
122
|
# @param [String] quota_user
|
@@ -137,11 +134,14 @@ module Google
|
|
137
134
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
138
135
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
136
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
|
-
def
|
141
|
-
command = make_simple_command(:
|
137
|
+
def set_project_agent(parent, google_cloud_dialogflow_v2_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
138
|
+
command = make_simple_command(:post, 'v2/{+parent}/agent', options)
|
139
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
|
140
|
+
command.request_object = google_cloud_dialogflow_v2_agent_object
|
142
141
|
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
|
143
142
|
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
|
144
143
|
command.params['parent'] = parent unless parent.nil?
|
144
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
145
145
|
command.query['fields'] = fields unless fields.nil?
|
146
146
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
147
147
|
execute_or_queue_command(command, &block)
|
@@ -182,6 +182,76 @@ module Google
|
|
182
182
|
execute_or_queue_command(command, &block)
|
183
183
|
end
|
184
184
|
|
185
|
+
# Retrieves the fulfillment.
|
186
|
+
# @param [String] name
|
187
|
+
# Required. The name of the fulfillment.
|
188
|
+
# Format: `projects/<Project ID>/agent/fulfillment`.
|
189
|
+
# @param [String] fields
|
190
|
+
# Selector specifying which fields to include in a partial response.
|
191
|
+
# @param [String] quota_user
|
192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
194
|
+
# @param [Google::Apis::RequestOptions] options
|
195
|
+
# Request-specific options
|
196
|
+
#
|
197
|
+
# @yield [result, err] Result & error if block supplied
|
198
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment] parsed result object
|
199
|
+
# @yieldparam err [StandardError] error object if request failed
|
200
|
+
#
|
201
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment]
|
202
|
+
#
|
203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
|
+
def get_project_agent_fulfillment(name, fields: nil, quota_user: nil, options: nil, &block)
|
207
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
208
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment::Representation
|
209
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment
|
210
|
+
command.params['name'] = name unless name.nil?
|
211
|
+
command.query['fields'] = fields unless fields.nil?
|
212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
213
|
+
execute_or_queue_command(command, &block)
|
214
|
+
end
|
215
|
+
|
216
|
+
# Gets agent validation result. Agent validation is performed during
|
217
|
+
# training time and is updated automatically when training is completed.
|
218
|
+
# @param [String] parent
|
219
|
+
# Required. The project that the agent is associated with.
|
220
|
+
# Format: `projects/<Project ID>`.
|
221
|
+
# @param [String] language_code
|
222
|
+
# Optional. The language for which you want a validation result. If not
|
223
|
+
# specified, the agent's default language is used. [Many
|
224
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
225
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
226
|
+
# be used.
|
227
|
+
# @param [String] fields
|
228
|
+
# Selector specifying which fields to include in a partial response.
|
229
|
+
# @param [String] quota_user
|
230
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
231
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
232
|
+
# @param [Google::Apis::RequestOptions] options
|
233
|
+
# Request-specific options
|
234
|
+
#
|
235
|
+
# @yield [result, err] Result & error if block supplied
|
236
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ValidationResult] parsed result object
|
237
|
+
# @yieldparam err [StandardError] error object if request failed
|
238
|
+
#
|
239
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ValidationResult]
|
240
|
+
#
|
241
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
242
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
243
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
244
|
+
def get_project_agent_validation_result(parent, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
245
|
+
command = make_simple_command(:get, 'v2/{+parent}/agent/validationResult', options)
|
246
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ValidationResult::Representation
|
247
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ValidationResult
|
248
|
+
command.params['parent'] = parent unless parent.nil?
|
249
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
250
|
+
command.query['fields'] = fields unless fields.nil?
|
251
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
252
|
+
execute_or_queue_command(command, &block)
|
253
|
+
end
|
254
|
+
|
185
255
|
# Imports the specified agent from a ZIP file.
|
186
256
|
# Uploads new intents and entity types without deleting the existing ones.
|
187
257
|
# Intents and entity types with the same name are replaced with the new
|
@@ -336,6 +406,44 @@ module Google
|
|
336
406
|
execute_or_queue_command(command, &block)
|
337
407
|
end
|
338
408
|
|
409
|
+
# Updates the fulfillment.
|
410
|
+
# @param [String] name
|
411
|
+
# Required. The unique identifier of the fulfillment.
|
412
|
+
# Format: `projects/<Project ID>/agent/fulfillment`.
|
413
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment] google_cloud_dialogflow_v2_fulfillment_object
|
414
|
+
# @param [String] update_mask
|
415
|
+
# Required. The mask to control which fields get updated. If the mask is not
|
416
|
+
# present, all fields will be updated.
|
417
|
+
# @param [String] fields
|
418
|
+
# Selector specifying which fields to include in a partial response.
|
419
|
+
# @param [String] quota_user
|
420
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
421
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
422
|
+
# @param [Google::Apis::RequestOptions] options
|
423
|
+
# Request-specific options
|
424
|
+
#
|
425
|
+
# @yield [result, err] Result & error if block supplied
|
426
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment] parsed result object
|
427
|
+
# @yieldparam err [StandardError] error object if request failed
|
428
|
+
#
|
429
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment]
|
430
|
+
#
|
431
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
+
def update_project_agent_fulfillment(name, google_cloud_dialogflow_v2_fulfillment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
436
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment::Representation
|
437
|
+
command.request_object = google_cloud_dialogflow_v2_fulfillment_object
|
438
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment::Representation
|
439
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment
|
440
|
+
command.params['name'] = name unless name.nil?
|
441
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
442
|
+
command.query['fields'] = fields unless fields.nil?
|
443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
444
|
+
execute_or_queue_command(command, &block)
|
445
|
+
end
|
446
|
+
|
339
447
|
# Deletes entity types in the specified agent.
|
340
448
|
# Operation <response: google.protobuf.Empty>
|
341
449
|
# @param [String] parent
|
@@ -412,12 +520,12 @@ module Google
|
|
412
520
|
# Format: `projects/<Project ID>/agent`.
|
413
521
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
414
522
|
# @param [String] language_code
|
415
|
-
# Optional. The language
|
416
|
-
# specified, the agent's default language is used.
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
523
|
+
# Optional. The language used to access language-specific data.
|
524
|
+
# If not specified, the agent's default language is used.
|
525
|
+
# For more information, see
|
526
|
+
# [Multilingual intent and entity
|
527
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
528
|
+
# entity).
|
421
529
|
# @param [String] fields
|
422
530
|
# Selector specifying which fields to include in a partial response.
|
423
531
|
# @param [String] quota_user
|
@@ -484,12 +592,12 @@ module Google
|
|
484
592
|
# Required. The name of the entity type.
|
485
593
|
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
486
594
|
# @param [String] language_code
|
487
|
-
# Optional. The language to
|
488
|
-
# the agent's default language is used.
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
595
|
+
# Optional. The language used to access language-specific data.
|
596
|
+
# If not specified, the agent's default language is used.
|
597
|
+
# For more information, see
|
598
|
+
# [Multilingual intent and entity
|
599
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
600
|
+
# entity).
|
493
601
|
# @param [String] fields
|
494
602
|
# Selector specifying which fields to include in a partial response.
|
495
603
|
# @param [String] quota_user
|
@@ -523,12 +631,12 @@ module Google
|
|
523
631
|
# Required. The agent to list all entity types from.
|
524
632
|
# Format: `projects/<Project ID>/agent`.
|
525
633
|
# @param [String] language_code
|
526
|
-
# Optional. The language to
|
527
|
-
# the agent's default language is used.
|
528
|
-
#
|
529
|
-
#
|
530
|
-
#
|
531
|
-
#
|
634
|
+
# Optional. The language used to access language-specific data.
|
635
|
+
# If not specified, the agent's default language is used.
|
636
|
+
# For more information, see
|
637
|
+
# [Multilingual intent and entity
|
638
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
639
|
+
# entity).
|
532
640
|
# @param [Fixnum] page_size
|
533
641
|
# Optional. The maximum number of items to return in a single page. By
|
534
642
|
# default 100 and at most 1000.
|
@@ -572,12 +680,12 @@ module Google
|
|
572
680
|
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
573
681
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
574
682
|
# @param [String] language_code
|
575
|
-
# Optional. The language
|
576
|
-
# specified, the agent's default language is used.
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
683
|
+
# Optional. The language used to access language-specific data.
|
684
|
+
# If not specified, the agent's default language is used.
|
685
|
+
# For more information, see
|
686
|
+
# [Multilingual intent and entity
|
687
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
688
|
+
# entity).
|
581
689
|
# @param [String] update_mask
|
582
690
|
# Optional. The mask to control which fields get updated.
|
583
691
|
# @param [String] fields
|
@@ -718,12 +826,16 @@ module Google
|
|
718
826
|
execute_or_queue_command(command, &block)
|
719
827
|
end
|
720
828
|
|
721
|
-
#
|
722
|
-
# Operation <response: google.protobuf.Empty>
|
829
|
+
# Returns the list of all non-draft environments of the specified agent.
|
723
830
|
# @param [String] parent
|
724
|
-
# Required. The
|
725
|
-
# `projects/<Project ID>/agent`.
|
726
|
-
# @param [
|
831
|
+
# Required. The agent to list all environments from.
|
832
|
+
# Format: `projects/<Project ID>/agent`.
|
833
|
+
# @param [Fixnum] page_size
|
834
|
+
# Optional. The maximum number of items to return in a single page. By default
|
835
|
+
# 100 and
|
836
|
+
# at most 1000.
|
837
|
+
# @param [String] page_token
|
838
|
+
# Optional. The next_page_token value returned from a previous list request.
|
727
839
|
# @param [String] fields
|
728
840
|
# Selector specifying which fields to include in a partial response.
|
729
841
|
# @param [String] quota_user
|
@@ -733,32 +845,34 @@ module Google
|
|
733
845
|
# Request-specific options
|
734
846
|
#
|
735
847
|
# @yield [result, err] Result & error if block supplied
|
736
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
848
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse] parsed result object
|
737
849
|
# @yieldparam err [StandardError] error object if request failed
|
738
850
|
#
|
739
|
-
# @return [Google::Apis::DialogflowV2::
|
851
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse]
|
740
852
|
#
|
741
853
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
742
854
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
743
855
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
744
|
-
def
|
745
|
-
command = make_simple_command(:
|
746
|
-
command.
|
747
|
-
command.
|
748
|
-
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
|
749
|
-
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
|
856
|
+
def list_project_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
857
|
+
command = make_simple_command(:get, 'v2/{+parent}/environments', options)
|
858
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse::Representation
|
859
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse
|
750
860
|
command.params['parent'] = parent unless parent.nil?
|
861
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
862
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
751
863
|
command.query['fields'] = fields unless fields.nil?
|
752
864
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
753
865
|
execute_or_queue_command(command, &block)
|
754
866
|
end
|
755
867
|
|
756
|
-
#
|
757
|
-
# Operation <response: BatchUpdateIntentsResponse>
|
868
|
+
# Deletes all active contexts in the specified session.
|
758
869
|
# @param [String] parent
|
759
|
-
# Required. The name of the
|
760
|
-
#
|
761
|
-
#
|
870
|
+
# Required. The name of the session to delete all contexts from. Format:
|
871
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
|
872
|
+
# ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
|
873
|
+
# ID>`.
|
874
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
875
|
+
# If `User ID` is not specified, we assume default '-' user.
|
762
876
|
# @param [String] fields
|
763
877
|
# Selector specifying which fields to include in a partial response.
|
764
878
|
# @param [String] quota_user
|
@@ -768,40 +882,39 @@ module Google
|
|
768
882
|
# Request-specific options
|
769
883
|
#
|
770
884
|
# @yield [result, err] Result & error if block supplied
|
771
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
885
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
772
886
|
# @yieldparam err [StandardError] error object if request failed
|
773
887
|
#
|
774
|
-
# @return [Google::Apis::DialogflowV2::
|
888
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
775
889
|
#
|
776
890
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
777
891
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
778
892
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
779
|
-
def
|
780
|
-
command = make_simple_command(:
|
781
|
-
command.
|
782
|
-
command.
|
783
|
-
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
|
784
|
-
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
|
893
|
+
def delete_project_agent_environment_user_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
|
894
|
+
command = make_simple_command(:delete, 'v2/{+parent}/contexts', options)
|
895
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
896
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
785
897
|
command.params['parent'] = parent unless parent.nil?
|
786
898
|
command.query['fields'] = fields unless fields.nil?
|
787
899
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
788
900
|
execute_or_queue_command(command, &block)
|
789
901
|
end
|
790
902
|
|
791
|
-
#
|
792
|
-
#
|
793
|
-
#
|
794
|
-
#
|
795
|
-
# @param [
|
796
|
-
#
|
797
|
-
#
|
798
|
-
#
|
799
|
-
#
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
#
|
804
|
-
#
|
903
|
+
# Processes a natural language query and returns structured, actionable data
|
904
|
+
# as a result. This method is not idempotent, because it may cause contexts
|
905
|
+
# and session entity types to be updated, which in turn might affect
|
906
|
+
# results of future queries.
|
907
|
+
# @param [String] session
|
908
|
+
# Required. The name of the session this query is sent to. Format:
|
909
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>`, or
|
910
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
911
|
+
# ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
|
912
|
+
# default 'draft' environment. If `User ID` is not specified, we are using
|
913
|
+
# "-". It's up to the API caller to choose an appropriate `Session ID` and
|
914
|
+
# `User Id`. They can be a random number or some type of user and session
|
915
|
+
# identifiers (preferably hashed). The length of the `Session ID` and
|
916
|
+
# `User ID` must not exceed 36 characters.
|
917
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
805
918
|
# @param [String] fields
|
806
919
|
# Selector specifying which fields to include in a partial response.
|
807
920
|
# @param [String] quota_user
|
@@ -811,33 +924,36 @@ module Google
|
|
811
924
|
# Request-specific options
|
812
925
|
#
|
813
926
|
# @yield [result, err] Result & error if block supplied
|
814
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
927
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse] parsed result object
|
815
928
|
# @yieldparam err [StandardError] error object if request failed
|
816
929
|
#
|
817
|
-
# @return [Google::Apis::DialogflowV2::
|
930
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse]
|
818
931
|
#
|
819
932
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
820
933
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
821
934
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
822
|
-
def
|
823
|
-
command = make_simple_command(:post, 'v2/{+
|
824
|
-
command.request_representation = Google::Apis::DialogflowV2::
|
825
|
-
command.request_object =
|
826
|
-
command.response_representation = Google::Apis::DialogflowV2::
|
827
|
-
command.response_class = Google::Apis::DialogflowV2::
|
828
|
-
command.params['
|
829
|
-
command.query['intentView'] = intent_view unless intent_view.nil?
|
830
|
-
command.query['languageCode'] = language_code unless language_code.nil?
|
935
|
+
def detect_project_agent_environment_user_session_intent(session, google_cloud_dialogflow_v2_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
936
|
+
command = make_simple_command(:post, 'v2/{+session}:detectIntent', options)
|
937
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest::Representation
|
938
|
+
command.request_object = google_cloud_dialogflow_v2_detect_intent_request_object
|
939
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse::Representation
|
940
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
|
941
|
+
command.params['session'] = session unless session.nil?
|
831
942
|
command.query['fields'] = fields unless fields.nil?
|
832
943
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
833
944
|
execute_or_queue_command(command, &block)
|
834
945
|
end
|
835
946
|
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
840
|
-
# Format: `projects/<Project ID>/agent/
|
947
|
+
# Creates a context.
|
948
|
+
# If the specified context already exists, overrides the context.
|
949
|
+
# @param [String] parent
|
950
|
+
# Required. The session to create a context for.
|
951
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
952
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
953
|
+
# ID>/sessions/<Session ID>`.
|
954
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
955
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
956
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
841
957
|
# @param [String] fields
|
842
958
|
# Selector specifying which fields to include in a partial response.
|
843
959
|
# @param [String] quota_user
|
@@ -847,37 +963,34 @@ module Google
|
|
847
963
|
# Request-specific options
|
848
964
|
#
|
849
965
|
# @yield [result, err] Result & error if block supplied
|
850
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
966
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] parsed result object
|
851
967
|
# @yieldparam err [StandardError] error object if request failed
|
852
968
|
#
|
853
|
-
# @return [Google::Apis::DialogflowV2::
|
969
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context]
|
854
970
|
#
|
855
971
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
972
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
973
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
-
def
|
859
|
-
command = make_simple_command(:
|
860
|
-
command.
|
861
|
-
command.
|
862
|
-
command.
|
974
|
+
def create_project_agent_environment_user_session_context(parent, google_cloud_dialogflow_v2_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
975
|
+
command = make_simple_command(:post, 'v2/{+parent}/contexts', options)
|
976
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
|
977
|
+
command.request_object = google_cloud_dialogflow_v2_context_object
|
978
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
|
979
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context
|
980
|
+
command.params['parent'] = parent unless parent.nil?
|
863
981
|
command.query['fields'] = fields unless fields.nil?
|
864
982
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
865
983
|
execute_or_queue_command(command, &block)
|
866
984
|
end
|
867
985
|
|
868
|
-
#
|
986
|
+
# Deletes the specified context.
|
869
987
|
# @param [String] name
|
870
|
-
# Required. The name of the
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
875
|
-
#
|
876
|
-
# messages for. If not specified, the agent's default language is used.
|
877
|
-
# [Many
|
878
|
-
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
879
|
-
# are supported. Note: languages must be enabled in the agent before they can
|
880
|
-
# be used.
|
988
|
+
# Required. The name of the context to delete. Format:
|
989
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
990
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
991
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
992
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
993
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
881
994
|
# @param [String] fields
|
882
995
|
# Selector specifying which fields to include in a partial response.
|
883
996
|
# @param [String] quota_user
|
@@ -887,16 +1000,541 @@ module Google
|
|
887
1000
|
# Request-specific options
|
888
1001
|
#
|
889
1002
|
# @yield [result, err] Result & error if block supplied
|
890
|
-
# @yieldparam result [Google::Apis::DialogflowV2::
|
1003
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
891
1004
|
# @yieldparam err [StandardError] error object if request failed
|
892
1005
|
#
|
893
|
-
# @return [Google::Apis::DialogflowV2::
|
1006
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
894
1007
|
#
|
895
1008
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
896
1009
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
897
1010
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
898
|
-
def
|
899
|
-
command = make_simple_command(:
|
1011
|
+
def delete_project_agent_environment_user_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
1012
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
1013
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
1014
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
1015
|
+
command.params['name'] = name unless name.nil?
|
1016
|
+
command.query['fields'] = fields unless fields.nil?
|
1017
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1018
|
+
execute_or_queue_command(command, &block)
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# Retrieves the specified context.
|
1022
|
+
# @param [String] name
|
1023
|
+
# Required. The name of the context. Format:
|
1024
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
1025
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1026
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
1027
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1028
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1029
|
+
# @param [String] fields
|
1030
|
+
# Selector specifying which fields to include in a partial response.
|
1031
|
+
# @param [String] quota_user
|
1032
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1033
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1034
|
+
# @param [Google::Apis::RequestOptions] options
|
1035
|
+
# Request-specific options
|
1036
|
+
#
|
1037
|
+
# @yield [result, err] Result & error if block supplied
|
1038
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] parsed result object
|
1039
|
+
# @yieldparam err [StandardError] error object if request failed
|
1040
|
+
#
|
1041
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context]
|
1042
|
+
#
|
1043
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1044
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1045
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1046
|
+
def get_project_agent_environment_user_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
1047
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1048
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
|
1049
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context
|
1050
|
+
command.params['name'] = name unless name.nil?
|
1051
|
+
command.query['fields'] = fields unless fields.nil?
|
1052
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1053
|
+
execute_or_queue_command(command, &block)
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
# Returns the list of all contexts in the specified session.
|
1057
|
+
# @param [String] parent
|
1058
|
+
# Required. The session to list all contexts from.
|
1059
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
1060
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1061
|
+
# ID>/sessions/<Session ID>`.
|
1062
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1063
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1064
|
+
# @param [Fixnum] page_size
|
1065
|
+
# Optional. The maximum number of items to return in a single page. By
|
1066
|
+
# default 100 and at most 1000.
|
1067
|
+
# @param [String] page_token
|
1068
|
+
# Optional. The next_page_token value returned from a previous list request.
|
1069
|
+
# @param [String] fields
|
1070
|
+
# Selector specifying which fields to include in a partial response.
|
1071
|
+
# @param [String] quota_user
|
1072
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1073
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1074
|
+
# @param [Google::Apis::RequestOptions] options
|
1075
|
+
# Request-specific options
|
1076
|
+
#
|
1077
|
+
# @yield [result, err] Result & error if block supplied
|
1078
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse] parsed result object
|
1079
|
+
# @yieldparam err [StandardError] error object if request failed
|
1080
|
+
#
|
1081
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse]
|
1082
|
+
#
|
1083
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1084
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1085
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1086
|
+
def list_project_agent_environment_user_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1087
|
+
command = make_simple_command(:get, 'v2/{+parent}/contexts', options)
|
1088
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse::Representation
|
1089
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListContextsResponse
|
1090
|
+
command.params['parent'] = parent unless parent.nil?
|
1091
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1092
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1093
|
+
command.query['fields'] = fields unless fields.nil?
|
1094
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1095
|
+
execute_or_queue_command(command, &block)
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# Updates the specified context.
|
1099
|
+
# @param [String] name
|
1100
|
+
# Required. The unique identifier of the context. Format:
|
1101
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
|
1102
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1103
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
1104
|
+
# The `Context ID` is always converted to lowercase, may only contain
|
1105
|
+
# characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
|
1106
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1107
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1108
|
+
# The following context names are reserved for internal use by Dialogflow.
|
1109
|
+
# You should not use these contexts or create contexts with these names:
|
1110
|
+
# * `__system_counters__`
|
1111
|
+
# * `*_id_dialog_context`
|
1112
|
+
# * `*_dialog_params_size`
|
1113
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
1114
|
+
# @param [String] update_mask
|
1115
|
+
# Optional. The mask to control which fields get updated.
|
1116
|
+
# @param [String] fields
|
1117
|
+
# Selector specifying which fields to include in a partial response.
|
1118
|
+
# @param [String] quota_user
|
1119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1121
|
+
# @param [Google::Apis::RequestOptions] options
|
1122
|
+
# Request-specific options
|
1123
|
+
#
|
1124
|
+
# @yield [result, err] Result & error if block supplied
|
1125
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] parsed result object
|
1126
|
+
# @yieldparam err [StandardError] error object if request failed
|
1127
|
+
#
|
1128
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context]
|
1129
|
+
#
|
1130
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1131
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1132
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1133
|
+
def patch_project_agent_environment_user_session_context(name, google_cloud_dialogflow_v2_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1134
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
1135
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
|
1136
|
+
command.request_object = google_cloud_dialogflow_v2_context_object
|
1137
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context::Representation
|
1138
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context
|
1139
|
+
command.params['name'] = name unless name.nil?
|
1140
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1141
|
+
command.query['fields'] = fields unless fields.nil?
|
1142
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1143
|
+
execute_or_queue_command(command, &block)
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# Creates a session entity type.
|
1147
|
+
# If the specified session entity type already exists, overrides the session
|
1148
|
+
# entity type.
|
1149
|
+
# This method doesn't work with Google Assistant integration.
|
1150
|
+
# Contact Dialogflow support if you need to use session entities
|
1151
|
+
# with Google Assistant integration.
|
1152
|
+
# @param [String] parent
|
1153
|
+
# Required. The session to create a session entity type for.
|
1154
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
1155
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
|
1156
|
+
# sessions/<Session ID>`.
|
1157
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1158
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1159
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
1160
|
+
# @param [String] fields
|
1161
|
+
# Selector specifying which fields to include in a partial response.
|
1162
|
+
# @param [String] quota_user
|
1163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1165
|
+
# @param [Google::Apis::RequestOptions] options
|
1166
|
+
# Request-specific options
|
1167
|
+
#
|
1168
|
+
# @yield [result, err] Result & error if block supplied
|
1169
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] parsed result object
|
1170
|
+
# @yieldparam err [StandardError] error object if request failed
|
1171
|
+
#
|
1172
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType]
|
1173
|
+
#
|
1174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1177
|
+
def create_project_agent_environment_user_session_entity_type(parent, google_cloud_dialogflow_v2_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1178
|
+
command = make_simple_command(:post, 'v2/{+parent}/entityTypes', options)
|
1179
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
|
1180
|
+
command.request_object = google_cloud_dialogflow_v2_session_entity_type_object
|
1181
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
|
1182
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType
|
1183
|
+
command.params['parent'] = parent unless parent.nil?
|
1184
|
+
command.query['fields'] = fields unless fields.nil?
|
1185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1186
|
+
execute_or_queue_command(command, &block)
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Deletes the specified session entity type.
|
1190
|
+
# This method doesn't work with Google Assistant integration.
|
1191
|
+
# Contact Dialogflow support if you need to use session entities
|
1192
|
+
# with Google Assistant integration.
|
1193
|
+
# @param [String] name
|
1194
|
+
# Required. The name of the entity type to delete. Format:
|
1195
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1196
|
+
# Display Name>` or `projects/<Project ID>/agent/environments/<Environment
|
1197
|
+
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1198
|
+
# Name>`.
|
1199
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1200
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1201
|
+
# @param [String] fields
|
1202
|
+
# Selector specifying which fields to include in a partial response.
|
1203
|
+
# @param [String] quota_user
|
1204
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1205
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1206
|
+
# @param [Google::Apis::RequestOptions] options
|
1207
|
+
# Request-specific options
|
1208
|
+
#
|
1209
|
+
# @yield [result, err] Result & error if block supplied
|
1210
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
1211
|
+
# @yieldparam err [StandardError] error object if request failed
|
1212
|
+
#
|
1213
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
1214
|
+
#
|
1215
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1216
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1217
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1218
|
+
def delete_project_agent_environment_user_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
1219
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
1220
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
1221
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
1222
|
+
command.params['name'] = name unless name.nil?
|
1223
|
+
command.query['fields'] = fields unless fields.nil?
|
1224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1225
|
+
execute_or_queue_command(command, &block)
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
# Retrieves the specified session entity type.
|
1229
|
+
# This method doesn't work with Google Assistant integration.
|
1230
|
+
# Contact Dialogflow support if you need to use session entities
|
1231
|
+
# with Google Assistant integration.
|
1232
|
+
# @param [String] name
|
1233
|
+
# Required. The name of the session entity type. Format:
|
1234
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1235
|
+
# Display Name>` or `projects/<Project ID>/agent/environments/<Environment
|
1236
|
+
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1237
|
+
# Name>`.
|
1238
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1239
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1240
|
+
# @param [String] fields
|
1241
|
+
# Selector specifying which fields to include in a partial response.
|
1242
|
+
# @param [String] quota_user
|
1243
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1244
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1245
|
+
# @param [Google::Apis::RequestOptions] options
|
1246
|
+
# Request-specific options
|
1247
|
+
#
|
1248
|
+
# @yield [result, err] Result & error if block supplied
|
1249
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] parsed result object
|
1250
|
+
# @yieldparam err [StandardError] error object if request failed
|
1251
|
+
#
|
1252
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType]
|
1253
|
+
#
|
1254
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1255
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1256
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1257
|
+
def get_project_agent_environment_user_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
1258
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1259
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
|
1260
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType
|
1261
|
+
command.params['name'] = name unless name.nil?
|
1262
|
+
command.query['fields'] = fields unless fields.nil?
|
1263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1264
|
+
execute_or_queue_command(command, &block)
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# Returns the list of all session entity types in the specified session.
|
1268
|
+
# This method doesn't work with Google Assistant integration.
|
1269
|
+
# Contact Dialogflow support if you need to use session entities
|
1270
|
+
# with Google Assistant integration.
|
1271
|
+
# @param [String] parent
|
1272
|
+
# Required. The session to list all session entity types from.
|
1273
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
1274
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
|
1275
|
+
# sessions/<Session ID>`.
|
1276
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1277
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1278
|
+
# @param [Fixnum] page_size
|
1279
|
+
# Optional. The maximum number of items to return in a single page. By
|
1280
|
+
# default 100 and at most 1000.
|
1281
|
+
# @param [String] page_token
|
1282
|
+
# Optional. The next_page_token value returned from a previous list request.
|
1283
|
+
# @param [String] fields
|
1284
|
+
# Selector specifying which fields to include in a partial response.
|
1285
|
+
# @param [String] quota_user
|
1286
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1287
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1288
|
+
# @param [Google::Apis::RequestOptions] options
|
1289
|
+
# Request-specific options
|
1290
|
+
#
|
1291
|
+
# @yield [result, err] Result & error if block supplied
|
1292
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSessionEntityTypesResponse] parsed result object
|
1293
|
+
# @yieldparam err [StandardError] error object if request failed
|
1294
|
+
#
|
1295
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSessionEntityTypesResponse]
|
1296
|
+
#
|
1297
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1298
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1299
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1300
|
+
def list_project_agent_environment_user_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1301
|
+
command = make_simple_command(:get, 'v2/{+parent}/entityTypes', options)
|
1302
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSessionEntityTypesResponse::Representation
|
1303
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListSessionEntityTypesResponse
|
1304
|
+
command.params['parent'] = parent unless parent.nil?
|
1305
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1306
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1307
|
+
command.query['fields'] = fields unless fields.nil?
|
1308
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1309
|
+
execute_or_queue_command(command, &block)
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
# Updates the specified session entity type.
|
1313
|
+
# This method doesn't work with Google Assistant integration.
|
1314
|
+
# Contact Dialogflow support if you need to use session entities
|
1315
|
+
# with Google Assistant integration.
|
1316
|
+
# @param [String] name
|
1317
|
+
# Required. The unique identifier of this session entity type. Format:
|
1318
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1319
|
+
# Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
|
1320
|
+
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1321
|
+
# Name>`.
|
1322
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1323
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1324
|
+
# `<Entity Type Display Name>` must be the display name of an existing entity
|
1325
|
+
# type in the same agent that will be overridden or supplemented.
|
1326
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
1327
|
+
# @param [String] update_mask
|
1328
|
+
# Optional. The mask to control which fields get updated.
|
1329
|
+
# @param [String] fields
|
1330
|
+
# Selector specifying which fields to include in a partial response.
|
1331
|
+
# @param [String] quota_user
|
1332
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1333
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1334
|
+
# @param [Google::Apis::RequestOptions] options
|
1335
|
+
# Request-specific options
|
1336
|
+
#
|
1337
|
+
# @yield [result, err] Result & error if block supplied
|
1338
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] parsed result object
|
1339
|
+
# @yieldparam err [StandardError] error object if request failed
|
1340
|
+
#
|
1341
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType]
|
1342
|
+
#
|
1343
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1344
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1345
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1346
|
+
def patch_project_agent_environment_user_session_entity_type(name, google_cloud_dialogflow_v2_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1347
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
1348
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
|
1349
|
+
command.request_object = google_cloud_dialogflow_v2_session_entity_type_object
|
1350
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
|
1351
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType
|
1352
|
+
command.params['name'] = name unless name.nil?
|
1353
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1354
|
+
command.query['fields'] = fields unless fields.nil?
|
1355
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1356
|
+
execute_or_queue_command(command, &block)
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# Deletes intents in the specified agent.
|
1360
|
+
# Operation <response: google.protobuf.Empty>
|
1361
|
+
# @param [String] parent
|
1362
|
+
# Required. The name of the agent to delete all entities types for. Format:
|
1363
|
+
# `projects/<Project ID>/agent`.
|
1364
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteIntentsRequest] google_cloud_dialogflow_v2_batch_delete_intents_request_object
|
1365
|
+
# @param [String] fields
|
1366
|
+
# Selector specifying which fields to include in a partial response.
|
1367
|
+
# @param [String] quota_user
|
1368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1370
|
+
# @param [Google::Apis::RequestOptions] options
|
1371
|
+
# Request-specific options
|
1372
|
+
#
|
1373
|
+
# @yield [result, err] Result & error if block supplied
|
1374
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningOperation] parsed result object
|
1375
|
+
# @yieldparam err [StandardError] error object if request failed
|
1376
|
+
#
|
1377
|
+
# @return [Google::Apis::DialogflowV2::GoogleLongrunningOperation]
|
1378
|
+
#
|
1379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1382
|
+
def batch_project_agent_intent_delete(parent, google_cloud_dialogflow_v2_batch_delete_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1383
|
+
command = make_simple_command(:post, 'v2/{+parent}/intents:batchDelete', options)
|
1384
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteIntentsRequest::Representation
|
1385
|
+
command.request_object = google_cloud_dialogflow_v2_batch_delete_intents_request_object
|
1386
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
|
1387
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
|
1388
|
+
command.params['parent'] = parent unless parent.nil?
|
1389
|
+
command.query['fields'] = fields unless fields.nil?
|
1390
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1391
|
+
execute_or_queue_command(command, &block)
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
# Updates/Creates multiple intents in the specified agent.
|
1395
|
+
# Operation <response: BatchUpdateIntentsResponse>
|
1396
|
+
# @param [String] parent
|
1397
|
+
# Required. The name of the agent to update or create intents in.
|
1398
|
+
# Format: `projects/<Project ID>/agent`.
|
1399
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateIntentsRequest] google_cloud_dialogflow_v2_batch_update_intents_request_object
|
1400
|
+
# @param [String] fields
|
1401
|
+
# Selector specifying which fields to include in a partial response.
|
1402
|
+
# @param [String] quota_user
|
1403
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1404
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1405
|
+
# @param [Google::Apis::RequestOptions] options
|
1406
|
+
# Request-specific options
|
1407
|
+
#
|
1408
|
+
# @yield [result, err] Result & error if block supplied
|
1409
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningOperation] parsed result object
|
1410
|
+
# @yieldparam err [StandardError] error object if request failed
|
1411
|
+
#
|
1412
|
+
# @return [Google::Apis::DialogflowV2::GoogleLongrunningOperation]
|
1413
|
+
#
|
1414
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1415
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1416
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1417
|
+
def batch_project_agent_intent_update(parent, google_cloud_dialogflow_v2_batch_update_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1418
|
+
command = make_simple_command(:post, 'v2/{+parent}/intents:batchUpdate', options)
|
1419
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateIntentsRequest::Representation
|
1420
|
+
command.request_object = google_cloud_dialogflow_v2_batch_update_intents_request_object
|
1421
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
|
1422
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
|
1423
|
+
command.params['parent'] = parent unless parent.nil?
|
1424
|
+
command.query['fields'] = fields unless fields.nil?
|
1425
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1426
|
+
execute_or_queue_command(command, &block)
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# Creates an intent in the specified agent.
|
1430
|
+
# @param [String] parent
|
1431
|
+
# Required. The agent to create a intent for.
|
1432
|
+
# Format: `projects/<Project ID>/agent`.
|
1433
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
1434
|
+
# @param [String] intent_view
|
1435
|
+
# Optional. The resource view to apply to the returned intent.
|
1436
|
+
# @param [String] language_code
|
1437
|
+
# Optional. The language used to access language-specific data.
|
1438
|
+
# If not specified, the agent's default language is used.
|
1439
|
+
# For more information, see
|
1440
|
+
# [Multilingual intent and entity
|
1441
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1442
|
+
# entity).
|
1443
|
+
# @param [String] fields
|
1444
|
+
# Selector specifying which fields to include in a partial response.
|
1445
|
+
# @param [String] quota_user
|
1446
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1447
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1448
|
+
# @param [Google::Apis::RequestOptions] options
|
1449
|
+
# Request-specific options
|
1450
|
+
#
|
1451
|
+
# @yield [result, err] Result & error if block supplied
|
1452
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] parsed result object
|
1453
|
+
# @yieldparam err [StandardError] error object if request failed
|
1454
|
+
#
|
1455
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent]
|
1456
|
+
#
|
1457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1460
|
+
def create_project_agent_intent(parent, google_cloud_dialogflow_v2_intent_object = nil, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1461
|
+
command = make_simple_command(:post, 'v2/{+parent}/intents', options)
|
1462
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
|
1463
|
+
command.request_object = google_cloud_dialogflow_v2_intent_object
|
1464
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
|
1465
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent
|
1466
|
+
command.params['parent'] = parent unless parent.nil?
|
1467
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
1468
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1469
|
+
command.query['fields'] = fields unless fields.nil?
|
1470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1471
|
+
execute_or_queue_command(command, &block)
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
# Deletes the specified intent and its direct or indirect followup intents.
|
1475
|
+
# @param [String] name
|
1476
|
+
# Required. The name of the intent to delete. If this intent has direct or
|
1477
|
+
# indirect followup intents, we also delete them.
|
1478
|
+
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1479
|
+
# @param [String] fields
|
1480
|
+
# Selector specifying which fields to include in a partial response.
|
1481
|
+
# @param [String] quota_user
|
1482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1484
|
+
# @param [Google::Apis::RequestOptions] options
|
1485
|
+
# Request-specific options
|
1486
|
+
#
|
1487
|
+
# @yield [result, err] Result & error if block supplied
|
1488
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
1489
|
+
# @yieldparam err [StandardError] error object if request failed
|
1490
|
+
#
|
1491
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
1492
|
+
#
|
1493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1496
|
+
def delete_project_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block)
|
1497
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
1498
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
1499
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
1500
|
+
command.params['name'] = name unless name.nil?
|
1501
|
+
command.query['fields'] = fields unless fields.nil?
|
1502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1503
|
+
execute_or_queue_command(command, &block)
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
# Retrieves the specified intent.
|
1507
|
+
# @param [String] name
|
1508
|
+
# Required. The name of the intent.
|
1509
|
+
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1510
|
+
# @param [String] intent_view
|
1511
|
+
# Optional. The resource view to apply to the returned intent.
|
1512
|
+
# @param [String] language_code
|
1513
|
+
# Optional. The language used to access language-specific data.
|
1514
|
+
# If not specified, the agent's default language is used.
|
1515
|
+
# For more information, see
|
1516
|
+
# [Multilingual intent and entity
|
1517
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1518
|
+
# entity).
|
1519
|
+
# @param [String] fields
|
1520
|
+
# Selector specifying which fields to include in a partial response.
|
1521
|
+
# @param [String] quota_user
|
1522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1524
|
+
# @param [Google::Apis::RequestOptions] options
|
1525
|
+
# Request-specific options
|
1526
|
+
#
|
1527
|
+
# @yield [result, err] Result & error if block supplied
|
1528
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] parsed result object
|
1529
|
+
# @yieldparam err [StandardError] error object if request failed
|
1530
|
+
#
|
1531
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent]
|
1532
|
+
#
|
1533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1536
|
+
def get_project_agent_intent(name, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1537
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
900
1538
|
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent::Representation
|
901
1539
|
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent
|
902
1540
|
command.params['name'] = name unless name.nil?
|
@@ -914,12 +1552,12 @@ module Google
|
|
914
1552
|
# @param [String] intent_view
|
915
1553
|
# Optional. The resource view to apply to the returned intent.
|
916
1554
|
# @param [String] language_code
|
917
|
-
# Optional. The language to
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
921
|
-
#
|
922
|
-
#
|
1555
|
+
# Optional. The language used to access language-specific data.
|
1556
|
+
# If not specified, the agent's default language is used.
|
1557
|
+
# For more information, see
|
1558
|
+
# [Multilingual intent and entity
|
1559
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1560
|
+
# entity).
|
923
1561
|
# @param [Fixnum] page_size
|
924
1562
|
# Optional. The maximum number of items to return in a single page. By
|
925
1563
|
# default 100 and at most 1000.
|
@@ -958,7 +1596,7 @@ module Google
|
|
958
1596
|
|
959
1597
|
# Updates the specified intent.
|
960
1598
|
# @param [String] name
|
961
|
-
# The unique identifier of this intent.
|
1599
|
+
# Optional. The unique identifier of this intent.
|
962
1600
|
# Required for Intents.UpdateIntent and Intents.BatchUpdateIntents
|
963
1601
|
# methods.
|
964
1602
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
@@ -966,12 +1604,12 @@ module Google
|
|
966
1604
|
# @param [String] intent_view
|
967
1605
|
# Optional. The resource view to apply to the returned intent.
|
968
1606
|
# @param [String] language_code
|
969
|
-
# Optional. The language
|
970
|
-
#
|
971
|
-
#
|
972
|
-
#
|
973
|
-
#
|
974
|
-
#
|
1607
|
+
# Optional. The language used to access language-specific data.
|
1608
|
+
# If not specified, the agent's default language is used.
|
1609
|
+
# For more information, see
|
1610
|
+
# [Multilingual intent and entity
|
1611
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1612
|
+
# entity).
|
975
1613
|
# @param [String] update_mask
|
976
1614
|
# Optional. The mask to control which fields get updated.
|
977
1615
|
# @param [String] fields
|
@@ -1009,7 +1647,11 @@ module Google
|
|
1009
1647
|
# Deletes all active contexts in the specified session.
|
1010
1648
|
# @param [String] parent
|
1011
1649
|
# Required. The name of the session to delete all contexts from. Format:
|
1012
|
-
# `projects/<Project ID>/agent/sessions/<Session ID
|
1650
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
|
1651
|
+
# ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
|
1652
|
+
# ID>`.
|
1653
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
1654
|
+
# If `User ID` is not specified, we assume default '-' user.
|
1013
1655
|
# @param [String] fields
|
1014
1656
|
# Selector specifying which fields to include in a partial response.
|
1015
1657
|
# @param [String] quota_user
|
@@ -1043,10 +1685,14 @@ module Google
|
|
1043
1685
|
# results of future queries.
|
1044
1686
|
# @param [String] session
|
1045
1687
|
# Required. The name of the session this query is sent to. Format:
|
1046
|
-
# `projects/<Project ID>/agent/sessions/<Session ID
|
1047
|
-
#
|
1048
|
-
#
|
1049
|
-
# ID
|
1688
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>`, or
|
1689
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1690
|
+
# ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
|
1691
|
+
# default 'draft' environment. If `User ID` is not specified, we are using
|
1692
|
+
# "-". It's up to the API caller to choose an appropriate `Session ID` and
|
1693
|
+
# `User Id`. They can be a random number or some type of user and session
|
1694
|
+
# identifiers (preferably hashed). The length of the `Session ID` and
|
1695
|
+
# `User ID` must not exceed 36 characters.
|
1050
1696
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
1051
1697
|
# @param [String] fields
|
1052
1698
|
# Selector specifying which fields to include in a partial response.
|
@@ -1081,7 +1727,11 @@ module Google
|
|
1081
1727
|
# If the specified context already exists, overrides the context.
|
1082
1728
|
# @param [String] parent
|
1083
1729
|
# Required. The session to create a context for.
|
1084
|
-
# Format: `projects/<Project ID>/agent/sessions/<Session ID
|
1730
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
1731
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1732
|
+
# ID>/sessions/<Session ID>`.
|
1733
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1734
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1085
1735
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
1086
1736
|
# @param [String] fields
|
1087
1737
|
# Selector specifying which fields to include in a partial response.
|
@@ -1115,7 +1765,11 @@ module Google
|
|
1115
1765
|
# Deletes the specified context.
|
1116
1766
|
# @param [String] name
|
1117
1767
|
# Required. The name of the context to delete. Format:
|
1118
|
-
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID
|
1768
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
1769
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1770
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
1771
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1772
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1119
1773
|
# @param [String] fields
|
1120
1774
|
# Selector specifying which fields to include in a partial response.
|
1121
1775
|
# @param [String] quota_user
|
@@ -1146,7 +1800,11 @@ module Google
|
|
1146
1800
|
# Retrieves the specified context.
|
1147
1801
|
# @param [String] name
|
1148
1802
|
# Required. The name of the context. Format:
|
1149
|
-
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID
|
1803
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
1804
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1805
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
1806
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1807
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1150
1808
|
# @param [String] fields
|
1151
1809
|
# Selector specifying which fields to include in a partial response.
|
1152
1810
|
# @param [String] quota_user
|
@@ -1177,7 +1835,11 @@ module Google
|
|
1177
1835
|
# Returns the list of all contexts in the specified session.
|
1178
1836
|
# @param [String] parent
|
1179
1837
|
# Required. The session to list all contexts from.
|
1180
|
-
# Format: `projects/<Project ID>/agent/sessions/<Session ID
|
1838
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
1839
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1840
|
+
# ID>/sessions/<Session ID>`.
|
1841
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1842
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1181
1843
|
# @param [Fixnum] page_size
|
1182
1844
|
# Optional. The maximum number of items to return in a single page. By
|
1183
1845
|
# default 100 and at most 1000.
|
@@ -1215,9 +1877,18 @@ module Google
|
|
1215
1877
|
# Updates the specified context.
|
1216
1878
|
# @param [String] name
|
1217
1879
|
# Required. The unique identifier of the context. Format:
|
1218
|
-
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID
|
1880
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
|
1881
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
1882
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`.
|
1219
1883
|
# The `Context ID` is always converted to lowercase, may only contain
|
1220
|
-
# characters in
|
1884
|
+
# characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
|
1885
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1886
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1887
|
+
# The following context names are reserved for internal use by Dialogflow.
|
1888
|
+
# You should not use these contexts or create contexts with these names:
|
1889
|
+
# * `__system_counters__`
|
1890
|
+
# * `*_id_dialog_context`
|
1891
|
+
# * `*_dialog_params_size`
|
1221
1892
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context] google_cloud_dialogflow_v2_context_object
|
1222
1893
|
# @param [String] update_mask
|
1223
1894
|
# Optional. The mask to control which fields get updated.
|
@@ -1259,7 +1930,11 @@ module Google
|
|
1259
1930
|
# with Google Assistant integration.
|
1260
1931
|
# @param [String] parent
|
1261
1932
|
# Required. The session to create a session entity type for.
|
1262
|
-
# Format: `projects/<Project ID>/agent/sessions/<Session ID
|
1933
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
1934
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
|
1935
|
+
# sessions/<Session ID>`.
|
1936
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1937
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1263
1938
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|
1264
1939
|
# @param [String] fields
|
1265
1940
|
# Selector specifying which fields to include in a partial response.
|
@@ -1297,7 +1972,11 @@ module Google
|
|
1297
1972
|
# @param [String] name
|
1298
1973
|
# Required. The name of the entity type to delete. Format:
|
1299
1974
|
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1300
|
-
# Display Name
|
1975
|
+
# Display Name>` or `projects/<Project ID>/agent/environments/<Environment
|
1976
|
+
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1977
|
+
# Name>`.
|
1978
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
1979
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1301
1980
|
# @param [String] fields
|
1302
1981
|
# Selector specifying which fields to include in a partial response.
|
1303
1982
|
# @param [String] quota_user
|
@@ -1332,7 +2011,11 @@ module Google
|
|
1332
2011
|
# @param [String] name
|
1333
2012
|
# Required. The name of the session entity type. Format:
|
1334
2013
|
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1335
|
-
# Display Name
|
2014
|
+
# Display Name>` or `projects/<Project ID>/agent/environments/<Environment
|
2015
|
+
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
2016
|
+
# Name>`.
|
2017
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
2018
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1336
2019
|
# @param [String] fields
|
1337
2020
|
# Selector specifying which fields to include in a partial response.
|
1338
2021
|
# @param [String] quota_user
|
@@ -1366,7 +2049,11 @@ module Google
|
|
1366
2049
|
# with Google Assistant integration.
|
1367
2050
|
# @param [String] parent
|
1368
2051
|
# Required. The session to list all session entity types from.
|
1369
|
-
# Format: `projects/<Project ID>/agent/sessions/<Session ID
|
2052
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
2053
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
|
2054
|
+
# sessions/<Session ID>`.
|
2055
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
2056
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1370
2057
|
# @param [Fixnum] page_size
|
1371
2058
|
# Optional. The maximum number of items to return in a single page. By
|
1372
2059
|
# default 100 and at most 1000.
|
@@ -1408,7 +2095,11 @@ module Google
|
|
1408
2095
|
# @param [String] name
|
1409
2096
|
# Required. The unique identifier of this session entity type. Format:
|
1410
2097
|
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1411
|
-
# Display Name
|
2098
|
+
# Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
|
2099
|
+
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
2100
|
+
# Name>`.
|
2101
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
2102
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
1412
2103
|
# `<Entity Type Display Name>` must be the display name of an existing entity
|
1413
2104
|
# type in the same agent that will be overridden or supplemented.
|
1414
2105
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType] google_cloud_dialogflow_v2_session_entity_type_object
|