google-api-client 0.41.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -460,6 +466,12 @@ module Google
|
|
460
466
|
include Google::Apis::Core::JsonObjectSupport
|
461
467
|
end
|
462
468
|
|
469
|
+
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
463
475
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
464
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
477
|
|
@@ -1199,6 +1211,8 @@ module Google
|
|
1199
1211
|
|
1200
1212
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
1201
1213
|
|
1214
|
+
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText::Representation
|
1215
|
+
|
1202
1216
|
hash :payload, as: 'payload'
|
1203
1217
|
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
|
1204
1218
|
|
@@ -1251,6 +1265,14 @@ module Google
|
|
1251
1265
|
end
|
1252
1266
|
end
|
1253
1267
|
|
1268
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
1269
|
+
# @private
|
1270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1271
|
+
property :ssml, as: 'ssml'
|
1272
|
+
property :text, as: 'text'
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1254
1276
|
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
1255
1277
|
# @private
|
1256
1278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1927,6 +1949,15 @@ module Google
|
|
1927
1949
|
end
|
1928
1950
|
end
|
1929
1951
|
|
1952
|
+
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
1953
|
+
# @private
|
1954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1955
|
+
property :disabled_count, as: 'disabledCount'
|
1956
|
+
property :enabled_count, as: 'enabledCount'
|
1957
|
+
property :unreviewed_count, as: 'unreviewedCount'
|
1958
|
+
end
|
1959
|
+
end
|
1960
|
+
|
1930
1961
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
1931
1962
|
# @private
|
1932
1963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
|
51
51
|
# Deletes the specified agent.
|
52
52
|
# @param [String] parent
|
53
|
-
# Required. The project that the agent to delete is associated with.
|
54
|
-
#
|
53
|
+
# Required. The project that the agent to delete is associated with. Format: `
|
54
|
+
# projects/`.
|
55
55
|
# @param [String] fields
|
56
56
|
# Selector specifying which fields to include in a partial response.
|
57
57
|
# @param [String] quota_user
|
@@ -81,8 +81,8 @@ module Google
|
|
81
81
|
|
82
82
|
# Retrieves the specified agent.
|
83
83
|
# @param [String] parent
|
84
|
-
# Required. The project that the agent to fetch is associated with.
|
85
|
-
#
|
84
|
+
# Required. The project that the agent to fetch is associated with. Format: `
|
85
|
+
# projects/`.
|
86
86
|
# @param [String] fields
|
87
87
|
# Selector specifying which fields to include in a partial response.
|
88
88
|
# @param [String] quota_user
|
@@ -112,8 +112,7 @@ module Google
|
|
112
112
|
|
113
113
|
# Creates/updates the specified agent.
|
114
114
|
# @param [String] parent
|
115
|
-
# Required. The project of this agent.
|
116
|
-
# Format: `projects/<Project ID>`.
|
115
|
+
# Required. The project of this agent. Format: `projects/`.
|
117
116
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
118
117
|
# @param [String] update_mask
|
119
118
|
# Optional. The mask to control which fields get updated.
|
@@ -147,11 +146,10 @@ module Google
|
|
147
146
|
execute_or_queue_command(command, &block)
|
148
147
|
end
|
149
148
|
|
150
|
-
# Exports the specified agent to a ZIP file.
|
151
|
-
# Operation <response: ExportAgentResponse>
|
149
|
+
# Exports the specified agent to a ZIP file. Operation
|
152
150
|
# @param [String] parent
|
153
|
-
# Required. The project that the agent to export is associated with.
|
154
|
-
#
|
151
|
+
# Required. The project that the agent to export is associated with. Format: `
|
152
|
+
# projects/`.
|
155
153
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
|
156
154
|
# @param [String] fields
|
157
155
|
# Selector specifying which fields to include in a partial response.
|
@@ -184,8 +182,7 @@ module Google
|
|
184
182
|
|
185
183
|
# Retrieves the fulfillment.
|
186
184
|
# @param [String] name
|
187
|
-
# Required. The name of the fulfillment.
|
188
|
-
# Format: `projects/<Project ID>/agent/fulfillment`.
|
185
|
+
# Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
|
189
186
|
# @param [String] fields
|
190
187
|
# Selector specifying which fields to include in a partial response.
|
191
188
|
# @param [String] quota_user
|
@@ -213,17 +210,15 @@ module Google
|
|
213
210
|
execute_or_queue_command(command, &block)
|
214
211
|
end
|
215
212
|
|
216
|
-
# Gets agent validation result. Agent validation is performed during
|
217
|
-
#
|
213
|
+
# Gets agent validation result. Agent validation is performed during training
|
214
|
+
# time and is updated automatically when training is completed.
|
218
215
|
# @param [String] parent
|
219
|
-
# Required. The project that the agent is associated with.
|
220
|
-
# Format: `projects/<Project ID>`.
|
216
|
+
# Required. The project that the agent is associated with. Format: `projects/`.
|
221
217
|
# @param [String] language_code
|
222
218
|
# Optional. The language for which you want a validation result. If not
|
223
|
-
# specified, the agent's default language is used. [Many
|
224
|
-
#
|
225
|
-
#
|
226
|
-
# be used.
|
219
|
+
# specified, the agent's default language is used. [Many languages](https://
|
220
|
+
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
221
|
+
# languages must be enabled in the agent before they can be used.
|
227
222
|
# @param [String] fields
|
228
223
|
# Selector specifying which fields to include in a partial response.
|
229
224
|
# @param [String] quota_user
|
@@ -252,20 +247,18 @@ module Google
|
|
252
247
|
execute_or_queue_command(command, &block)
|
253
248
|
end
|
254
249
|
|
255
|
-
# Imports the specified agent from a ZIP file.
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
# agent
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
# An operation which tracks when importing is complete. It only tracks
|
265
|
-
# when the draft agent is updated not when it is done training.
|
250
|
+
# Imports the specified agent from a ZIP file. Uploads new intents and entity
|
251
|
+
# types without deleting the existing ones. Intents and entity types with the
|
252
|
+
# same name are replaced with the new versions from ImportAgentRequest. After
|
253
|
+
# the import, the imported draft agent will be trained automatically (unless
|
254
|
+
# disabled in agent settings). However, once the import is done, training may
|
255
|
+
# not be completed yet. Please call TrainAgent and wait for the operation it
|
256
|
+
# returns in order to train explicitly. Operation An operation which tracks when
|
257
|
+
# importing is complete. It only tracks when the draft agent is updated not when
|
258
|
+
# it is done training.
|
266
259
|
# @param [String] parent
|
267
|
-
# Required. The project that the agent to import is associated with.
|
268
|
-
#
|
260
|
+
# Required. The project that the agent to import is associated with. Format: `
|
261
|
+
# projects/`.
|
269
262
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
|
270
263
|
# @param [String] fields
|
271
264
|
# Selector specifying which fields to include in a partial response.
|
@@ -296,19 +289,17 @@ module Google
|
|
296
289
|
execute_or_queue_command(command, &block)
|
297
290
|
end
|
298
291
|
|
299
|
-
# Restores the specified agent from a ZIP file.
|
300
|
-
#
|
301
|
-
#
|
302
|
-
#
|
303
|
-
#
|
304
|
-
#
|
305
|
-
#
|
306
|
-
#
|
307
|
-
# An operation which tracks when restoring is complete. It only tracks
|
308
|
-
# when the draft agent is updated not when it is done training.
|
292
|
+
# Restores the specified agent from a ZIP file. Replaces the current agent
|
293
|
+
# version with a new one. All the intents and entity types in the older version
|
294
|
+
# are deleted. After the restore, the restored draft agent will be trained
|
295
|
+
# automatically (unless disabled in agent settings). However, once the restore
|
296
|
+
# is done, training may not be completed yet. Please call TrainAgent and wait
|
297
|
+
# for the operation it returns in order to train explicitly. Operation An
|
298
|
+
# operation which tracks when restoring is complete. It only tracks when the
|
299
|
+
# draft agent is updated not when it is done training.
|
309
300
|
# @param [String] parent
|
310
|
-
# Required. The project that the agent to restore is associated with.
|
311
|
-
#
|
301
|
+
# Required. The project that the agent to restore is associated with. Format: `
|
302
|
+
# projects/`.
|
312
303
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
313
304
|
# @param [String] fields
|
314
305
|
# Selector specifying which fields to include in a partial response.
|
@@ -339,19 +330,16 @@ module Google
|
|
339
330
|
execute_or_queue_command(command, &block)
|
340
331
|
end
|
341
332
|
|
342
|
-
# Returns the list of agents.
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
# Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
|
348
|
-
# collections).
|
333
|
+
# Returns the list of agents. Since there is at most one conversational agent
|
334
|
+
# per project, this method is useful primarily for listing all agents across
|
335
|
+
# projects the caller has access to. One can achieve that with a wildcard
|
336
|
+
# project collection id "-". Refer to [List Sub-Collections](https://cloud.
|
337
|
+
# google.com/apis/design/design_patterns#list_sub-collections).
|
349
338
|
# @param [String] parent
|
350
|
-
# Required. The project to list agents from.
|
351
|
-
# Format: `projects/<Project ID or '-'>`.
|
339
|
+
# Required. The project to list agents from. Format: `projects/`.
|
352
340
|
# @param [Fixnum] page_size
|
353
|
-
# Optional. The maximum number of items to return in a single page. By
|
354
|
-
#
|
341
|
+
# Optional. The maximum number of items to return in a single page. By default
|
342
|
+
# 100 and at most 1000.
|
355
343
|
# @param [String] page_token
|
356
344
|
# Optional. The next_page_token value returned from a previous list request.
|
357
345
|
# @param [String] fields
|
@@ -383,11 +371,10 @@ module Google
|
|
383
371
|
execute_or_queue_command(command, &block)
|
384
372
|
end
|
385
373
|
|
386
|
-
# Trains the specified agent.
|
387
|
-
# Operation <response: google.protobuf.Empty>
|
374
|
+
# Trains the specified agent. Operation
|
388
375
|
# @param [String] parent
|
389
|
-
# Required. The project that the agent to train is associated with.
|
390
|
-
#
|
376
|
+
# Required. The project that the agent to train is associated with. Format: `
|
377
|
+
# projects/`.
|
391
378
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
|
392
379
|
# @param [String] fields
|
393
380
|
# Selector specifying which fields to include in a partial response.
|
@@ -420,8 +407,8 @@ module Google
|
|
420
407
|
|
421
408
|
# Updates the fulfillment.
|
422
409
|
# @param [String] name
|
423
|
-
# Required. The unique identifier of the fulfillment.
|
424
|
-
#
|
410
|
+
# Required. The unique identifier of the fulfillment. Format: `projects//agent/
|
411
|
+
# fulfillment`.
|
425
412
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
426
413
|
# @param [String] update_mask
|
427
414
|
# Required. The mask to control which fields get updated. If the mask is not
|
@@ -456,11 +443,10 @@ module Google
|
|
456
443
|
execute_or_queue_command(command, &block)
|
457
444
|
end
|
458
445
|
|
459
|
-
# Deletes entity types in the specified agent.
|
460
|
-
# Operation <response: google.protobuf.Empty>
|
446
|
+
# Deletes entity types in the specified agent. Operation
|
461
447
|
# @param [String] parent
|
462
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
463
|
-
#
|
448
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
449
|
+
# projects//agent`.
|
464
450
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
465
451
|
# @param [String] fields
|
466
452
|
# Selector specifying which fields to include in a partial response.
|
@@ -491,11 +477,10 @@ module Google
|
|
491
477
|
execute_or_queue_command(command, &block)
|
492
478
|
end
|
493
479
|
|
494
|
-
# Updates/Creates multiple entity types in the specified agent.
|
495
|
-
# Operation <response: BatchUpdateEntityTypesResponse>
|
480
|
+
# Updates/Creates multiple entity types in the specified agent. Operation
|
496
481
|
# @param [String] parent
|
497
|
-
# Required. The name of the agent to update or create entity types in.
|
498
|
-
#
|
482
|
+
# Required. The name of the agent to update or create entity types in. Format: `
|
483
|
+
# projects//agent`.
|
499
484
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
500
485
|
# @param [String] fields
|
501
486
|
# Selector specifying which fields to include in a partial response.
|
@@ -528,16 +513,13 @@ module Google
|
|
528
513
|
|
529
514
|
# Creates an entity type in the specified agent.
|
530
515
|
# @param [String] parent
|
531
|
-
# Required. The agent to create a entity type for.
|
532
|
-
# Format: `projects/<Project ID>/agent`.
|
516
|
+
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
533
517
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
534
518
|
# @param [String] language_code
|
535
|
-
# Optional. The language used to access language-specific data.
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
540
|
-
# entity).
|
519
|
+
# Optional. The language used to access language-specific data. If not specified,
|
520
|
+
# the agent's default language is used. For more information, see [Multilingual
|
521
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
522
|
+
# multilingual#intent-entity).
|
541
523
|
# @param [String] fields
|
542
524
|
# Selector specifying which fields to include in a partial response.
|
543
525
|
# @param [String] quota_user
|
@@ -570,8 +552,8 @@ module Google
|
|
570
552
|
|
571
553
|
# Deletes the specified entity type.
|
572
554
|
# @param [String] name
|
573
|
-
# Required. The name of the entity type to delete.
|
574
|
-
#
|
555
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
556
|
+
# entityTypes/`.
|
575
557
|
# @param [String] fields
|
576
558
|
# Selector specifying which fields to include in a partial response.
|
577
559
|
# @param [String] quota_user
|
@@ -601,15 +583,12 @@ module Google
|
|
601
583
|
|
602
584
|
# Retrieves the specified entity type.
|
603
585
|
# @param [String] name
|
604
|
-
# Required. The name of the entity type.
|
605
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
586
|
+
# Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
|
606
587
|
# @param [String] language_code
|
607
|
-
# Optional. The language used to access language-specific data.
|
608
|
-
#
|
609
|
-
#
|
610
|
-
#
|
611
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
612
|
-
# entity).
|
588
|
+
# Optional. The language used to access language-specific data. If not specified,
|
589
|
+
# the agent's default language is used. For more information, see [Multilingual
|
590
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
591
|
+
# multilingual#intent-entity).
|
613
592
|
# @param [String] fields
|
614
593
|
# Selector specifying which fields to include in a partial response.
|
615
594
|
# @param [String] quota_user
|
@@ -640,18 +619,15 @@ module Google
|
|
640
619
|
|
641
620
|
# Returns the list of all entity types in the specified agent.
|
642
621
|
# @param [String] parent
|
643
|
-
# Required. The agent to list all entity types from.
|
644
|
-
# Format: `projects/<Project ID>/agent`.
|
622
|
+
# Required. The agent to list all entity types from. Format: `projects//agent`.
|
645
623
|
# @param [String] language_code
|
646
|
-
# Optional. The language used to access language-specific data.
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
651
|
-
# entity).
|
624
|
+
# Optional. The language used to access language-specific data. If not specified,
|
625
|
+
# the agent's default language is used. For more information, see [Multilingual
|
626
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
627
|
+
# multilingual#intent-entity).
|
652
628
|
# @param [Fixnum] page_size
|
653
|
-
# Optional. The maximum number of items to return in a single page. By
|
654
|
-
#
|
629
|
+
# Optional. The maximum number of items to return in a single page. By default
|
630
|
+
# 100 and at most 1000.
|
655
631
|
# @param [String] page_token
|
656
632
|
# Optional. The next_page_token value returned from a previous list request.
|
657
633
|
# @param [String] fields
|
@@ -686,18 +662,15 @@ module Google
|
|
686
662
|
|
687
663
|
# Updates the specified entity type.
|
688
664
|
# @param [String] name
|
689
|
-
# The unique identifier of the entity type.
|
690
|
-
#
|
691
|
-
#
|
692
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
665
|
+
# The unique identifier of the entity type. Required for EntityTypes.
|
666
|
+
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
667
|
+
# projects//agent/entityTypes/`.
|
693
668
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
694
669
|
# @param [String] language_code
|
695
|
-
# Optional. The language used to access language-specific data.
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
699
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
700
|
-
# entity).
|
670
|
+
# Optional. The language used to access language-specific data. If not specified,
|
671
|
+
# the agent's default language is used. For more information, see [Multilingual
|
672
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
673
|
+
# multilingual#intent-entity).
|
701
674
|
# @param [String] update_mask
|
702
675
|
# Optional. The mask to control which fields get updated.
|
703
676
|
# @param [String] fields
|
@@ -731,11 +704,10 @@ module Google
|
|
731
704
|
execute_or_queue_command(command, &block)
|
732
705
|
end
|
733
706
|
|
734
|
-
# Creates multiple new entities in the specified entity type.
|
735
|
-
# Operation <response: google.protobuf.Empty>
|
707
|
+
# Creates multiple new entities in the specified entity type. Operation
|
736
708
|
# @param [String] parent
|
737
|
-
# Required. The name of the entity type to create entities in. Format:
|
738
|
-
#
|
709
|
+
# Required. The name of the entity type to create entities in. Format: `projects/
|
710
|
+
# /agent/entityTypes/`.
|
739
711
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
740
712
|
# @param [String] fields
|
741
713
|
# Selector specifying which fields to include in a partial response.
|
@@ -766,11 +738,10 @@ module Google
|
|
766
738
|
execute_or_queue_command(command, &block)
|
767
739
|
end
|
768
740
|
|
769
|
-
# Deletes entities in the specified entity type.
|
770
|
-
# Operation <response: google.protobuf.Empty>
|
741
|
+
# Deletes entities in the specified entity type. Operation
|
771
742
|
# @param [String] parent
|
772
|
-
# Required. The name of the entity type to delete entries for. Format:
|
773
|
-
#
|
743
|
+
# Required. The name of the entity type to delete entries for. Format: `projects/
|
744
|
+
# /agent/entityTypes/`.
|
774
745
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
775
746
|
# @param [String] fields
|
776
747
|
# Selector specifying which fields to include in a partial response.
|
@@ -801,13 +772,12 @@ module Google
|
|
801
772
|
execute_or_queue_command(command, &block)
|
802
773
|
end
|
803
774
|
|
804
|
-
# Updates or creates multiple entities in the specified entity type. This
|
805
|
-
#
|
806
|
-
#
|
807
|
-
# Operation <response: google.protobuf.Empty>
|
775
|
+
# Updates or creates multiple entities in the specified entity type. This method
|
776
|
+
# does not affect entities in the entity type that aren't explicitly specified
|
777
|
+
# in the request. Operation
|
808
778
|
# @param [String] parent
|
809
|
-
# Required. The name of the entity type to update or create entities in.
|
810
|
-
#
|
779
|
+
# Required. The name of the entity type to update or create entities in. Format:
|
780
|
+
# `projects//agent/entityTypes/`.
|
811
781
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
812
782
|
# @param [String] fields
|
813
783
|
# Selector specifying which fields to include in a partial response.
|
@@ -840,12 +810,11 @@ module Google
|
|
840
810
|
|
841
811
|
# Returns the list of all non-draft environments of the specified agent.
|
842
812
|
# @param [String] parent
|
843
|
-
# Required. The agent to list all environments from.
|
844
|
-
#
|
813
|
+
# Required. The agent to list all environments from. Format: - `projects//agent`
|
814
|
+
# - `projects//locations//agent
|
845
815
|
# @param [Fixnum] page_size
|
846
816
|
# Optional. The maximum number of items to return in a single page. By default
|
847
|
-
# 100 and
|
848
|
-
# at most 1000.
|
817
|
+
# 100 and at most 1000.
|
849
818
|
# @param [String] page_token
|
850
819
|
# Optional. The next_page_token value returned from a previous list request.
|
851
820
|
# @param [String] fields
|
@@ -879,11 +848,10 @@ module Google
|
|
879
848
|
|
880
849
|
# Deletes all active contexts in the specified session.
|
881
850
|
# @param [String] parent
|
882
|
-
# Required. The name of the session to delete all contexts from. Format:
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
851
|
+
# Required. The name of the session to delete all contexts from. Format: `
|
852
|
+
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
853
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
854
|
+
# If `User ID` is not specified, we assume default '-' user.
|
887
855
|
# @param [String] fields
|
888
856
|
# Selector specifying which fields to include in a partial response.
|
889
857
|
# @param [String] quota_user
|
@@ -911,20 +879,20 @@ module Google
|
|
911
879
|
execute_or_queue_command(command, &block)
|
912
880
|
end
|
913
881
|
|
914
|
-
# Processes a natural language query and returns structured, actionable data
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
882
|
+
# Processes a natural language query and returns structured, actionable data as
|
883
|
+
# a result. This method is not idempotent, because it may cause contexts and
|
884
|
+
# session entity types to be updated, which in turn might affect results of
|
885
|
+
# future queries.
|
918
886
|
# @param [String] session
|
919
|
-
# Required. The name of the session this query is sent to. Format:
|
920
|
-
# `projects
|
921
|
-
#
|
922
|
-
#
|
923
|
-
#
|
924
|
-
#
|
925
|
-
#
|
926
|
-
#
|
927
|
-
#
|
887
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
888
|
+
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
889
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
890
|
+
# User ID` is not specified, we are using "-". It's up to the API caller to
|
891
|
+
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
892
|
+
# or some type of user and session identifiers (preferably hashed). The length
|
893
|
+
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
894
|
+
# information, see the [API interactions guide](https://cloud.google.com/
|
895
|
+
# dialogflow/docs/api-overview).
|
928
896
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
929
897
|
# @param [String] fields
|
930
898
|
# Selector specifying which fields to include in a partial response.
|
@@ -955,15 +923,13 @@ module Google
|
|
955
923
|
execute_or_queue_command(command, &block)
|
956
924
|
end
|
957
925
|
|
958
|
-
# Creates a context.
|
959
|
-
#
|
926
|
+
# Creates a context. If the specified context already exists, overrides the
|
927
|
+
# context.
|
960
928
|
# @param [String] parent
|
961
|
-
# Required. The session to create a context for.
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
966
|
-
# default '-' user.
|
929
|
+
# Required. The session to create a context for. Format: `projects//agent/
|
930
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
931
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
932
|
+
# User ID` is not specified, we assume default '-' user.
|
967
933
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
968
934
|
# @param [String] fields
|
969
935
|
# Selector specifying which fields to include in a partial response.
|
@@ -996,12 +962,10 @@ module Google
|
|
996
962
|
|
997
963
|
# Deletes the specified context.
|
998
964
|
# @param [String] name
|
999
|
-
# Required. The name of the context to delete. Format:
|
1000
|
-
# `projects
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
1004
|
-
# specified, we assume default '-' user.
|
965
|
+
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
966
|
+
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
967
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
968
|
+
# User ID` is not specified, we assume default '-' user.
|
1005
969
|
# @param [String] fields
|
1006
970
|
# Selector specifying which fields to include in a partial response.
|
1007
971
|
# @param [String] quota_user
|
@@ -1031,12 +995,10 @@ module Google
|
|
1031
995
|
|
1032
996
|
# Retrieves the specified context.
|
1033
997
|
# @param [String] name
|
1034
|
-
# Required. The name of the context. Format:
|
1035
|
-
# `projects
|
1036
|
-
#
|
1037
|
-
#
|
1038
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
1039
|
-
# specified, we assume default '-' user.
|
998
|
+
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
999
|
+
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
1000
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
1001
|
+
# User ID` is not specified, we assume default '-' user.
|
1040
1002
|
# @param [String] fields
|
1041
1003
|
# Selector specifying which fields to include in a partial response.
|
1042
1004
|
# @param [String] quota_user
|
@@ -1066,15 +1028,13 @@ module Google
|
|
1066
1028
|
|
1067
1029
|
# Returns the list of all contexts in the specified session.
|
1068
1030
|
# @param [String] parent
|
1069
|
-
# Required. The session to list all contexts from.
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
#
|
1073
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
1074
|
-
# default '-' user.
|
1031
|
+
# Required. The session to list all contexts from. Format: `projects//agent/
|
1032
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
1033
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
1034
|
+
# User ID` is not specified, we assume default '-' user.
|
1075
1035
|
# @param [Fixnum] page_size
|
1076
|
-
# Optional. The maximum number of items to return in a single page. By
|
1077
|
-
#
|
1036
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1037
|
+
# 100 and at most 1000.
|
1078
1038
|
# @param [String] page_token
|
1079
1039
|
# Optional. The next_page_token value returned from a previous list request.
|
1080
1040
|
# @param [String] fields
|
@@ -1108,19 +1068,15 @@ module Google
|
|
1108
1068
|
|
1109
1069
|
# Updates the specified context.
|
1110
1070
|
# @param [String] name
|
1111
|
-
# Required. The unique identifier of the context. Format:
|
1112
|
-
# `projects
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
# You should not use these contexts or create contexts with these names:
|
1121
|
-
# * `__system_counters__`
|
1122
|
-
# * `*_id_dialog_context`
|
1123
|
-
# * `*_dialog_params_size`
|
1071
|
+
# Required. The unique identifier of the context. Format: `projects//agent/
|
1072
|
+
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
1073
|
+
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
1074
|
+
# contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
|
1075
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
1076
|
+
# User ID` is not specified, we assume default '-' user. The following context
|
1077
|
+
# names are reserved for internal use by Dialogflow. You should not use these
|
1078
|
+
# contexts or create contexts with these names: * `__system_counters__` * `*
|
1079
|
+
# _id_dialog_context` * `*_dialog_params_size`
|
1124
1080
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
1125
1081
|
# @param [String] update_mask
|
1126
1082
|
# Optional. The mask to control which fields get updated.
|
@@ -1154,19 +1110,15 @@ module Google
|
|
1154
1110
|
execute_or_queue_command(command, &block)
|
1155
1111
|
end
|
1156
1112
|
|
1157
|
-
# Creates a session entity type.
|
1158
|
-
#
|
1159
|
-
#
|
1160
|
-
#
|
1161
|
-
# Contact Dialogflow support if you need to use session entities
|
1162
|
-
# with Google Assistant integration.
|
1113
|
+
# Creates a session entity type. If the specified session entity type already
|
1114
|
+
# exists, overrides the session entity type. This method doesn't work with
|
1115
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
1116
|
+
# session entities with Google Assistant integration.
|
1163
1117
|
# @param [String] parent
|
1164
|
-
# Required. The session to create a session entity type for.
|
1165
|
-
#
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
1169
|
-
# default '-' user.
|
1118
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
1119
|
+
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
1120
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
1121
|
+
# User ID` is not specified, we assume default '-' user.
|
1170
1122
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1171
1123
|
# @param [String] fields
|
1172
1124
|
# Selector specifying which fields to include in a partial response.
|
@@ -1197,16 +1149,13 @@ module Google
|
|
1197
1149
|
execute_or_queue_command(command, &block)
|
1198
1150
|
end
|
1199
1151
|
|
1200
|
-
# Deletes the specified session entity type.
|
1201
|
-
#
|
1202
|
-
#
|
1203
|
-
# with Google Assistant integration.
|
1152
|
+
# Deletes the specified session entity type. This method doesn't work with
|
1153
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
1154
|
+
# session entities with Google Assistant integration.
|
1204
1155
|
# @param [String] name
|
1205
|
-
# Required. The name of the entity type to delete. Format:
|
1206
|
-
# `projects
|
1207
|
-
#
|
1208
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1209
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
1156
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
1157
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
1158
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
1210
1159
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
1211
1160
|
# @param [String] fields
|
1212
1161
|
# Selector specifying which fields to include in a partial response.
|
@@ -1235,16 +1184,13 @@ module Google
|
|
1235
1184
|
execute_or_queue_command(command, &block)
|
1236
1185
|
end
|
1237
1186
|
|
1238
|
-
# Retrieves the specified session entity type.
|
1239
|
-
#
|
1240
|
-
#
|
1241
|
-
# with Google Assistant integration.
|
1187
|
+
# Retrieves the specified session entity type. This method doesn't work with
|
1188
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
1189
|
+
# session entities with Google Assistant integration.
|
1242
1190
|
# @param [String] name
|
1243
|
-
# Required. The name of the session entity type. Format:
|
1244
|
-
# `projects
|
1245
|
-
#
|
1246
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1247
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
1191
|
+
# Required. The name of the session entity type. Format: `projects//agent/
|
1192
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
1193
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
1248
1194
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
1249
1195
|
# @param [String] fields
|
1250
1196
|
# Selector specifying which fields to include in a partial response.
|
@@ -1273,20 +1219,17 @@ module Google
|
|
1273
1219
|
execute_or_queue_command(command, &block)
|
1274
1220
|
end
|
1275
1221
|
|
1276
|
-
# Returns the list of all session entity types in the specified session.
|
1277
|
-
#
|
1278
|
-
#
|
1279
|
-
# with Google Assistant integration.
|
1222
|
+
# Returns the list of all session entity types in the specified session. This
|
1223
|
+
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
1224
|
+
# support if you need to use session entities with Google Assistant integration.
|
1280
1225
|
# @param [String] parent
|
1281
|
-
# Required. The session to list all session entity types from.
|
1282
|
-
#
|
1283
|
-
#
|
1284
|
-
#
|
1285
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
1286
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
1226
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
1227
|
+
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
1228
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
1229
|
+
# User ID` is not specified, we assume default '-' user.
|
1287
1230
|
# @param [Fixnum] page_size
|
1288
|
-
# Optional. The maximum number of items to return in a single page. By
|
1289
|
-
#
|
1231
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1232
|
+
# 100 and at most 1000.
|
1290
1233
|
# @param [String] page_token
|
1291
1234
|
# Optional. The next_page_token value returned from a previous list request.
|
1292
1235
|
# @param [String] fields
|
@@ -1318,20 +1261,16 @@ module Google
|
|
1318
1261
|
execute_or_queue_command(command, &block)
|
1319
1262
|
end
|
1320
1263
|
|
1321
|
-
# Updates the specified session entity type.
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
# with Google Assistant integration.
|
1264
|
+
# Updates the specified session entity type. This method doesn't work with
|
1265
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
1266
|
+
# session entities with Google Assistant integration.
|
1325
1267
|
# @param [String] name
|
1326
|
-
# Required. The unique identifier of this session entity type. Format:
|
1327
|
-
#
|
1328
|
-
#
|
1329
|
-
# `
|
1330
|
-
#
|
1331
|
-
#
|
1332
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
1333
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
1334
|
-
# type in the same agent that will be overridden or supplemented.
|
1268
|
+
# Required. The unique identifier of this session entity type. Format: `projects/
|
1269
|
+
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
1270
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
1271
|
+
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
1272
|
+
# -' user. `` must be the display name of an existing entity type in the same
|
1273
|
+
# agent that will be overridden or supplemented.
|
1335
1274
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1336
1275
|
# @param [String] update_mask
|
1337
1276
|
# Optional. The mask to control which fields get updated.
|
@@ -1365,11 +1304,10 @@ module Google
|
|
1365
1304
|
execute_or_queue_command(command, &block)
|
1366
1305
|
end
|
1367
1306
|
|
1368
|
-
# Deletes intents in the specified agent.
|
1369
|
-
# Operation <response: google.protobuf.Empty>
|
1307
|
+
# Deletes intents in the specified agent. Operation
|
1370
1308
|
# @param [String] parent
|
1371
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
1372
|
-
#
|
1309
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
1310
|
+
# projects//agent`.
|
1373
1311
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
1374
1312
|
# @param [String] fields
|
1375
1313
|
# Selector specifying which fields to include in a partial response.
|
@@ -1400,11 +1338,10 @@ module Google
|
|
1400
1338
|
execute_or_queue_command(command, &block)
|
1401
1339
|
end
|
1402
1340
|
|
1403
|
-
# Updates/Creates multiple intents in the specified agent.
|
1404
|
-
# Operation <response: BatchUpdateIntentsResponse>
|
1341
|
+
# Updates/Creates multiple intents in the specified agent. Operation
|
1405
1342
|
# @param [String] parent
|
1406
|
-
# Required. The name of the agent to update or create intents in.
|
1407
|
-
#
|
1343
|
+
# Required. The name of the agent to update or create intents in. Format: `
|
1344
|
+
# projects//agent`.
|
1408
1345
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
1409
1346
|
# @param [String] fields
|
1410
1347
|
# Selector specifying which fields to include in a partial response.
|
@@ -1437,18 +1374,15 @@ module Google
|
|
1437
1374
|
|
1438
1375
|
# Creates an intent in the specified agent.
|
1439
1376
|
# @param [String] parent
|
1440
|
-
# Required. The agent to create a intent for.
|
1441
|
-
# Format: `projects/<Project ID>/agent`.
|
1377
|
+
# Required. The agent to create a intent for. Format: `projects//agent`.
|
1442
1378
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
1443
1379
|
# @param [String] intent_view
|
1444
1380
|
# Optional. The resource view to apply to the returned intent.
|
1445
1381
|
# @param [String] language_code
|
1446
|
-
# Optional. The language used to access language-specific data.
|
1447
|
-
#
|
1448
|
-
#
|
1449
|
-
#
|
1450
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1451
|
-
# entity).
|
1382
|
+
# Optional. The language used to access language-specific data. If not specified,
|
1383
|
+
# the agent's default language is used. For more information, see [Multilingual
|
1384
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
1385
|
+
# multilingual#intent-entity).
|
1452
1386
|
# @param [String] fields
|
1453
1387
|
# Selector specifying which fields to include in a partial response.
|
1454
1388
|
# @param [String] quota_user
|
@@ -1483,8 +1417,8 @@ module Google
|
|
1483
1417
|
# Deletes the specified intent and its direct or indirect followup intents.
|
1484
1418
|
# @param [String] name
|
1485
1419
|
# Required. The name of the intent to delete. If this intent has direct or
|
1486
|
-
# indirect followup intents, we also delete them.
|
1487
|
-
#
|
1420
|
+
# indirect followup intents, we also delete them. Format: `projects//agent/
|
1421
|
+
# intents/`.
|
1488
1422
|
# @param [String] fields
|
1489
1423
|
# Selector specifying which fields to include in a partial response.
|
1490
1424
|
# @param [String] quota_user
|
@@ -1514,17 +1448,14 @@ module Google
|
|
1514
1448
|
|
1515
1449
|
# Retrieves the specified intent.
|
1516
1450
|
# @param [String] name
|
1517
|
-
# Required. The name of the intent.
|
1518
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1451
|
+
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
1519
1452
|
# @param [String] intent_view
|
1520
1453
|
# Optional. The resource view to apply to the returned intent.
|
1521
1454
|
# @param [String] language_code
|
1522
|
-
# Optional. The language used to access language-specific data.
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1527
|
-
# entity).
|
1455
|
+
# Optional. The language used to access language-specific data. If not specified,
|
1456
|
+
# the agent's default language is used. For more information, see [Multilingual
|
1457
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
1458
|
+
# multilingual#intent-entity).
|
1528
1459
|
# @param [String] fields
|
1529
1460
|
# Selector specifying which fields to include in a partial response.
|
1530
1461
|
# @param [String] quota_user
|
@@ -1556,20 +1487,17 @@ module Google
|
|
1556
1487
|
|
1557
1488
|
# Returns the list of all intents in the specified agent.
|
1558
1489
|
# @param [String] parent
|
1559
|
-
# Required. The agent to list all intents from.
|
1560
|
-
# Format: `projects/<Project ID>/agent`.
|
1490
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
1561
1491
|
# @param [String] intent_view
|
1562
1492
|
# Optional. The resource view to apply to the returned intent.
|
1563
1493
|
# @param [String] language_code
|
1564
|
-
# Optional. The language used to access language-specific data.
|
1565
|
-
#
|
1566
|
-
#
|
1567
|
-
#
|
1568
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1569
|
-
# entity).
|
1494
|
+
# Optional. The language used to access language-specific data. If not specified,
|
1495
|
+
# the agent's default language is used. For more information, see [Multilingual
|
1496
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
1497
|
+
# multilingual#intent-entity).
|
1570
1498
|
# @param [Fixnum] page_size
|
1571
|
-
# Optional. The maximum number of items to return in a single page. By
|
1572
|
-
#
|
1499
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1500
|
+
# 100 and at most 1000.
|
1573
1501
|
# @param [String] page_token
|
1574
1502
|
# Optional. The next_page_token value returned from a previous list request.
|
1575
1503
|
# @param [String] fields
|
@@ -1605,20 +1533,17 @@ module Google
|
|
1605
1533
|
|
1606
1534
|
# Updates the specified intent.
|
1607
1535
|
# @param [String] name
|
1608
|
-
# Optional. The unique identifier of this intent.
|
1609
|
-
#
|
1610
|
-
#
|
1611
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1536
|
+
# Optional. The unique identifier of this intent. Required for Intents.
|
1537
|
+
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
1538
|
+
# intents/`.
|
1612
1539
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
1613
1540
|
# @param [String] intent_view
|
1614
1541
|
# Optional. The resource view to apply to the returned intent.
|
1615
1542
|
# @param [String] language_code
|
1616
|
-
# Optional. The language used to access language-specific data.
|
1617
|
-
#
|
1618
|
-
#
|
1619
|
-
#
|
1620
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1621
|
-
# entity).
|
1543
|
+
# Optional. The language used to access language-specific data. If not specified,
|
1544
|
+
# the agent's default language is used. For more information, see [Multilingual
|
1545
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
1546
|
+
# multilingual#intent-entity).
|
1622
1547
|
# @param [String] update_mask
|
1623
1548
|
# Optional. The mask to control which fields get updated.
|
1624
1549
|
# @param [String] fields
|
@@ -1653,12 +1578,10 @@ module Google
|
|
1653
1578
|
execute_or_queue_command(command, &block)
|
1654
1579
|
end
|
1655
1580
|
|
1656
|
-
# Creates a knowledge base.
|
1657
|
-
#
|
1658
|
-
# only use `projects.knowledgeBases`.
|
1581
|
+
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
1582
|
+
# is deprecated; only use `projects.knowledgeBases`.
|
1659
1583
|
# @param [String] parent
|
1660
|
-
# Required. The project to create a knowledge base for.
|
1661
|
-
# Format: `projects/<Project ID>`.
|
1584
|
+
# Required. The project to create a knowledge base for. Format: `projects/`.
|
1662
1585
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1663
1586
|
# @param [String] fields
|
1664
1587
|
# Selector specifying which fields to include in a partial response.
|
@@ -1689,15 +1612,14 @@ module Google
|
|
1689
1612
|
execute_or_queue_command(command, &block)
|
1690
1613
|
end
|
1691
1614
|
|
1692
|
-
# Deletes the specified knowledge base.
|
1693
|
-
#
|
1694
|
-
# only use `projects.knowledgeBases`.
|
1615
|
+
# Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
1616
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
1695
1617
|
# @param [String] name
|
1696
|
-
# Required. The name of the knowledge base to delete.
|
1697
|
-
#
|
1618
|
+
# Required. The name of the knowledge base to delete. Format: `projects//
|
1619
|
+
# knowledgeBases/`.
|
1698
1620
|
# @param [Boolean] force
|
1699
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents
|
1700
|
-
#
|
1621
|
+
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
1622
|
+
# the knowledge base are also deleted.
|
1701
1623
|
# @param [String] fields
|
1702
1624
|
# Selector specifying which fields to include in a partial response.
|
1703
1625
|
# @param [String] quota_user
|
@@ -1726,12 +1648,11 @@ module Google
|
|
1726
1648
|
execute_or_queue_command(command, &block)
|
1727
1649
|
end
|
1728
1650
|
|
1729
|
-
# Retrieves the specified knowledge base.
|
1730
|
-
#
|
1731
|
-
# only use `projects.knowledgeBases`.
|
1651
|
+
# Retrieves the specified knowledge base. Note: The `projects.agent.
|
1652
|
+
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
1732
1653
|
# @param [String] name
|
1733
|
-
# Required. The name of the knowledge base to retrieve.
|
1734
|
-
#
|
1654
|
+
# Required. The name of the knowledge base to retrieve. Format `projects//
|
1655
|
+
# knowledgeBases/`.
|
1735
1656
|
# @param [String] fields
|
1736
1657
|
# Selector specifying which fields to include in a partial response.
|
1737
1658
|
# @param [String] quota_user
|
@@ -1759,15 +1680,14 @@ module Google
|
|
1759
1680
|
execute_or_queue_command(command, &block)
|
1760
1681
|
end
|
1761
1682
|
|
1762
|
-
# Returns the list of all knowledge bases of the specified agent.
|
1763
|
-
#
|
1764
|
-
#
|
1683
|
+
# Returns the list of all knowledge bases of the specified agent. Note: The `
|
1684
|
+
# projects.agent.knowledgeBases` resource is deprecated; only use `projects.
|
1685
|
+
# knowledgeBases`.
|
1765
1686
|
# @param [String] parent
|
1766
|
-
# Required. The project to list of knowledge bases for.
|
1767
|
-
# Format: `projects/<Project ID>`.
|
1687
|
+
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
1768
1688
|
# @param [Fixnum] page_size
|
1769
|
-
# Optional. The maximum number of items to return in a single page. By
|
1770
|
-
#
|
1689
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1690
|
+
# 10 and at most 100.
|
1771
1691
|
# @param [String] page_token
|
1772
1692
|
# Optional. The next_page_token value returned from a previous list request.
|
1773
1693
|
# @param [String] fields
|
@@ -1799,18 +1719,16 @@ module Google
|
|
1799
1719
|
execute_or_queue_command(command, &block)
|
1800
1720
|
end
|
1801
1721
|
|
1802
|
-
# Updates the specified knowledge base.
|
1803
|
-
#
|
1804
|
-
# only use `projects.knowledgeBases`.
|
1722
|
+
# Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
1723
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
1805
1724
|
# @param [String] name
|
1806
|
-
# The knowledge base resource name.
|
1807
|
-
#
|
1808
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
1725
|
+
# The knowledge base resource name. The name must be empty when creating a
|
1726
|
+
# knowledge base. Format: `projects//knowledgeBases/`.
|
1809
1727
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1810
1728
|
# @param [String] update_mask
|
1811
|
-
# Optional. Not specified means `update all`.
|
1812
|
-
#
|
1813
|
-
#
|
1729
|
+
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
1730
|
+
# be updated, an InvalidArgument will be returned for attempting to update other
|
1731
|
+
# fields.
|
1814
1732
|
# @param [String] fields
|
1815
1733
|
# Selector specifying which fields to include in a partial response.
|
1816
1734
|
# @param [String] quota_user
|
@@ -1841,12 +1759,11 @@ module Google
|
|
1841
1759
|
execute_or_queue_command(command, &block)
|
1842
1760
|
end
|
1843
1761
|
|
1844
|
-
# Creates a new document.
|
1845
|
-
#
|
1846
|
-
# only use `projects.knowledgeBases.documents`.
|
1762
|
+
# Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
|
1763
|
+
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
1847
1764
|
# @param [String] parent
|
1848
|
-
# Required. The knoweldge base to create a document for.
|
1849
|
-
#
|
1765
|
+
# Required. The knoweldge base to create a document for. Format: `projects//
|
1766
|
+
# knowledgeBases/`.
|
1850
1767
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
1851
1768
|
# @param [String] fields
|
1852
1769
|
# Selector specifying which fields to include in a partial response.
|
@@ -1877,13 +1794,12 @@ module Google
|
|
1877
1794
|
execute_or_queue_command(command, &block)
|
1878
1795
|
end
|
1879
1796
|
|
1880
|
-
# Deletes the specified document.
|
1881
|
-
#
|
1882
|
-
#
|
1797
|
+
# Deletes the specified document. Note: The `projects.agent.knowledgeBases.
|
1798
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1799
|
+
# .
|
1883
1800
|
# @param [String] name
|
1884
|
-
# Required. The name of the document to delete.
|
1885
|
-
#
|
1886
|
-
# ID>/documents/<Document ID>`.
|
1801
|
+
# Required. The name of the document to delete. Format: `projects//
|
1802
|
+
# knowledgeBases//documents/`.
|
1887
1803
|
# @param [String] fields
|
1888
1804
|
# Selector specifying which fields to include in a partial response.
|
1889
1805
|
# @param [String] quota_user
|
@@ -1911,13 +1827,12 @@ module Google
|
|
1911
1827
|
execute_or_queue_command(command, &block)
|
1912
1828
|
end
|
1913
1829
|
|
1914
|
-
# Retrieves the specified document.
|
1915
|
-
#
|
1916
|
-
#
|
1830
|
+
# Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
|
1831
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1832
|
+
# .
|
1917
1833
|
# @param [String] name
|
1918
|
-
# Required. The name of the document to retrieve.
|
1919
|
-
#
|
1920
|
-
# ID>/documents/<Document ID>`.
|
1834
|
+
# Required. The name of the document to retrieve. Format `projects//
|
1835
|
+
# knowledgeBases//documents/`.
|
1921
1836
|
# @param [String] fields
|
1922
1837
|
# Selector specifying which fields to include in a partial response.
|
1923
1838
|
# @param [String] quota_user
|
@@ -1945,17 +1860,17 @@ module Google
|
|
1945
1860
|
execute_or_queue_command(command, &block)
|
1946
1861
|
end
|
1947
1862
|
|
1948
|
-
# Returns the list of all documents of the knowledge base.
|
1949
|
-
#
|
1950
|
-
#
|
1863
|
+
# Returns the list of all documents of the knowledge base. Note: The `projects.
|
1864
|
+
# agent.knowledgeBases.documents` resource is deprecated; only use `projects.
|
1865
|
+
# knowledgeBases.documents`.
|
1951
1866
|
# @param [String] parent
|
1952
|
-
# Required. The knowledge base to list all documents for.
|
1953
|
-
#
|
1867
|
+
# Required. The knowledge base to list all documents for. Format: `projects//
|
1868
|
+
# knowledgeBases/`.
|
1954
1869
|
# @param [Fixnum] page_size
|
1955
|
-
#
|
1956
|
-
#
|
1870
|
+
# The maximum number of items to return in a single page. By default 10 and at
|
1871
|
+
# most 100.
|
1957
1872
|
# @param [String] page_token
|
1958
|
-
#
|
1873
|
+
# The next_page_token value returned from a previous list request.
|
1959
1874
|
# @param [String] fields
|
1960
1875
|
# Selector specifying which fields to include in a partial response.
|
1961
1876
|
# @param [String] quota_user
|
@@ -1985,19 +1900,17 @@ module Google
|
|
1985
1900
|
execute_or_queue_command(command, &block)
|
1986
1901
|
end
|
1987
1902
|
|
1988
|
-
# Updates the specified document.
|
1989
|
-
#
|
1990
|
-
#
|
1903
|
+
# Updates the specified document. Note: The `projects.agent.knowledgeBases.
|
1904
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1905
|
+
# .
|
1991
1906
|
# @param [String] name
|
1992
|
-
# Optional. The document resource name.
|
1993
|
-
#
|
1994
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
1995
|
-
# ID>/documents/<Document ID>`.
|
1907
|
+
# Optional. The document resource name. The name must be empty when creating a
|
1908
|
+
# document. Format: `projects//knowledgeBases//documents/`.
|
1996
1909
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
1997
1910
|
# @param [String] update_mask
|
1998
|
-
# Optional. Not specified means `update all`.
|
1999
|
-
#
|
2000
|
-
#
|
1911
|
+
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
1912
|
+
# be updated, an InvalidArgument will be returned for attempting to update other
|
1913
|
+
# fields.
|
2001
1914
|
# @param [String] fields
|
2002
1915
|
# Selector specifying which fields to include in a partial response.
|
2003
1916
|
# @param [String] quota_user
|
@@ -2029,15 +1942,14 @@ module Google
|
|
2029
1942
|
end
|
2030
1943
|
|
2031
1944
|
# Reloads the specified document from its specified source, content_uri or
|
2032
|
-
# content. The previously loaded content of the document will be deleted.
|
2033
|
-
#
|
2034
|
-
#
|
2035
|
-
#
|
2036
|
-
#
|
1945
|
+
# content. The previously loaded content of the document will be deleted. Note:
|
1946
|
+
# Even when the content of the document has not changed, there still may be side
|
1947
|
+
# effects because of internal implementation changes. Note: The `projects.agent.
|
1948
|
+
# knowledgeBases.documents` resource is deprecated; only use `projects.
|
1949
|
+
# knowledgeBases.documents`.
|
2037
1950
|
# @param [String] name
|
2038
|
-
# Required. The name of the document to reload.
|
2039
|
-
#
|
2040
|
-
# ID>/documents/<Document ID>`
|
1951
|
+
# Required. The name of the document to reload. Format: `projects//
|
1952
|
+
# knowledgeBases//documents/`
|
2041
1953
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2042
1954
|
# @param [String] fields
|
2043
1955
|
# Selector specifying which fields to include in a partial response.
|
@@ -2070,11 +1982,10 @@ module Google
|
|
2070
1982
|
|
2071
1983
|
# Deletes all active contexts in the specified session.
|
2072
1984
|
# @param [String] parent
|
2073
|
-
# Required. The name of the session to delete all contexts from. Format:
|
2074
|
-
#
|
2075
|
-
#
|
2076
|
-
#
|
2077
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
1985
|
+
# Required. The name of the session to delete all contexts from. Format: `
|
1986
|
+
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
1987
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
1988
|
+
# If `User ID` is not specified, we assume default '-' user.
|
2078
1989
|
# @param [String] fields
|
2079
1990
|
# Selector specifying which fields to include in a partial response.
|
2080
1991
|
# @param [String] quota_user
|
@@ -2102,20 +2013,20 @@ module Google
|
|
2102
2013
|
execute_or_queue_command(command, &block)
|
2103
2014
|
end
|
2104
2015
|
|
2105
|
-
# Processes a natural language query and returns structured, actionable data
|
2106
|
-
#
|
2107
|
-
#
|
2108
|
-
#
|
2016
|
+
# Processes a natural language query and returns structured, actionable data as
|
2017
|
+
# a result. This method is not idempotent, because it may cause contexts and
|
2018
|
+
# session entity types to be updated, which in turn might affect results of
|
2019
|
+
# future queries.
|
2109
2020
|
# @param [String] session
|
2110
|
-
# Required. The name of the session this query is sent to. Format:
|
2111
|
-
# `projects
|
2112
|
-
#
|
2113
|
-
#
|
2114
|
-
#
|
2115
|
-
#
|
2116
|
-
#
|
2117
|
-
#
|
2118
|
-
#
|
2021
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
2022
|
+
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
2023
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2024
|
+
# User ID` is not specified, we are using "-". It's up to the API caller to
|
2025
|
+
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
2026
|
+
# or some type of user and session identifiers (preferably hashed). The length
|
2027
|
+
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
2028
|
+
# information, see the [API interactions guide](https://cloud.google.com/
|
2029
|
+
# dialogflow/docs/api-overview).
|
2119
2030
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
2120
2031
|
# @param [String] fields
|
2121
2032
|
# Selector specifying which fields to include in a partial response.
|
@@ -2146,15 +2057,13 @@ module Google
|
|
2146
2057
|
execute_or_queue_command(command, &block)
|
2147
2058
|
end
|
2148
2059
|
|
2149
|
-
# Creates a context.
|
2150
|
-
#
|
2060
|
+
# Creates a context. If the specified context already exists, overrides the
|
2061
|
+
# context.
|
2151
2062
|
# @param [String] parent
|
2152
|
-
# Required. The session to create a context for.
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
#
|
2156
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
2157
|
-
# default '-' user.
|
2063
|
+
# Required. The session to create a context for. Format: `projects//agent/
|
2064
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
2065
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2066
|
+
# User ID` is not specified, we assume default '-' user.
|
2158
2067
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
2159
2068
|
# @param [String] fields
|
2160
2069
|
# Selector specifying which fields to include in a partial response.
|
@@ -2187,12 +2096,10 @@ module Google
|
|
2187
2096
|
|
2188
2097
|
# Deletes the specified context.
|
2189
2098
|
# @param [String] name
|
2190
|
-
# Required. The name of the context to delete. Format:
|
2191
|
-
# `projects
|
2192
|
-
#
|
2193
|
-
#
|
2194
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
2195
|
-
# specified, we assume default '-' user.
|
2099
|
+
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
2100
|
+
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
2101
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2102
|
+
# User ID` is not specified, we assume default '-' user.
|
2196
2103
|
# @param [String] fields
|
2197
2104
|
# Selector specifying which fields to include in a partial response.
|
2198
2105
|
# @param [String] quota_user
|
@@ -2222,12 +2129,10 @@ module Google
|
|
2222
2129
|
|
2223
2130
|
# Retrieves the specified context.
|
2224
2131
|
# @param [String] name
|
2225
|
-
# Required. The name of the context. Format:
|
2226
|
-
# `projects
|
2227
|
-
#
|
2228
|
-
#
|
2229
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
2230
|
-
# specified, we assume default '-' user.
|
2132
|
+
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
2133
|
+
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
2134
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2135
|
+
# User ID` is not specified, we assume default '-' user.
|
2231
2136
|
# @param [String] fields
|
2232
2137
|
# Selector specifying which fields to include in a partial response.
|
2233
2138
|
# @param [String] quota_user
|
@@ -2257,15 +2162,13 @@ module Google
|
|
2257
2162
|
|
2258
2163
|
# Returns the list of all contexts in the specified session.
|
2259
2164
|
# @param [String] parent
|
2260
|
-
# Required. The session to list all contexts from.
|
2261
|
-
#
|
2262
|
-
#
|
2263
|
-
#
|
2264
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
2265
|
-
# default '-' user.
|
2165
|
+
# Required. The session to list all contexts from. Format: `projects//agent/
|
2166
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
2167
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2168
|
+
# User ID` is not specified, we assume default '-' user.
|
2266
2169
|
# @param [Fixnum] page_size
|
2267
|
-
# Optional. The maximum number of items to return in a single page. By
|
2268
|
-
#
|
2170
|
+
# Optional. The maximum number of items to return in a single page. By default
|
2171
|
+
# 100 and at most 1000.
|
2269
2172
|
# @param [String] page_token
|
2270
2173
|
# Optional. The next_page_token value returned from a previous list request.
|
2271
2174
|
# @param [String] fields
|
@@ -2299,19 +2202,15 @@ module Google
|
|
2299
2202
|
|
2300
2203
|
# Updates the specified context.
|
2301
2204
|
# @param [String] name
|
2302
|
-
# Required. The unique identifier of the context. Format:
|
2303
|
-
# `projects
|
2304
|
-
#
|
2305
|
-
#
|
2306
|
-
#
|
2307
|
-
#
|
2308
|
-
#
|
2309
|
-
#
|
2310
|
-
#
|
2311
|
-
# You should not use these contexts or create contexts with these names:
|
2312
|
-
# * `__system_counters__`
|
2313
|
-
# * `*_id_dialog_context`
|
2314
|
-
# * `*_dialog_params_size`
|
2205
|
+
# Required. The unique identifier of the context. Format: `projects//agent/
|
2206
|
+
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
2207
|
+
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
2208
|
+
# contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
|
2209
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2210
|
+
# User ID` is not specified, we assume default '-' user. The following context
|
2211
|
+
# names are reserved for internal use by Dialogflow. You should not use these
|
2212
|
+
# contexts or create contexts with these names: * `__system_counters__` * `*
|
2213
|
+
# _id_dialog_context` * `*_dialog_params_size`
|
2315
2214
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
2316
2215
|
# @param [String] update_mask
|
2317
2216
|
# Optional. The mask to control which fields get updated.
|
@@ -2345,19 +2244,15 @@ module Google
|
|
2345
2244
|
execute_or_queue_command(command, &block)
|
2346
2245
|
end
|
2347
2246
|
|
2348
|
-
# Creates a session entity type.
|
2349
|
-
#
|
2350
|
-
#
|
2351
|
-
#
|
2352
|
-
# Contact Dialogflow support if you need to use session entities
|
2353
|
-
# with Google Assistant integration.
|
2247
|
+
# Creates a session entity type. If the specified session entity type already
|
2248
|
+
# exists, overrides the session entity type. This method doesn't work with
|
2249
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
2250
|
+
# session entities with Google Assistant integration.
|
2354
2251
|
# @param [String] parent
|
2355
|
-
# Required. The session to create a session entity type for.
|
2356
|
-
#
|
2357
|
-
#
|
2358
|
-
#
|
2359
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
2360
|
-
# default '-' user.
|
2252
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
2253
|
+
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
2254
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2255
|
+
# User ID` is not specified, we assume default '-' user.
|
2361
2256
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
2362
2257
|
# @param [String] fields
|
2363
2258
|
# Selector specifying which fields to include in a partial response.
|
@@ -2388,16 +2283,13 @@ module Google
|
|
2388
2283
|
execute_or_queue_command(command, &block)
|
2389
2284
|
end
|
2390
2285
|
|
2391
|
-
# Deletes the specified session entity type.
|
2392
|
-
#
|
2393
|
-
#
|
2394
|
-
# with Google Assistant integration.
|
2286
|
+
# Deletes the specified session entity type. This method doesn't work with
|
2287
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
2288
|
+
# session entities with Google Assistant integration.
|
2395
2289
|
# @param [String] name
|
2396
|
-
# Required. The name of the entity type to delete. Format:
|
2397
|
-
# `projects
|
2398
|
-
#
|
2399
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
2400
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
2290
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
2291
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
2292
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
2401
2293
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
2402
2294
|
# @param [String] fields
|
2403
2295
|
# Selector specifying which fields to include in a partial response.
|
@@ -2426,16 +2318,13 @@ module Google
|
|
2426
2318
|
execute_or_queue_command(command, &block)
|
2427
2319
|
end
|
2428
2320
|
|
2429
|
-
# Retrieves the specified session entity type.
|
2430
|
-
#
|
2431
|
-
#
|
2432
|
-
# with Google Assistant integration.
|
2321
|
+
# Retrieves the specified session entity type. This method doesn't work with
|
2322
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
2323
|
+
# session entities with Google Assistant integration.
|
2433
2324
|
# @param [String] name
|
2434
|
-
# Required. The name of the session entity type. Format:
|
2435
|
-
# `projects
|
2436
|
-
#
|
2437
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
2438
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
2325
|
+
# Required. The name of the session entity type. Format: `projects//agent/
|
2326
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
2327
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
2439
2328
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
2440
2329
|
# @param [String] fields
|
2441
2330
|
# Selector specifying which fields to include in a partial response.
|
@@ -2464,20 +2353,17 @@ module Google
|
|
2464
2353
|
execute_or_queue_command(command, &block)
|
2465
2354
|
end
|
2466
2355
|
|
2467
|
-
# Returns the list of all session entity types in the specified session.
|
2468
|
-
#
|
2469
|
-
#
|
2470
|
-
# with Google Assistant integration.
|
2356
|
+
# Returns the list of all session entity types in the specified session. This
|
2357
|
+
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
2358
|
+
# support if you need to use session entities with Google Assistant integration.
|
2471
2359
|
# @param [String] parent
|
2472
|
-
# Required. The session to list all session entity types from.
|
2473
|
-
#
|
2474
|
-
#
|
2475
|
-
#
|
2476
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
2477
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
2360
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
2361
|
+
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
2362
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
2363
|
+
# User ID` is not specified, we assume default '-' user.
|
2478
2364
|
# @param [Fixnum] page_size
|
2479
|
-
# Optional. The maximum number of items to return in a single page. By
|
2480
|
-
#
|
2365
|
+
# Optional. The maximum number of items to return in a single page. By default
|
2366
|
+
# 100 and at most 1000.
|
2481
2367
|
# @param [String] page_token
|
2482
2368
|
# Optional. The next_page_token value returned from a previous list request.
|
2483
2369
|
# @param [String] fields
|
@@ -2509,20 +2395,16 @@ module Google
|
|
2509
2395
|
execute_or_queue_command(command, &block)
|
2510
2396
|
end
|
2511
2397
|
|
2512
|
-
# Updates the specified session entity type.
|
2513
|
-
#
|
2514
|
-
#
|
2515
|
-
# with Google Assistant integration.
|
2398
|
+
# Updates the specified session entity type. This method doesn't work with
|
2399
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
2400
|
+
# session entities with Google Assistant integration.
|
2516
2401
|
# @param [String] name
|
2517
|
-
# Required. The unique identifier of this session entity type. Format:
|
2518
|
-
#
|
2519
|
-
#
|
2520
|
-
# `
|
2521
|
-
#
|
2522
|
-
#
|
2523
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
2524
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
2525
|
-
# type in the same agent that will be overridden or supplemented.
|
2402
|
+
# Required. The unique identifier of this session entity type. Format: `projects/
|
2403
|
+
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
2404
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
2405
|
+
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
2406
|
+
# -' user. `` must be the display name of an existing entity type in the same
|
2407
|
+
# agent that will be overridden or supplemented.
|
2526
2408
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
2527
2409
|
# @param [String] update_mask
|
2528
2410
|
# Optional. The mask to control which fields get updated.
|
@@ -2556,12 +2438,10 @@ module Google
|
|
2556
2438
|
execute_or_queue_command(command, &block)
|
2557
2439
|
end
|
2558
2440
|
|
2559
|
-
# Creates a knowledge base.
|
2560
|
-
#
|
2561
|
-
# only use `projects.knowledgeBases`.
|
2441
|
+
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
2442
|
+
# is deprecated; only use `projects.knowledgeBases`.
|
2562
2443
|
# @param [String] parent
|
2563
|
-
# Required. The project to create a knowledge base for.
|
2564
|
-
# Format: `projects/<Project ID>`.
|
2444
|
+
# Required. The project to create a knowledge base for. Format: `projects/`.
|
2565
2445
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2566
2446
|
# @param [String] fields
|
2567
2447
|
# Selector specifying which fields to include in a partial response.
|
@@ -2592,15 +2472,14 @@ module Google
|
|
2592
2472
|
execute_or_queue_command(command, &block)
|
2593
2473
|
end
|
2594
2474
|
|
2595
|
-
# Deletes the specified knowledge base.
|
2596
|
-
#
|
2597
|
-
# only use `projects.knowledgeBases`.
|
2475
|
+
# Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
2476
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
2598
2477
|
# @param [String] name
|
2599
|
-
# Required. The name of the knowledge base to delete.
|
2600
|
-
#
|
2478
|
+
# Required. The name of the knowledge base to delete. Format: `projects//
|
2479
|
+
# knowledgeBases/`.
|
2601
2480
|
# @param [Boolean] force
|
2602
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents
|
2603
|
-
#
|
2481
|
+
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
2482
|
+
# the knowledge base are also deleted.
|
2604
2483
|
# @param [String] fields
|
2605
2484
|
# Selector specifying which fields to include in a partial response.
|
2606
2485
|
# @param [String] quota_user
|
@@ -2629,12 +2508,11 @@ module Google
|
|
2629
2508
|
execute_or_queue_command(command, &block)
|
2630
2509
|
end
|
2631
2510
|
|
2632
|
-
# Retrieves the specified knowledge base.
|
2633
|
-
#
|
2634
|
-
# only use `projects.knowledgeBases`.
|
2511
|
+
# Retrieves the specified knowledge base. Note: The `projects.agent.
|
2512
|
+
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
2635
2513
|
# @param [String] name
|
2636
|
-
# Required. The name of the knowledge base to retrieve.
|
2637
|
-
#
|
2514
|
+
# Required. The name of the knowledge base to retrieve. Format `projects//
|
2515
|
+
# knowledgeBases/`.
|
2638
2516
|
# @param [String] fields
|
2639
2517
|
# Selector specifying which fields to include in a partial response.
|
2640
2518
|
# @param [String] quota_user
|
@@ -2662,15 +2540,14 @@ module Google
|
|
2662
2540
|
execute_or_queue_command(command, &block)
|
2663
2541
|
end
|
2664
2542
|
|
2665
|
-
# Returns the list of all knowledge bases of the specified agent.
|
2666
|
-
#
|
2667
|
-
#
|
2543
|
+
# Returns the list of all knowledge bases of the specified agent. Note: The `
|
2544
|
+
# projects.agent.knowledgeBases` resource is deprecated; only use `projects.
|
2545
|
+
# knowledgeBases`.
|
2668
2546
|
# @param [String] parent
|
2669
|
-
# Required. The project to list of knowledge bases for.
|
2670
|
-
# Format: `projects/<Project ID>`.
|
2547
|
+
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
2671
2548
|
# @param [Fixnum] page_size
|
2672
|
-
# Optional. The maximum number of items to return in a single page. By
|
2673
|
-
#
|
2549
|
+
# Optional. The maximum number of items to return in a single page. By default
|
2550
|
+
# 10 and at most 100.
|
2674
2551
|
# @param [String] page_token
|
2675
2552
|
# Optional. The next_page_token value returned from a previous list request.
|
2676
2553
|
# @param [String] fields
|
@@ -2702,18 +2579,16 @@ module Google
|
|
2702
2579
|
execute_or_queue_command(command, &block)
|
2703
2580
|
end
|
2704
2581
|
|
2705
|
-
# Updates the specified knowledge base.
|
2706
|
-
#
|
2707
|
-
# only use `projects.knowledgeBases`.
|
2582
|
+
# Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
2583
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
2708
2584
|
# @param [String] name
|
2709
|
-
# The knowledge base resource name.
|
2710
|
-
#
|
2711
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
2585
|
+
# The knowledge base resource name. The name must be empty when creating a
|
2586
|
+
# knowledge base. Format: `projects//knowledgeBases/`.
|
2712
2587
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2713
2588
|
# @param [String] update_mask
|
2714
|
-
# Optional. Not specified means `update all`.
|
2715
|
-
#
|
2716
|
-
#
|
2589
|
+
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
2590
|
+
# be updated, an InvalidArgument will be returned for attempting to update other
|
2591
|
+
# fields.
|
2717
2592
|
# @param [String] fields
|
2718
2593
|
# Selector specifying which fields to include in a partial response.
|
2719
2594
|
# @param [String] quota_user
|
@@ -2744,12 +2619,11 @@ module Google
|
|
2744
2619
|
execute_or_queue_command(command, &block)
|
2745
2620
|
end
|
2746
2621
|
|
2747
|
-
# Creates a new document.
|
2748
|
-
#
|
2749
|
-
# only use `projects.knowledgeBases.documents`.
|
2622
|
+
# Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
|
2623
|
+
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
2750
2624
|
# @param [String] parent
|
2751
|
-
# Required. The knoweldge base to create a document for.
|
2752
|
-
#
|
2625
|
+
# Required. The knoweldge base to create a document for. Format: `projects//
|
2626
|
+
# knowledgeBases/`.
|
2753
2627
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2754
2628
|
# @param [String] fields
|
2755
2629
|
# Selector specifying which fields to include in a partial response.
|
@@ -2780,13 +2654,12 @@ module Google
|
|
2780
2654
|
execute_or_queue_command(command, &block)
|
2781
2655
|
end
|
2782
2656
|
|
2783
|
-
# Deletes the specified document.
|
2784
|
-
#
|
2785
|
-
#
|
2657
|
+
# Deletes the specified document. Note: The `projects.agent.knowledgeBases.
|
2658
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2659
|
+
# .
|
2786
2660
|
# @param [String] name
|
2787
|
-
# Required. The name of the document to delete.
|
2788
|
-
#
|
2789
|
-
# ID>/documents/<Document ID>`.
|
2661
|
+
# Required. The name of the document to delete. Format: `projects//
|
2662
|
+
# knowledgeBases//documents/`.
|
2790
2663
|
# @param [String] fields
|
2791
2664
|
# Selector specifying which fields to include in a partial response.
|
2792
2665
|
# @param [String] quota_user
|
@@ -2814,13 +2687,12 @@ module Google
|
|
2814
2687
|
execute_or_queue_command(command, &block)
|
2815
2688
|
end
|
2816
2689
|
|
2817
|
-
# Retrieves the specified document.
|
2818
|
-
#
|
2819
|
-
#
|
2690
|
+
# Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
|
2691
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2692
|
+
# .
|
2820
2693
|
# @param [String] name
|
2821
|
-
# Required. The name of the document to retrieve.
|
2822
|
-
#
|
2823
|
-
# ID>/documents/<Document ID>`.
|
2694
|
+
# Required. The name of the document to retrieve. Format `projects//
|
2695
|
+
# knowledgeBases//documents/`.
|
2824
2696
|
# @param [String] fields
|
2825
2697
|
# Selector specifying which fields to include in a partial response.
|
2826
2698
|
# @param [String] quota_user
|
@@ -2848,17 +2720,17 @@ module Google
|
|
2848
2720
|
execute_or_queue_command(command, &block)
|
2849
2721
|
end
|
2850
2722
|
|
2851
|
-
# Returns the list of all documents of the knowledge base.
|
2852
|
-
#
|
2853
|
-
#
|
2723
|
+
# Returns the list of all documents of the knowledge base. Note: The `projects.
|
2724
|
+
# agent.knowledgeBases.documents` resource is deprecated; only use `projects.
|
2725
|
+
# knowledgeBases.documents`.
|
2854
2726
|
# @param [String] parent
|
2855
|
-
# Required. The knowledge base to list all documents for.
|
2856
|
-
#
|
2727
|
+
# Required. The knowledge base to list all documents for. Format: `projects//
|
2728
|
+
# knowledgeBases/`.
|
2857
2729
|
# @param [Fixnum] page_size
|
2858
|
-
#
|
2859
|
-
#
|
2730
|
+
# The maximum number of items to return in a single page. By default 10 and at
|
2731
|
+
# most 100.
|
2860
2732
|
# @param [String] page_token
|
2861
|
-
#
|
2733
|
+
# The next_page_token value returned from a previous list request.
|
2862
2734
|
# @param [String] fields
|
2863
2735
|
# Selector specifying which fields to include in a partial response.
|
2864
2736
|
# @param [String] quota_user
|
@@ -2888,19 +2760,17 @@ module Google
|
|
2888
2760
|
execute_or_queue_command(command, &block)
|
2889
2761
|
end
|
2890
2762
|
|
2891
|
-
# Updates the specified document.
|
2892
|
-
#
|
2893
|
-
#
|
2763
|
+
# Updates the specified document. Note: The `projects.agent.knowledgeBases.
|
2764
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2765
|
+
# .
|
2894
2766
|
# @param [String] name
|
2895
|
-
# Optional. The document resource name.
|
2896
|
-
#
|
2897
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
2898
|
-
# ID>/documents/<Document ID>`.
|
2767
|
+
# Optional. The document resource name. The name must be empty when creating a
|
2768
|
+
# document. Format: `projects//knowledgeBases//documents/`.
|
2899
2769
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2900
2770
|
# @param [String] update_mask
|
2901
|
-
# Optional. Not specified means `update all`.
|
2902
|
-
#
|
2903
|
-
#
|
2771
|
+
# Optional. Not specified means `update all`. Currently, only `display_name` can
|
2772
|
+
# be updated, an InvalidArgument will be returned for attempting to update other
|
2773
|
+
# fields.
|
2904
2774
|
# @param [String] fields
|
2905
2775
|
# Selector specifying which fields to include in a partial response.
|
2906
2776
|
# @param [String] quota_user
|
@@ -2932,15 +2802,14 @@ module Google
|
|
2932
2802
|
end
|
2933
2803
|
|
2934
2804
|
# Reloads the specified document from its specified source, content_uri or
|
2935
|
-
# content. The previously loaded content of the document will be deleted.
|
2936
|
-
#
|
2937
|
-
#
|
2938
|
-
#
|
2939
|
-
#
|
2805
|
+
# content. The previously loaded content of the document will be deleted. Note:
|
2806
|
+
# Even when the content of the document has not changed, there still may be side
|
2807
|
+
# effects because of internal implementation changes. Note: The `projects.agent.
|
2808
|
+
# knowledgeBases.documents` resource is deprecated; only use `projects.
|
2809
|
+
# knowledgeBases.documents`.
|
2940
2810
|
# @param [String] name
|
2941
|
-
# Required. The name of the document to reload.
|
2942
|
-
#
|
2943
|
-
# ID>/documents/<Document ID>`
|
2811
|
+
# Required. The name of the document to reload. Format: `projects//
|
2812
|
+
# knowledgeBases//documents/`
|
2944
2813
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2945
2814
|
# @param [String] fields
|
2946
2815
|
# Selector specifying which fields to include in a partial response.
|
@@ -2973,8 +2842,8 @@ module Google
|
|
2973
2842
|
|
2974
2843
|
# Deletes the specified agent.
|
2975
2844
|
# @param [String] parent
|
2976
|
-
# Required. The project that the agent to delete is associated with.
|
2977
|
-
#
|
2845
|
+
# Required. The project that the agent to delete is associated with. Format: `
|
2846
|
+
# projects/`.
|
2978
2847
|
# @param [String] fields
|
2979
2848
|
# Selector specifying which fields to include in a partial response.
|
2980
2849
|
# @param [String] quota_user
|
@@ -3004,8 +2873,8 @@ module Google
|
|
3004
2873
|
|
3005
2874
|
# Retrieves the specified agent.
|
3006
2875
|
# @param [String] parent
|
3007
|
-
# Required. The project that the agent to fetch is associated with.
|
3008
|
-
#
|
2876
|
+
# Required. The project that the agent to fetch is associated with. Format: `
|
2877
|
+
# projects/`.
|
3009
2878
|
# @param [String] fields
|
3010
2879
|
# Selector specifying which fields to include in a partial response.
|
3011
2880
|
# @param [String] quota_user
|
@@ -3035,8 +2904,7 @@ module Google
|
|
3035
2904
|
|
3036
2905
|
# Creates/updates the specified agent.
|
3037
2906
|
# @param [String] parent
|
3038
|
-
# Required. The project of this agent.
|
3039
|
-
# Format: `projects/<Project ID>`.
|
2907
|
+
# Required. The project of this agent. Format: `projects/`.
|
3040
2908
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
3041
2909
|
# @param [String] update_mask
|
3042
2910
|
# Optional. The mask to control which fields get updated.
|
@@ -3070,11 +2938,10 @@ module Google
|
|
3070
2938
|
execute_or_queue_command(command, &block)
|
3071
2939
|
end
|
3072
2940
|
|
3073
|
-
# Exports the specified agent to a ZIP file.
|
3074
|
-
# Operation <response: ExportAgentResponse>
|
2941
|
+
# Exports the specified agent to a ZIP file. Operation
|
3075
2942
|
# @param [String] parent
|
3076
|
-
# Required. The project that the agent to export is associated with.
|
3077
|
-
#
|
2943
|
+
# Required. The project that the agent to export is associated with. Format: `
|
2944
|
+
# projects/`.
|
3078
2945
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
|
3079
2946
|
# @param [String] fields
|
3080
2947
|
# Selector specifying which fields to include in a partial response.
|
@@ -3105,48 +2972,9 @@ module Google
|
|
3105
2972
|
execute_or_queue_command(command, &block)
|
3106
2973
|
end
|
3107
2974
|
|
3108
|
-
# Updates the fulfillment.
|
3109
|
-
# @param [String] name
|
3110
|
-
# Required. The unique identifier of the fulfillment.
|
3111
|
-
# Format: `projects/<Project ID>/agent/fulfillment`.
|
3112
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
3113
|
-
# @param [String] update_mask
|
3114
|
-
# Required. The mask to control which fields get updated. If the mask is not
|
3115
|
-
# present, all fields will be updated.
|
3116
|
-
# @param [String] fields
|
3117
|
-
# Selector specifying which fields to include in a partial response.
|
3118
|
-
# @param [String] quota_user
|
3119
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3120
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3121
|
-
# @param [Google::Apis::RequestOptions] options
|
3122
|
-
# Request-specific options
|
3123
|
-
#
|
3124
|
-
# @yield [result, err] Result & error if block supplied
|
3125
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] parsed result object
|
3126
|
-
# @yieldparam err [StandardError] error object if request failed
|
3127
|
-
#
|
3128
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment]
|
3129
|
-
#
|
3130
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3131
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3132
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3133
|
-
def fulfillment_project_location_agent(name, google_cloud_dialogflow_v2beta1_fulfillment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3134
|
-
command = make_simple_command(:post, 'v2beta1/{+name}', options)
|
3135
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
|
3136
|
-
command.request_object = google_cloud_dialogflow_v2beta1_fulfillment_object
|
3137
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
|
3138
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
|
3139
|
-
command.params['name'] = name unless name.nil?
|
3140
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3141
|
-
command.query['fields'] = fields unless fields.nil?
|
3142
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3143
|
-
execute_or_queue_command(command, &block)
|
3144
|
-
end
|
3145
|
-
|
3146
2975
|
# Retrieves the fulfillment.
|
3147
2976
|
# @param [String] name
|
3148
|
-
# Required. The name of the fulfillment.
|
3149
|
-
# Format: `projects/<Project ID>/agent/fulfillment`.
|
2977
|
+
# Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
|
3150
2978
|
# @param [String] fields
|
3151
2979
|
# Selector specifying which fields to include in a partial response.
|
3152
2980
|
# @param [String] quota_user
|
@@ -3174,20 +3002,18 @@ module Google
|
|
3174
3002
|
execute_or_queue_command(command, &block)
|
3175
3003
|
end
|
3176
3004
|
|
3177
|
-
# Imports the specified agent from a ZIP file.
|
3178
|
-
#
|
3179
|
-
#
|
3180
|
-
#
|
3181
|
-
# agent
|
3182
|
-
#
|
3183
|
-
#
|
3184
|
-
#
|
3185
|
-
#
|
3186
|
-
# An operation which tracks when importing is complete. It only tracks
|
3187
|
-
# when the draft agent is updated not when it is done training.
|
3005
|
+
# Imports the specified agent from a ZIP file. Uploads new intents and entity
|
3006
|
+
# types without deleting the existing ones. Intents and entity types with the
|
3007
|
+
# same name are replaced with the new versions from ImportAgentRequest. After
|
3008
|
+
# the import, the imported draft agent will be trained automatically (unless
|
3009
|
+
# disabled in agent settings). However, once the import is done, training may
|
3010
|
+
# not be completed yet. Please call TrainAgent and wait for the operation it
|
3011
|
+
# returns in order to train explicitly. Operation An operation which tracks when
|
3012
|
+
# importing is complete. It only tracks when the draft agent is updated not when
|
3013
|
+
# it is done training.
|
3188
3014
|
# @param [String] parent
|
3189
|
-
# Required. The project that the agent to import is associated with.
|
3190
|
-
#
|
3015
|
+
# Required. The project that the agent to import is associated with. Format: `
|
3016
|
+
# projects/`.
|
3191
3017
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
|
3192
3018
|
# @param [String] fields
|
3193
3019
|
# Selector specifying which fields to include in a partial response.
|
@@ -3218,19 +3044,17 @@ module Google
|
|
3218
3044
|
execute_or_queue_command(command, &block)
|
3219
3045
|
end
|
3220
3046
|
|
3221
|
-
# Restores the specified agent from a ZIP file.
|
3222
|
-
#
|
3223
|
-
#
|
3224
|
-
#
|
3225
|
-
#
|
3226
|
-
#
|
3227
|
-
#
|
3228
|
-
#
|
3229
|
-
# An operation which tracks when restoring is complete. It only tracks
|
3230
|
-
# when the draft agent is updated not when it is done training.
|
3047
|
+
# Restores the specified agent from a ZIP file. Replaces the current agent
|
3048
|
+
# version with a new one. All the intents and entity types in the older version
|
3049
|
+
# are deleted. After the restore, the restored draft agent will be trained
|
3050
|
+
# automatically (unless disabled in agent settings). However, once the restore
|
3051
|
+
# is done, training may not be completed yet. Please call TrainAgent and wait
|
3052
|
+
# for the operation it returns in order to train explicitly. Operation An
|
3053
|
+
# operation which tracks when restoring is complete. It only tracks when the
|
3054
|
+
# draft agent is updated not when it is done training.
|
3231
3055
|
# @param [String] parent
|
3232
|
-
# Required. The project that the agent to restore is associated with.
|
3233
|
-
#
|
3056
|
+
# Required. The project that the agent to restore is associated with. Format: `
|
3057
|
+
# projects/`.
|
3234
3058
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
3235
3059
|
# @param [String] fields
|
3236
3060
|
# Selector specifying which fields to include in a partial response.
|
@@ -3261,19 +3085,16 @@ module Google
|
|
3261
3085
|
execute_or_queue_command(command, &block)
|
3262
3086
|
end
|
3263
3087
|
|
3264
|
-
# Returns the list of agents.
|
3265
|
-
#
|
3266
|
-
#
|
3267
|
-
#
|
3268
|
-
#
|
3269
|
-
# Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
|
3270
|
-
# collections).
|
3088
|
+
# Returns the list of agents. Since there is at most one conversational agent
|
3089
|
+
# per project, this method is useful primarily for listing all agents across
|
3090
|
+
# projects the caller has access to. One can achieve that with a wildcard
|
3091
|
+
# project collection id "-". Refer to [List Sub-Collections](https://cloud.
|
3092
|
+
# google.com/apis/design/design_patterns#list_sub-collections).
|
3271
3093
|
# @param [String] parent
|
3272
|
-
# Required. The project to list agents from.
|
3273
|
-
# Format: `projects/<Project ID or '-'>`.
|
3094
|
+
# Required. The project to list agents from. Format: `projects/`.
|
3274
3095
|
# @param [Fixnum] page_size
|
3275
|
-
# Optional. The maximum number of items to return in a single page. By
|
3276
|
-
#
|
3096
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3097
|
+
# 100 and at most 1000.
|
3277
3098
|
# @param [String] page_token
|
3278
3099
|
# Optional. The next_page_token value returned from a previous list request.
|
3279
3100
|
# @param [String] fields
|
@@ -3305,11 +3126,10 @@ module Google
|
|
3305
3126
|
execute_or_queue_command(command, &block)
|
3306
3127
|
end
|
3307
3128
|
|
3308
|
-
# Trains the specified agent.
|
3309
|
-
# Operation <response: google.protobuf.Empty>
|
3129
|
+
# Trains the specified agent. Operation
|
3310
3130
|
# @param [String] parent
|
3311
|
-
# Required. The project that the agent to train is associated with.
|
3312
|
-
#
|
3131
|
+
# Required. The project that the agent to train is associated with. Format: `
|
3132
|
+
# projects/`.
|
3313
3133
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
|
3314
3134
|
# @param [String] fields
|
3315
3135
|
# Selector specifying which fields to include in a partial response.
|
@@ -3340,11 +3160,48 @@ module Google
|
|
3340
3160
|
execute_or_queue_command(command, &block)
|
3341
3161
|
end
|
3342
3162
|
|
3343
|
-
#
|
3344
|
-
#
|
3163
|
+
# Updates the fulfillment.
|
3164
|
+
# @param [String] name
|
3165
|
+
# Required. The unique identifier of the fulfillment. Format: `projects//agent/
|
3166
|
+
# fulfillment`.
|
3167
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
3168
|
+
# @param [String] update_mask
|
3169
|
+
# Required. The mask to control which fields get updated. If the mask is not
|
3170
|
+
# present, all fields will be updated.
|
3171
|
+
# @param [String] fields
|
3172
|
+
# Selector specifying which fields to include in a partial response.
|
3173
|
+
# @param [String] quota_user
|
3174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3176
|
+
# @param [Google::Apis::RequestOptions] options
|
3177
|
+
# Request-specific options
|
3178
|
+
#
|
3179
|
+
# @yield [result, err] Result & error if block supplied
|
3180
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] parsed result object
|
3181
|
+
# @yieldparam err [StandardError] error object if request failed
|
3182
|
+
#
|
3183
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment]
|
3184
|
+
#
|
3185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3188
|
+
def update_project_location_agent_fulfillment(name, google_cloud_dialogflow_v2beta1_fulfillment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3189
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
3190
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
|
3191
|
+
command.request_object = google_cloud_dialogflow_v2beta1_fulfillment_object
|
3192
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment::Representation
|
3193
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
|
3194
|
+
command.params['name'] = name unless name.nil?
|
3195
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3196
|
+
command.query['fields'] = fields unless fields.nil?
|
3197
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3198
|
+
execute_or_queue_command(command, &block)
|
3199
|
+
end
|
3200
|
+
|
3201
|
+
# Deletes entity types in the specified agent. Operation
|
3345
3202
|
# @param [String] parent
|
3346
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
3347
|
-
#
|
3203
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
3204
|
+
# projects//agent`.
|
3348
3205
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
3349
3206
|
# @param [String] fields
|
3350
3207
|
# Selector specifying which fields to include in a partial response.
|
@@ -3375,11 +3232,10 @@ module Google
|
|
3375
3232
|
execute_or_queue_command(command, &block)
|
3376
3233
|
end
|
3377
3234
|
|
3378
|
-
# Updates/Creates multiple entity types in the specified agent.
|
3379
|
-
# Operation <response: BatchUpdateEntityTypesResponse>
|
3235
|
+
# Updates/Creates multiple entity types in the specified agent. Operation
|
3380
3236
|
# @param [String] parent
|
3381
|
-
# Required. The name of the agent to update or create entity types in.
|
3382
|
-
#
|
3237
|
+
# Required. The name of the agent to update or create entity types in. Format: `
|
3238
|
+
# projects//agent`.
|
3383
3239
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
3384
3240
|
# @param [String] fields
|
3385
3241
|
# Selector specifying which fields to include in a partial response.
|
@@ -3412,16 +3268,13 @@ module Google
|
|
3412
3268
|
|
3413
3269
|
# Creates an entity type in the specified agent.
|
3414
3270
|
# @param [String] parent
|
3415
|
-
# Required. The agent to create a entity type for.
|
3416
|
-
# Format: `projects/<Project ID>/agent`.
|
3271
|
+
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
3417
3272
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
3418
3273
|
# @param [String] language_code
|
3419
|
-
# Optional. The language used to access language-specific data.
|
3420
|
-
#
|
3421
|
-
#
|
3422
|
-
#
|
3423
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3424
|
-
# entity).
|
3274
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3275
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3276
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3277
|
+
# multilingual#intent-entity).
|
3425
3278
|
# @param [String] fields
|
3426
3279
|
# Selector specifying which fields to include in a partial response.
|
3427
3280
|
# @param [String] quota_user
|
@@ -3454,8 +3307,8 @@ module Google
|
|
3454
3307
|
|
3455
3308
|
# Deletes the specified entity type.
|
3456
3309
|
# @param [String] name
|
3457
|
-
# Required. The name of the entity type to delete.
|
3458
|
-
#
|
3310
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
3311
|
+
# entityTypes/`.
|
3459
3312
|
# @param [String] fields
|
3460
3313
|
# Selector specifying which fields to include in a partial response.
|
3461
3314
|
# @param [String] quota_user
|
@@ -3485,15 +3338,12 @@ module Google
|
|
3485
3338
|
|
3486
3339
|
# Retrieves the specified entity type.
|
3487
3340
|
# @param [String] name
|
3488
|
-
# Required. The name of the entity type.
|
3489
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
3341
|
+
# Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
|
3490
3342
|
# @param [String] language_code
|
3491
|
-
# Optional. The language used to access language-specific data.
|
3492
|
-
#
|
3493
|
-
#
|
3494
|
-
#
|
3495
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3496
|
-
# entity).
|
3343
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3344
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3345
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3346
|
+
# multilingual#intent-entity).
|
3497
3347
|
# @param [String] fields
|
3498
3348
|
# Selector specifying which fields to include in a partial response.
|
3499
3349
|
# @param [String] quota_user
|
@@ -3524,18 +3374,15 @@ module Google
|
|
3524
3374
|
|
3525
3375
|
# Returns the list of all entity types in the specified agent.
|
3526
3376
|
# @param [String] parent
|
3527
|
-
# Required. The agent to list all entity types from.
|
3528
|
-
# Format: `projects/<Project ID>/agent`.
|
3377
|
+
# Required. The agent to list all entity types from. Format: `projects//agent`.
|
3529
3378
|
# @param [String] language_code
|
3530
|
-
# Optional. The language used to access language-specific data.
|
3531
|
-
#
|
3532
|
-
#
|
3533
|
-
#
|
3534
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3535
|
-
# entity).
|
3379
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3380
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3381
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3382
|
+
# multilingual#intent-entity).
|
3536
3383
|
# @param [Fixnum] page_size
|
3537
|
-
# Optional. The maximum number of items to return in a single page. By
|
3538
|
-
#
|
3384
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3385
|
+
# 100 and at most 1000.
|
3539
3386
|
# @param [String] page_token
|
3540
3387
|
# Optional. The next_page_token value returned from a previous list request.
|
3541
3388
|
# @param [String] fields
|
@@ -3570,18 +3417,15 @@ module Google
|
|
3570
3417
|
|
3571
3418
|
# Updates the specified entity type.
|
3572
3419
|
# @param [String] name
|
3573
|
-
# The unique identifier of the entity type.
|
3574
|
-
#
|
3575
|
-
#
|
3576
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
3420
|
+
# The unique identifier of the entity type. Required for EntityTypes.
|
3421
|
+
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
3422
|
+
# projects//agent/entityTypes/`.
|
3577
3423
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
3578
3424
|
# @param [String] language_code
|
3579
|
-
# Optional. The language used to access language-specific data.
|
3580
|
-
#
|
3581
|
-
#
|
3582
|
-
#
|
3583
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3584
|
-
# entity).
|
3425
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3426
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3427
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3428
|
+
# multilingual#intent-entity).
|
3585
3429
|
# @param [String] update_mask
|
3586
3430
|
# Optional. The mask to control which fields get updated.
|
3587
3431
|
# @param [String] fields
|
@@ -3615,11 +3459,10 @@ module Google
|
|
3615
3459
|
execute_or_queue_command(command, &block)
|
3616
3460
|
end
|
3617
3461
|
|
3618
|
-
# Creates multiple new entities in the specified entity type.
|
3619
|
-
# Operation <response: google.protobuf.Empty>
|
3462
|
+
# Creates multiple new entities in the specified entity type. Operation
|
3620
3463
|
# @param [String] parent
|
3621
|
-
# Required. The name of the entity type to create entities in. Format:
|
3622
|
-
#
|
3464
|
+
# Required. The name of the entity type to create entities in. Format: `projects/
|
3465
|
+
# /agent/entityTypes/`.
|
3623
3466
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
3624
3467
|
# @param [String] fields
|
3625
3468
|
# Selector specifying which fields to include in a partial response.
|
@@ -3650,11 +3493,10 @@ module Google
|
|
3650
3493
|
execute_or_queue_command(command, &block)
|
3651
3494
|
end
|
3652
3495
|
|
3653
|
-
# Deletes entities in the specified entity type.
|
3654
|
-
# Operation <response: google.protobuf.Empty>
|
3496
|
+
# Deletes entities in the specified entity type. Operation
|
3655
3497
|
# @param [String] parent
|
3656
|
-
# Required. The name of the entity type to delete entries for. Format:
|
3657
|
-
#
|
3498
|
+
# Required. The name of the entity type to delete entries for. Format: `projects/
|
3499
|
+
# /agent/entityTypes/`.
|
3658
3500
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
3659
3501
|
# @param [String] fields
|
3660
3502
|
# Selector specifying which fields to include in a partial response.
|
@@ -3685,13 +3527,12 @@ module Google
|
|
3685
3527
|
execute_or_queue_command(command, &block)
|
3686
3528
|
end
|
3687
3529
|
|
3688
|
-
# Updates or creates multiple entities in the specified entity type. This
|
3689
|
-
#
|
3690
|
-
#
|
3691
|
-
# Operation <response: google.protobuf.Empty>
|
3530
|
+
# Updates or creates multiple entities in the specified entity type. This method
|
3531
|
+
# does not affect entities in the entity type that aren't explicitly specified
|
3532
|
+
# in the request. Operation
|
3692
3533
|
# @param [String] parent
|
3693
|
-
# Required. The name of the entity type to update or create entities in.
|
3694
|
-
#
|
3534
|
+
# Required. The name of the entity type to update or create entities in. Format:
|
3535
|
+
# `projects//agent/entityTypes/`.
|
3695
3536
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
3696
3537
|
# @param [String] fields
|
3697
3538
|
# Selector specifying which fields to include in a partial response.
|
@@ -3724,12 +3565,11 @@ module Google
|
|
3724
3565
|
|
3725
3566
|
# Returns the list of all non-draft environments of the specified agent.
|
3726
3567
|
# @param [String] parent
|
3727
|
-
# Required. The agent to list all environments from.
|
3728
|
-
#
|
3568
|
+
# Required. The agent to list all environments from. Format: - `projects//agent`
|
3569
|
+
# - `projects//locations//agent
|
3729
3570
|
# @param [Fixnum] page_size
|
3730
3571
|
# Optional. The maximum number of items to return in a single page. By default
|
3731
|
-
# 100 and
|
3732
|
-
# at most 1000.
|
3572
|
+
# 100 and at most 1000.
|
3733
3573
|
# @param [String] page_token
|
3734
3574
|
# Optional. The next_page_token value returned from a previous list request.
|
3735
3575
|
# @param [String] fields
|
@@ -3763,11 +3603,10 @@ module Google
|
|
3763
3603
|
|
3764
3604
|
# Deletes all active contexts in the specified session.
|
3765
3605
|
# @param [String] parent
|
3766
|
-
# Required. The name of the session to delete all contexts from. Format:
|
3767
|
-
#
|
3768
|
-
#
|
3769
|
-
#
|
3770
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
3606
|
+
# Required. The name of the session to delete all contexts from. Format: `
|
3607
|
+
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
3608
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
3609
|
+
# If `User ID` is not specified, we assume default '-' user.
|
3771
3610
|
# @param [String] fields
|
3772
3611
|
# Selector specifying which fields to include in a partial response.
|
3773
3612
|
# @param [String] quota_user
|
@@ -3795,20 +3634,20 @@ module Google
|
|
3795
3634
|
execute_or_queue_command(command, &block)
|
3796
3635
|
end
|
3797
3636
|
|
3798
|
-
# Processes a natural language query and returns structured, actionable data
|
3799
|
-
#
|
3800
|
-
#
|
3801
|
-
#
|
3637
|
+
# Processes a natural language query and returns structured, actionable data as
|
3638
|
+
# a result. This method is not idempotent, because it may cause contexts and
|
3639
|
+
# session entity types to be updated, which in turn might affect results of
|
3640
|
+
# future queries.
|
3802
3641
|
# @param [String] session
|
3803
|
-
# Required. The name of the session this query is sent to. Format:
|
3804
|
-
# `projects
|
3805
|
-
#
|
3806
|
-
#
|
3807
|
-
#
|
3808
|
-
#
|
3809
|
-
#
|
3810
|
-
#
|
3811
|
-
#
|
3642
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
3643
|
+
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
3644
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3645
|
+
# User ID` is not specified, we are using "-". It's up to the API caller to
|
3646
|
+
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
3647
|
+
# or some type of user and session identifiers (preferably hashed). The length
|
3648
|
+
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
3649
|
+
# information, see the [API interactions guide](https://cloud.google.com/
|
3650
|
+
# dialogflow/docs/api-overview).
|
3812
3651
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
3813
3652
|
# @param [String] fields
|
3814
3653
|
# Selector specifying which fields to include in a partial response.
|
@@ -3839,15 +3678,13 @@ module Google
|
|
3839
3678
|
execute_or_queue_command(command, &block)
|
3840
3679
|
end
|
3841
3680
|
|
3842
|
-
# Creates a context.
|
3843
|
-
#
|
3681
|
+
# Creates a context. If the specified context already exists, overrides the
|
3682
|
+
# context.
|
3844
3683
|
# @param [String] parent
|
3845
|
-
# Required. The session to create a context for.
|
3846
|
-
#
|
3847
|
-
#
|
3848
|
-
#
|
3849
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
3850
|
-
# default '-' user.
|
3684
|
+
# Required. The session to create a context for. Format: `projects//agent/
|
3685
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
3686
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3687
|
+
# User ID` is not specified, we assume default '-' user.
|
3851
3688
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
3852
3689
|
# @param [String] fields
|
3853
3690
|
# Selector specifying which fields to include in a partial response.
|
@@ -3880,12 +3717,10 @@ module Google
|
|
3880
3717
|
|
3881
3718
|
# Deletes the specified context.
|
3882
3719
|
# @param [String] name
|
3883
|
-
# Required. The name of the context to delete. Format:
|
3884
|
-
# `projects
|
3885
|
-
#
|
3886
|
-
#
|
3887
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
3888
|
-
# specified, we assume default '-' user.
|
3720
|
+
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
3721
|
+
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
3722
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3723
|
+
# User ID` is not specified, we assume default '-' user.
|
3889
3724
|
# @param [String] fields
|
3890
3725
|
# Selector specifying which fields to include in a partial response.
|
3891
3726
|
# @param [String] quota_user
|
@@ -3915,12 +3750,10 @@ module Google
|
|
3915
3750
|
|
3916
3751
|
# Retrieves the specified context.
|
3917
3752
|
# @param [String] name
|
3918
|
-
# Required. The name of the context. Format:
|
3919
|
-
# `projects
|
3920
|
-
#
|
3921
|
-
#
|
3922
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
3923
|
-
# specified, we assume default '-' user.
|
3753
|
+
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
3754
|
+
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
3755
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3756
|
+
# User ID` is not specified, we assume default '-' user.
|
3924
3757
|
# @param [String] fields
|
3925
3758
|
# Selector specifying which fields to include in a partial response.
|
3926
3759
|
# @param [String] quota_user
|
@@ -3950,15 +3783,13 @@ module Google
|
|
3950
3783
|
|
3951
3784
|
# Returns the list of all contexts in the specified session.
|
3952
3785
|
# @param [String] parent
|
3953
|
-
# Required. The session to list all contexts from.
|
3954
|
-
#
|
3955
|
-
#
|
3956
|
-
#
|
3957
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
3958
|
-
# default '-' user.
|
3786
|
+
# Required. The session to list all contexts from. Format: `projects//agent/
|
3787
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
3788
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3789
|
+
# User ID` is not specified, we assume default '-' user.
|
3959
3790
|
# @param [Fixnum] page_size
|
3960
|
-
# Optional. The maximum number of items to return in a single page. By
|
3961
|
-
#
|
3791
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3792
|
+
# 100 and at most 1000.
|
3962
3793
|
# @param [String] page_token
|
3963
3794
|
# Optional. The next_page_token value returned from a previous list request.
|
3964
3795
|
# @param [String] fields
|
@@ -3992,19 +3823,15 @@ module Google
|
|
3992
3823
|
|
3993
3824
|
# Updates the specified context.
|
3994
3825
|
# @param [String] name
|
3995
|
-
# Required. The unique identifier of the context. Format:
|
3996
|
-
# `projects
|
3997
|
-
#
|
3998
|
-
#
|
3999
|
-
#
|
4000
|
-
#
|
4001
|
-
#
|
4002
|
-
#
|
4003
|
-
#
|
4004
|
-
# You should not use these contexts or create contexts with these names:
|
4005
|
-
# * `__system_counters__`
|
4006
|
-
# * `*_id_dialog_context`
|
4007
|
-
# * `*_dialog_params_size`
|
3826
|
+
# Required. The unique identifier of the context. Format: `projects//agent/
|
3827
|
+
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
3828
|
+
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
3829
|
+
# contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
|
3830
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3831
|
+
# User ID` is not specified, we assume default '-' user. The following context
|
3832
|
+
# names are reserved for internal use by Dialogflow. You should not use these
|
3833
|
+
# contexts or create contexts with these names: * `__system_counters__` * `*
|
3834
|
+
# _id_dialog_context` * `*_dialog_params_size`
|
4008
3835
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4009
3836
|
# @param [String] update_mask
|
4010
3837
|
# Optional. The mask to control which fields get updated.
|
@@ -4038,19 +3865,15 @@ module Google
|
|
4038
3865
|
execute_or_queue_command(command, &block)
|
4039
3866
|
end
|
4040
3867
|
|
4041
|
-
# Creates a session entity type.
|
4042
|
-
#
|
4043
|
-
#
|
4044
|
-
#
|
4045
|
-
# Contact Dialogflow support if you need to use session entities
|
4046
|
-
# with Google Assistant integration.
|
3868
|
+
# Creates a session entity type. If the specified session entity type already
|
3869
|
+
# exists, overrides the session entity type. This method doesn't work with
|
3870
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
3871
|
+
# session entities with Google Assistant integration.
|
4047
3872
|
# @param [String] parent
|
4048
|
-
# Required. The session to create a session entity type for.
|
4049
|
-
#
|
4050
|
-
#
|
4051
|
-
#
|
4052
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4053
|
-
# default '-' user.
|
3873
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
3874
|
+
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
3875
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3876
|
+
# User ID` is not specified, we assume default '-' user.
|
4054
3877
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4055
3878
|
# @param [String] fields
|
4056
3879
|
# Selector specifying which fields to include in a partial response.
|
@@ -4081,16 +3904,13 @@ module Google
|
|
4081
3904
|
execute_or_queue_command(command, &block)
|
4082
3905
|
end
|
4083
3906
|
|
4084
|
-
# Deletes the specified session entity type.
|
4085
|
-
#
|
4086
|
-
#
|
4087
|
-
# with Google Assistant integration.
|
3907
|
+
# Deletes the specified session entity type. This method doesn't work with
|
3908
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
3909
|
+
# session entities with Google Assistant integration.
|
4088
3910
|
# @param [String] name
|
4089
|
-
# Required. The name of the entity type to delete. Format:
|
4090
|
-
# `projects
|
4091
|
-
#
|
4092
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4093
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
3911
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
3912
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
3913
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4094
3914
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4095
3915
|
# @param [String] fields
|
4096
3916
|
# Selector specifying which fields to include in a partial response.
|
@@ -4119,16 +3939,13 @@ module Google
|
|
4119
3939
|
execute_or_queue_command(command, &block)
|
4120
3940
|
end
|
4121
3941
|
|
4122
|
-
# Retrieves the specified session entity type.
|
4123
|
-
#
|
4124
|
-
#
|
4125
|
-
# with Google Assistant integration.
|
3942
|
+
# Retrieves the specified session entity type. This method doesn't work with
|
3943
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
3944
|
+
# session entities with Google Assistant integration.
|
4126
3945
|
# @param [String] name
|
4127
|
-
# Required. The name of the session entity type. Format:
|
4128
|
-
# `projects
|
4129
|
-
#
|
4130
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4131
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
3946
|
+
# Required. The name of the session entity type. Format: `projects//agent/
|
3947
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
3948
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4132
3949
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4133
3950
|
# @param [String] fields
|
4134
3951
|
# Selector specifying which fields to include in a partial response.
|
@@ -4157,20 +3974,17 @@ module Google
|
|
4157
3974
|
execute_or_queue_command(command, &block)
|
4158
3975
|
end
|
4159
3976
|
|
4160
|
-
# Returns the list of all session entity types in the specified session.
|
4161
|
-
#
|
4162
|
-
#
|
4163
|
-
# with Google Assistant integration.
|
3977
|
+
# Returns the list of all session entity types in the specified session. This
|
3978
|
+
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
3979
|
+
# support if you need to use session entities with Google Assistant integration.
|
4164
3980
|
# @param [String] parent
|
4165
|
-
# Required. The session to list all session entity types from.
|
4166
|
-
#
|
4167
|
-
#
|
4168
|
-
#
|
4169
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
4170
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
3981
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
3982
|
+
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
3983
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3984
|
+
# User ID` is not specified, we assume default '-' user.
|
4171
3985
|
# @param [Fixnum] page_size
|
4172
|
-
# Optional. The maximum number of items to return in a single page. By
|
4173
|
-
#
|
3986
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3987
|
+
# 100 and at most 1000.
|
4174
3988
|
# @param [String] page_token
|
4175
3989
|
# Optional. The next_page_token value returned from a previous list request.
|
4176
3990
|
# @param [String] fields
|
@@ -4202,20 +4016,16 @@ module Google
|
|
4202
4016
|
execute_or_queue_command(command, &block)
|
4203
4017
|
end
|
4204
4018
|
|
4205
|
-
# Updates the specified session entity type.
|
4206
|
-
#
|
4207
|
-
#
|
4208
|
-
# with Google Assistant integration.
|
4019
|
+
# Updates the specified session entity type. This method doesn't work with
|
4020
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4021
|
+
# session entities with Google Assistant integration.
|
4209
4022
|
# @param [String] name
|
4210
|
-
# Required. The unique identifier of this session entity type. Format:
|
4211
|
-
#
|
4212
|
-
#
|
4213
|
-
# `
|
4214
|
-
#
|
4215
|
-
#
|
4216
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
4217
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
4218
|
-
# type in the same agent that will be overridden or supplemented.
|
4023
|
+
# Required. The unique identifier of this session entity type. Format: `projects/
|
4024
|
+
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
4025
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
4026
|
+
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
4027
|
+
# -' user. `` must be the display name of an existing entity type in the same
|
4028
|
+
# agent that will be overridden or supplemented.
|
4219
4029
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4220
4030
|
# @param [String] update_mask
|
4221
4031
|
# Optional. The mask to control which fields get updated.
|
@@ -4249,11 +4059,10 @@ module Google
|
|
4249
4059
|
execute_or_queue_command(command, &block)
|
4250
4060
|
end
|
4251
4061
|
|
4252
|
-
# Deletes intents in the specified agent.
|
4253
|
-
# Operation <response: google.protobuf.Empty>
|
4062
|
+
# Deletes intents in the specified agent. Operation
|
4254
4063
|
# @param [String] parent
|
4255
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
4256
|
-
#
|
4064
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
4065
|
+
# projects//agent`.
|
4257
4066
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
4258
4067
|
# @param [String] fields
|
4259
4068
|
# Selector specifying which fields to include in a partial response.
|
@@ -4284,11 +4093,10 @@ module Google
|
|
4284
4093
|
execute_or_queue_command(command, &block)
|
4285
4094
|
end
|
4286
4095
|
|
4287
|
-
# Updates/Creates multiple intents in the specified agent.
|
4288
|
-
# Operation <response: BatchUpdateIntentsResponse>
|
4096
|
+
# Updates/Creates multiple intents in the specified agent. Operation
|
4289
4097
|
# @param [String] parent
|
4290
|
-
# Required. The name of the agent to update or create intents in.
|
4291
|
-
#
|
4098
|
+
# Required. The name of the agent to update or create intents in. Format: `
|
4099
|
+
# projects//agent`.
|
4292
4100
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
4293
4101
|
# @param [String] fields
|
4294
4102
|
# Selector specifying which fields to include in a partial response.
|
@@ -4321,18 +4129,15 @@ module Google
|
|
4321
4129
|
|
4322
4130
|
# Creates an intent in the specified agent.
|
4323
4131
|
# @param [String] parent
|
4324
|
-
# Required. The agent to create a intent for.
|
4325
|
-
# Format: `projects/<Project ID>/agent`.
|
4132
|
+
# Required. The agent to create a intent for. Format: `projects//agent`.
|
4326
4133
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
4327
4134
|
# @param [String] intent_view
|
4328
4135
|
# Optional. The resource view to apply to the returned intent.
|
4329
4136
|
# @param [String] language_code
|
4330
|
-
# Optional. The language used to access language-specific data.
|
4331
|
-
#
|
4332
|
-
#
|
4333
|
-
#
|
4334
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4335
|
-
# entity).
|
4137
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4138
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4139
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4140
|
+
# multilingual#intent-entity).
|
4336
4141
|
# @param [String] fields
|
4337
4142
|
# Selector specifying which fields to include in a partial response.
|
4338
4143
|
# @param [String] quota_user
|
@@ -4367,8 +4172,8 @@ module Google
|
|
4367
4172
|
# Deletes the specified intent and its direct or indirect followup intents.
|
4368
4173
|
# @param [String] name
|
4369
4174
|
# Required. The name of the intent to delete. If this intent has direct or
|
4370
|
-
# indirect followup intents, we also delete them.
|
4371
|
-
#
|
4175
|
+
# indirect followup intents, we also delete them. Format: `projects//agent/
|
4176
|
+
# intents/`.
|
4372
4177
|
# @param [String] fields
|
4373
4178
|
# Selector specifying which fields to include in a partial response.
|
4374
4179
|
# @param [String] quota_user
|
@@ -4398,17 +4203,14 @@ module Google
|
|
4398
4203
|
|
4399
4204
|
# Retrieves the specified intent.
|
4400
4205
|
# @param [String] name
|
4401
|
-
# Required. The name of the intent.
|
4402
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
4206
|
+
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
4403
4207
|
# @param [String] intent_view
|
4404
4208
|
# Optional. The resource view to apply to the returned intent.
|
4405
4209
|
# @param [String] language_code
|
4406
|
-
# Optional. The language used to access language-specific data.
|
4407
|
-
#
|
4408
|
-
#
|
4409
|
-
#
|
4410
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4411
|
-
# entity).
|
4210
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4211
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4212
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4213
|
+
# multilingual#intent-entity).
|
4412
4214
|
# @param [String] fields
|
4413
4215
|
# Selector specifying which fields to include in a partial response.
|
4414
4216
|
# @param [String] quota_user
|
@@ -4440,20 +4242,17 @@ module Google
|
|
4440
4242
|
|
4441
4243
|
# Returns the list of all intents in the specified agent.
|
4442
4244
|
# @param [String] parent
|
4443
|
-
# Required. The agent to list all intents from.
|
4444
|
-
# Format: `projects/<Project ID>/agent`.
|
4245
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
4445
4246
|
# @param [String] intent_view
|
4446
4247
|
# Optional. The resource view to apply to the returned intent.
|
4447
4248
|
# @param [String] language_code
|
4448
|
-
# Optional. The language used to access language-specific data.
|
4449
|
-
#
|
4450
|
-
#
|
4451
|
-
#
|
4452
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4453
|
-
# entity).
|
4249
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4250
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4251
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4252
|
+
# multilingual#intent-entity).
|
4454
4253
|
# @param [Fixnum] page_size
|
4455
|
-
# Optional. The maximum number of items to return in a single page. By
|
4456
|
-
#
|
4254
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4255
|
+
# 100 and at most 1000.
|
4457
4256
|
# @param [String] page_token
|
4458
4257
|
# Optional. The next_page_token value returned from a previous list request.
|
4459
4258
|
# @param [String] fields
|
@@ -4489,20 +4288,17 @@ module Google
|
|
4489
4288
|
|
4490
4289
|
# Updates the specified intent.
|
4491
4290
|
# @param [String] name
|
4492
|
-
# Optional. The unique identifier of this intent.
|
4493
|
-
#
|
4494
|
-
#
|
4495
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
4291
|
+
# Optional. The unique identifier of this intent. Required for Intents.
|
4292
|
+
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
4293
|
+
# intents/`.
|
4496
4294
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
4497
4295
|
# @param [String] intent_view
|
4498
4296
|
# Optional. The resource view to apply to the returned intent.
|
4499
4297
|
# @param [String] language_code
|
4500
|
-
# Optional. The language used to access language-specific data.
|
4501
|
-
#
|
4502
|
-
#
|
4503
|
-
#
|
4504
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4505
|
-
# entity).
|
4298
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4299
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4300
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4301
|
+
# multilingual#intent-entity).
|
4506
4302
|
# @param [String] update_mask
|
4507
4303
|
# Optional. The mask to control which fields get updated.
|
4508
4304
|
# @param [String] fields
|
@@ -4539,11 +4335,10 @@ module Google
|
|
4539
4335
|
|
4540
4336
|
# Deletes all active contexts in the specified session.
|
4541
4337
|
# @param [String] parent
|
4542
|
-
# Required. The name of the session to delete all contexts from. Format:
|
4543
|
-
#
|
4544
|
-
#
|
4545
|
-
#
|
4546
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
4338
|
+
# Required. The name of the session to delete all contexts from. Format: `
|
4339
|
+
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
4340
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
4341
|
+
# If `User ID` is not specified, we assume default '-' user.
|
4547
4342
|
# @param [String] fields
|
4548
4343
|
# Selector specifying which fields to include in a partial response.
|
4549
4344
|
# @param [String] quota_user
|
@@ -4571,20 +4366,20 @@ module Google
|
|
4571
4366
|
execute_or_queue_command(command, &block)
|
4572
4367
|
end
|
4573
4368
|
|
4574
|
-
# Processes a natural language query and returns structured, actionable data
|
4575
|
-
#
|
4576
|
-
#
|
4577
|
-
#
|
4369
|
+
# Processes a natural language query and returns structured, actionable data as
|
4370
|
+
# a result. This method is not idempotent, because it may cause contexts and
|
4371
|
+
# session entity types to be updated, which in turn might affect results of
|
4372
|
+
# future queries.
|
4578
4373
|
# @param [String] session
|
4579
|
-
# Required. The name of the session this query is sent to. Format:
|
4580
|
-
# `projects
|
4581
|
-
#
|
4582
|
-
#
|
4583
|
-
#
|
4584
|
-
#
|
4585
|
-
#
|
4586
|
-
#
|
4587
|
-
#
|
4374
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
4375
|
+
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
4376
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4377
|
+
# User ID` is not specified, we are using "-". It's up to the API caller to
|
4378
|
+
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
4379
|
+
# or some type of user and session identifiers (preferably hashed). The length
|
4380
|
+
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
4381
|
+
# information, see the [API interactions guide](https://cloud.google.com/
|
4382
|
+
# dialogflow/docs/api-overview).
|
4588
4383
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
4589
4384
|
# @param [String] fields
|
4590
4385
|
# Selector specifying which fields to include in a partial response.
|
@@ -4615,15 +4410,13 @@ module Google
|
|
4615
4410
|
execute_or_queue_command(command, &block)
|
4616
4411
|
end
|
4617
4412
|
|
4618
|
-
# Creates a context.
|
4619
|
-
#
|
4413
|
+
# Creates a context. If the specified context already exists, overrides the
|
4414
|
+
# context.
|
4620
4415
|
# @param [String] parent
|
4621
|
-
# Required. The session to create a context for.
|
4622
|
-
#
|
4623
|
-
#
|
4624
|
-
#
|
4625
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4626
|
-
# default '-' user.
|
4416
|
+
# Required. The session to create a context for. Format: `projects//agent/
|
4417
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
4418
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4419
|
+
# User ID` is not specified, we assume default '-' user.
|
4627
4420
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4628
4421
|
# @param [String] fields
|
4629
4422
|
# Selector specifying which fields to include in a partial response.
|
@@ -4656,12 +4449,10 @@ module Google
|
|
4656
4449
|
|
4657
4450
|
# Deletes the specified context.
|
4658
4451
|
# @param [String] name
|
4659
|
-
# Required. The name of the context to delete. Format:
|
4660
|
-
# `projects
|
4661
|
-
#
|
4662
|
-
#
|
4663
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
4664
|
-
# specified, we assume default '-' user.
|
4452
|
+
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
4453
|
+
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
4454
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4455
|
+
# User ID` is not specified, we assume default '-' user.
|
4665
4456
|
# @param [String] fields
|
4666
4457
|
# Selector specifying which fields to include in a partial response.
|
4667
4458
|
# @param [String] quota_user
|
@@ -4691,12 +4482,10 @@ module Google
|
|
4691
4482
|
|
4692
4483
|
# Retrieves the specified context.
|
4693
4484
|
# @param [String] name
|
4694
|
-
# Required. The name of the context. Format:
|
4695
|
-
# `projects
|
4696
|
-
#
|
4697
|
-
#
|
4698
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
4699
|
-
# specified, we assume default '-' user.
|
4485
|
+
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
4486
|
+
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
4487
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4488
|
+
# User ID` is not specified, we assume default '-' user.
|
4700
4489
|
# @param [String] fields
|
4701
4490
|
# Selector specifying which fields to include in a partial response.
|
4702
4491
|
# @param [String] quota_user
|
@@ -4726,15 +4515,13 @@ module Google
|
|
4726
4515
|
|
4727
4516
|
# Returns the list of all contexts in the specified session.
|
4728
4517
|
# @param [String] parent
|
4729
|
-
# Required. The session to list all contexts from.
|
4730
|
-
#
|
4731
|
-
#
|
4732
|
-
#
|
4733
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4734
|
-
# default '-' user.
|
4518
|
+
# Required. The session to list all contexts from. Format: `projects//agent/
|
4519
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
4520
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4521
|
+
# User ID` is not specified, we assume default '-' user.
|
4735
4522
|
# @param [Fixnum] page_size
|
4736
|
-
# Optional. The maximum number of items to return in a single page. By
|
4737
|
-
#
|
4523
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4524
|
+
# 100 and at most 1000.
|
4738
4525
|
# @param [String] page_token
|
4739
4526
|
# Optional. The next_page_token value returned from a previous list request.
|
4740
4527
|
# @param [String] fields
|
@@ -4768,19 +4555,15 @@ module Google
|
|
4768
4555
|
|
4769
4556
|
# Updates the specified context.
|
4770
4557
|
# @param [String] name
|
4771
|
-
# Required. The unique identifier of the context. Format:
|
4772
|
-
# `projects
|
4773
|
-
#
|
4774
|
-
#
|
4775
|
-
#
|
4776
|
-
#
|
4777
|
-
#
|
4778
|
-
#
|
4779
|
-
#
|
4780
|
-
# You should not use these contexts or create contexts with these names:
|
4781
|
-
# * `__system_counters__`
|
4782
|
-
# * `*_id_dialog_context`
|
4783
|
-
# * `*_dialog_params_size`
|
4558
|
+
# Required. The unique identifier of the context. Format: `projects//agent/
|
4559
|
+
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
4560
|
+
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
4561
|
+
# contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
|
4562
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4563
|
+
# User ID` is not specified, we assume default '-' user. The following context
|
4564
|
+
# names are reserved for internal use by Dialogflow. You should not use these
|
4565
|
+
# contexts or create contexts with these names: * `__system_counters__` * `*
|
4566
|
+
# _id_dialog_context` * `*_dialog_params_size`
|
4784
4567
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4785
4568
|
# @param [String] update_mask
|
4786
4569
|
# Optional. The mask to control which fields get updated.
|
@@ -4814,19 +4597,15 @@ module Google
|
|
4814
4597
|
execute_or_queue_command(command, &block)
|
4815
4598
|
end
|
4816
4599
|
|
4817
|
-
# Creates a session entity type.
|
4818
|
-
#
|
4819
|
-
#
|
4820
|
-
#
|
4821
|
-
# Contact Dialogflow support if you need to use session entities
|
4822
|
-
# with Google Assistant integration.
|
4600
|
+
# Creates a session entity type. If the specified session entity type already
|
4601
|
+
# exists, overrides the session entity type. This method doesn't work with
|
4602
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4603
|
+
# session entities with Google Assistant integration.
|
4823
4604
|
# @param [String] parent
|
4824
|
-
# Required. The session to create a session entity type for.
|
4825
|
-
#
|
4826
|
-
#
|
4827
|
-
#
|
4828
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4829
|
-
# default '-' user.
|
4605
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
4606
|
+
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
4607
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4608
|
+
# User ID` is not specified, we assume default '-' user.
|
4830
4609
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4831
4610
|
# @param [String] fields
|
4832
4611
|
# Selector specifying which fields to include in a partial response.
|
@@ -4857,16 +4636,13 @@ module Google
|
|
4857
4636
|
execute_or_queue_command(command, &block)
|
4858
4637
|
end
|
4859
4638
|
|
4860
|
-
# Deletes the specified session entity type.
|
4861
|
-
#
|
4862
|
-
#
|
4863
|
-
# with Google Assistant integration.
|
4639
|
+
# Deletes the specified session entity type. This method doesn't work with
|
4640
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4641
|
+
# session entities with Google Assistant integration.
|
4864
4642
|
# @param [String] name
|
4865
|
-
# Required. The name of the entity type to delete. Format:
|
4866
|
-
# `projects
|
4867
|
-
#
|
4868
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4869
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
4643
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
4644
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
4645
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4870
4646
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4871
4647
|
# @param [String] fields
|
4872
4648
|
# Selector specifying which fields to include in a partial response.
|
@@ -4895,16 +4671,13 @@ module Google
|
|
4895
4671
|
execute_or_queue_command(command, &block)
|
4896
4672
|
end
|
4897
4673
|
|
4898
|
-
# Retrieves the specified session entity type.
|
4899
|
-
#
|
4900
|
-
#
|
4901
|
-
# with Google Assistant integration.
|
4674
|
+
# Retrieves the specified session entity type. This method doesn't work with
|
4675
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4676
|
+
# session entities with Google Assistant integration.
|
4902
4677
|
# @param [String] name
|
4903
|
-
# Required. The name of the session entity type. Format:
|
4904
|
-
# `projects
|
4905
|
-
#
|
4906
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4907
|
-
# Name>`. If `Environment ID` is not specified, we assume default 'draft'
|
4678
|
+
# Required. The name of the session entity type. Format: `projects//agent/
|
4679
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
4680
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4908
4681
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4909
4682
|
# @param [String] fields
|
4910
4683
|
# Selector specifying which fields to include in a partial response.
|
@@ -4933,20 +4706,17 @@ module Google
|
|
4933
4706
|
execute_or_queue_command(command, &block)
|
4934
4707
|
end
|
4935
4708
|
|
4936
|
-
# Returns the list of all session entity types in the specified session.
|
4937
|
-
#
|
4938
|
-
#
|
4939
|
-
# with Google Assistant integration.
|
4709
|
+
# Returns the list of all session entity types in the specified session. This
|
4710
|
+
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
4711
|
+
# support if you need to use session entities with Google Assistant integration.
|
4940
4712
|
# @param [String] parent
|
4941
|
-
# Required. The session to list all session entity types from.
|
4942
|
-
#
|
4943
|
-
#
|
4944
|
-
#
|
4945
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
4946
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
4713
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
4714
|
+
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
4715
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4716
|
+
# User ID` is not specified, we assume default '-' user.
|
4947
4717
|
# @param [Fixnum] page_size
|
4948
|
-
# Optional. The maximum number of items to return in a single page. By
|
4949
|
-
#
|
4718
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4719
|
+
# 100 and at most 1000.
|
4950
4720
|
# @param [String] page_token
|
4951
4721
|
# Optional. The next_page_token value returned from a previous list request.
|
4952
4722
|
# @param [String] fields
|
@@ -4978,20 +4748,16 @@ module Google
|
|
4978
4748
|
execute_or_queue_command(command, &block)
|
4979
4749
|
end
|
4980
4750
|
|
4981
|
-
# Updates the specified session entity type.
|
4982
|
-
#
|
4983
|
-
#
|
4984
|
-
# with Google Assistant integration.
|
4751
|
+
# Updates the specified session entity type. This method doesn't work with
|
4752
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4753
|
+
# session entities with Google Assistant integration.
|
4985
4754
|
# @param [String] name
|
4986
|
-
# Required. The unique identifier of this session entity type. Format:
|
4987
|
-
#
|
4988
|
-
#
|
4989
|
-
# `
|
4990
|
-
#
|
4991
|
-
#
|
4992
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
4993
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
4994
|
-
# type in the same agent that will be overridden or supplemented.
|
4755
|
+
# Required. The unique identifier of this session entity type. Format: `projects/
|
4756
|
+
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
4757
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
4758
|
+
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
4759
|
+
# -' user. `` must be the display name of an existing entity type in the same
|
4760
|
+
# agent that will be overridden or supplemented.
|
4995
4761
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4996
4762
|
# @param [String] update_mask
|
4997
4763
|
# Optional. The mask to control which fields get updated.
|
@@ -5025,15 +4791,13 @@ module Google
|
|
5025
4791
|
execute_or_queue_command(command, &block)
|
5026
4792
|
end
|
5027
4793
|
|
5028
|
-
# Starts asynchronous cancellation on a long-running operation.
|
5029
|
-
#
|
5030
|
-
#
|
5031
|
-
#
|
5032
|
-
#
|
5033
|
-
#
|
5034
|
-
# operation
|
5035
|
-
# the operation is not deleted; instead, it becomes an operation with
|
5036
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
4794
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4795
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4796
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
4797
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
4798
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
4799
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4800
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
5037
4801
|
# corresponding to `Code.CANCELLED`.
|
5038
4802
|
# @param [String] name
|
5039
4803
|
# The name of the operation resource to be cancelled.
|
@@ -5064,9 +4828,8 @@ module Google
|
|
5064
4828
|
execute_or_queue_command(command, &block)
|
5065
4829
|
end
|
5066
4830
|
|
5067
|
-
# Gets the latest state of a long-running operation.
|
5068
|
-
#
|
5069
|
-
# service.
|
4831
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
4832
|
+
# to poll the operation result at intervals as recommended by the API service.
|
5070
4833
|
# @param [String] name
|
5071
4834
|
# The name of the operation resource.
|
5072
4835
|
# @param [String] fields
|
@@ -5096,15 +4859,14 @@ module Google
|
|
5096
4859
|
execute_or_queue_command(command, &block)
|
5097
4860
|
end
|
5098
4861
|
|
5099
|
-
# Lists operations that match the specified filter in the request. If the
|
5100
|
-
#
|
5101
|
-
#
|
5102
|
-
#
|
5103
|
-
#
|
5104
|
-
#
|
5105
|
-
#
|
5106
|
-
#
|
5107
|
-
# is the parent resource, without the operations collection id.
|
4862
|
+
# Lists operations that match the specified filter in the request. If the server
|
4863
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
4864
|
+
# binding allows API services to override the binding to use different resource
|
4865
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
4866
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
4867
|
+
# service configuration. For backwards compatibility, the default name includes
|
4868
|
+
# the operations collection id, however overriding users must ensure the name
|
4869
|
+
# binding is the parent resource, without the operations collection id.
|
5108
4870
|
# @param [String] name
|
5109
4871
|
# The name of the operation's parent resource.
|
5110
4872
|
# @param [String] filter
|
@@ -5143,15 +4905,13 @@ module Google
|
|
5143
4905
|
execute_or_queue_command(command, &block)
|
5144
4906
|
end
|
5145
4907
|
|
5146
|
-
# Starts asynchronous cancellation on a long-running operation.
|
5147
|
-
#
|
5148
|
-
#
|
5149
|
-
#
|
5150
|
-
#
|
5151
|
-
#
|
5152
|
-
# operation
|
5153
|
-
# the operation is not deleted; instead, it becomes an operation with
|
5154
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
4908
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4909
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4910
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
4911
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
4912
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
4913
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4914
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
5155
4915
|
# corresponding to `Code.CANCELLED`.
|
5156
4916
|
# @param [String] name
|
5157
4917
|
# The name of the operation resource to be cancelled.
|
@@ -5182,9 +4942,8 @@ module Google
|
|
5182
4942
|
execute_or_queue_command(command, &block)
|
5183
4943
|
end
|
5184
4944
|
|
5185
|
-
# Gets the latest state of a long-running operation.
|
5186
|
-
#
|
5187
|
-
# service.
|
4945
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
4946
|
+
# to poll the operation result at intervals as recommended by the API service.
|
5188
4947
|
# @param [String] name
|
5189
4948
|
# The name of the operation resource.
|
5190
4949
|
# @param [String] fields
|
@@ -5214,15 +4973,14 @@ module Google
|
|
5214
4973
|
execute_or_queue_command(command, &block)
|
5215
4974
|
end
|
5216
4975
|
|
5217
|
-
# Lists operations that match the specified filter in the request. If the
|
5218
|
-
#
|
5219
|
-
#
|
5220
|
-
#
|
5221
|
-
#
|
5222
|
-
#
|
5223
|
-
#
|
5224
|
-
#
|
5225
|
-
# is the parent resource, without the operations collection id.
|
4976
|
+
# Lists operations that match the specified filter in the request. If the server
|
4977
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
4978
|
+
# binding allows API services to override the binding to use different resource
|
4979
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
4980
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
4981
|
+
# service configuration. For backwards compatibility, the default name includes
|
4982
|
+
# the operations collection id, however overriding users must ensure the name
|
4983
|
+
# binding is the parent resource, without the operations collection id.
|
5226
4984
|
# @param [String] name
|
5227
4985
|
# The name of the operation's parent resource.
|
5228
4986
|
# @param [String] filter
|