google-api-client 0.42.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 +205 -0
- 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/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 +193 -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 +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +739 -1192
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +885 -1126
- 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/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/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 +355 -0
- 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 +97 -118
- 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 +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -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/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- 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/cloudasset_v1p5beta1.rb +34 -0
- 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_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- 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 +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- 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 +11 -0
- 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 +11 -0
- 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/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +15 -0
- 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 +15 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- 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 +2 -1
- 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 -94
- 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 +192 -316
- 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 +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- 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 +1301 -1539
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -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 +1379 -1619
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- 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 +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- 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/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/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- 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 -145
- 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/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 +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- 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 +257 -285
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- 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 +87 -16
- 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 +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
- 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 +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- 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 +36 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +796 -0
- 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 +75 -0
- 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 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- 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 +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- 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/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 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -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_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 +49 -1
- 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/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- 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 +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -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 -1870
- 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 -1790
- 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 -1790
- 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 +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +943 -1175
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1007 -1316
- 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 +19 -11
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- 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
@@ -466,6 +466,12 @@ module Google
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
467
467
|
end
|
468
468
|
|
469
|
+
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
469
475
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
470
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
477
|
|
@@ -1943,6 +1949,15 @@ module Google
|
|
1943
1949
|
end
|
1944
1950
|
end
|
1945
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
|
+
|
1946
1961
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
1947
1962
|
# @private
|
1948
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,15 +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
|
-
#
|
845
|
-
# - `projects/<Project Number / ID>/agent`
|
846
|
-
# - `projects/<Project Number / ID>/locations/<Location
|
847
|
-
# ID>/agent
|
813
|
+
# Required. The agent to list all environments from. Format: - `projects//agent`
|
814
|
+
# - `projects//locations//agent
|
848
815
|
# @param [Fixnum] page_size
|
849
816
|
# Optional. The maximum number of items to return in a single page. By default
|
850
|
-
# 100 and
|
851
|
-
# at most 1000.
|
817
|
+
# 100 and at most 1000.
|
852
818
|
# @param [String] page_token
|
853
819
|
# Optional. The next_page_token value returned from a previous list request.
|
854
820
|
# @param [String] fields
|
@@ -882,11 +848,10 @@ module Google
|
|
882
848
|
|
883
849
|
# Deletes all active contexts in the specified session.
|
884
850
|
# @param [String] parent
|
885
|
-
# Required. The name of the session to delete all contexts from. Format:
|
886
|
-
#
|
887
|
-
#
|
888
|
-
#
|
889
|
-
# 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.
|
890
855
|
# @param [String] fields
|
891
856
|
# Selector specifying which fields to include in a partial response.
|
892
857
|
# @param [String] quota_user
|
@@ -914,20 +879,20 @@ module Google
|
|
914
879
|
execute_or_queue_command(command, &block)
|
915
880
|
end
|
916
881
|
|
917
|
-
# Processes a natural language query and returns structured, actionable data
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
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.
|
921
886
|
# @param [String] session
|
922
|
-
# Required. The name of the session this query is sent to. Format:
|
923
|
-
# `projects
|
924
|
-
#
|
925
|
-
#
|
926
|
-
#
|
927
|
-
#
|
928
|
-
#
|
929
|
-
#
|
930
|
-
#
|
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).
|
931
896
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
932
897
|
# @param [String] fields
|
933
898
|
# Selector specifying which fields to include in a partial response.
|
@@ -958,15 +923,13 @@ module Google
|
|
958
923
|
execute_or_queue_command(command, &block)
|
959
924
|
end
|
960
925
|
|
961
|
-
# Creates a context.
|
962
|
-
#
|
926
|
+
# Creates a context. If the specified context already exists, overrides the
|
927
|
+
# context.
|
963
928
|
# @param [String] parent
|
964
|
-
# Required. The session to create a context for.
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
969
|
-
# 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.
|
970
933
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
971
934
|
# @param [String] fields
|
972
935
|
# Selector specifying which fields to include in a partial response.
|
@@ -999,12 +962,10 @@ module Google
|
|
999
962
|
|
1000
963
|
# Deletes the specified context.
|
1001
964
|
# @param [String] name
|
1002
|
-
# Required. The name of the context to delete. Format:
|
1003
|
-
# `projects
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
1007
|
-
# 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.
|
1008
969
|
# @param [String] fields
|
1009
970
|
# Selector specifying which fields to include in a partial response.
|
1010
971
|
# @param [String] quota_user
|
@@ -1034,12 +995,10 @@ module Google
|
|
1034
995
|
|
1035
996
|
# Retrieves the specified context.
|
1036
997
|
# @param [String] name
|
1037
|
-
# Required. The name of the context. Format:
|
1038
|
-
# `projects
|
1039
|
-
#
|
1040
|
-
#
|
1041
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
1042
|
-
# 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.
|
1043
1002
|
# @param [String] fields
|
1044
1003
|
# Selector specifying which fields to include in a partial response.
|
1045
1004
|
# @param [String] quota_user
|
@@ -1069,15 +1028,13 @@ module Google
|
|
1069
1028
|
|
1070
1029
|
# Returns the list of all contexts in the specified session.
|
1071
1030
|
# @param [String] parent
|
1072
|
-
# Required. The session to list all contexts from.
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
#
|
1076
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
1077
|
-
# 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.
|
1078
1035
|
# @param [Fixnum] page_size
|
1079
|
-
# Optional. The maximum number of items to return in a single page. By
|
1080
|
-
#
|
1036
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1037
|
+
# 100 and at most 1000.
|
1081
1038
|
# @param [String] page_token
|
1082
1039
|
# Optional. The next_page_token value returned from a previous list request.
|
1083
1040
|
# @param [String] fields
|
@@ -1111,19 +1068,15 @@ module Google
|
|
1111
1068
|
|
1112
1069
|
# Updates the specified context.
|
1113
1070
|
# @param [String] name
|
1114
|
-
# Required. The unique identifier of the context. Format:
|
1115
|
-
# `projects
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
# You should not use these contexts or create contexts with these names:
|
1124
|
-
# * `__system_counters__`
|
1125
|
-
# * `*_id_dialog_context`
|
1126
|
-
# * `*_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`
|
1127
1080
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
1128
1081
|
# @param [String] update_mask
|
1129
1082
|
# Optional. The mask to control which fields get updated.
|
@@ -1157,19 +1110,15 @@ module Google
|
|
1157
1110
|
execute_or_queue_command(command, &block)
|
1158
1111
|
end
|
1159
1112
|
|
1160
|
-
# Creates a session entity type.
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
#
|
1164
|
-
# Contact Dialogflow support if you need to use session entities
|
1165
|
-
# 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.
|
1166
1117
|
# @param [String] parent
|
1167
|
-
# Required. The session to create a session entity type for.
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
1172
|
-
# 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.
|
1173
1122
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1174
1123
|
# @param [String] fields
|
1175
1124
|
# Selector specifying which fields to include in a partial response.
|
@@ -1200,16 +1149,13 @@ module Google
|
|
1200
1149
|
execute_or_queue_command(command, &block)
|
1201
1150
|
end
|
1202
1151
|
|
1203
|
-
# Deletes the specified session entity type.
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# 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.
|
1207
1155
|
# @param [String] name
|
1208
|
-
# Required. The name of the entity type to delete. Format:
|
1209
|
-
# `projects
|
1210
|
-
#
|
1211
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1212
|
-
# 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'
|
1213
1159
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
1214
1160
|
# @param [String] fields
|
1215
1161
|
# Selector specifying which fields to include in a partial response.
|
@@ -1238,16 +1184,13 @@ module Google
|
|
1238
1184
|
execute_or_queue_command(command, &block)
|
1239
1185
|
end
|
1240
1186
|
|
1241
|
-
# Retrieves the specified session entity type.
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
# 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.
|
1245
1190
|
# @param [String] name
|
1246
|
-
# Required. The name of the session entity type. Format:
|
1247
|
-
# `projects
|
1248
|
-
#
|
1249
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
1250
|
-
# 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'
|
1251
1194
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
1252
1195
|
# @param [String] fields
|
1253
1196
|
# Selector specifying which fields to include in a partial response.
|
@@ -1276,20 +1219,17 @@ module Google
|
|
1276
1219
|
execute_or_queue_command(command, &block)
|
1277
1220
|
end
|
1278
1221
|
|
1279
|
-
# Returns the list of all session entity types in the specified session.
|
1280
|
-
#
|
1281
|
-
#
|
1282
|
-
# 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.
|
1283
1225
|
# @param [String] parent
|
1284
|
-
# Required. The session to list all session entity types from.
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
1289
|
-
# 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.
|
1290
1230
|
# @param [Fixnum] page_size
|
1291
|
-
# Optional. The maximum number of items to return in a single page. By
|
1292
|
-
#
|
1231
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1232
|
+
# 100 and at most 1000.
|
1293
1233
|
# @param [String] page_token
|
1294
1234
|
# Optional. The next_page_token value returned from a previous list request.
|
1295
1235
|
# @param [String] fields
|
@@ -1321,20 +1261,16 @@ module Google
|
|
1321
1261
|
execute_or_queue_command(command, &block)
|
1322
1262
|
end
|
1323
1263
|
|
1324
|
-
# Updates the specified session entity type.
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
# 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.
|
1328
1267
|
# @param [String] name
|
1329
|
-
# Required. The unique identifier of this session entity type. Format:
|
1330
|
-
#
|
1331
|
-
#
|
1332
|
-
# `
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
1336
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
1337
|
-
# 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.
|
1338
1274
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1339
1275
|
# @param [String] update_mask
|
1340
1276
|
# Optional. The mask to control which fields get updated.
|
@@ -1368,11 +1304,10 @@ module Google
|
|
1368
1304
|
execute_or_queue_command(command, &block)
|
1369
1305
|
end
|
1370
1306
|
|
1371
|
-
# Deletes intents in the specified agent.
|
1372
|
-
# Operation <response: google.protobuf.Empty>
|
1307
|
+
# Deletes intents in the specified agent. Operation
|
1373
1308
|
# @param [String] parent
|
1374
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
1375
|
-
#
|
1309
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
1310
|
+
# projects//agent`.
|
1376
1311
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
1377
1312
|
# @param [String] fields
|
1378
1313
|
# Selector specifying which fields to include in a partial response.
|
@@ -1403,11 +1338,10 @@ module Google
|
|
1403
1338
|
execute_or_queue_command(command, &block)
|
1404
1339
|
end
|
1405
1340
|
|
1406
|
-
# Updates/Creates multiple intents in the specified agent.
|
1407
|
-
# Operation <response: BatchUpdateIntentsResponse>
|
1341
|
+
# Updates/Creates multiple intents in the specified agent. Operation
|
1408
1342
|
# @param [String] parent
|
1409
|
-
# Required. The name of the agent to update or create intents in.
|
1410
|
-
#
|
1343
|
+
# Required. The name of the agent to update or create intents in. Format: `
|
1344
|
+
# projects//agent`.
|
1411
1345
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
1412
1346
|
# @param [String] fields
|
1413
1347
|
# Selector specifying which fields to include in a partial response.
|
@@ -1440,18 +1374,15 @@ module Google
|
|
1440
1374
|
|
1441
1375
|
# Creates an intent in the specified agent.
|
1442
1376
|
# @param [String] parent
|
1443
|
-
# Required. The agent to create a intent for.
|
1444
|
-
# Format: `projects/<Project ID>/agent`.
|
1377
|
+
# Required. The agent to create a intent for. Format: `projects//agent`.
|
1445
1378
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
1446
1379
|
# @param [String] intent_view
|
1447
1380
|
# Optional. The resource view to apply to the returned intent.
|
1448
1381
|
# @param [String] language_code
|
1449
|
-
# Optional. The language used to access language-specific data.
|
1450
|
-
#
|
1451
|
-
#
|
1452
|
-
#
|
1453
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1454
|
-
# 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).
|
1455
1386
|
# @param [String] fields
|
1456
1387
|
# Selector specifying which fields to include in a partial response.
|
1457
1388
|
# @param [String] quota_user
|
@@ -1486,8 +1417,8 @@ module Google
|
|
1486
1417
|
# Deletes the specified intent and its direct or indirect followup intents.
|
1487
1418
|
# @param [String] name
|
1488
1419
|
# Required. The name of the intent to delete. If this intent has direct or
|
1489
|
-
# indirect followup intents, we also delete them.
|
1490
|
-
#
|
1420
|
+
# indirect followup intents, we also delete them. Format: `projects//agent/
|
1421
|
+
# intents/`.
|
1491
1422
|
# @param [String] fields
|
1492
1423
|
# Selector specifying which fields to include in a partial response.
|
1493
1424
|
# @param [String] quota_user
|
@@ -1517,17 +1448,14 @@ module Google
|
|
1517
1448
|
|
1518
1449
|
# Retrieves the specified intent.
|
1519
1450
|
# @param [String] name
|
1520
|
-
# Required. The name of the intent.
|
1521
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1451
|
+
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
1522
1452
|
# @param [String] intent_view
|
1523
1453
|
# Optional. The resource view to apply to the returned intent.
|
1524
1454
|
# @param [String] language_code
|
1525
|
-
# Optional. The language used to access language-specific data.
|
1526
|
-
#
|
1527
|
-
#
|
1528
|
-
#
|
1529
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1530
|
-
# 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).
|
1531
1459
|
# @param [String] fields
|
1532
1460
|
# Selector specifying which fields to include in a partial response.
|
1533
1461
|
# @param [String] quota_user
|
@@ -1559,20 +1487,17 @@ module Google
|
|
1559
1487
|
|
1560
1488
|
# Returns the list of all intents in the specified agent.
|
1561
1489
|
# @param [String] parent
|
1562
|
-
# Required. The agent to list all intents from.
|
1563
|
-
# Format: `projects/<Project ID>/agent`.
|
1490
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
1564
1491
|
# @param [String] intent_view
|
1565
1492
|
# Optional. The resource view to apply to the returned intent.
|
1566
1493
|
# @param [String] language_code
|
1567
|
-
# Optional. The language used to access language-specific data.
|
1568
|
-
#
|
1569
|
-
#
|
1570
|
-
#
|
1571
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1572
|
-
# 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).
|
1573
1498
|
# @param [Fixnum] page_size
|
1574
|
-
# Optional. The maximum number of items to return in a single page. By
|
1575
|
-
#
|
1499
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1500
|
+
# 100 and at most 1000.
|
1576
1501
|
# @param [String] page_token
|
1577
1502
|
# Optional. The next_page_token value returned from a previous list request.
|
1578
1503
|
# @param [String] fields
|
@@ -1608,20 +1533,17 @@ module Google
|
|
1608
1533
|
|
1609
1534
|
# Updates the specified intent.
|
1610
1535
|
# @param [String] name
|
1611
|
-
# Optional. The unique identifier of this intent.
|
1612
|
-
#
|
1613
|
-
#
|
1614
|
-
# 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/`.
|
1615
1539
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
1616
1540
|
# @param [String] intent_view
|
1617
1541
|
# Optional. The resource view to apply to the returned intent.
|
1618
1542
|
# @param [String] language_code
|
1619
|
-
# Optional. The language used to access language-specific data.
|
1620
|
-
#
|
1621
|
-
#
|
1622
|
-
#
|
1623
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
1624
|
-
# 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).
|
1625
1547
|
# @param [String] update_mask
|
1626
1548
|
# Optional. The mask to control which fields get updated.
|
1627
1549
|
# @param [String] fields
|
@@ -1656,12 +1578,10 @@ module Google
|
|
1656
1578
|
execute_or_queue_command(command, &block)
|
1657
1579
|
end
|
1658
1580
|
|
1659
|
-
# Creates a knowledge base.
|
1660
|
-
#
|
1661
|
-
# only use `projects.knowledgeBases`.
|
1581
|
+
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
1582
|
+
# is deprecated; only use `projects.knowledgeBases`.
|
1662
1583
|
# @param [String] parent
|
1663
|
-
# Required. The project to create a knowledge base for.
|
1664
|
-
# Format: `projects/<Project ID>`.
|
1584
|
+
# Required. The project to create a knowledge base for. Format: `projects/`.
|
1665
1585
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1666
1586
|
# @param [String] fields
|
1667
1587
|
# Selector specifying which fields to include in a partial response.
|
@@ -1692,15 +1612,14 @@ module Google
|
|
1692
1612
|
execute_or_queue_command(command, &block)
|
1693
1613
|
end
|
1694
1614
|
|
1695
|
-
# Deletes the specified knowledge base.
|
1696
|
-
#
|
1697
|
-
# only use `projects.knowledgeBases`.
|
1615
|
+
# Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
1616
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
1698
1617
|
# @param [String] name
|
1699
|
-
# Required. The name of the knowledge base to delete.
|
1700
|
-
#
|
1618
|
+
# Required. The name of the knowledge base to delete. Format: `projects//
|
1619
|
+
# knowledgeBases/`.
|
1701
1620
|
# @param [Boolean] force
|
1702
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents
|
1703
|
-
#
|
1621
|
+
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
1622
|
+
# the knowledge base are also deleted.
|
1704
1623
|
# @param [String] fields
|
1705
1624
|
# Selector specifying which fields to include in a partial response.
|
1706
1625
|
# @param [String] quota_user
|
@@ -1729,12 +1648,11 @@ module Google
|
|
1729
1648
|
execute_or_queue_command(command, &block)
|
1730
1649
|
end
|
1731
1650
|
|
1732
|
-
# Retrieves the specified knowledge base.
|
1733
|
-
#
|
1734
|
-
# only use `projects.knowledgeBases`.
|
1651
|
+
# Retrieves the specified knowledge base. Note: The `projects.agent.
|
1652
|
+
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
1735
1653
|
# @param [String] name
|
1736
|
-
# Required. The name of the knowledge base to retrieve.
|
1737
|
-
#
|
1654
|
+
# Required. The name of the knowledge base to retrieve. Format `projects//
|
1655
|
+
# knowledgeBases/`.
|
1738
1656
|
# @param [String] fields
|
1739
1657
|
# Selector specifying which fields to include in a partial response.
|
1740
1658
|
# @param [String] quota_user
|
@@ -1762,15 +1680,14 @@ module Google
|
|
1762
1680
|
execute_or_queue_command(command, &block)
|
1763
1681
|
end
|
1764
1682
|
|
1765
|
-
# Returns the list of all knowledge bases of the specified agent.
|
1766
|
-
#
|
1767
|
-
#
|
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`.
|
1768
1686
|
# @param [String] parent
|
1769
|
-
# Required. The project to list of knowledge bases for.
|
1770
|
-
# Format: `projects/<Project ID>`.
|
1687
|
+
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
1771
1688
|
# @param [Fixnum] page_size
|
1772
|
-
# Optional. The maximum number of items to return in a single page. By
|
1773
|
-
#
|
1689
|
+
# Optional. The maximum number of items to return in a single page. By default
|
1690
|
+
# 10 and at most 100.
|
1774
1691
|
# @param [String] page_token
|
1775
1692
|
# Optional. The next_page_token value returned from a previous list request.
|
1776
1693
|
# @param [String] fields
|
@@ -1802,18 +1719,16 @@ module Google
|
|
1802
1719
|
execute_or_queue_command(command, &block)
|
1803
1720
|
end
|
1804
1721
|
|
1805
|
-
# Updates the specified knowledge base.
|
1806
|
-
#
|
1807
|
-
# only use `projects.knowledgeBases`.
|
1722
|
+
# Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
1723
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
1808
1724
|
# @param [String] name
|
1809
|
-
# The knowledge base resource name.
|
1810
|
-
#
|
1811
|
-
# 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/`.
|
1812
1727
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1813
1728
|
# @param [String] update_mask
|
1814
|
-
# Optional. Not specified means `update all`.
|
1815
|
-
#
|
1816
|
-
#
|
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.
|
1817
1732
|
# @param [String] fields
|
1818
1733
|
# Selector specifying which fields to include in a partial response.
|
1819
1734
|
# @param [String] quota_user
|
@@ -1844,12 +1759,11 @@ module Google
|
|
1844
1759
|
execute_or_queue_command(command, &block)
|
1845
1760
|
end
|
1846
1761
|
|
1847
|
-
# Creates a new document.
|
1848
|
-
#
|
1849
|
-
# 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`.
|
1850
1764
|
# @param [String] parent
|
1851
|
-
# Required. The knoweldge base to create a document for.
|
1852
|
-
#
|
1765
|
+
# Required. The knoweldge base to create a document for. Format: `projects//
|
1766
|
+
# knowledgeBases/`.
|
1853
1767
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
1854
1768
|
# @param [String] fields
|
1855
1769
|
# Selector specifying which fields to include in a partial response.
|
@@ -1880,13 +1794,12 @@ module Google
|
|
1880
1794
|
execute_or_queue_command(command, &block)
|
1881
1795
|
end
|
1882
1796
|
|
1883
|
-
# Deletes the specified document.
|
1884
|
-
#
|
1885
|
-
#
|
1797
|
+
# Deletes the specified document. Note: The `projects.agent.knowledgeBases.
|
1798
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1799
|
+
# .
|
1886
1800
|
# @param [String] name
|
1887
|
-
# Required. The name of the document to delete.
|
1888
|
-
#
|
1889
|
-
# ID>/documents/<Document ID>`.
|
1801
|
+
# Required. The name of the document to delete. Format: `projects//
|
1802
|
+
# knowledgeBases//documents/`.
|
1890
1803
|
# @param [String] fields
|
1891
1804
|
# Selector specifying which fields to include in a partial response.
|
1892
1805
|
# @param [String] quota_user
|
@@ -1914,13 +1827,12 @@ module Google
|
|
1914
1827
|
execute_or_queue_command(command, &block)
|
1915
1828
|
end
|
1916
1829
|
|
1917
|
-
# Retrieves the specified document.
|
1918
|
-
#
|
1919
|
-
#
|
1830
|
+
# Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
|
1831
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1832
|
+
# .
|
1920
1833
|
# @param [String] name
|
1921
|
-
# Required. The name of the document to retrieve.
|
1922
|
-
#
|
1923
|
-
# ID>/documents/<Document ID>`.
|
1834
|
+
# Required. The name of the document to retrieve. Format `projects//
|
1835
|
+
# knowledgeBases//documents/`.
|
1924
1836
|
# @param [String] fields
|
1925
1837
|
# Selector specifying which fields to include in a partial response.
|
1926
1838
|
# @param [String] quota_user
|
@@ -1948,15 +1860,15 @@ module Google
|
|
1948
1860
|
execute_or_queue_command(command, &block)
|
1949
1861
|
end
|
1950
1862
|
|
1951
|
-
# Returns the list of all documents of the knowledge base.
|
1952
|
-
#
|
1953
|
-
#
|
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`.
|
1954
1866
|
# @param [String] parent
|
1955
|
-
# Required. The knowledge base to list all documents for.
|
1956
|
-
#
|
1867
|
+
# Required. The knowledge base to list all documents for. Format: `projects//
|
1868
|
+
# knowledgeBases/`.
|
1957
1869
|
# @param [Fixnum] page_size
|
1958
|
-
# The maximum number of items to return in a single page. By
|
1959
|
-
#
|
1870
|
+
# The maximum number of items to return in a single page. By default 10 and at
|
1871
|
+
# most 100.
|
1960
1872
|
# @param [String] page_token
|
1961
1873
|
# The next_page_token value returned from a previous list request.
|
1962
1874
|
# @param [String] fields
|
@@ -1988,19 +1900,17 @@ module Google
|
|
1988
1900
|
execute_or_queue_command(command, &block)
|
1989
1901
|
end
|
1990
1902
|
|
1991
|
-
# Updates the specified document.
|
1992
|
-
#
|
1993
|
-
#
|
1903
|
+
# Updates the specified document. Note: The `projects.agent.knowledgeBases.
|
1904
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
1905
|
+
# .
|
1994
1906
|
# @param [String] name
|
1995
|
-
# Optional. The document resource name.
|
1996
|
-
#
|
1997
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
1998
|
-
# ID>/documents/<Document ID>`.
|
1907
|
+
# Optional. The document resource name. The name must be empty when creating a
|
1908
|
+
# document. Format: `projects//knowledgeBases//documents/`.
|
1999
1909
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2000
1910
|
# @param [String] update_mask
|
2001
|
-
# Optional. Not specified means `update all`.
|
2002
|
-
#
|
2003
|
-
#
|
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.
|
2004
1914
|
# @param [String] fields
|
2005
1915
|
# Selector specifying which fields to include in a partial response.
|
2006
1916
|
# @param [String] quota_user
|
@@ -2032,15 +1942,14 @@ module Google
|
|
2032
1942
|
end
|
2033
1943
|
|
2034
1944
|
# Reloads the specified document from its specified source, content_uri or
|
2035
|
-
# content. The previously loaded content of the document will be deleted.
|
2036
|
-
#
|
2037
|
-
#
|
2038
|
-
#
|
2039
|
-
#
|
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`.
|
2040
1950
|
# @param [String] name
|
2041
|
-
# Required. The name of the document to reload.
|
2042
|
-
#
|
2043
|
-
# ID>/documents/<Document ID>`
|
1951
|
+
# Required. The name of the document to reload. Format: `projects//
|
1952
|
+
# knowledgeBases//documents/`
|
2044
1953
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2045
1954
|
# @param [String] fields
|
2046
1955
|
# Selector specifying which fields to include in a partial response.
|
@@ -2073,11 +1982,10 @@ module Google
|
|
2073
1982
|
|
2074
1983
|
# Deletes all active contexts in the specified session.
|
2075
1984
|
# @param [String] parent
|
2076
|
-
# Required. The name of the session to delete all contexts from. Format:
|
2077
|
-
#
|
2078
|
-
#
|
2079
|
-
#
|
2080
|
-
# 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.
|
2081
1989
|
# @param [String] fields
|
2082
1990
|
# Selector specifying which fields to include in a partial response.
|
2083
1991
|
# @param [String] quota_user
|
@@ -2105,20 +2013,20 @@ module Google
|
|
2105
2013
|
execute_or_queue_command(command, &block)
|
2106
2014
|
end
|
2107
2015
|
|
2108
|
-
# Processes a natural language query and returns structured, actionable data
|
2109
|
-
#
|
2110
|
-
#
|
2111
|
-
#
|
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.
|
2112
2020
|
# @param [String] session
|
2113
|
-
# Required. The name of the session this query is sent to. Format:
|
2114
|
-
# `projects
|
2115
|
-
#
|
2116
|
-
#
|
2117
|
-
#
|
2118
|
-
#
|
2119
|
-
#
|
2120
|
-
#
|
2121
|
-
#
|
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).
|
2122
2030
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
2123
2031
|
# @param [String] fields
|
2124
2032
|
# Selector specifying which fields to include in a partial response.
|
@@ -2149,15 +2057,13 @@ module Google
|
|
2149
2057
|
execute_or_queue_command(command, &block)
|
2150
2058
|
end
|
2151
2059
|
|
2152
|
-
# Creates a context.
|
2153
|
-
#
|
2060
|
+
# Creates a context. If the specified context already exists, overrides the
|
2061
|
+
# context.
|
2154
2062
|
# @param [String] parent
|
2155
|
-
# Required. The session to create a context for.
|
2156
|
-
#
|
2157
|
-
#
|
2158
|
-
#
|
2159
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
2160
|
-
# 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.
|
2161
2067
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
2162
2068
|
# @param [String] fields
|
2163
2069
|
# Selector specifying which fields to include in a partial response.
|
@@ -2190,12 +2096,10 @@ module Google
|
|
2190
2096
|
|
2191
2097
|
# Deletes the specified context.
|
2192
2098
|
# @param [String] name
|
2193
|
-
# Required. The name of the context to delete. Format:
|
2194
|
-
# `projects
|
2195
|
-
#
|
2196
|
-
#
|
2197
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
2198
|
-
# 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.
|
2199
2103
|
# @param [String] fields
|
2200
2104
|
# Selector specifying which fields to include in a partial response.
|
2201
2105
|
# @param [String] quota_user
|
@@ -2225,12 +2129,10 @@ module Google
|
|
2225
2129
|
|
2226
2130
|
# Retrieves the specified context.
|
2227
2131
|
# @param [String] name
|
2228
|
-
# Required. The name of the context. Format:
|
2229
|
-
# `projects
|
2230
|
-
#
|
2231
|
-
#
|
2232
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
2233
|
-
# 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.
|
2234
2136
|
# @param [String] fields
|
2235
2137
|
# Selector specifying which fields to include in a partial response.
|
2236
2138
|
# @param [String] quota_user
|
@@ -2260,15 +2162,13 @@ module Google
|
|
2260
2162
|
|
2261
2163
|
# Returns the list of all contexts in the specified session.
|
2262
2164
|
# @param [String] parent
|
2263
|
-
# Required. The session to list all contexts from.
|
2264
|
-
#
|
2265
|
-
#
|
2266
|
-
#
|
2267
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
2268
|
-
# 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.
|
2269
2169
|
# @param [Fixnum] page_size
|
2270
|
-
# Optional. The maximum number of items to return in a single page. By
|
2271
|
-
#
|
2170
|
+
# Optional. The maximum number of items to return in a single page. By default
|
2171
|
+
# 100 and at most 1000.
|
2272
2172
|
# @param [String] page_token
|
2273
2173
|
# Optional. The next_page_token value returned from a previous list request.
|
2274
2174
|
# @param [String] fields
|
@@ -2302,19 +2202,15 @@ module Google
|
|
2302
2202
|
|
2303
2203
|
# Updates the specified context.
|
2304
2204
|
# @param [String] name
|
2305
|
-
# Required. The unique identifier of the context. Format:
|
2306
|
-
# `projects
|
2307
|
-
#
|
2308
|
-
#
|
2309
|
-
#
|
2310
|
-
#
|
2311
|
-
#
|
2312
|
-
#
|
2313
|
-
#
|
2314
|
-
# You should not use these contexts or create contexts with these names:
|
2315
|
-
# * `__system_counters__`
|
2316
|
-
# * `*_id_dialog_context`
|
2317
|
-
# * `*_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`
|
2318
2214
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
2319
2215
|
# @param [String] update_mask
|
2320
2216
|
# Optional. The mask to control which fields get updated.
|
@@ -2348,19 +2244,15 @@ module Google
|
|
2348
2244
|
execute_or_queue_command(command, &block)
|
2349
2245
|
end
|
2350
2246
|
|
2351
|
-
# Creates a session entity type.
|
2352
|
-
#
|
2353
|
-
#
|
2354
|
-
#
|
2355
|
-
# Contact Dialogflow support if you need to use session entities
|
2356
|
-
# 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.
|
2357
2251
|
# @param [String] parent
|
2358
|
-
# Required. The session to create a session entity type for.
|
2359
|
-
#
|
2360
|
-
#
|
2361
|
-
#
|
2362
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
2363
|
-
# 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.
|
2364
2256
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
2365
2257
|
# @param [String] fields
|
2366
2258
|
# Selector specifying which fields to include in a partial response.
|
@@ -2391,16 +2283,13 @@ module Google
|
|
2391
2283
|
execute_or_queue_command(command, &block)
|
2392
2284
|
end
|
2393
2285
|
|
2394
|
-
# Deletes the specified session entity type.
|
2395
|
-
#
|
2396
|
-
#
|
2397
|
-
# 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.
|
2398
2289
|
# @param [String] name
|
2399
|
-
# Required. The name of the entity type to delete. Format:
|
2400
|
-
# `projects
|
2401
|
-
#
|
2402
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
2403
|
-
# 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'
|
2404
2293
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
2405
2294
|
# @param [String] fields
|
2406
2295
|
# Selector specifying which fields to include in a partial response.
|
@@ -2429,16 +2318,13 @@ module Google
|
|
2429
2318
|
execute_or_queue_command(command, &block)
|
2430
2319
|
end
|
2431
2320
|
|
2432
|
-
# Retrieves the specified session entity type.
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
# 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.
|
2436
2324
|
# @param [String] name
|
2437
|
-
# Required. The name of the session entity type. Format:
|
2438
|
-
# `projects
|
2439
|
-
#
|
2440
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
2441
|
-
# 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'
|
2442
2328
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
2443
2329
|
# @param [String] fields
|
2444
2330
|
# Selector specifying which fields to include in a partial response.
|
@@ -2467,20 +2353,17 @@ module Google
|
|
2467
2353
|
execute_or_queue_command(command, &block)
|
2468
2354
|
end
|
2469
2355
|
|
2470
|
-
# Returns the list of all session entity types in the specified session.
|
2471
|
-
#
|
2472
|
-
#
|
2473
|
-
# 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.
|
2474
2359
|
# @param [String] parent
|
2475
|
-
# Required. The session to list all session entity types from.
|
2476
|
-
#
|
2477
|
-
#
|
2478
|
-
#
|
2479
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
2480
|
-
# 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.
|
2481
2364
|
# @param [Fixnum] page_size
|
2482
|
-
# Optional. The maximum number of items to return in a single page. By
|
2483
|
-
#
|
2365
|
+
# Optional. The maximum number of items to return in a single page. By default
|
2366
|
+
# 100 and at most 1000.
|
2484
2367
|
# @param [String] page_token
|
2485
2368
|
# Optional. The next_page_token value returned from a previous list request.
|
2486
2369
|
# @param [String] fields
|
@@ -2512,20 +2395,16 @@ module Google
|
|
2512
2395
|
execute_or_queue_command(command, &block)
|
2513
2396
|
end
|
2514
2397
|
|
2515
|
-
# Updates the specified session entity type.
|
2516
|
-
#
|
2517
|
-
#
|
2518
|
-
# 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.
|
2519
2401
|
# @param [String] name
|
2520
|
-
# Required. The unique identifier of this session entity type. Format:
|
2521
|
-
#
|
2522
|
-
#
|
2523
|
-
# `
|
2524
|
-
#
|
2525
|
-
#
|
2526
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
2527
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
2528
|
-
# 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.
|
2529
2408
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
2530
2409
|
# @param [String] update_mask
|
2531
2410
|
# Optional. The mask to control which fields get updated.
|
@@ -2559,12 +2438,10 @@ module Google
|
|
2559
2438
|
execute_or_queue_command(command, &block)
|
2560
2439
|
end
|
2561
2440
|
|
2562
|
-
# Creates a knowledge base.
|
2563
|
-
#
|
2564
|
-
# only use `projects.knowledgeBases`.
|
2441
|
+
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
2442
|
+
# is deprecated; only use `projects.knowledgeBases`.
|
2565
2443
|
# @param [String] parent
|
2566
|
-
# Required. The project to create a knowledge base for.
|
2567
|
-
# Format: `projects/<Project ID>`.
|
2444
|
+
# Required. The project to create a knowledge base for. Format: `projects/`.
|
2568
2445
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2569
2446
|
# @param [String] fields
|
2570
2447
|
# Selector specifying which fields to include in a partial response.
|
@@ -2595,15 +2472,14 @@ module Google
|
|
2595
2472
|
execute_or_queue_command(command, &block)
|
2596
2473
|
end
|
2597
2474
|
|
2598
|
-
# Deletes the specified knowledge base.
|
2599
|
-
#
|
2600
|
-
# only use `projects.knowledgeBases`.
|
2475
|
+
# Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
2476
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
2601
2477
|
# @param [String] name
|
2602
|
-
# Required. The name of the knowledge base to delete.
|
2603
|
-
#
|
2478
|
+
# Required. The name of the knowledge base to delete. Format: `projects//
|
2479
|
+
# knowledgeBases/`.
|
2604
2480
|
# @param [Boolean] force
|
2605
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents
|
2606
|
-
#
|
2481
|
+
# Optional. Force deletes the knowledge base. When set to true, any documents in
|
2482
|
+
# the knowledge base are also deleted.
|
2607
2483
|
# @param [String] fields
|
2608
2484
|
# Selector specifying which fields to include in a partial response.
|
2609
2485
|
# @param [String] quota_user
|
@@ -2632,12 +2508,11 @@ module Google
|
|
2632
2508
|
execute_or_queue_command(command, &block)
|
2633
2509
|
end
|
2634
2510
|
|
2635
|
-
# Retrieves the specified knowledge base.
|
2636
|
-
#
|
2637
|
-
# only use `projects.knowledgeBases`.
|
2511
|
+
# Retrieves the specified knowledge base. Note: The `projects.agent.
|
2512
|
+
# knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
|
2638
2513
|
# @param [String] name
|
2639
|
-
# Required. The name of the knowledge base to retrieve.
|
2640
|
-
#
|
2514
|
+
# Required. The name of the knowledge base to retrieve. Format `projects//
|
2515
|
+
# knowledgeBases/`.
|
2641
2516
|
# @param [String] fields
|
2642
2517
|
# Selector specifying which fields to include in a partial response.
|
2643
2518
|
# @param [String] quota_user
|
@@ -2665,15 +2540,14 @@ module Google
|
|
2665
2540
|
execute_or_queue_command(command, &block)
|
2666
2541
|
end
|
2667
2542
|
|
2668
|
-
# Returns the list of all knowledge bases of the specified agent.
|
2669
|
-
#
|
2670
|
-
#
|
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`.
|
2671
2546
|
# @param [String] parent
|
2672
|
-
# Required. The project to list of knowledge bases for.
|
2673
|
-
# Format: `projects/<Project ID>`.
|
2547
|
+
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
2674
2548
|
# @param [Fixnum] page_size
|
2675
|
-
# Optional. The maximum number of items to return in a single page. By
|
2676
|
-
#
|
2549
|
+
# Optional. The maximum number of items to return in a single page. By default
|
2550
|
+
# 10 and at most 100.
|
2677
2551
|
# @param [String] page_token
|
2678
2552
|
# Optional. The next_page_token value returned from a previous list request.
|
2679
2553
|
# @param [String] fields
|
@@ -2705,18 +2579,16 @@ module Google
|
|
2705
2579
|
execute_or_queue_command(command, &block)
|
2706
2580
|
end
|
2707
2581
|
|
2708
|
-
# Updates the specified knowledge base.
|
2709
|
-
#
|
2710
|
-
# only use `projects.knowledgeBases`.
|
2582
|
+
# Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases`
|
2583
|
+
# resource is deprecated; only use `projects.knowledgeBases`.
|
2711
2584
|
# @param [String] name
|
2712
|
-
# The knowledge base resource name.
|
2713
|
-
#
|
2714
|
-
# 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/`.
|
2715
2587
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2716
2588
|
# @param [String] update_mask
|
2717
|
-
# Optional. Not specified means `update all`.
|
2718
|
-
#
|
2719
|
-
#
|
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.
|
2720
2592
|
# @param [String] fields
|
2721
2593
|
# Selector specifying which fields to include in a partial response.
|
2722
2594
|
# @param [String] quota_user
|
@@ -2747,12 +2619,11 @@ module Google
|
|
2747
2619
|
execute_or_queue_command(command, &block)
|
2748
2620
|
end
|
2749
2621
|
|
2750
|
-
# Creates a new document.
|
2751
|
-
#
|
2752
|
-
# 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`.
|
2753
2624
|
# @param [String] parent
|
2754
|
-
# Required. The knoweldge base to create a document for.
|
2755
|
-
#
|
2625
|
+
# Required. The knoweldge base to create a document for. Format: `projects//
|
2626
|
+
# knowledgeBases/`.
|
2756
2627
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2757
2628
|
# @param [String] fields
|
2758
2629
|
# Selector specifying which fields to include in a partial response.
|
@@ -2783,13 +2654,12 @@ module Google
|
|
2783
2654
|
execute_or_queue_command(command, &block)
|
2784
2655
|
end
|
2785
2656
|
|
2786
|
-
# Deletes the specified document.
|
2787
|
-
#
|
2788
|
-
#
|
2657
|
+
# Deletes the specified document. Note: The `projects.agent.knowledgeBases.
|
2658
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2659
|
+
# .
|
2789
2660
|
# @param [String] name
|
2790
|
-
# Required. The name of the document to delete.
|
2791
|
-
#
|
2792
|
-
# ID>/documents/<Document ID>`.
|
2661
|
+
# Required. The name of the document to delete. Format: `projects//
|
2662
|
+
# knowledgeBases//documents/`.
|
2793
2663
|
# @param [String] fields
|
2794
2664
|
# Selector specifying which fields to include in a partial response.
|
2795
2665
|
# @param [String] quota_user
|
@@ -2817,13 +2687,12 @@ module Google
|
|
2817
2687
|
execute_or_queue_command(command, &block)
|
2818
2688
|
end
|
2819
2689
|
|
2820
|
-
# Retrieves the specified document.
|
2821
|
-
#
|
2822
|
-
#
|
2690
|
+
# Retrieves the specified document. Note: The `projects.agent.knowledgeBases.
|
2691
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2692
|
+
# .
|
2823
2693
|
# @param [String] name
|
2824
|
-
# Required. The name of the document to retrieve.
|
2825
|
-
#
|
2826
|
-
# ID>/documents/<Document ID>`.
|
2694
|
+
# Required. The name of the document to retrieve. Format `projects//
|
2695
|
+
# knowledgeBases//documents/`.
|
2827
2696
|
# @param [String] fields
|
2828
2697
|
# Selector specifying which fields to include in a partial response.
|
2829
2698
|
# @param [String] quota_user
|
@@ -2851,15 +2720,15 @@ module Google
|
|
2851
2720
|
execute_or_queue_command(command, &block)
|
2852
2721
|
end
|
2853
2722
|
|
2854
|
-
# Returns the list of all documents of the knowledge base.
|
2855
|
-
#
|
2856
|
-
#
|
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`.
|
2857
2726
|
# @param [String] parent
|
2858
|
-
# Required. The knowledge base to list all documents for.
|
2859
|
-
#
|
2727
|
+
# Required. The knowledge base to list all documents for. Format: `projects//
|
2728
|
+
# knowledgeBases/`.
|
2860
2729
|
# @param [Fixnum] page_size
|
2861
|
-
# The maximum number of items to return in a single page. By
|
2862
|
-
#
|
2730
|
+
# The maximum number of items to return in a single page. By default 10 and at
|
2731
|
+
# most 100.
|
2863
2732
|
# @param [String] page_token
|
2864
2733
|
# The next_page_token value returned from a previous list request.
|
2865
2734
|
# @param [String] fields
|
@@ -2891,19 +2760,17 @@ module Google
|
|
2891
2760
|
execute_or_queue_command(command, &block)
|
2892
2761
|
end
|
2893
2762
|
|
2894
|
-
# Updates the specified document.
|
2895
|
-
#
|
2896
|
-
#
|
2763
|
+
# Updates the specified document. Note: The `projects.agent.knowledgeBases.
|
2764
|
+
# documents` resource is deprecated; only use `projects.knowledgeBases.documents`
|
2765
|
+
# .
|
2897
2766
|
# @param [String] name
|
2898
|
-
# Optional. The document resource name.
|
2899
|
-
#
|
2900
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
2901
|
-
# ID>/documents/<Document ID>`.
|
2767
|
+
# Optional. The document resource name. The name must be empty when creating a
|
2768
|
+
# document. Format: `projects//knowledgeBases//documents/`.
|
2902
2769
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
2903
2770
|
# @param [String] update_mask
|
2904
|
-
# Optional. Not specified means `update all`.
|
2905
|
-
#
|
2906
|
-
#
|
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.
|
2907
2774
|
# @param [String] fields
|
2908
2775
|
# Selector specifying which fields to include in a partial response.
|
2909
2776
|
# @param [String] quota_user
|
@@ -2935,15 +2802,14 @@ module Google
|
|
2935
2802
|
end
|
2936
2803
|
|
2937
2804
|
# Reloads the specified document from its specified source, content_uri or
|
2938
|
-
# content. The previously loaded content of the document will be deleted.
|
2939
|
-
#
|
2940
|
-
#
|
2941
|
-
#
|
2942
|
-
#
|
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`.
|
2943
2810
|
# @param [String] name
|
2944
|
-
# Required. The name of the document to reload.
|
2945
|
-
#
|
2946
|
-
# ID>/documents/<Document ID>`
|
2811
|
+
# Required. The name of the document to reload. Format: `projects//
|
2812
|
+
# knowledgeBases//documents/`
|
2947
2813
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest] google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2948
2814
|
# @param [String] fields
|
2949
2815
|
# Selector specifying which fields to include in a partial response.
|
@@ -2976,8 +2842,8 @@ module Google
|
|
2976
2842
|
|
2977
2843
|
# Deletes the specified agent.
|
2978
2844
|
# @param [String] parent
|
2979
|
-
# Required. The project that the agent to delete is associated with.
|
2980
|
-
#
|
2845
|
+
# Required. The project that the agent to delete is associated with. Format: `
|
2846
|
+
# projects/`.
|
2981
2847
|
# @param [String] fields
|
2982
2848
|
# Selector specifying which fields to include in a partial response.
|
2983
2849
|
# @param [String] quota_user
|
@@ -3007,8 +2873,8 @@ module Google
|
|
3007
2873
|
|
3008
2874
|
# Retrieves the specified agent.
|
3009
2875
|
# @param [String] parent
|
3010
|
-
# Required. The project that the agent to fetch is associated with.
|
3011
|
-
#
|
2876
|
+
# Required. The project that the agent to fetch is associated with. Format: `
|
2877
|
+
# projects/`.
|
3012
2878
|
# @param [String] fields
|
3013
2879
|
# Selector specifying which fields to include in a partial response.
|
3014
2880
|
# @param [String] quota_user
|
@@ -3038,8 +2904,7 @@ module Google
|
|
3038
2904
|
|
3039
2905
|
# Creates/updates the specified agent.
|
3040
2906
|
# @param [String] parent
|
3041
|
-
# Required. The project of this agent.
|
3042
|
-
# Format: `projects/<Project ID>`.
|
2907
|
+
# Required. The project of this agent. Format: `projects/`.
|
3043
2908
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
3044
2909
|
# @param [String] update_mask
|
3045
2910
|
# Optional. The mask to control which fields get updated.
|
@@ -3073,11 +2938,10 @@ module Google
|
|
3073
2938
|
execute_or_queue_command(command, &block)
|
3074
2939
|
end
|
3075
2940
|
|
3076
|
-
# Exports the specified agent to a ZIP file.
|
3077
|
-
# Operation <response: ExportAgentResponse>
|
2941
|
+
# Exports the specified agent to a ZIP file. Operation
|
3078
2942
|
# @param [String] parent
|
3079
|
-
# Required. The project that the agent to export is associated with.
|
3080
|
-
#
|
2943
|
+
# Required. The project that the agent to export is associated with. Format: `
|
2944
|
+
# projects/`.
|
3081
2945
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
|
3082
2946
|
# @param [String] fields
|
3083
2947
|
# Selector specifying which fields to include in a partial response.
|
@@ -3110,8 +2974,7 @@ module Google
|
|
3110
2974
|
|
3111
2975
|
# Retrieves the fulfillment.
|
3112
2976
|
# @param [String] name
|
3113
|
-
# Required. The name of the fulfillment.
|
3114
|
-
# Format: `projects/<Project ID>/agent/fulfillment`.
|
2977
|
+
# Required. The name of the fulfillment. Format: `projects//agent/fulfillment`.
|
3115
2978
|
# @param [String] fields
|
3116
2979
|
# Selector specifying which fields to include in a partial response.
|
3117
2980
|
# @param [String] quota_user
|
@@ -3139,20 +3002,18 @@ module Google
|
|
3139
3002
|
execute_or_queue_command(command, &block)
|
3140
3003
|
end
|
3141
3004
|
|
3142
|
-
# Imports the specified agent from a ZIP file.
|
3143
|
-
#
|
3144
|
-
#
|
3145
|
-
#
|
3146
|
-
# agent
|
3147
|
-
#
|
3148
|
-
#
|
3149
|
-
#
|
3150
|
-
#
|
3151
|
-
# An operation which tracks when importing is complete. It only tracks
|
3152
|
-
# 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.
|
3153
3014
|
# @param [String] parent
|
3154
|
-
# Required. The project that the agent to import is associated with.
|
3155
|
-
#
|
3015
|
+
# Required. The project that the agent to import is associated with. Format: `
|
3016
|
+
# projects/`.
|
3156
3017
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
|
3157
3018
|
# @param [String] fields
|
3158
3019
|
# Selector specifying which fields to include in a partial response.
|
@@ -3183,19 +3044,17 @@ module Google
|
|
3183
3044
|
execute_or_queue_command(command, &block)
|
3184
3045
|
end
|
3185
3046
|
|
3186
|
-
# Restores the specified agent from a ZIP file.
|
3187
|
-
#
|
3188
|
-
#
|
3189
|
-
#
|
3190
|
-
#
|
3191
|
-
#
|
3192
|
-
#
|
3193
|
-
#
|
3194
|
-
# An operation which tracks when restoring is complete. It only tracks
|
3195
|
-
# 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.
|
3196
3055
|
# @param [String] parent
|
3197
|
-
# Required. The project that the agent to restore is associated with.
|
3198
|
-
#
|
3056
|
+
# Required. The project that the agent to restore is associated with. Format: `
|
3057
|
+
# projects/`.
|
3199
3058
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
3200
3059
|
# @param [String] fields
|
3201
3060
|
# Selector specifying which fields to include in a partial response.
|
@@ -3226,19 +3085,16 @@ module Google
|
|
3226
3085
|
execute_or_queue_command(command, &block)
|
3227
3086
|
end
|
3228
3087
|
|
3229
|
-
# Returns the list of agents.
|
3230
|
-
#
|
3231
|
-
#
|
3232
|
-
#
|
3233
|
-
#
|
3234
|
-
# Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
|
3235
|
-
# 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).
|
3236
3093
|
# @param [String] parent
|
3237
|
-
# Required. The project to list agents from.
|
3238
|
-
# Format: `projects/<Project ID or '-'>`.
|
3094
|
+
# Required. The project to list agents from. Format: `projects/`.
|
3239
3095
|
# @param [Fixnum] page_size
|
3240
|
-
# Optional. The maximum number of items to return in a single page. By
|
3241
|
-
#
|
3096
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3097
|
+
# 100 and at most 1000.
|
3242
3098
|
# @param [String] page_token
|
3243
3099
|
# Optional. The next_page_token value returned from a previous list request.
|
3244
3100
|
# @param [String] fields
|
@@ -3270,11 +3126,10 @@ module Google
|
|
3270
3126
|
execute_or_queue_command(command, &block)
|
3271
3127
|
end
|
3272
3128
|
|
3273
|
-
# Trains the specified agent.
|
3274
|
-
# Operation <response: google.protobuf.Empty>
|
3129
|
+
# Trains the specified agent. Operation
|
3275
3130
|
# @param [String] parent
|
3276
|
-
# Required. The project that the agent to train is associated with.
|
3277
|
-
#
|
3131
|
+
# Required. The project that the agent to train is associated with. Format: `
|
3132
|
+
# projects/`.
|
3278
3133
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
|
3279
3134
|
# @param [String] fields
|
3280
3135
|
# Selector specifying which fields to include in a partial response.
|
@@ -3307,8 +3162,8 @@ module Google
|
|
3307
3162
|
|
3308
3163
|
# Updates the fulfillment.
|
3309
3164
|
# @param [String] name
|
3310
|
-
# Required. The unique identifier of the fulfillment.
|
3311
|
-
#
|
3165
|
+
# Required. The unique identifier of the fulfillment. Format: `projects//agent/
|
3166
|
+
# fulfillment`.
|
3312
3167
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
3313
3168
|
# @param [String] update_mask
|
3314
3169
|
# Required. The mask to control which fields get updated. If the mask is not
|
@@ -3343,11 +3198,10 @@ module Google
|
|
3343
3198
|
execute_or_queue_command(command, &block)
|
3344
3199
|
end
|
3345
3200
|
|
3346
|
-
# Deletes entity types in the specified agent.
|
3347
|
-
# Operation <response: google.protobuf.Empty>
|
3201
|
+
# Deletes entity types in the specified agent. Operation
|
3348
3202
|
# @param [String] parent
|
3349
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
3350
|
-
#
|
3203
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
3204
|
+
# projects//agent`.
|
3351
3205
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
3352
3206
|
# @param [String] fields
|
3353
3207
|
# Selector specifying which fields to include in a partial response.
|
@@ -3378,11 +3232,10 @@ module Google
|
|
3378
3232
|
execute_or_queue_command(command, &block)
|
3379
3233
|
end
|
3380
3234
|
|
3381
|
-
# Updates/Creates multiple entity types in the specified agent.
|
3382
|
-
# Operation <response: BatchUpdateEntityTypesResponse>
|
3235
|
+
# Updates/Creates multiple entity types in the specified agent. Operation
|
3383
3236
|
# @param [String] parent
|
3384
|
-
# Required. The name of the agent to update or create entity types in.
|
3385
|
-
#
|
3237
|
+
# Required. The name of the agent to update or create entity types in. Format: `
|
3238
|
+
# projects//agent`.
|
3386
3239
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
3387
3240
|
# @param [String] fields
|
3388
3241
|
# Selector specifying which fields to include in a partial response.
|
@@ -3415,16 +3268,13 @@ module Google
|
|
3415
3268
|
|
3416
3269
|
# Creates an entity type in the specified agent.
|
3417
3270
|
# @param [String] parent
|
3418
|
-
# Required. The agent to create a entity type for.
|
3419
|
-
# Format: `projects/<Project ID>/agent`.
|
3271
|
+
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
3420
3272
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
3421
3273
|
# @param [String] language_code
|
3422
|
-
# Optional. The language used to access language-specific data.
|
3423
|
-
#
|
3424
|
-
#
|
3425
|
-
#
|
3426
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3427
|
-
# 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).
|
3428
3278
|
# @param [String] fields
|
3429
3279
|
# Selector specifying which fields to include in a partial response.
|
3430
3280
|
# @param [String] quota_user
|
@@ -3457,8 +3307,8 @@ module Google
|
|
3457
3307
|
|
3458
3308
|
# Deletes the specified entity type.
|
3459
3309
|
# @param [String] name
|
3460
|
-
# Required. The name of the entity type to delete.
|
3461
|
-
#
|
3310
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
3311
|
+
# entityTypes/`.
|
3462
3312
|
# @param [String] fields
|
3463
3313
|
# Selector specifying which fields to include in a partial response.
|
3464
3314
|
# @param [String] quota_user
|
@@ -3488,15 +3338,12 @@ module Google
|
|
3488
3338
|
|
3489
3339
|
# Retrieves the specified entity type.
|
3490
3340
|
# @param [String] name
|
3491
|
-
# Required. The name of the entity type.
|
3492
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
3341
|
+
# Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
|
3493
3342
|
# @param [String] language_code
|
3494
|
-
# Optional. The language used to access language-specific data.
|
3495
|
-
#
|
3496
|
-
#
|
3497
|
-
#
|
3498
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3499
|
-
# 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).
|
3500
3347
|
# @param [String] fields
|
3501
3348
|
# Selector specifying which fields to include in a partial response.
|
3502
3349
|
# @param [String] quota_user
|
@@ -3527,18 +3374,15 @@ module Google
|
|
3527
3374
|
|
3528
3375
|
# Returns the list of all entity types in the specified agent.
|
3529
3376
|
# @param [String] parent
|
3530
|
-
# Required. The agent to list all entity types from.
|
3531
|
-
# Format: `projects/<Project ID>/agent`.
|
3377
|
+
# Required. The agent to list all entity types from. Format: `projects//agent`.
|
3532
3378
|
# @param [String] language_code
|
3533
|
-
# Optional. The language used to access language-specific data.
|
3534
|
-
#
|
3535
|
-
#
|
3536
|
-
#
|
3537
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3538
|
-
# 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).
|
3539
3383
|
# @param [Fixnum] page_size
|
3540
|
-
# Optional. The maximum number of items to return in a single page. By
|
3541
|
-
#
|
3384
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3385
|
+
# 100 and at most 1000.
|
3542
3386
|
# @param [String] page_token
|
3543
3387
|
# Optional. The next_page_token value returned from a previous list request.
|
3544
3388
|
# @param [String] fields
|
@@ -3573,18 +3417,15 @@ module Google
|
|
3573
3417
|
|
3574
3418
|
# Updates the specified entity type.
|
3575
3419
|
# @param [String] name
|
3576
|
-
# The unique identifier of the entity type.
|
3577
|
-
#
|
3578
|
-
#
|
3579
|
-
# 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/`.
|
3580
3423
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
3581
3424
|
# @param [String] language_code
|
3582
|
-
# Optional. The language used to access language-specific data.
|
3583
|
-
#
|
3584
|
-
#
|
3585
|
-
#
|
3586
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
3587
|
-
# 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).
|
3588
3429
|
# @param [String] update_mask
|
3589
3430
|
# Optional. The mask to control which fields get updated.
|
3590
3431
|
# @param [String] fields
|
@@ -3618,11 +3459,10 @@ module Google
|
|
3618
3459
|
execute_or_queue_command(command, &block)
|
3619
3460
|
end
|
3620
3461
|
|
3621
|
-
# Creates multiple new entities in the specified entity type.
|
3622
|
-
# Operation <response: google.protobuf.Empty>
|
3462
|
+
# Creates multiple new entities in the specified entity type. Operation
|
3623
3463
|
# @param [String] parent
|
3624
|
-
# Required. The name of the entity type to create entities in. Format:
|
3625
|
-
#
|
3464
|
+
# Required. The name of the entity type to create entities in. Format: `projects/
|
3465
|
+
# /agent/entityTypes/`.
|
3626
3466
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
3627
3467
|
# @param [String] fields
|
3628
3468
|
# Selector specifying which fields to include in a partial response.
|
@@ -3653,11 +3493,10 @@ module Google
|
|
3653
3493
|
execute_or_queue_command(command, &block)
|
3654
3494
|
end
|
3655
3495
|
|
3656
|
-
# Deletes entities in the specified entity type.
|
3657
|
-
# Operation <response: google.protobuf.Empty>
|
3496
|
+
# Deletes entities in the specified entity type. Operation
|
3658
3497
|
# @param [String] parent
|
3659
|
-
# Required. The name of the entity type to delete entries for. Format:
|
3660
|
-
#
|
3498
|
+
# Required. The name of the entity type to delete entries for. Format: `projects/
|
3499
|
+
# /agent/entityTypes/`.
|
3661
3500
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
3662
3501
|
# @param [String] fields
|
3663
3502
|
# Selector specifying which fields to include in a partial response.
|
@@ -3688,13 +3527,12 @@ module Google
|
|
3688
3527
|
execute_or_queue_command(command, &block)
|
3689
3528
|
end
|
3690
3529
|
|
3691
|
-
# Updates or creates multiple entities in the specified entity type. This
|
3692
|
-
#
|
3693
|
-
#
|
3694
|
-
# 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
|
3695
3533
|
# @param [String] parent
|
3696
|
-
# Required. The name of the entity type to update or create entities in.
|
3697
|
-
#
|
3534
|
+
# Required. The name of the entity type to update or create entities in. Format:
|
3535
|
+
# `projects//agent/entityTypes/`.
|
3698
3536
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
3699
3537
|
# @param [String] fields
|
3700
3538
|
# Selector specifying which fields to include in a partial response.
|
@@ -3727,15 +3565,11 @@ module Google
|
|
3727
3565
|
|
3728
3566
|
# Returns the list of all non-draft environments of the specified agent.
|
3729
3567
|
# @param [String] parent
|
3730
|
-
# Required. The agent to list all environments from.
|
3731
|
-
#
|
3732
|
-
# - `projects/<Project Number / ID>/agent`
|
3733
|
-
# - `projects/<Project Number / ID>/locations/<Location
|
3734
|
-
# ID>/agent
|
3568
|
+
# Required. The agent to list all environments from. Format: - `projects//agent`
|
3569
|
+
# - `projects//locations//agent
|
3735
3570
|
# @param [Fixnum] page_size
|
3736
3571
|
# Optional. The maximum number of items to return in a single page. By default
|
3737
|
-
# 100 and
|
3738
|
-
# at most 1000.
|
3572
|
+
# 100 and at most 1000.
|
3739
3573
|
# @param [String] page_token
|
3740
3574
|
# Optional. The next_page_token value returned from a previous list request.
|
3741
3575
|
# @param [String] fields
|
@@ -3769,11 +3603,10 @@ module Google
|
|
3769
3603
|
|
3770
3604
|
# Deletes all active contexts in the specified session.
|
3771
3605
|
# @param [String] parent
|
3772
|
-
# Required. The name of the session to delete all contexts from. Format:
|
3773
|
-
#
|
3774
|
-
#
|
3775
|
-
#
|
3776
|
-
# 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.
|
3777
3610
|
# @param [String] fields
|
3778
3611
|
# Selector specifying which fields to include in a partial response.
|
3779
3612
|
# @param [String] quota_user
|
@@ -3801,20 +3634,20 @@ module Google
|
|
3801
3634
|
execute_or_queue_command(command, &block)
|
3802
3635
|
end
|
3803
3636
|
|
3804
|
-
# Processes a natural language query and returns structured, actionable data
|
3805
|
-
#
|
3806
|
-
#
|
3807
|
-
#
|
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.
|
3808
3641
|
# @param [String] session
|
3809
|
-
# Required. The name of the session this query is sent to. Format:
|
3810
|
-
# `projects
|
3811
|
-
#
|
3812
|
-
#
|
3813
|
-
#
|
3814
|
-
#
|
3815
|
-
#
|
3816
|
-
#
|
3817
|
-
#
|
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).
|
3818
3651
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
3819
3652
|
# @param [String] fields
|
3820
3653
|
# Selector specifying which fields to include in a partial response.
|
@@ -3845,15 +3678,13 @@ module Google
|
|
3845
3678
|
execute_or_queue_command(command, &block)
|
3846
3679
|
end
|
3847
3680
|
|
3848
|
-
# Creates a context.
|
3849
|
-
#
|
3681
|
+
# Creates a context. If the specified context already exists, overrides the
|
3682
|
+
# context.
|
3850
3683
|
# @param [String] parent
|
3851
|
-
# Required. The session to create a context for.
|
3852
|
-
#
|
3853
|
-
#
|
3854
|
-
#
|
3855
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
3856
|
-
# 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.
|
3857
3688
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
3858
3689
|
# @param [String] fields
|
3859
3690
|
# Selector specifying which fields to include in a partial response.
|
@@ -3886,12 +3717,10 @@ module Google
|
|
3886
3717
|
|
3887
3718
|
# Deletes the specified context.
|
3888
3719
|
# @param [String] name
|
3889
|
-
# Required. The name of the context to delete. Format:
|
3890
|
-
# `projects
|
3891
|
-
#
|
3892
|
-
#
|
3893
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
3894
|
-
# 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.
|
3895
3724
|
# @param [String] fields
|
3896
3725
|
# Selector specifying which fields to include in a partial response.
|
3897
3726
|
# @param [String] quota_user
|
@@ -3921,12 +3750,10 @@ module Google
|
|
3921
3750
|
|
3922
3751
|
# Retrieves the specified context.
|
3923
3752
|
# @param [String] name
|
3924
|
-
# Required. The name of the context. Format:
|
3925
|
-
# `projects
|
3926
|
-
#
|
3927
|
-
#
|
3928
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
3929
|
-
# 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.
|
3930
3757
|
# @param [String] fields
|
3931
3758
|
# Selector specifying which fields to include in a partial response.
|
3932
3759
|
# @param [String] quota_user
|
@@ -3956,15 +3783,13 @@ module Google
|
|
3956
3783
|
|
3957
3784
|
# Returns the list of all contexts in the specified session.
|
3958
3785
|
# @param [String] parent
|
3959
|
-
# Required. The session to list all contexts from.
|
3960
|
-
#
|
3961
|
-
#
|
3962
|
-
#
|
3963
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
3964
|
-
# 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.
|
3965
3790
|
# @param [Fixnum] page_size
|
3966
|
-
# Optional. The maximum number of items to return in a single page. By
|
3967
|
-
#
|
3791
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3792
|
+
# 100 and at most 1000.
|
3968
3793
|
# @param [String] page_token
|
3969
3794
|
# Optional. The next_page_token value returned from a previous list request.
|
3970
3795
|
# @param [String] fields
|
@@ -3998,19 +3823,15 @@ module Google
|
|
3998
3823
|
|
3999
3824
|
# Updates the specified context.
|
4000
3825
|
# @param [String] name
|
4001
|
-
# Required. The unique identifier of the context. Format:
|
4002
|
-
# `projects
|
4003
|
-
#
|
4004
|
-
#
|
4005
|
-
#
|
4006
|
-
#
|
4007
|
-
#
|
4008
|
-
#
|
4009
|
-
#
|
4010
|
-
# You should not use these contexts or create contexts with these names:
|
4011
|
-
# * `__system_counters__`
|
4012
|
-
# * `*_id_dialog_context`
|
4013
|
-
# * `*_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`
|
4014
3835
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4015
3836
|
# @param [String] update_mask
|
4016
3837
|
# Optional. The mask to control which fields get updated.
|
@@ -4044,19 +3865,15 @@ module Google
|
|
4044
3865
|
execute_or_queue_command(command, &block)
|
4045
3866
|
end
|
4046
3867
|
|
4047
|
-
# Creates a session entity type.
|
4048
|
-
#
|
4049
|
-
#
|
4050
|
-
#
|
4051
|
-
# Contact Dialogflow support if you need to use session entities
|
4052
|
-
# 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.
|
4053
3872
|
# @param [String] parent
|
4054
|
-
# Required. The session to create a session entity type for.
|
4055
|
-
#
|
4056
|
-
#
|
4057
|
-
#
|
4058
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4059
|
-
# 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.
|
4060
3877
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4061
3878
|
# @param [String] fields
|
4062
3879
|
# Selector specifying which fields to include in a partial response.
|
@@ -4087,16 +3904,13 @@ module Google
|
|
4087
3904
|
execute_or_queue_command(command, &block)
|
4088
3905
|
end
|
4089
3906
|
|
4090
|
-
# Deletes the specified session entity type.
|
4091
|
-
#
|
4092
|
-
#
|
4093
|
-
# 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.
|
4094
3910
|
# @param [String] name
|
4095
|
-
# Required. The name of the entity type to delete. Format:
|
4096
|
-
# `projects
|
4097
|
-
#
|
4098
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4099
|
-
# 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'
|
4100
3914
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4101
3915
|
# @param [String] fields
|
4102
3916
|
# Selector specifying which fields to include in a partial response.
|
@@ -4125,16 +3939,13 @@ module Google
|
|
4125
3939
|
execute_or_queue_command(command, &block)
|
4126
3940
|
end
|
4127
3941
|
|
4128
|
-
# Retrieves the specified session entity type.
|
4129
|
-
#
|
4130
|
-
#
|
4131
|
-
# 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.
|
4132
3945
|
# @param [String] name
|
4133
|
-
# Required. The name of the session entity type. Format:
|
4134
|
-
# `projects
|
4135
|
-
#
|
4136
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4137
|
-
# 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'
|
4138
3949
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4139
3950
|
# @param [String] fields
|
4140
3951
|
# Selector specifying which fields to include in a partial response.
|
@@ -4163,20 +3974,17 @@ module Google
|
|
4163
3974
|
execute_or_queue_command(command, &block)
|
4164
3975
|
end
|
4165
3976
|
|
4166
|
-
# Returns the list of all session entity types in the specified session.
|
4167
|
-
#
|
4168
|
-
#
|
4169
|
-
# 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.
|
4170
3980
|
# @param [String] parent
|
4171
|
-
# Required. The session to list all session entity types from.
|
4172
|
-
#
|
4173
|
-
#
|
4174
|
-
#
|
4175
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
4176
|
-
# 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.
|
4177
3985
|
# @param [Fixnum] page_size
|
4178
|
-
# Optional. The maximum number of items to return in a single page. By
|
4179
|
-
#
|
3986
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3987
|
+
# 100 and at most 1000.
|
4180
3988
|
# @param [String] page_token
|
4181
3989
|
# Optional. The next_page_token value returned from a previous list request.
|
4182
3990
|
# @param [String] fields
|
@@ -4208,20 +4016,16 @@ module Google
|
|
4208
4016
|
execute_or_queue_command(command, &block)
|
4209
4017
|
end
|
4210
4018
|
|
4211
|
-
# Updates the specified session entity type.
|
4212
|
-
#
|
4213
|
-
#
|
4214
|
-
# 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.
|
4215
4022
|
# @param [String] name
|
4216
|
-
# Required. The unique identifier of this session entity type. Format:
|
4217
|
-
#
|
4218
|
-
#
|
4219
|
-
# `
|
4220
|
-
#
|
4221
|
-
#
|
4222
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
4223
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
4224
|
-
# 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.
|
4225
4029
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4226
4030
|
# @param [String] update_mask
|
4227
4031
|
# Optional. The mask to control which fields get updated.
|
@@ -4255,11 +4059,10 @@ module Google
|
|
4255
4059
|
execute_or_queue_command(command, &block)
|
4256
4060
|
end
|
4257
4061
|
|
4258
|
-
# Deletes intents in the specified agent.
|
4259
|
-
# Operation <response: google.protobuf.Empty>
|
4062
|
+
# Deletes intents in the specified agent. Operation
|
4260
4063
|
# @param [String] parent
|
4261
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
4262
|
-
#
|
4064
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
4065
|
+
# projects//agent`.
|
4263
4066
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
4264
4067
|
# @param [String] fields
|
4265
4068
|
# Selector specifying which fields to include in a partial response.
|
@@ -4290,11 +4093,10 @@ module Google
|
|
4290
4093
|
execute_or_queue_command(command, &block)
|
4291
4094
|
end
|
4292
4095
|
|
4293
|
-
# Updates/Creates multiple intents in the specified agent.
|
4294
|
-
# Operation <response: BatchUpdateIntentsResponse>
|
4096
|
+
# Updates/Creates multiple intents in the specified agent. Operation
|
4295
4097
|
# @param [String] parent
|
4296
|
-
# Required. The name of the agent to update or create intents in.
|
4297
|
-
#
|
4098
|
+
# Required. The name of the agent to update or create intents in. Format: `
|
4099
|
+
# projects//agent`.
|
4298
4100
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
4299
4101
|
# @param [String] fields
|
4300
4102
|
# Selector specifying which fields to include in a partial response.
|
@@ -4327,18 +4129,15 @@ module Google
|
|
4327
4129
|
|
4328
4130
|
# Creates an intent in the specified agent.
|
4329
4131
|
# @param [String] parent
|
4330
|
-
# Required. The agent to create a intent for.
|
4331
|
-
# Format: `projects/<Project ID>/agent`.
|
4132
|
+
# Required. The agent to create a intent for. Format: `projects//agent`.
|
4332
4133
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
4333
4134
|
# @param [String] intent_view
|
4334
4135
|
# Optional. The resource view to apply to the returned intent.
|
4335
4136
|
# @param [String] language_code
|
4336
|
-
# Optional. The language used to access language-specific data.
|
4337
|
-
#
|
4338
|
-
#
|
4339
|
-
#
|
4340
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4341
|
-
# 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).
|
4342
4141
|
# @param [String] fields
|
4343
4142
|
# Selector specifying which fields to include in a partial response.
|
4344
4143
|
# @param [String] quota_user
|
@@ -4373,8 +4172,8 @@ module Google
|
|
4373
4172
|
# Deletes the specified intent and its direct or indirect followup intents.
|
4374
4173
|
# @param [String] name
|
4375
4174
|
# Required. The name of the intent to delete. If this intent has direct or
|
4376
|
-
# indirect followup intents, we also delete them.
|
4377
|
-
#
|
4175
|
+
# indirect followup intents, we also delete them. Format: `projects//agent/
|
4176
|
+
# intents/`.
|
4378
4177
|
# @param [String] fields
|
4379
4178
|
# Selector specifying which fields to include in a partial response.
|
4380
4179
|
# @param [String] quota_user
|
@@ -4404,17 +4203,14 @@ module Google
|
|
4404
4203
|
|
4405
4204
|
# Retrieves the specified intent.
|
4406
4205
|
# @param [String] name
|
4407
|
-
# Required. The name of the intent.
|
4408
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
4206
|
+
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
4409
4207
|
# @param [String] intent_view
|
4410
4208
|
# Optional. The resource view to apply to the returned intent.
|
4411
4209
|
# @param [String] language_code
|
4412
|
-
# Optional. The language used to access language-specific data.
|
4413
|
-
#
|
4414
|
-
#
|
4415
|
-
#
|
4416
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4417
|
-
# 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).
|
4418
4214
|
# @param [String] fields
|
4419
4215
|
# Selector specifying which fields to include in a partial response.
|
4420
4216
|
# @param [String] quota_user
|
@@ -4446,20 +4242,17 @@ module Google
|
|
4446
4242
|
|
4447
4243
|
# Returns the list of all intents in the specified agent.
|
4448
4244
|
# @param [String] parent
|
4449
|
-
# Required. The agent to list all intents from.
|
4450
|
-
# Format: `projects/<Project ID>/agent`.
|
4245
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
4451
4246
|
# @param [String] intent_view
|
4452
4247
|
# Optional. The resource view to apply to the returned intent.
|
4453
4248
|
# @param [String] language_code
|
4454
|
-
# Optional. The language used to access language-specific data.
|
4455
|
-
#
|
4456
|
-
#
|
4457
|
-
#
|
4458
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4459
|
-
# 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).
|
4460
4253
|
# @param [Fixnum] page_size
|
4461
|
-
# Optional. The maximum number of items to return in a single page. By
|
4462
|
-
#
|
4254
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4255
|
+
# 100 and at most 1000.
|
4463
4256
|
# @param [String] page_token
|
4464
4257
|
# Optional. The next_page_token value returned from a previous list request.
|
4465
4258
|
# @param [String] fields
|
@@ -4495,20 +4288,17 @@ module Google
|
|
4495
4288
|
|
4496
4289
|
# Updates the specified intent.
|
4497
4290
|
# @param [String] name
|
4498
|
-
# Optional. The unique identifier of this intent.
|
4499
|
-
#
|
4500
|
-
#
|
4501
|
-
# 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/`.
|
4502
4294
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
4503
4295
|
# @param [String] intent_view
|
4504
4296
|
# Optional. The resource view to apply to the returned intent.
|
4505
4297
|
# @param [String] language_code
|
4506
|
-
# Optional. The language used to access language-specific data.
|
4507
|
-
#
|
4508
|
-
#
|
4509
|
-
#
|
4510
|
-
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
4511
|
-
# 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).
|
4512
4302
|
# @param [String] update_mask
|
4513
4303
|
# Optional. The mask to control which fields get updated.
|
4514
4304
|
# @param [String] fields
|
@@ -4545,11 +4335,10 @@ module Google
|
|
4545
4335
|
|
4546
4336
|
# Deletes all active contexts in the specified session.
|
4547
4337
|
# @param [String] parent
|
4548
|
-
# Required. The name of the session to delete all contexts from. Format:
|
4549
|
-
#
|
4550
|
-
#
|
4551
|
-
#
|
4552
|
-
# 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.
|
4553
4342
|
# @param [String] fields
|
4554
4343
|
# Selector specifying which fields to include in a partial response.
|
4555
4344
|
# @param [String] quota_user
|
@@ -4577,20 +4366,20 @@ module Google
|
|
4577
4366
|
execute_or_queue_command(command, &block)
|
4578
4367
|
end
|
4579
4368
|
|
4580
|
-
# Processes a natural language query and returns structured, actionable data
|
4581
|
-
#
|
4582
|
-
#
|
4583
|
-
#
|
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.
|
4584
4373
|
# @param [String] session
|
4585
|
-
# Required. The name of the session this query is sent to. Format:
|
4586
|
-
# `projects
|
4587
|
-
#
|
4588
|
-
#
|
4589
|
-
#
|
4590
|
-
#
|
4591
|
-
#
|
4592
|
-
#
|
4593
|
-
#
|
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).
|
4594
4383
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
4595
4384
|
# @param [String] fields
|
4596
4385
|
# Selector specifying which fields to include in a partial response.
|
@@ -4621,15 +4410,13 @@ module Google
|
|
4621
4410
|
execute_or_queue_command(command, &block)
|
4622
4411
|
end
|
4623
4412
|
|
4624
|
-
# Creates a context.
|
4625
|
-
#
|
4413
|
+
# Creates a context. If the specified context already exists, overrides the
|
4414
|
+
# context.
|
4626
4415
|
# @param [String] parent
|
4627
|
-
# Required. The session to create a context for.
|
4628
|
-
#
|
4629
|
-
#
|
4630
|
-
#
|
4631
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4632
|
-
# 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.
|
4633
4420
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4634
4421
|
# @param [String] fields
|
4635
4422
|
# Selector specifying which fields to include in a partial response.
|
@@ -4662,12 +4449,10 @@ module Google
|
|
4662
4449
|
|
4663
4450
|
# Deletes the specified context.
|
4664
4451
|
# @param [String] name
|
4665
|
-
# Required. The name of the context to delete. Format:
|
4666
|
-
# `projects
|
4667
|
-
#
|
4668
|
-
#
|
4669
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
4670
|
-
# 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.
|
4671
4456
|
# @param [String] fields
|
4672
4457
|
# Selector specifying which fields to include in a partial response.
|
4673
4458
|
# @param [String] quota_user
|
@@ -4697,12 +4482,10 @@ module Google
|
|
4697
4482
|
|
4698
4483
|
# Retrieves the specified context.
|
4699
4484
|
# @param [String] name
|
4700
|
-
# Required. The name of the context. Format:
|
4701
|
-
# `projects
|
4702
|
-
#
|
4703
|
-
#
|
4704
|
-
# not specified, we assume default 'draft' environment. If `User ID` is not
|
4705
|
-
# 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.
|
4706
4489
|
# @param [String] fields
|
4707
4490
|
# Selector specifying which fields to include in a partial response.
|
4708
4491
|
# @param [String] quota_user
|
@@ -4732,15 +4515,13 @@ module Google
|
|
4732
4515
|
|
4733
4516
|
# Returns the list of all contexts in the specified session.
|
4734
4517
|
# @param [String] parent
|
4735
|
-
# Required. The session to list all contexts from.
|
4736
|
-
#
|
4737
|
-
#
|
4738
|
-
#
|
4739
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4740
|
-
# 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.
|
4741
4522
|
# @param [Fixnum] page_size
|
4742
|
-
# Optional. The maximum number of items to return in a single page. By
|
4743
|
-
#
|
4523
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4524
|
+
# 100 and at most 1000.
|
4744
4525
|
# @param [String] page_token
|
4745
4526
|
# Optional. The next_page_token value returned from a previous list request.
|
4746
4527
|
# @param [String] fields
|
@@ -4774,19 +4555,15 @@ module Google
|
|
4774
4555
|
|
4775
4556
|
# Updates the specified context.
|
4776
4557
|
# @param [String] name
|
4777
|
-
# Required. The unique identifier of the context. Format:
|
4778
|
-
# `projects
|
4779
|
-
#
|
4780
|
-
#
|
4781
|
-
#
|
4782
|
-
#
|
4783
|
-
#
|
4784
|
-
#
|
4785
|
-
#
|
4786
|
-
# You should not use these contexts or create contexts with these names:
|
4787
|
-
# * `__system_counters__`
|
4788
|
-
# * `*_id_dialog_context`
|
4789
|
-
# * `*_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`
|
4790
4567
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4791
4568
|
# @param [String] update_mask
|
4792
4569
|
# Optional. The mask to control which fields get updated.
|
@@ -4820,19 +4597,15 @@ module Google
|
|
4820
4597
|
execute_or_queue_command(command, &block)
|
4821
4598
|
end
|
4822
4599
|
|
4823
|
-
# Creates a session entity type.
|
4824
|
-
#
|
4825
|
-
#
|
4826
|
-
#
|
4827
|
-
# Contact Dialogflow support if you need to use session entities
|
4828
|
-
# 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.
|
4829
4604
|
# @param [String] parent
|
4830
|
-
# Required. The session to create a session entity type for.
|
4831
|
-
#
|
4832
|
-
#
|
4833
|
-
#
|
4834
|
-
# default 'draft' environment. If `User ID` is not specified, we assume
|
4835
|
-
# 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.
|
4836
4609
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4837
4610
|
# @param [String] fields
|
4838
4611
|
# Selector specifying which fields to include in a partial response.
|
@@ -4863,16 +4636,13 @@ module Google
|
|
4863
4636
|
execute_or_queue_command(command, &block)
|
4864
4637
|
end
|
4865
4638
|
|
4866
|
-
# Deletes the specified session entity type.
|
4867
|
-
#
|
4868
|
-
#
|
4869
|
-
# 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.
|
4870
4642
|
# @param [String] name
|
4871
|
-
# Required. The name of the entity type to delete. Format:
|
4872
|
-
# `projects
|
4873
|
-
#
|
4874
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4875
|
-
# 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'
|
4876
4646
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4877
4647
|
# @param [String] fields
|
4878
4648
|
# Selector specifying which fields to include in a partial response.
|
@@ -4901,16 +4671,13 @@ module Google
|
|
4901
4671
|
execute_or_queue_command(command, &block)
|
4902
4672
|
end
|
4903
4673
|
|
4904
|
-
# Retrieves the specified session entity type.
|
4905
|
-
#
|
4906
|
-
#
|
4907
|
-
# 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.
|
4908
4677
|
# @param [String] name
|
4909
|
-
# Required. The name of the session entity type. Format:
|
4910
|
-
# `projects
|
4911
|
-
#
|
4912
|
-
# ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
|
4913
|
-
# 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'
|
4914
4681
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4915
4682
|
# @param [String] fields
|
4916
4683
|
# Selector specifying which fields to include in a partial response.
|
@@ -4939,20 +4706,17 @@ module Google
|
|
4939
4706
|
execute_or_queue_command(command, &block)
|
4940
4707
|
end
|
4941
4708
|
|
4942
|
-
# Returns the list of all session entity types in the specified session.
|
4943
|
-
#
|
4944
|
-
#
|
4945
|
-
# 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.
|
4946
4712
|
# @param [String] parent
|
4947
|
-
# Required. The session to list all session entity types from.
|
4948
|
-
#
|
4949
|
-
#
|
4950
|
-
#
|
4951
|
-
# If `Environment ID` is not specified, we assume default 'draft'
|
4952
|
-
# 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.
|
4953
4717
|
# @param [Fixnum] page_size
|
4954
|
-
# Optional. The maximum number of items to return in a single page. By
|
4955
|
-
#
|
4718
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4719
|
+
# 100 and at most 1000.
|
4956
4720
|
# @param [String] page_token
|
4957
4721
|
# Optional. The next_page_token value returned from a previous list request.
|
4958
4722
|
# @param [String] fields
|
@@ -4984,20 +4748,16 @@ module Google
|
|
4984
4748
|
execute_or_queue_command(command, &block)
|
4985
4749
|
end
|
4986
4750
|
|
4987
|
-
# Updates the specified session entity type.
|
4988
|
-
#
|
4989
|
-
#
|
4990
|
-
# 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.
|
4991
4754
|
# @param [String] name
|
4992
|
-
# Required. The unique identifier of this session entity type. Format:
|
4993
|
-
#
|
4994
|
-
#
|
4995
|
-
# `
|
4996
|
-
#
|
4997
|
-
#
|
4998
|
-
# environment. If `User ID` is not specified, we assume default '-' user.
|
4999
|
-
# `<Entity Type Display Name>` must be the display name of an existing entity
|
5000
|
-
# 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.
|
5001
4761
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
5002
4762
|
# @param [String] update_mask
|
5003
4763
|
# Optional. The mask to control which fields get updated.
|
@@ -5031,15 +4791,13 @@ module Google
|
|
5031
4791
|
execute_or_queue_command(command, &block)
|
5032
4792
|
end
|
5033
4793
|
|
5034
|
-
# Starts asynchronous cancellation on a long-running operation.
|
5035
|
-
#
|
5036
|
-
#
|
5037
|
-
#
|
5038
|
-
#
|
5039
|
-
#
|
5040
|
-
# operation
|
5041
|
-
# the operation is not deleted; instead, it becomes an operation with
|
5042
|
-
# 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,
|
5043
4801
|
# corresponding to `Code.CANCELLED`.
|
5044
4802
|
# @param [String] name
|
5045
4803
|
# The name of the operation resource to be cancelled.
|
@@ -5070,9 +4828,8 @@ module Google
|
|
5070
4828
|
execute_or_queue_command(command, &block)
|
5071
4829
|
end
|
5072
4830
|
|
5073
|
-
# Gets the latest state of a long-running operation.
|
5074
|
-
#
|
5075
|
-
# 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.
|
5076
4833
|
# @param [String] name
|
5077
4834
|
# The name of the operation resource.
|
5078
4835
|
# @param [String] fields
|
@@ -5102,15 +4859,14 @@ module Google
|
|
5102
4859
|
execute_or_queue_command(command, &block)
|
5103
4860
|
end
|
5104
4861
|
|
5105
|
-
# Lists operations that match the specified filter in the request. If the
|
5106
|
-
#
|
5107
|
-
#
|
5108
|
-
#
|
5109
|
-
#
|
5110
|
-
#
|
5111
|
-
#
|
5112
|
-
#
|
5113
|
-
# 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.
|
5114
4870
|
# @param [String] name
|
5115
4871
|
# The name of the operation's parent resource.
|
5116
4872
|
# @param [String] filter
|
@@ -5149,15 +4905,13 @@ module Google
|
|
5149
4905
|
execute_or_queue_command(command, &block)
|
5150
4906
|
end
|
5151
4907
|
|
5152
|
-
# Starts asynchronous cancellation on a long-running operation.
|
5153
|
-
#
|
5154
|
-
#
|
5155
|
-
#
|
5156
|
-
#
|
5157
|
-
#
|
5158
|
-
# operation
|
5159
|
-
# the operation is not deleted; instead, it becomes an operation with
|
5160
|
-
# 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,
|
5161
4915
|
# corresponding to `Code.CANCELLED`.
|
5162
4916
|
# @param [String] name
|
5163
4917
|
# The name of the operation resource to be cancelled.
|
@@ -5188,9 +4942,8 @@ module Google
|
|
5188
4942
|
execute_or_queue_command(command, &block)
|
5189
4943
|
end
|
5190
4944
|
|
5191
|
-
# Gets the latest state of a long-running operation.
|
5192
|
-
#
|
5193
|
-
# 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.
|
5194
4947
|
# @param [String] name
|
5195
4948
|
# The name of the operation resource.
|
5196
4949
|
# @param [String] fields
|
@@ -5220,15 +4973,14 @@ module Google
|
|
5220
4973
|
execute_or_queue_command(command, &block)
|
5221
4974
|
end
|
5222
4975
|
|
5223
|
-
# Lists operations that match the specified filter in the request. If the
|
5224
|
-
#
|
5225
|
-
#
|
5226
|
-
#
|
5227
|
-
#
|
5228
|
-
#
|
5229
|
-
#
|
5230
|
-
#
|
5231
|
-
# 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.
|
5232
4984
|
# @param [String] name
|
5233
4985
|
# The name of the operation's parent resource.
|
5234
4986
|
# @param [String] filter
|