google-api-client 0.42.0 → 0.44.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +501 -0
- data/docs/oauth-server.md +4 -6
- 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 +57 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- 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/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- 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/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- 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 +127 -155
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +925 -1226
- data/generated/google/apis/apigee_v1/representations.rb +66 -2
- data/generated/google/apis/apigee_v1/service.rb +1000 -1142
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -44
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -43
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +538 -541
- data/generated/google/apis/bigquery_v2/representations.rb +71 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- 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/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +211 -106
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +95 -36
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -899
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- 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 +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +879 -75
- data/generated/google/apis/compute_beta/representations.rb +204 -1
- data/generated/google/apis/compute_beta/service.rb +875 -607
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1324 -130
- data/generated/google/apis/compute_v1/representations.rb +480 -15
- data/generated/google/apis/compute_v1/service.rb +1076 -43
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +946 -961
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
- data/generated/google/apis/container_v1beta1/representations.rb +72 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +20 -3
- 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 +112 -6
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- 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 -333
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -94
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +238 -329
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- 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 +263 -326
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +331 -473
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- 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_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
- 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 +1443 -1643
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -990
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- 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 +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- 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 +5 -6
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +82 -8
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +102 -25
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +87 -8
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +67 -16
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- 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 +174 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- 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 +59 -68
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +506 -450
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +227 -185
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +170 -208
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +37 -38
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +77 -84
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +86 -92
- 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_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +263 -290
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +687 -806
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -573
- data/generated/google/apis/iam_v1/service.rb +430 -544
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- 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/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- 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/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +954 -1143
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +117 -38
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -313
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -144
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +931 -179
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
- data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- 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 +128 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -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 +407 -512
- data/generated/google/apis/pubsub_v1/representations.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -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 +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
- 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 +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +837 -1244
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +234 -248
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- 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/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- 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 +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -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 +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- 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 +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- 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 +22 -23
- 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 +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +374 -376
- data/generated/google/apis/testing_v1/representations.rb +34 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -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 +79 -78
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- 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 +79 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +4 -6
- 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/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- 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 +1290 -1175
- data/generated/google/apis/youtube_v3/representations.rb +177 -0
- data/generated/google/apis/youtube_v3/service.rb +1086 -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 +47 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -861
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -211
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -22,12 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2beta1
|
24
24
|
|
25
|
+
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
28
34
|
include Google::Apis::Core::JsonObjectSupport
|
29
35
|
end
|
30
36
|
|
37
|
+
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class GoogleCloudDialogflowCxV3beta1PageInfo
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -64,12 +76,6 @@ module Google
|
|
64
76
|
include Google::Apis::Core::JsonObjectSupport
|
65
77
|
end
|
66
78
|
|
67
|
-
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
79
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -466,6 +472,12 @@ module Google
|
|
466
472
|
include Google::Apis::Core::JsonObjectSupport
|
467
473
|
end
|
468
474
|
|
475
|
+
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
469
481
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
470
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
483
|
|
@@ -1120,12 +1132,24 @@ module Google
|
|
1120
1132
|
include Google::Apis::Core::JsonObjectSupport
|
1121
1133
|
end
|
1122
1134
|
|
1135
|
+
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1123
1141
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
1124
1142
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
1143
|
|
1126
1144
|
include Google::Apis::Core::JsonObjectSupport
|
1127
1145
|
end
|
1128
1146
|
|
1147
|
+
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1129
1153
|
class GoogleLongrunningListOperationsResponse
|
1130
1154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
1155
|
|
@@ -1156,6 +1180,13 @@ module Google
|
|
1156
1180
|
include Google::Apis::Core::JsonObjectSupport
|
1157
1181
|
end
|
1158
1182
|
|
1183
|
+
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
1184
|
+
# @private
|
1185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1186
|
+
property :version, as: 'version'
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1159
1190
|
class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
|
1160
1191
|
# @private
|
1161
1192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1164,6 +1195,13 @@ module Google
|
|
1164
1195
|
end
|
1165
1196
|
end
|
1166
1197
|
|
1198
|
+
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
|
1199
|
+
# @private
|
1200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1201
|
+
property :agent, as: 'agent'
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1167
1205
|
class GoogleCloudDialogflowCxV3beta1PageInfo
|
1168
1206
|
# @private
|
1169
1207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1199,8 +1237,6 @@ module Google
|
|
1199
1237
|
|
1200
1238
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
1201
1239
|
|
1202
|
-
property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
|
1203
|
-
|
1204
1240
|
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
1205
1241
|
|
1206
1242
|
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
@@ -1228,13 +1264,6 @@ module Google
|
|
1228
1264
|
end
|
1229
1265
|
end
|
1230
1266
|
|
1231
|
-
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
1232
|
-
# @private
|
1233
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1234
|
-
hash :metadata, as: 'metadata'
|
1235
|
-
end
|
1236
|
-
end
|
1237
|
-
|
1238
1267
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
1239
1268
|
# @private
|
1240
1269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1943,6 +1972,15 @@ module Google
|
|
1943
1972
|
end
|
1944
1973
|
end
|
1945
1974
|
|
1975
|
+
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
1976
|
+
# @private
|
1977
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1978
|
+
property :disabled_count, as: 'disabledCount'
|
1979
|
+
property :enabled_count, as: 'enabledCount'
|
1980
|
+
property :unreviewed_count, as: 'unreviewedCount'
|
1981
|
+
end
|
1982
|
+
end
|
1983
|
+
|
1946
1984
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
1947
1985
|
# @private
|
1948
1986
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3060,6 +3098,13 @@ module Google
|
|
3060
3098
|
end
|
3061
3099
|
end
|
3062
3100
|
|
3101
|
+
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
3102
|
+
# @private
|
3103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3104
|
+
property :version, as: 'version'
|
3105
|
+
end
|
3106
|
+
end
|
3107
|
+
|
3063
3108
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
3064
3109
|
# @private
|
3065
3110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3068,6 +3113,13 @@ module Google
|
|
3068
3113
|
end
|
3069
3114
|
end
|
3070
3115
|
|
3116
|
+
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
|
3117
|
+
# @private
|
3118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3119
|
+
property :agent, as: 'agent'
|
3120
|
+
end
|
3121
|
+
end
|
3122
|
+
|
3071
3123
|
class GoogleLongrunningListOperationsResponse
|
3072
3124
|
# @private
|
3073
3125
|
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,55 @@ module Google
|
|
3139
3002
|
execute_or_queue_command(command, &block)
|
3140
3003
|
end
|
3141
3004
|
|
3142
|
-
#
|
3143
|
-
#
|
3144
|
-
#
|
3145
|
-
#
|
3146
|
-
#
|
3147
|
-
#
|
3148
|
-
#
|
3149
|
-
#
|
3150
|
-
#
|
3151
|
-
#
|
3152
|
-
#
|
3005
|
+
# Gets agent validation result. Agent validation is performed during training
|
3006
|
+
# time and is updated automatically when training is completed.
|
3007
|
+
# @param [String] parent
|
3008
|
+
# Required. The project that the agent is associated with. Format: `projects/`.
|
3009
|
+
# @param [String] language_code
|
3010
|
+
# Optional. The language for which you want a validation result. If not
|
3011
|
+
# specified, the agent's default language is used. [Many languages](https://
|
3012
|
+
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
3013
|
+
# languages must be enabled in the agent before they can be used.
|
3014
|
+
# @param [String] fields
|
3015
|
+
# Selector specifying which fields to include in a partial response.
|
3016
|
+
# @param [String] quota_user
|
3017
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3018
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3019
|
+
# @param [Google::Apis::RequestOptions] options
|
3020
|
+
# Request-specific options
|
3021
|
+
#
|
3022
|
+
# @yield [result, err] Result & error if block supplied
|
3023
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult] parsed result object
|
3024
|
+
# @yieldparam err [StandardError] error object if request failed
|
3025
|
+
#
|
3026
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult]
|
3027
|
+
#
|
3028
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3029
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3030
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3031
|
+
def get_project_location_agent_validation_result(parent, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3032
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/agent/validationResult', options)
|
3033
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult::Representation
|
3034
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ValidationResult
|
3035
|
+
command.params['parent'] = parent unless parent.nil?
|
3036
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
3037
|
+
command.query['fields'] = fields unless fields.nil?
|
3038
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3039
|
+
execute_or_queue_command(command, &block)
|
3040
|
+
end
|
3041
|
+
|
3042
|
+
# Imports the specified agent from a ZIP file. Uploads new intents and entity
|
3043
|
+
# types without deleting the existing ones. Intents and entity types with the
|
3044
|
+
# same name are replaced with the new versions from ImportAgentRequest. After
|
3045
|
+
# the import, the imported draft agent will be trained automatically (unless
|
3046
|
+
# disabled in agent settings). However, once the import is done, training may
|
3047
|
+
# not be completed yet. Please call TrainAgent and wait for the operation it
|
3048
|
+
# returns in order to train explicitly. Operation An operation which tracks when
|
3049
|
+
# importing is complete. It only tracks when the draft agent is updated not when
|
3050
|
+
# it is done training.
|
3153
3051
|
# @param [String] parent
|
3154
|
-
# Required. The project that the agent to import is associated with.
|
3155
|
-
#
|
3052
|
+
# Required. The project that the agent to import is associated with. Format: `
|
3053
|
+
# projects/`.
|
3156
3054
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
|
3157
3055
|
# @param [String] fields
|
3158
3056
|
# Selector specifying which fields to include in a partial response.
|
@@ -3183,19 +3081,17 @@ module Google
|
|
3183
3081
|
execute_or_queue_command(command, &block)
|
3184
3082
|
end
|
3185
3083
|
|
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.
|
3084
|
+
# Restores the specified agent from a ZIP file. Replaces the current agent
|
3085
|
+
# version with a new one. All the intents and entity types in the older version
|
3086
|
+
# are deleted. After the restore, the restored draft agent will be trained
|
3087
|
+
# automatically (unless disabled in agent settings). However, once the restore
|
3088
|
+
# is done, training may not be completed yet. Please call TrainAgent and wait
|
3089
|
+
# for the operation it returns in order to train explicitly. Operation An
|
3090
|
+
# operation which tracks when restoring is complete. It only tracks when the
|
3091
|
+
# draft agent is updated not when it is done training.
|
3196
3092
|
# @param [String] parent
|
3197
|
-
# Required. The project that the agent to restore is associated with.
|
3198
|
-
#
|
3093
|
+
# Required. The project that the agent to restore is associated with. Format: `
|
3094
|
+
# projects/`.
|
3199
3095
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
3200
3096
|
# @param [String] fields
|
3201
3097
|
# Selector specifying which fields to include in a partial response.
|
@@ -3226,19 +3122,16 @@ module Google
|
|
3226
3122
|
execute_or_queue_command(command, &block)
|
3227
3123
|
end
|
3228
3124
|
|
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).
|
3125
|
+
# Returns the list of agents. Since there is at most one conversational agent
|
3126
|
+
# per project, this method is useful primarily for listing all agents across
|
3127
|
+
# projects the caller has access to. One can achieve that with a wildcard
|
3128
|
+
# project collection id "-". Refer to [List Sub-Collections](https://cloud.
|
3129
|
+
# google.com/apis/design/design_patterns#list_sub-collections).
|
3236
3130
|
# @param [String] parent
|
3237
|
-
# Required. The project to list agents from.
|
3238
|
-
# Format: `projects/<Project ID or '-'>`.
|
3131
|
+
# Required. The project to list agents from. Format: `projects/`.
|
3239
3132
|
# @param [Fixnum] page_size
|
3240
|
-
# Optional. The maximum number of items to return in a single page. By
|
3241
|
-
#
|
3133
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3134
|
+
# 100 and at most 1000.
|
3242
3135
|
# @param [String] page_token
|
3243
3136
|
# Optional. The next_page_token value returned from a previous list request.
|
3244
3137
|
# @param [String] fields
|
@@ -3270,11 +3163,10 @@ module Google
|
|
3270
3163
|
execute_or_queue_command(command, &block)
|
3271
3164
|
end
|
3272
3165
|
|
3273
|
-
# Trains the specified agent.
|
3274
|
-
# Operation <response: google.protobuf.Empty>
|
3166
|
+
# Trains the specified agent. Operation
|
3275
3167
|
# @param [String] parent
|
3276
|
-
# Required. The project that the agent to train is associated with.
|
3277
|
-
#
|
3168
|
+
# Required. The project that the agent to train is associated with. Format: `
|
3169
|
+
# projects/`.
|
3278
3170
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
|
3279
3171
|
# @param [String] fields
|
3280
3172
|
# Selector specifying which fields to include in a partial response.
|
@@ -3307,8 +3199,8 @@ module Google
|
|
3307
3199
|
|
3308
3200
|
# Updates the fulfillment.
|
3309
3201
|
# @param [String] name
|
3310
|
-
# Required. The unique identifier of the fulfillment.
|
3311
|
-
#
|
3202
|
+
# Required. The unique identifier of the fulfillment. Format: `projects//agent/
|
3203
|
+
# fulfillment`.
|
3312
3204
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment] google_cloud_dialogflow_v2beta1_fulfillment_object
|
3313
3205
|
# @param [String] update_mask
|
3314
3206
|
# Required. The mask to control which fields get updated. If the mask is not
|
@@ -3343,11 +3235,10 @@ module Google
|
|
3343
3235
|
execute_or_queue_command(command, &block)
|
3344
3236
|
end
|
3345
3237
|
|
3346
|
-
# Deletes entity types in the specified agent.
|
3347
|
-
# Operation <response: google.protobuf.Empty>
|
3238
|
+
# Deletes entity types in the specified agent. Operation
|
3348
3239
|
# @param [String] parent
|
3349
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
3350
|
-
#
|
3240
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
3241
|
+
# projects//agent`.
|
3351
3242
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
3352
3243
|
# @param [String] fields
|
3353
3244
|
# Selector specifying which fields to include in a partial response.
|
@@ -3378,11 +3269,10 @@ module Google
|
|
3378
3269
|
execute_or_queue_command(command, &block)
|
3379
3270
|
end
|
3380
3271
|
|
3381
|
-
# Updates/Creates multiple entity types in the specified agent.
|
3382
|
-
# Operation <response: BatchUpdateEntityTypesResponse>
|
3272
|
+
# Updates/Creates multiple entity types in the specified agent. Operation
|
3383
3273
|
# @param [String] parent
|
3384
|
-
# Required. The name of the agent to update or create entity types in.
|
3385
|
-
#
|
3274
|
+
# Required. The name of the agent to update or create entity types in. Format: `
|
3275
|
+
# projects//agent`.
|
3386
3276
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
3387
3277
|
# @param [String] fields
|
3388
3278
|
# Selector specifying which fields to include in a partial response.
|
@@ -3415,16 +3305,13 @@ module Google
|
|
3415
3305
|
|
3416
3306
|
# Creates an entity type in the specified agent.
|
3417
3307
|
# @param [String] parent
|
3418
|
-
# Required. The agent to create a entity type for.
|
3419
|
-
# Format: `projects/<Project ID>/agent`.
|
3308
|
+
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
3420
3309
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
3421
3310
|
# @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).
|
3311
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3312
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3313
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3314
|
+
# multilingual#intent-entity).
|
3428
3315
|
# @param [String] fields
|
3429
3316
|
# Selector specifying which fields to include in a partial response.
|
3430
3317
|
# @param [String] quota_user
|
@@ -3457,8 +3344,8 @@ module Google
|
|
3457
3344
|
|
3458
3345
|
# Deletes the specified entity type.
|
3459
3346
|
# @param [String] name
|
3460
|
-
# Required. The name of the entity type to delete.
|
3461
|
-
#
|
3347
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
3348
|
+
# entityTypes/`.
|
3462
3349
|
# @param [String] fields
|
3463
3350
|
# Selector specifying which fields to include in a partial response.
|
3464
3351
|
# @param [String] quota_user
|
@@ -3488,15 +3375,12 @@ module Google
|
|
3488
3375
|
|
3489
3376
|
# Retrieves the specified entity type.
|
3490
3377
|
# @param [String] name
|
3491
|
-
# Required. The name of the entity type.
|
3492
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
3378
|
+
# Required. The name of the entity type. Format: `projects//agent/entityTypes/`.
|
3493
3379
|
# @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).
|
3380
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3381
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3382
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3383
|
+
# multilingual#intent-entity).
|
3500
3384
|
# @param [String] fields
|
3501
3385
|
# Selector specifying which fields to include in a partial response.
|
3502
3386
|
# @param [String] quota_user
|
@@ -3527,18 +3411,15 @@ module Google
|
|
3527
3411
|
|
3528
3412
|
# Returns the list of all entity types in the specified agent.
|
3529
3413
|
# @param [String] parent
|
3530
|
-
# Required. The agent to list all entity types from.
|
3531
|
-
# Format: `projects/<Project ID>/agent`.
|
3414
|
+
# Required. The agent to list all entity types from. Format: `projects//agent`.
|
3532
3415
|
# @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).
|
3416
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3417
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3418
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3419
|
+
# multilingual#intent-entity).
|
3539
3420
|
# @param [Fixnum] page_size
|
3540
|
-
# Optional. The maximum number of items to return in a single page. By
|
3541
|
-
#
|
3421
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3422
|
+
# 100 and at most 1000.
|
3542
3423
|
# @param [String] page_token
|
3543
3424
|
# Optional. The next_page_token value returned from a previous list request.
|
3544
3425
|
# @param [String] fields
|
@@ -3573,18 +3454,15 @@ module Google
|
|
3573
3454
|
|
3574
3455
|
# Updates the specified entity type.
|
3575
3456
|
# @param [String] name
|
3576
|
-
# The unique identifier of the entity type.
|
3577
|
-
#
|
3578
|
-
#
|
3579
|
-
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
3457
|
+
# The unique identifier of the entity type. Required for EntityTypes.
|
3458
|
+
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
3459
|
+
# projects//agent/entityTypes/`.
|
3580
3460
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
3581
3461
|
# @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).
|
3462
|
+
# Optional. The language used to access language-specific data. If not specified,
|
3463
|
+
# the agent's default language is used. For more information, see [Multilingual
|
3464
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
3465
|
+
# multilingual#intent-entity).
|
3588
3466
|
# @param [String] update_mask
|
3589
3467
|
# Optional. The mask to control which fields get updated.
|
3590
3468
|
# @param [String] fields
|
@@ -3618,11 +3496,10 @@ module Google
|
|
3618
3496
|
execute_or_queue_command(command, &block)
|
3619
3497
|
end
|
3620
3498
|
|
3621
|
-
# Creates multiple new entities in the specified entity type.
|
3622
|
-
# Operation <response: google.protobuf.Empty>
|
3499
|
+
# Creates multiple new entities in the specified entity type. Operation
|
3623
3500
|
# @param [String] parent
|
3624
|
-
# Required. The name of the entity type to create entities in. Format:
|
3625
|
-
#
|
3501
|
+
# Required. The name of the entity type to create entities in. Format: `projects/
|
3502
|
+
# /agent/entityTypes/`.
|
3626
3503
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
3627
3504
|
# @param [String] fields
|
3628
3505
|
# Selector specifying which fields to include in a partial response.
|
@@ -3653,11 +3530,10 @@ module Google
|
|
3653
3530
|
execute_or_queue_command(command, &block)
|
3654
3531
|
end
|
3655
3532
|
|
3656
|
-
# Deletes entities in the specified entity type.
|
3657
|
-
# Operation <response: google.protobuf.Empty>
|
3533
|
+
# Deletes entities in the specified entity type. Operation
|
3658
3534
|
# @param [String] parent
|
3659
|
-
# Required. The name of the entity type to delete entries for. Format:
|
3660
|
-
#
|
3535
|
+
# Required. The name of the entity type to delete entries for. Format: `projects/
|
3536
|
+
# /agent/entityTypes/`.
|
3661
3537
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
3662
3538
|
# @param [String] fields
|
3663
3539
|
# Selector specifying which fields to include in a partial response.
|
@@ -3688,13 +3564,12 @@ module Google
|
|
3688
3564
|
execute_or_queue_command(command, &block)
|
3689
3565
|
end
|
3690
3566
|
|
3691
|
-
# Updates or creates multiple entities in the specified entity type. This
|
3692
|
-
#
|
3693
|
-
#
|
3694
|
-
# Operation <response: google.protobuf.Empty>
|
3567
|
+
# Updates or creates multiple entities in the specified entity type. This method
|
3568
|
+
# does not affect entities in the entity type that aren't explicitly specified
|
3569
|
+
# in the request. Operation
|
3695
3570
|
# @param [String] parent
|
3696
|
-
# Required. The name of the entity type to update or create entities in.
|
3697
|
-
#
|
3571
|
+
# Required. The name of the entity type to update or create entities in. Format:
|
3572
|
+
# `projects//agent/entityTypes/`.
|
3698
3573
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
3699
3574
|
# @param [String] fields
|
3700
3575
|
# Selector specifying which fields to include in a partial response.
|
@@ -3727,15 +3602,11 @@ module Google
|
|
3727
3602
|
|
3728
3603
|
# Returns the list of all non-draft environments of the specified agent.
|
3729
3604
|
# @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
|
3605
|
+
# Required. The agent to list all environments from. Format: - `projects//agent`
|
3606
|
+
# - `projects//locations//agent
|
3735
3607
|
# @param [Fixnum] page_size
|
3736
3608
|
# Optional. The maximum number of items to return in a single page. By default
|
3737
|
-
# 100 and
|
3738
|
-
# at most 1000.
|
3609
|
+
# 100 and at most 1000.
|
3739
3610
|
# @param [String] page_token
|
3740
3611
|
# Optional. The next_page_token value returned from a previous list request.
|
3741
3612
|
# @param [String] fields
|
@@ -3769,11 +3640,10 @@ module Google
|
|
3769
3640
|
|
3770
3641
|
# Deletes all active contexts in the specified session.
|
3771
3642
|
# @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.
|
3643
|
+
# Required. The name of the session to delete all contexts from. Format: `
|
3644
|
+
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
3645
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
3646
|
+
# If `User ID` is not specified, we assume default '-' user.
|
3777
3647
|
# @param [String] fields
|
3778
3648
|
# Selector specifying which fields to include in a partial response.
|
3779
3649
|
# @param [String] quota_user
|
@@ -3801,20 +3671,20 @@ module Google
|
|
3801
3671
|
execute_or_queue_command(command, &block)
|
3802
3672
|
end
|
3803
3673
|
|
3804
|
-
# Processes a natural language query and returns structured, actionable data
|
3805
|
-
#
|
3806
|
-
#
|
3807
|
-
#
|
3674
|
+
# Processes a natural language query and returns structured, actionable data as
|
3675
|
+
# a result. This method is not idempotent, because it may cause contexts and
|
3676
|
+
# session entity types to be updated, which in turn might affect results of
|
3677
|
+
# future queries.
|
3808
3678
|
# @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
|
-
#
|
3679
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
3680
|
+
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
3681
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3682
|
+
# User ID` is not specified, we are using "-". It's up to the API caller to
|
3683
|
+
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
3684
|
+
# or some type of user and session identifiers (preferably hashed). The length
|
3685
|
+
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
3686
|
+
# information, see the [API interactions guide](https://cloud.google.com/
|
3687
|
+
# dialogflow/docs/api-overview).
|
3818
3688
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
3819
3689
|
# @param [String] fields
|
3820
3690
|
# Selector specifying which fields to include in a partial response.
|
@@ -3845,15 +3715,13 @@ module Google
|
|
3845
3715
|
execute_or_queue_command(command, &block)
|
3846
3716
|
end
|
3847
3717
|
|
3848
|
-
# Creates a context.
|
3849
|
-
#
|
3718
|
+
# Creates a context. If the specified context already exists, overrides the
|
3719
|
+
# context.
|
3850
3720
|
# @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.
|
3721
|
+
# Required. The session to create a context for. Format: `projects//agent/
|
3722
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
3723
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3724
|
+
# User ID` is not specified, we assume default '-' user.
|
3857
3725
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
3858
3726
|
# @param [String] fields
|
3859
3727
|
# Selector specifying which fields to include in a partial response.
|
@@ -3886,12 +3754,10 @@ module Google
|
|
3886
3754
|
|
3887
3755
|
# Deletes the specified context.
|
3888
3756
|
# @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.
|
3757
|
+
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
3758
|
+
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
3759
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3760
|
+
# User ID` is not specified, we assume default '-' user.
|
3895
3761
|
# @param [String] fields
|
3896
3762
|
# Selector specifying which fields to include in a partial response.
|
3897
3763
|
# @param [String] quota_user
|
@@ -3921,12 +3787,10 @@ module Google
|
|
3921
3787
|
|
3922
3788
|
# Retrieves the specified context.
|
3923
3789
|
# @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.
|
3790
|
+
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
3791
|
+
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
3792
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3793
|
+
# User ID` is not specified, we assume default '-' user.
|
3930
3794
|
# @param [String] fields
|
3931
3795
|
# Selector specifying which fields to include in a partial response.
|
3932
3796
|
# @param [String] quota_user
|
@@ -3956,15 +3820,13 @@ module Google
|
|
3956
3820
|
|
3957
3821
|
# Returns the list of all contexts in the specified session.
|
3958
3822
|
# @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.
|
3823
|
+
# Required. The session to list all contexts from. Format: `projects//agent/
|
3824
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
3825
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3826
|
+
# User ID` is not specified, we assume default '-' user.
|
3965
3827
|
# @param [Fixnum] page_size
|
3966
|
-
# Optional. The maximum number of items to return in a single page. By
|
3967
|
-
#
|
3828
|
+
# Optional. The maximum number of items to return in a single page. By default
|
3829
|
+
# 100 and at most 1000.
|
3968
3830
|
# @param [String] page_token
|
3969
3831
|
# Optional. The next_page_token value returned from a previous list request.
|
3970
3832
|
# @param [String] fields
|
@@ -3998,19 +3860,15 @@ module Google
|
|
3998
3860
|
|
3999
3861
|
# Updates the specified context.
|
4000
3862
|
# @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`
|
3863
|
+
# Required. The unique identifier of the context. Format: `projects//agent/
|
3864
|
+
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
3865
|
+
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
3866
|
+
# contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
|
3867
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3868
|
+
# User ID` is not specified, we assume default '-' user. The following context
|
3869
|
+
# names are reserved for internal use by Dialogflow. You should not use these
|
3870
|
+
# contexts or create contexts with these names: * `__system_counters__` * `*
|
3871
|
+
# _id_dialog_context` * `*_dialog_params_size`
|
4014
3872
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4015
3873
|
# @param [String] update_mask
|
4016
3874
|
# Optional. The mask to control which fields get updated.
|
@@ -4044,19 +3902,15 @@ module Google
|
|
4044
3902
|
execute_or_queue_command(command, &block)
|
4045
3903
|
end
|
4046
3904
|
|
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.
|
3905
|
+
# Creates a session entity type. If the specified session entity type already
|
3906
|
+
# exists, overrides the session entity type. This method doesn't work with
|
3907
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
3908
|
+
# session entities with Google Assistant integration.
|
4053
3909
|
# @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.
|
3910
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
3911
|
+
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
3912
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
3913
|
+
# User ID` is not specified, we assume default '-' user.
|
4060
3914
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4061
3915
|
# @param [String] fields
|
4062
3916
|
# Selector specifying which fields to include in a partial response.
|
@@ -4087,16 +3941,13 @@ module Google
|
|
4087
3941
|
execute_or_queue_command(command, &block)
|
4088
3942
|
end
|
4089
3943
|
|
4090
|
-
# Deletes the specified session entity type.
|
4091
|
-
#
|
4092
|
-
#
|
4093
|
-
# with Google Assistant integration.
|
3944
|
+
# Deletes the specified session entity type. This method doesn't work with
|
3945
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
3946
|
+
# session entities with Google Assistant integration.
|
4094
3947
|
# @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'
|
3948
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
3949
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
3950
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4100
3951
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4101
3952
|
# @param [String] fields
|
4102
3953
|
# Selector specifying which fields to include in a partial response.
|
@@ -4125,16 +3976,13 @@ module Google
|
|
4125
3976
|
execute_or_queue_command(command, &block)
|
4126
3977
|
end
|
4127
3978
|
|
4128
|
-
# Retrieves the specified session entity type.
|
4129
|
-
#
|
4130
|
-
#
|
4131
|
-
# with Google Assistant integration.
|
3979
|
+
# Retrieves the specified session entity type. This method doesn't work with
|
3980
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
3981
|
+
# session entities with Google Assistant integration.
|
4132
3982
|
# @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'
|
3983
|
+
# Required. The name of the session entity type. Format: `projects//agent/
|
3984
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
3985
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4138
3986
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4139
3987
|
# @param [String] fields
|
4140
3988
|
# Selector specifying which fields to include in a partial response.
|
@@ -4163,20 +4011,17 @@ module Google
|
|
4163
4011
|
execute_or_queue_command(command, &block)
|
4164
4012
|
end
|
4165
4013
|
|
4166
|
-
# Returns the list of all session entity types in the specified session.
|
4167
|
-
#
|
4168
|
-
#
|
4169
|
-
# with Google Assistant integration.
|
4014
|
+
# Returns the list of all session entity types in the specified session. This
|
4015
|
+
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
4016
|
+
# support if you need to use session entities with Google Assistant integration.
|
4170
4017
|
# @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.
|
4018
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
4019
|
+
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
4020
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4021
|
+
# User ID` is not specified, we assume default '-' user.
|
4177
4022
|
# @param [Fixnum] page_size
|
4178
|
-
# Optional. The maximum number of items to return in a single page. By
|
4179
|
-
#
|
4023
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4024
|
+
# 100 and at most 1000.
|
4180
4025
|
# @param [String] page_token
|
4181
4026
|
# Optional. The next_page_token value returned from a previous list request.
|
4182
4027
|
# @param [String] fields
|
@@ -4208,20 +4053,16 @@ module Google
|
|
4208
4053
|
execute_or_queue_command(command, &block)
|
4209
4054
|
end
|
4210
4055
|
|
4211
|
-
# Updates the specified session entity type.
|
4212
|
-
#
|
4213
|
-
#
|
4214
|
-
# with Google Assistant integration.
|
4056
|
+
# Updates the specified session entity type. This method doesn't work with
|
4057
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4058
|
+
# session entities with Google Assistant integration.
|
4215
4059
|
# @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.
|
4060
|
+
# Required. The unique identifier of this session entity type. Format: `projects/
|
4061
|
+
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
4062
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
4063
|
+
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
4064
|
+
# -' user. `` must be the display name of an existing entity type in the same
|
4065
|
+
# agent that will be overridden or supplemented.
|
4225
4066
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4226
4067
|
# @param [String] update_mask
|
4227
4068
|
# Optional. The mask to control which fields get updated.
|
@@ -4255,11 +4096,10 @@ module Google
|
|
4255
4096
|
execute_or_queue_command(command, &block)
|
4256
4097
|
end
|
4257
4098
|
|
4258
|
-
# Deletes intents in the specified agent.
|
4259
|
-
# Operation <response: google.protobuf.Empty>
|
4099
|
+
# Deletes intents in the specified agent. Operation
|
4260
4100
|
# @param [String] parent
|
4261
|
-
# Required. The name of the agent to delete all entities types for. Format:
|
4262
|
-
#
|
4101
|
+
# Required. The name of the agent to delete all entities types for. Format: `
|
4102
|
+
# projects//agent`.
|
4263
4103
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
4264
4104
|
# @param [String] fields
|
4265
4105
|
# Selector specifying which fields to include in a partial response.
|
@@ -4290,11 +4130,10 @@ module Google
|
|
4290
4130
|
execute_or_queue_command(command, &block)
|
4291
4131
|
end
|
4292
4132
|
|
4293
|
-
# Updates/Creates multiple intents in the specified agent.
|
4294
|
-
# Operation <response: BatchUpdateIntentsResponse>
|
4133
|
+
# Updates/Creates multiple intents in the specified agent. Operation
|
4295
4134
|
# @param [String] parent
|
4296
|
-
# Required. The name of the agent to update or create intents in.
|
4297
|
-
#
|
4135
|
+
# Required. The name of the agent to update or create intents in. Format: `
|
4136
|
+
# projects//agent`.
|
4298
4137
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
4299
4138
|
# @param [String] fields
|
4300
4139
|
# Selector specifying which fields to include in a partial response.
|
@@ -4327,18 +4166,15 @@ module Google
|
|
4327
4166
|
|
4328
4167
|
# Creates an intent in the specified agent.
|
4329
4168
|
# @param [String] parent
|
4330
|
-
# Required. The agent to create a intent for.
|
4331
|
-
# Format: `projects/<Project ID>/agent`.
|
4169
|
+
# Required. The agent to create a intent for. Format: `projects//agent`.
|
4332
4170
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
4333
4171
|
# @param [String] intent_view
|
4334
4172
|
# Optional. The resource view to apply to the returned intent.
|
4335
4173
|
# @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).
|
4174
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4175
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4176
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4177
|
+
# multilingual#intent-entity).
|
4342
4178
|
# @param [String] fields
|
4343
4179
|
# Selector specifying which fields to include in a partial response.
|
4344
4180
|
# @param [String] quota_user
|
@@ -4373,8 +4209,8 @@ module Google
|
|
4373
4209
|
# Deletes the specified intent and its direct or indirect followup intents.
|
4374
4210
|
# @param [String] name
|
4375
4211
|
# Required. The name of the intent to delete. If this intent has direct or
|
4376
|
-
# indirect followup intents, we also delete them.
|
4377
|
-
#
|
4212
|
+
# indirect followup intents, we also delete them. Format: `projects//agent/
|
4213
|
+
# intents/`.
|
4378
4214
|
# @param [String] fields
|
4379
4215
|
# Selector specifying which fields to include in a partial response.
|
4380
4216
|
# @param [String] quota_user
|
@@ -4404,17 +4240,14 @@ module Google
|
|
4404
4240
|
|
4405
4241
|
# Retrieves the specified intent.
|
4406
4242
|
# @param [String] name
|
4407
|
-
# Required. The name of the intent.
|
4408
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
4243
|
+
# Required. The name of the intent. Format: `projects//agent/intents/`.
|
4409
4244
|
# @param [String] intent_view
|
4410
4245
|
# Optional. The resource view to apply to the returned intent.
|
4411
4246
|
# @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).
|
4247
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4248
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4249
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4250
|
+
# multilingual#intent-entity).
|
4418
4251
|
# @param [String] fields
|
4419
4252
|
# Selector specifying which fields to include in a partial response.
|
4420
4253
|
# @param [String] quota_user
|
@@ -4446,20 +4279,17 @@ module Google
|
|
4446
4279
|
|
4447
4280
|
# Returns the list of all intents in the specified agent.
|
4448
4281
|
# @param [String] parent
|
4449
|
-
# Required. The agent to list all intents from.
|
4450
|
-
# Format: `projects/<Project ID>/agent`.
|
4282
|
+
# Required. The agent to list all intents from. Format: `projects//agent`.
|
4451
4283
|
# @param [String] intent_view
|
4452
4284
|
# Optional. The resource view to apply to the returned intent.
|
4453
4285
|
# @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).
|
4286
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4287
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4288
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4289
|
+
# multilingual#intent-entity).
|
4460
4290
|
# @param [Fixnum] page_size
|
4461
|
-
# Optional. The maximum number of items to return in a single page. By
|
4462
|
-
#
|
4291
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4292
|
+
# 100 and at most 1000.
|
4463
4293
|
# @param [String] page_token
|
4464
4294
|
# Optional. The next_page_token value returned from a previous list request.
|
4465
4295
|
# @param [String] fields
|
@@ -4495,20 +4325,17 @@ module Google
|
|
4495
4325
|
|
4496
4326
|
# Updates the specified intent.
|
4497
4327
|
# @param [String] name
|
4498
|
-
# Optional. The unique identifier of this intent.
|
4499
|
-
#
|
4500
|
-
#
|
4501
|
-
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
4328
|
+
# Optional. The unique identifier of this intent. Required for Intents.
|
4329
|
+
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
4330
|
+
# intents/`.
|
4502
4331
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
4503
4332
|
# @param [String] intent_view
|
4504
4333
|
# Optional. The resource view to apply to the returned intent.
|
4505
4334
|
# @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).
|
4335
|
+
# Optional. The language used to access language-specific data. If not specified,
|
4336
|
+
# the agent's default language is used. For more information, see [Multilingual
|
4337
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
4338
|
+
# multilingual#intent-entity).
|
4512
4339
|
# @param [String] update_mask
|
4513
4340
|
# Optional. The mask to control which fields get updated.
|
4514
4341
|
# @param [String] fields
|
@@ -4545,11 +4372,10 @@ module Google
|
|
4545
4372
|
|
4546
4373
|
# Deletes all active contexts in the specified session.
|
4547
4374
|
# @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.
|
4375
|
+
# Required. The name of the session to delete all contexts from. Format: `
|
4376
|
+
# projects//agent/sessions/` or `projects//agent/environments//users//sessions/`.
|
4377
|
+
# If `Environment ID` is not specified we assume default 'draft' environment.
|
4378
|
+
# If `User ID` is not specified, we assume default '-' user.
|
4553
4379
|
# @param [String] fields
|
4554
4380
|
# Selector specifying which fields to include in a partial response.
|
4555
4381
|
# @param [String] quota_user
|
@@ -4577,20 +4403,20 @@ module Google
|
|
4577
4403
|
execute_or_queue_command(command, &block)
|
4578
4404
|
end
|
4579
4405
|
|
4580
|
-
# Processes a natural language query and returns structured, actionable data
|
4581
|
-
#
|
4582
|
-
#
|
4583
|
-
#
|
4406
|
+
# Processes a natural language query and returns structured, actionable data as
|
4407
|
+
# a result. This method is not idempotent, because it may cause contexts and
|
4408
|
+
# session entity types to be updated, which in turn might affect results of
|
4409
|
+
# future queries.
|
4584
4410
|
# @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
|
-
#
|
4411
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
4412
|
+
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
4413
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4414
|
+
# User ID` is not specified, we are using "-". It's up to the API caller to
|
4415
|
+
# choose an appropriate `Session ID` and `User Id`. They can be a random number
|
4416
|
+
# or some type of user and session identifiers (preferably hashed). The length
|
4417
|
+
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
4418
|
+
# information, see the [API interactions guide](https://cloud.google.com/
|
4419
|
+
# dialogflow/docs/api-overview).
|
4594
4420
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
4595
4421
|
# @param [String] fields
|
4596
4422
|
# Selector specifying which fields to include in a partial response.
|
@@ -4621,15 +4447,13 @@ module Google
|
|
4621
4447
|
execute_or_queue_command(command, &block)
|
4622
4448
|
end
|
4623
4449
|
|
4624
|
-
# Creates a context.
|
4625
|
-
#
|
4450
|
+
# Creates a context. If the specified context already exists, overrides the
|
4451
|
+
# context.
|
4626
4452
|
# @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.
|
4453
|
+
# Required. The session to create a context for. Format: `projects//agent/
|
4454
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
4455
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4456
|
+
# User ID` is not specified, we assume default '-' user.
|
4633
4457
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4634
4458
|
# @param [String] fields
|
4635
4459
|
# Selector specifying which fields to include in a partial response.
|
@@ -4662,12 +4486,10 @@ module Google
|
|
4662
4486
|
|
4663
4487
|
# Deletes the specified context.
|
4664
4488
|
# @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.
|
4489
|
+
# Required. The name of the context to delete. Format: `projects//agent/sessions/
|
4490
|
+
# /contexts/` or `projects//agent/environments//users//sessions//contexts/`. If `
|
4491
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4492
|
+
# User ID` is not specified, we assume default '-' user.
|
4671
4493
|
# @param [String] fields
|
4672
4494
|
# Selector specifying which fields to include in a partial response.
|
4673
4495
|
# @param [String] quota_user
|
@@ -4697,12 +4519,10 @@ module Google
|
|
4697
4519
|
|
4698
4520
|
# Retrieves the specified context.
|
4699
4521
|
# @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.
|
4522
|
+
# Required. The name of the context. Format: `projects//agent/sessions//contexts/
|
4523
|
+
# ` or `projects//agent/environments//users//sessions//contexts/`. If `
|
4524
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4525
|
+
# User ID` is not specified, we assume default '-' user.
|
4706
4526
|
# @param [String] fields
|
4707
4527
|
# Selector specifying which fields to include in a partial response.
|
4708
4528
|
# @param [String] quota_user
|
@@ -4732,15 +4552,13 @@ module Google
|
|
4732
4552
|
|
4733
4553
|
# Returns the list of all contexts in the specified session.
|
4734
4554
|
# @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.
|
4555
|
+
# Required. The session to list all contexts from. Format: `projects//agent/
|
4556
|
+
# sessions/` or `projects//agent/environments//users//sessions/`. If `
|
4557
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4558
|
+
# User ID` is not specified, we assume default '-' user.
|
4741
4559
|
# @param [Fixnum] page_size
|
4742
|
-
# Optional. The maximum number of items to return in a single page. By
|
4743
|
-
#
|
4560
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4561
|
+
# 100 and at most 1000.
|
4744
4562
|
# @param [String] page_token
|
4745
4563
|
# Optional. The next_page_token value returned from a previous list request.
|
4746
4564
|
# @param [String] fields
|
@@ -4774,19 +4592,15 @@ module Google
|
|
4774
4592
|
|
4775
4593
|
# Updates the specified context.
|
4776
4594
|
# @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`
|
4595
|
+
# Required. The unique identifier of the context. Format: `projects//agent/
|
4596
|
+
# sessions//contexts/`, or `projects//agent/environments//users//sessions//
|
4597
|
+
# contexts/`. The `Context ID` is always converted to lowercase, may only
|
4598
|
+
# contain characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If `
|
4599
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4600
|
+
# User ID` is not specified, we assume default '-' user. The following context
|
4601
|
+
# names are reserved for internal use by Dialogflow. You should not use these
|
4602
|
+
# contexts or create contexts with these names: * `__system_counters__` * `*
|
4603
|
+
# _id_dialog_context` * `*_dialog_params_size`
|
4790
4604
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
4791
4605
|
# @param [String] update_mask
|
4792
4606
|
# Optional. The mask to control which fields get updated.
|
@@ -4820,19 +4634,15 @@ module Google
|
|
4820
4634
|
execute_or_queue_command(command, &block)
|
4821
4635
|
end
|
4822
4636
|
|
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.
|
4637
|
+
# Creates a session entity type. If the specified session entity type already
|
4638
|
+
# exists, overrides the session entity type. This method doesn't work with
|
4639
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4640
|
+
# session entities with Google Assistant integration.
|
4829
4641
|
# @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.
|
4642
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
4643
|
+
# agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
4644
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4645
|
+
# User ID` is not specified, we assume default '-' user.
|
4836
4646
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
4837
4647
|
# @param [String] fields
|
4838
4648
|
# Selector specifying which fields to include in a partial response.
|
@@ -4863,16 +4673,13 @@ module Google
|
|
4863
4673
|
execute_or_queue_command(command, &block)
|
4864
4674
|
end
|
4865
4675
|
|
4866
|
-
# Deletes the specified session entity type.
|
4867
|
-
#
|
4868
|
-
#
|
4869
|
-
# with Google Assistant integration.
|
4676
|
+
# Deletes the specified session entity type. This method doesn't work with
|
4677
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4678
|
+
# session entities with Google Assistant integration.
|
4870
4679
|
# @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'
|
4680
|
+
# Required. The name of the entity type to delete. Format: `projects//agent/
|
4681
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
4682
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4876
4683
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4877
4684
|
# @param [String] fields
|
4878
4685
|
# Selector specifying which fields to include in a partial response.
|
@@ -4901,16 +4708,13 @@ module Google
|
|
4901
4708
|
execute_or_queue_command(command, &block)
|
4902
4709
|
end
|
4903
4710
|
|
4904
|
-
# Retrieves the specified session entity type.
|
4905
|
-
#
|
4906
|
-
#
|
4907
|
-
# with Google Assistant integration.
|
4711
|
+
# Retrieves the specified session entity type. This method doesn't work with
|
4712
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4713
|
+
# session entities with Google Assistant integration.
|
4908
4714
|
# @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'
|
4715
|
+
# Required. The name of the session entity type. Format: `projects//agent/
|
4716
|
+
# sessions//entityTypes/` or `projects//agent/environments//users//sessions//
|
4717
|
+
# entityTypes/`. If `Environment ID` is not specified, we assume default 'draft'
|
4914
4718
|
# environment. If `User ID` is not specified, we assume default '-' user.
|
4915
4719
|
# @param [String] fields
|
4916
4720
|
# Selector specifying which fields to include in a partial response.
|
@@ -4939,20 +4743,17 @@ module Google
|
|
4939
4743
|
execute_or_queue_command(command, &block)
|
4940
4744
|
end
|
4941
4745
|
|
4942
|
-
# Returns the list of all session entity types in the specified session.
|
4943
|
-
#
|
4944
|
-
#
|
4945
|
-
# with Google Assistant integration.
|
4746
|
+
# Returns the list of all session entity types in the specified session. This
|
4747
|
+
# method doesn't work with Google Assistant integration. Contact Dialogflow
|
4748
|
+
# support if you need to use session entities with Google Assistant integration.
|
4946
4749
|
# @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.
|
4750
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
4751
|
+
# /agent/sessions/` or `projects//agent/environments//users// sessions/`. If `
|
4752
|
+
# Environment ID` is not specified, we assume default 'draft' environment. If `
|
4753
|
+
# User ID` is not specified, we assume default '-' user.
|
4953
4754
|
# @param [Fixnum] page_size
|
4954
|
-
# Optional. The maximum number of items to return in a single page. By
|
4955
|
-
#
|
4755
|
+
# Optional. The maximum number of items to return in a single page. By default
|
4756
|
+
# 100 and at most 1000.
|
4956
4757
|
# @param [String] page_token
|
4957
4758
|
# Optional. The next_page_token value returned from a previous list request.
|
4958
4759
|
# @param [String] fields
|
@@ -4984,20 +4785,16 @@ module Google
|
|
4984
4785
|
execute_or_queue_command(command, &block)
|
4985
4786
|
end
|
4986
4787
|
|
4987
|
-
# Updates the specified session entity type.
|
4988
|
-
#
|
4989
|
-
#
|
4990
|
-
# with Google Assistant integration.
|
4788
|
+
# Updates the specified session entity type. This method doesn't work with
|
4789
|
+
# Google Assistant integration. Contact Dialogflow support if you need to use
|
4790
|
+
# session entities with Google Assistant integration.
|
4991
4791
|
# @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.
|
4792
|
+
# Required. The unique identifier of this session entity type. Format: `projects/
|
4793
|
+
# /agent/sessions//entityTypes/`, or `projects//agent/environments//users//
|
4794
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
4795
|
+
# default 'draft' environment. If `User ID` is not specified, we assume default '
|
4796
|
+
# -' user. `` must be the display name of an existing entity type in the same
|
4797
|
+
# agent that will be overridden or supplemented.
|
5001
4798
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
5002
4799
|
# @param [String] update_mask
|
5003
4800
|
# Optional. The mask to control which fields get updated.
|
@@ -5031,15 +4828,13 @@ module Google
|
|
5031
4828
|
execute_or_queue_command(command, &block)
|
5032
4829
|
end
|
5033
4830
|
|
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,
|
4831
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4832
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4833
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
4834
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
4835
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
4836
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4837
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
5043
4838
|
# corresponding to `Code.CANCELLED`.
|
5044
4839
|
# @param [String] name
|
5045
4840
|
# The name of the operation resource to be cancelled.
|
@@ -5070,9 +4865,8 @@ module Google
|
|
5070
4865
|
execute_or_queue_command(command, &block)
|
5071
4866
|
end
|
5072
4867
|
|
5073
|
-
# Gets the latest state of a long-running operation.
|
5074
|
-
#
|
5075
|
-
# service.
|
4868
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
4869
|
+
# to poll the operation result at intervals as recommended by the API service.
|
5076
4870
|
# @param [String] name
|
5077
4871
|
# The name of the operation resource.
|
5078
4872
|
# @param [String] fields
|
@@ -5102,15 +4896,14 @@ module Google
|
|
5102
4896
|
execute_or_queue_command(command, &block)
|
5103
4897
|
end
|
5104
4898
|
|
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.
|
4899
|
+
# Lists operations that match the specified filter in the request. If the server
|
4900
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
4901
|
+
# binding allows API services to override the binding to use different resource
|
4902
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
4903
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
4904
|
+
# service configuration. For backwards compatibility, the default name includes
|
4905
|
+
# the operations collection id, however overriding users must ensure the name
|
4906
|
+
# binding is the parent resource, without the operations collection id.
|
5114
4907
|
# @param [String] name
|
5115
4908
|
# The name of the operation's parent resource.
|
5116
4909
|
# @param [String] filter
|
@@ -5149,15 +4942,13 @@ module Google
|
|
5149
4942
|
execute_or_queue_command(command, &block)
|
5150
4943
|
end
|
5151
4944
|
|
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,
|
4945
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4946
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4947
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
4948
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
4949
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
4950
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4951
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
5161
4952
|
# corresponding to `Code.CANCELLED`.
|
5162
4953
|
# @param [String] name
|
5163
4954
|
# The name of the operation resource to be cancelled.
|
@@ -5188,9 +4979,8 @@ module Google
|
|
5188
4979
|
execute_or_queue_command(command, &block)
|
5189
4980
|
end
|
5190
4981
|
|
5191
|
-
# Gets the latest state of a long-running operation.
|
5192
|
-
#
|
5193
|
-
# service.
|
4982
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
4983
|
+
# to poll the operation result at intervals as recommended by the API service.
|
5194
4984
|
# @param [String] name
|
5195
4985
|
# The name of the operation resource.
|
5196
4986
|
# @param [String] fields
|
@@ -5220,15 +5010,14 @@ module Google
|
|
5220
5010
|
execute_or_queue_command(command, &block)
|
5221
5011
|
end
|
5222
5012
|
|
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.
|
5013
|
+
# Lists operations that match the specified filter in the request. If the server
|
5014
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
5015
|
+
# binding allows API services to override the binding to use different resource
|
5016
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
5017
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
5018
|
+
# service configuration. For backwards compatibility, the default name includes
|
5019
|
+
# the operations collection id, however overriding users must ensure the name
|
5020
|
+
# binding is the parent resource, without the operations collection id.
|
5232
5021
|
# @param [String] name
|
5233
5022
|
# The name of the operation's parent resource.
|
5234
5023
|
# @param [String] filter
|