google-api-client 0.42.1 → 0.44.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +550 -0
- data/api_names.yaml +1 -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 +59 -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 +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- 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/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- 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/{accessapproval_v1beta1.rb → apigateway_v1alpha1.rb} +9 -9
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → apigateway_v1beta.rb} +9 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- 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 +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -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 +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -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 +564 -541
- data/generated/google/apis/bigquery_v2/representations.rb +86 -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 +350 -65
- 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 +746 -543
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +386 -141
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- 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 +246 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- 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/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +109 -115
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +65 -38
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +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/cloudasset_v1p5beta1.rb +34 -0
- 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 +371 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -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 +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -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 +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +893 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +342 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +802 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -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 +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- 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 +510 -754
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +197 -246
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +265 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +134 -175
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- 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 +265 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- 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 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- 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 +607 -82
- data/generated/google/apis/compute_beta/representations.rb +114 -1
- data/generated/google/apis/compute_beta/service.rb +623 -612
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1014 -99
- data/generated/google/apis/compute_v1/representations.rb +390 -15
- data/generated/google/apis/compute_v1/service.rb +809 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +996 -965
- data/generated/google/apis/container_v1/representations.rb +75 -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 +1066 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +76 -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 +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- 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 +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- 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 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +122 -5
- data/generated/google/apis/content_v2_1/representations.rb +36 -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 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -570
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- 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 +1040 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +143 -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 +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -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 +249 -327
- data/generated/google/apis/dataproc_v1/representations.rb +18 -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 +272 -322
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -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 +330 -472
- 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 +1381 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +68 -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 +1462 -1643
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -988
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8192 -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/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- 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 -924
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
- 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 +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -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 +8 -15
- 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 +202 -15
- 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 +17 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +23 -7
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- 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 +325 -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 +334 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +526 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/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 +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- 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 +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +172 -210
- 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 +351 -523
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- 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 +351 -523
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- 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 +260 -287
- 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 +635 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +843 -843
- 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 +1150 -1108
- data/generated/google/apis/homegraph_v1.rb +4 -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 +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +429 -555
- 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 +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- 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 +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- 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/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- 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 +344 -457
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- 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 +340 -456
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- 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 +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -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 +121 -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 -337
- 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 +227 -179
- data/generated/google/apis/osconfig_v1/representations.rb +35 -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 +400 -409
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -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/playcustomapp_v1/service.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 +148 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +11 -29
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +304 -313
- 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/pubsublite_v1.rb +34 -0
- 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 +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
- 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/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +837 -1249
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- 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 +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- 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 +218 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- 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 +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- 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 +1160 -1763
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- 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/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- 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 +122 -78
- data/generated/google/apis/tpu_v1/representations.rb +19 -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 +122 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- 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/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- 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/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- 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 +71 -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 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +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/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
- 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 +1159 -1390
- 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/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +94 -32
- 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 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- 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/service.rb +0 -158
- 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
@@ -0,0 +1,2812 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module DialogflowV3beta1
|
23
|
+
# Dialogflow API
|
24
|
+
#
|
25
|
+
# Builds conversational interfaces (for example, chatbots, and voice-powered
|
26
|
+
# apps and devices).
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/dialogflow_v3beta1'
|
30
|
+
#
|
31
|
+
# Dialogflow = Google::Apis::DialogflowV3beta1 # Alias the module
|
32
|
+
# service = Dialogflow::DialogflowService.new
|
33
|
+
#
|
34
|
+
# @see https://cloud.google.com/dialogflow/
|
35
|
+
class DialogflowService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
def initialize
|
47
|
+
super('https://dialogflow.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch'
|
49
|
+
end
|
50
|
+
|
51
|
+
# Creates an agent in the specified location.
|
52
|
+
# @param [String] parent
|
53
|
+
# Required. The location to create a agent for. Format: `projects//locations/`.
|
54
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] google_cloud_dialogflow_cx_v3beta1_agent_object
|
55
|
+
# @param [String] fields
|
56
|
+
# Selector specifying which fields to include in a partial response.
|
57
|
+
# @param [String] quota_user
|
58
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
+
# @param [Google::Apis::RequestOptions] options
|
61
|
+
# Request-specific options
|
62
|
+
#
|
63
|
+
# @yield [result, err] Result & error if block supplied
|
64
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] parsed result object
|
65
|
+
# @yieldparam err [StandardError] error object if request failed
|
66
|
+
#
|
67
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent]
|
68
|
+
#
|
69
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
+
def create_project_location_agent(parent, google_cloud_dialogflow_cx_v3beta1_agent_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/agents', options)
|
74
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation
|
75
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_agent_object
|
76
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation
|
77
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent
|
78
|
+
command.params['parent'] = parent unless parent.nil?
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
+
execute_or_queue_command(command, &block)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Deletes the specified agent.
|
85
|
+
# @param [String] name
|
86
|
+
# Required. The name of the agent to delete. Format: `projects//locations//
|
87
|
+
# agents/`.
|
88
|
+
# @param [String] fields
|
89
|
+
# Selector specifying which fields to include in a partial response.
|
90
|
+
# @param [String] quota_user
|
91
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
93
|
+
# @param [Google::Apis::RequestOptions] options
|
94
|
+
# Request-specific options
|
95
|
+
#
|
96
|
+
# @yield [result, err] Result & error if block supplied
|
97
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
98
|
+
# @yieldparam err [StandardError] error object if request failed
|
99
|
+
#
|
100
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
101
|
+
#
|
102
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
103
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
|
+
def delete_project_location_agent(name, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
107
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
108
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
109
|
+
command.params['name'] = name unless name.nil?
|
110
|
+
command.query['fields'] = fields unless fields.nil?
|
111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
|
+
execute_or_queue_command(command, &block)
|
113
|
+
end
|
114
|
+
|
115
|
+
# Exports the specified agent to a ZIP file.
|
116
|
+
# @param [String] name
|
117
|
+
# Required. The name of the agent to export. Format: `projects//locations//
|
118
|
+
# agents/`.
|
119
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequest] google_cloud_dialogflow_cx_v3beta1_export_agent_request_object
|
120
|
+
# @param [String] fields
|
121
|
+
# Selector specifying which fields to include in a partial response.
|
122
|
+
# @param [String] quota_user
|
123
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
124
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
125
|
+
# @param [Google::Apis::RequestOptions] options
|
126
|
+
# Request-specific options
|
127
|
+
#
|
128
|
+
# @yield [result, err] Result & error if block supplied
|
129
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
130
|
+
# @yieldparam err [StandardError] error object if request failed
|
131
|
+
#
|
132
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
133
|
+
#
|
134
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
135
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
136
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
137
|
+
def export_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_export_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
138
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:export', options)
|
139
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequest::Representation
|
140
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_export_agent_request_object
|
141
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
142
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
143
|
+
command.params['name'] = name unless name.nil?
|
144
|
+
command.query['fields'] = fields unless fields.nil?
|
145
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
146
|
+
execute_or_queue_command(command, &block)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Retrieves the specified agent.
|
150
|
+
# @param [String] name
|
151
|
+
# Required. The name of the agent. Format: `projects//locations//agents/`.
|
152
|
+
# @param [String] fields
|
153
|
+
# Selector specifying which fields to include in a partial response.
|
154
|
+
# @param [String] quota_user
|
155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
157
|
+
# @param [Google::Apis::RequestOptions] options
|
158
|
+
# Request-specific options
|
159
|
+
#
|
160
|
+
# @yield [result, err] Result & error if block supplied
|
161
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] parsed result object
|
162
|
+
# @yieldparam err [StandardError] error object if request failed
|
163
|
+
#
|
164
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent]
|
165
|
+
#
|
166
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
167
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
168
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
169
|
+
def get_project_location_agent(name, fields: nil, quota_user: nil, options: nil, &block)
|
170
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
171
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation
|
172
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent
|
173
|
+
command.params['name'] = name unless name.nil?
|
174
|
+
command.query['fields'] = fields unless fields.nil?
|
175
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
176
|
+
execute_or_queue_command(command, &block)
|
177
|
+
end
|
178
|
+
|
179
|
+
# Returns the list of all agents in the specified location.
|
180
|
+
# @param [String] parent
|
181
|
+
# Required. The location to list all agents for. Format: `projects//locations/`.
|
182
|
+
# @param [Fixnum] page_size
|
183
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
184
|
+
# most 1000.
|
185
|
+
# @param [String] page_token
|
186
|
+
# The next_page_token value returned from a previous list request.
|
187
|
+
# @param [String] fields
|
188
|
+
# Selector specifying which fields to include in a partial response.
|
189
|
+
# @param [String] quota_user
|
190
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
191
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
192
|
+
# @param [Google::Apis::RequestOptions] options
|
193
|
+
# Request-specific options
|
194
|
+
#
|
195
|
+
# @yield [result, err] Result & error if block supplied
|
196
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse] parsed result object
|
197
|
+
# @yieldparam err [StandardError] error object if request failed
|
198
|
+
#
|
199
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse]
|
200
|
+
#
|
201
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
202
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
203
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
204
|
+
def list_project_location_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
205
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/agents', options)
|
206
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse::Representation
|
207
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse
|
208
|
+
command.params['parent'] = parent unless parent.nil?
|
209
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
210
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
211
|
+
command.query['fields'] = fields unless fields.nil?
|
212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
213
|
+
execute_or_queue_command(command, &block)
|
214
|
+
end
|
215
|
+
|
216
|
+
# Updates the specified agent.
|
217
|
+
# @param [String] name
|
218
|
+
# The unique identifier of the agent. Required for the Agents.UpdateAgent method.
|
219
|
+
# Agents.CreateAgent populates the name automatically. Format: `projects//
|
220
|
+
# locations//agents/`.
|
221
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] google_cloud_dialogflow_cx_v3beta1_agent_object
|
222
|
+
# @param [String] update_mask
|
223
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
224
|
+
# fields will be updated.
|
225
|
+
# @param [String] fields
|
226
|
+
# Selector specifying which fields to include in a partial response.
|
227
|
+
# @param [String] quota_user
|
228
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
229
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
230
|
+
# @param [Google::Apis::RequestOptions] options
|
231
|
+
# Request-specific options
|
232
|
+
#
|
233
|
+
# @yield [result, err] Result & error if block supplied
|
234
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] parsed result object
|
235
|
+
# @yieldparam err [StandardError] error object if request failed
|
236
|
+
#
|
237
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent]
|
238
|
+
#
|
239
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
240
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
241
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
242
|
+
def patch_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
243
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
244
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation
|
245
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_agent_object
|
246
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation
|
247
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent
|
248
|
+
command.params['name'] = name unless name.nil?
|
249
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
250
|
+
command.query['fields'] = fields unless fields.nil?
|
251
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
252
|
+
execute_or_queue_command(command, &block)
|
253
|
+
end
|
254
|
+
|
255
|
+
# Restores the specified agent from a ZIP file. Note that all existing intents,
|
256
|
+
# intent routes, entity types, pages and webhooks in the agent will be deleted.
|
257
|
+
# @param [String] name
|
258
|
+
# Required. The name of the agent to restore into. Format: `projects//locations//
|
259
|
+
# agents/`.
|
260
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreAgentRequest] google_cloud_dialogflow_cx_v3beta1_restore_agent_request_object
|
261
|
+
# @param [String] fields
|
262
|
+
# Selector specifying which fields to include in a partial response.
|
263
|
+
# @param [String] quota_user
|
264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
266
|
+
# @param [Google::Apis::RequestOptions] options
|
267
|
+
# Request-specific options
|
268
|
+
#
|
269
|
+
# @yield [result, err] Result & error if block supplied
|
270
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
271
|
+
# @yieldparam err [StandardError] error object if request failed
|
272
|
+
#
|
273
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
274
|
+
#
|
275
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
276
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
277
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
278
|
+
def restore_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_restore_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
279
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:restore', options)
|
280
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreAgentRequest::Representation
|
281
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_restore_agent_request_object
|
282
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
283
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
284
|
+
command.params['name'] = name unless name.nil?
|
285
|
+
command.query['fields'] = fields unless fields.nil?
|
286
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
287
|
+
execute_or_queue_command(command, &block)
|
288
|
+
end
|
289
|
+
|
290
|
+
# Creates an entity type in the specified agent.
|
291
|
+
# @param [String] parent
|
292
|
+
# Required. The agent to create a entity type for. Format: `projects//locations//
|
293
|
+
# agents/`.
|
294
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] google_cloud_dialogflow_cx_v3beta1_entity_type_object
|
295
|
+
# @param [String] language_code
|
296
|
+
# The language of the following fields in `entity_type`: * `EntityType.entities.
|
297
|
+
# value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
|
298
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
299
|
+
# //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
300
|
+
# languages must be enabled in the agent before they can be used.
|
301
|
+
# @param [String] fields
|
302
|
+
# Selector specifying which fields to include in a partial response.
|
303
|
+
# @param [String] quota_user
|
304
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
305
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
306
|
+
# @param [Google::Apis::RequestOptions] options
|
307
|
+
# Request-specific options
|
308
|
+
#
|
309
|
+
# @yield [result, err] Result & error if block supplied
|
310
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] parsed result object
|
311
|
+
# @yieldparam err [StandardError] error object if request failed
|
312
|
+
#
|
313
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType]
|
314
|
+
#
|
315
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
316
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
317
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
318
|
+
def create_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_entity_type_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
319
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes', options)
|
320
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation
|
321
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_entity_type_object
|
322
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation
|
323
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType
|
324
|
+
command.params['parent'] = parent unless parent.nil?
|
325
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
326
|
+
command.query['fields'] = fields unless fields.nil?
|
327
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
328
|
+
execute_or_queue_command(command, &block)
|
329
|
+
end
|
330
|
+
|
331
|
+
# Deletes the specified entity type.
|
332
|
+
# @param [String] name
|
333
|
+
# Required. The name of the entity type to delete. Format: `projects//locations//
|
334
|
+
# agents//entityTypes/`.
|
335
|
+
# @param [Boolean] force
|
336
|
+
# This field has no effect for entity type not being used. For entity types that
|
337
|
+
# are used by intents or pages: * If `force` is set to false, an error will be
|
338
|
+
# returned with message indicating the referencing resources. * If `force` is
|
339
|
+
# set to true, Dialogflow will remove the entity type, as well as any references
|
340
|
+
# to the entity type (i.e. Page parameter of the entity type will be changed to '
|
341
|
+
# @sys.any' and intent parameter of the entity type will be removed).
|
342
|
+
# @param [String] fields
|
343
|
+
# Selector specifying which fields to include in a partial response.
|
344
|
+
# @param [String] quota_user
|
345
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
346
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
347
|
+
# @param [Google::Apis::RequestOptions] options
|
348
|
+
# Request-specific options
|
349
|
+
#
|
350
|
+
# @yield [result, err] Result & error if block supplied
|
351
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
352
|
+
# @yieldparam err [StandardError] error object if request failed
|
353
|
+
#
|
354
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
355
|
+
#
|
356
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
357
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
358
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
359
|
+
def delete_project_location_agent_entity_type(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
360
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
361
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
362
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
363
|
+
command.params['name'] = name unless name.nil?
|
364
|
+
command.query['force'] = force unless force.nil?
|
365
|
+
command.query['fields'] = fields unless fields.nil?
|
366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
367
|
+
execute_or_queue_command(command, &block)
|
368
|
+
end
|
369
|
+
|
370
|
+
# Retrieves the specified entity type.
|
371
|
+
# @param [String] name
|
372
|
+
# Required. The name of the entity type. Format: `projects//locations//agents//
|
373
|
+
# entityTypes/`.
|
374
|
+
# @param [String] language_code
|
375
|
+
# The language to retrieve the entity type for. The following fields are
|
376
|
+
# language dependent: * `EntityType.entities.value` * `EntityType.entities.
|
377
|
+
# synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's
|
378
|
+
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
379
|
+
# docs/reference/language) are supported. Note: languages must be enabled in the
|
380
|
+
# agent before they can be used.
|
381
|
+
# @param [String] fields
|
382
|
+
# Selector specifying which fields to include in a partial response.
|
383
|
+
# @param [String] quota_user
|
384
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
385
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
386
|
+
# @param [Google::Apis::RequestOptions] options
|
387
|
+
# Request-specific options
|
388
|
+
#
|
389
|
+
# @yield [result, err] Result & error if block supplied
|
390
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] parsed result object
|
391
|
+
# @yieldparam err [StandardError] error object if request failed
|
392
|
+
#
|
393
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType]
|
394
|
+
#
|
395
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
396
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
|
+
def get_project_location_agent_entity_type(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
399
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
400
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation
|
401
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType
|
402
|
+
command.params['name'] = name unless name.nil?
|
403
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
404
|
+
command.query['fields'] = fields unless fields.nil?
|
405
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
406
|
+
execute_or_queue_command(command, &block)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Returns the list of all entity types in the specified agent.
|
410
|
+
# @param [String] parent
|
411
|
+
# Required. The agent to list all entity types for. Format: `projects//locations/
|
412
|
+
# /agents/`.
|
413
|
+
# @param [String] language_code
|
414
|
+
# The language to list entity types for. The following fields are language
|
415
|
+
# dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `
|
416
|
+
# EntityType.excluded_phrases.value` If not specified, the agent's default
|
417
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
418
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
419
|
+
# agent before they can be used.
|
420
|
+
# @param [Fixnum] page_size
|
421
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
422
|
+
# most 1000.
|
423
|
+
# @param [String] page_token
|
424
|
+
# The next_page_token value returned from a previous list request.
|
425
|
+
# @param [String] fields
|
426
|
+
# Selector specifying which fields to include in a partial response.
|
427
|
+
# @param [String] quota_user
|
428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
430
|
+
# @param [Google::Apis::RequestOptions] options
|
431
|
+
# Request-specific options
|
432
|
+
#
|
433
|
+
# @yield [result, err] Result & error if block supplied
|
434
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse] parsed result object
|
435
|
+
# @yieldparam err [StandardError] error object if request failed
|
436
|
+
#
|
437
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse]
|
438
|
+
#
|
439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
|
+
def list_project_location_agent_entity_types(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
443
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/entityTypes', options)
|
444
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse::Representation
|
445
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
446
|
+
command.params['parent'] = parent unless parent.nil?
|
447
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
448
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
449
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
450
|
+
command.query['fields'] = fields unless fields.nil?
|
451
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
452
|
+
execute_or_queue_command(command, &block)
|
453
|
+
end
|
454
|
+
|
455
|
+
# Updates the specified entity type.
|
456
|
+
# @param [String] name
|
457
|
+
# The unique identifier of the entity type. Required for EntityTypes.
|
458
|
+
# UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.
|
459
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] google_cloud_dialogflow_cx_v3beta1_entity_type_object
|
460
|
+
# @param [String] language_code
|
461
|
+
# The language of the following fields in `entity_type`: * `EntityType.entities.
|
462
|
+
# value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value`
|
463
|
+
# If not specified, the agent's default language is used. [Many languages](https:
|
464
|
+
# //cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
465
|
+
# languages must be enabled in the agent before they can be used.
|
466
|
+
# @param [String] update_mask
|
467
|
+
# The mask to control which fields get updated.
|
468
|
+
# @param [String] fields
|
469
|
+
# Selector specifying which fields to include in a partial response.
|
470
|
+
# @param [String] quota_user
|
471
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
472
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
473
|
+
# @param [Google::Apis::RequestOptions] options
|
474
|
+
# Request-specific options
|
475
|
+
#
|
476
|
+
# @yield [result, err] Result & error if block supplied
|
477
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] parsed result object
|
478
|
+
# @yieldparam err [StandardError] error object if request failed
|
479
|
+
#
|
480
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType]
|
481
|
+
#
|
482
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
483
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
484
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
485
|
+
def patch_project_location_agent_entity_type(name, google_cloud_dialogflow_cx_v3beta1_entity_type_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
486
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
487
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation
|
488
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_entity_type_object
|
489
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation
|
490
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType
|
491
|
+
command.params['name'] = name unless name.nil?
|
492
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
493
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
494
|
+
command.query['fields'] = fields unless fields.nil?
|
495
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
496
|
+
execute_or_queue_command(command, &block)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Creates an Environment in the specified Agent.
|
500
|
+
# @param [String] parent
|
501
|
+
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
502
|
+
# /agents/`.
|
503
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] google_cloud_dialogflow_cx_v3beta1_environment_object
|
504
|
+
# @param [String] fields
|
505
|
+
# Selector specifying which fields to include in a partial response.
|
506
|
+
# @param [String] quota_user
|
507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
509
|
+
# @param [Google::Apis::RequestOptions] options
|
510
|
+
# Request-specific options
|
511
|
+
#
|
512
|
+
# @yield [result, err] Result & error if block supplied
|
513
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
514
|
+
# @yieldparam err [StandardError] error object if request failed
|
515
|
+
#
|
516
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
517
|
+
#
|
518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
521
|
+
def create_project_location_agent_environment(parent, google_cloud_dialogflow_cx_v3beta1_environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
522
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/environments', options)
|
523
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
524
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_environment_object
|
525
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
526
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
527
|
+
command.params['parent'] = parent unless parent.nil?
|
528
|
+
command.query['fields'] = fields unless fields.nil?
|
529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
530
|
+
execute_or_queue_command(command, &block)
|
531
|
+
end
|
532
|
+
|
533
|
+
# Deletes the specified Environment.
|
534
|
+
# @param [String] name
|
535
|
+
# Required. The name of the Environment to delete. Format: `projects//locations//
|
536
|
+
# agents//environments/`.
|
537
|
+
# @param [String] fields
|
538
|
+
# Selector specifying which fields to include in a partial response.
|
539
|
+
# @param [String] quota_user
|
540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
542
|
+
# @param [Google::Apis::RequestOptions] options
|
543
|
+
# Request-specific options
|
544
|
+
#
|
545
|
+
# @yield [result, err] Result & error if block supplied
|
546
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
547
|
+
# @yieldparam err [StandardError] error object if request failed
|
548
|
+
#
|
549
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
550
|
+
#
|
551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
554
|
+
def delete_project_location_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
555
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
556
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
557
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
558
|
+
command.params['name'] = name unless name.nil?
|
559
|
+
command.query['fields'] = fields unless fields.nil?
|
560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
561
|
+
execute_or_queue_command(command, &block)
|
562
|
+
end
|
563
|
+
|
564
|
+
# Retrieves the specified Environment.
|
565
|
+
# @param [String] name
|
566
|
+
# Required. The name of the Environment. Format: `projects//locations//agents//
|
567
|
+
# environments/`.
|
568
|
+
# @param [String] fields
|
569
|
+
# Selector specifying which fields to include in a partial response.
|
570
|
+
# @param [String] quota_user
|
571
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
572
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
573
|
+
# @param [Google::Apis::RequestOptions] options
|
574
|
+
# Request-specific options
|
575
|
+
#
|
576
|
+
# @yield [result, err] Result & error if block supplied
|
577
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] parsed result object
|
578
|
+
# @yieldparam err [StandardError] error object if request failed
|
579
|
+
#
|
580
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment]
|
581
|
+
#
|
582
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
583
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
584
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
585
|
+
def get_project_location_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
586
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
587
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
588
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment
|
589
|
+
command.params['name'] = name unless name.nil?
|
590
|
+
command.query['fields'] = fields unless fields.nil?
|
591
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
592
|
+
execute_or_queue_command(command, &block)
|
593
|
+
end
|
594
|
+
|
595
|
+
# Returns the list of all environments in the specified Agent.
|
596
|
+
# @param [String] parent
|
597
|
+
# Required. The Agent to list all environments for. Format: `projects//locations/
|
598
|
+
# /agents/`.
|
599
|
+
# @param [Fixnum] page_size
|
600
|
+
# The maximum number of items to return in a single page. By default 20 and at
|
601
|
+
# most 100.
|
602
|
+
# @param [String] page_token
|
603
|
+
# The next_page_token value returned from a previous list request.
|
604
|
+
# @param [String] fields
|
605
|
+
# Selector specifying which fields to include in a partial response.
|
606
|
+
# @param [String] quota_user
|
607
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
608
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
609
|
+
# @param [Google::Apis::RequestOptions] options
|
610
|
+
# Request-specific options
|
611
|
+
#
|
612
|
+
# @yield [result, err] Result & error if block supplied
|
613
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse] parsed result object
|
614
|
+
# @yieldparam err [StandardError] error object if request failed
|
615
|
+
#
|
616
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse]
|
617
|
+
#
|
618
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
619
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
620
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
621
|
+
def list_project_location_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
622
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/environments', options)
|
623
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse::Representation
|
624
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse
|
625
|
+
command.params['parent'] = parent unless parent.nil?
|
626
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
627
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
628
|
+
command.query['fields'] = fields unless fields.nil?
|
629
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
630
|
+
execute_or_queue_command(command, &block)
|
631
|
+
end
|
632
|
+
|
633
|
+
# Looks up the history of the specified Environment.
|
634
|
+
# @param [String] name
|
635
|
+
# Required. Resource name of the environment to look up the history for. Format:
|
636
|
+
# `projects//locations//agents//environments/`.
|
637
|
+
# @param [Fixnum] page_size
|
638
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
639
|
+
# most 1000.
|
640
|
+
# @param [String] page_token
|
641
|
+
# The next_page_token value returned from a previous list request.
|
642
|
+
# @param [String] fields
|
643
|
+
# Selector specifying which fields to include in a partial response.
|
644
|
+
# @param [String] quota_user
|
645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
647
|
+
# @param [Google::Apis::RequestOptions] options
|
648
|
+
# Request-specific options
|
649
|
+
#
|
650
|
+
# @yield [result, err] Result & error if block supplied
|
651
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse] parsed result object
|
652
|
+
# @yieldparam err [StandardError] error object if request failed
|
653
|
+
#
|
654
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse]
|
655
|
+
#
|
656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
659
|
+
def lookup_project_location_agent_environment_environment_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
660
|
+
command = make_simple_command(:get, 'v3beta1/{+name}:lookupEnvironmentHistory', options)
|
661
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse::Representation
|
662
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse
|
663
|
+
command.params['name'] = name unless name.nil?
|
664
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
665
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
666
|
+
command.query['fields'] = fields unless fields.nil?
|
667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
668
|
+
execute_or_queue_command(command, &block)
|
669
|
+
end
|
670
|
+
|
671
|
+
# Updates the specified Environment.
|
672
|
+
# @param [String] name
|
673
|
+
# The name of the environment. Format: `projects//locations//agents//
|
674
|
+
# environments/`.
|
675
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] google_cloud_dialogflow_cx_v3beta1_environment_object
|
676
|
+
# @param [String] update_mask
|
677
|
+
# Required. The mask to control which fields get updated.
|
678
|
+
# @param [String] fields
|
679
|
+
# Selector specifying which fields to include in a partial response.
|
680
|
+
# @param [String] quota_user
|
681
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
682
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
683
|
+
# @param [Google::Apis::RequestOptions] options
|
684
|
+
# Request-specific options
|
685
|
+
#
|
686
|
+
# @yield [result, err] Result & error if block supplied
|
687
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
688
|
+
# @yieldparam err [StandardError] error object if request failed
|
689
|
+
#
|
690
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
691
|
+
#
|
692
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
693
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
694
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
695
|
+
def patch_project_location_agent_environment(name, google_cloud_dialogflow_cx_v3beta1_environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
696
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
697
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
|
698
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_environment_object
|
699
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
700
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
701
|
+
command.params['name'] = name unless name.nil?
|
702
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
703
|
+
command.query['fields'] = fields unless fields.nil?
|
704
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
705
|
+
execute_or_queue_command(command, &block)
|
706
|
+
end
|
707
|
+
|
708
|
+
# Processes a natural language query and returns structured, actionable data as
|
709
|
+
# a result. This method is not idempotent, because it may cause session entity
|
710
|
+
# types to be updated, which in turn might affect results of future queries.
|
711
|
+
# @param [String] session
|
712
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
713
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
714
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
715
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
716
|
+
# It can be a random number or some type of session identifiers (preferably
|
717
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters.
|
718
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
719
|
+
# @param [String] fields
|
720
|
+
# Selector specifying which fields to include in a partial response.
|
721
|
+
# @param [String] quota_user
|
722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
724
|
+
# @param [Google::Apis::RequestOptions] options
|
725
|
+
# Request-specific options
|
726
|
+
#
|
727
|
+
# @yield [result, err] Result & error if block supplied
|
728
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] parsed result object
|
729
|
+
# @yieldparam err [StandardError] error object if request failed
|
730
|
+
#
|
731
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse]
|
732
|
+
#
|
733
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
734
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
735
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
736
|
+
def detect_project_location_agent_environment_session_intent(session, google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
737
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:detectIntent', options)
|
738
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation
|
739
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
740
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
|
741
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
742
|
+
command.params['session'] = session unless session.nil?
|
743
|
+
command.query['fields'] = fields unless fields.nil?
|
744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
745
|
+
execute_or_queue_command(command, &block)
|
746
|
+
end
|
747
|
+
|
748
|
+
# Fulfills a matched intent returned by MatchIntent. Must be called after
|
749
|
+
# MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is
|
750
|
+
# undefined.
|
751
|
+
# @param [String] session
|
752
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
753
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
754
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
755
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
756
|
+
# It can be a random number or some type of session identifiers (preferably
|
757
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters.
|
758
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest] google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object
|
759
|
+
# @param [String] fields
|
760
|
+
# Selector specifying which fields to include in a partial response.
|
761
|
+
# @param [String] quota_user
|
762
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
763
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
764
|
+
# @param [Google::Apis::RequestOptions] options
|
765
|
+
# Request-specific options
|
766
|
+
#
|
767
|
+
# @yield [result, err] Result & error if block supplied
|
768
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse] parsed result object
|
769
|
+
# @yieldparam err [StandardError] error object if request failed
|
770
|
+
#
|
771
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse]
|
772
|
+
#
|
773
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
774
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
775
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
776
|
+
def fulfill_project_location_agent_environment_session_intent(session, google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
777
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:fulfillIntent', options)
|
778
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest::Representation
|
779
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object
|
780
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse::Representation
|
781
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse
|
782
|
+
command.params['session'] = session unless session.nil?
|
783
|
+
command.query['fields'] = fields unless fields.nil?
|
784
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
785
|
+
execute_or_queue_command(command, &block)
|
786
|
+
end
|
787
|
+
|
788
|
+
# Returns preliminary intent match results, doesn't change the session status.
|
789
|
+
# @param [String] session
|
790
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
791
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
792
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
793
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
794
|
+
# It can be a random number or some type of session identifiers (preferably
|
795
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters.
|
796
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] google_cloud_dialogflow_cx_v3beta1_match_intent_request_object
|
797
|
+
# @param [String] fields
|
798
|
+
# Selector specifying which fields to include in a partial response.
|
799
|
+
# @param [String] quota_user
|
800
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
801
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
802
|
+
# @param [Google::Apis::RequestOptions] options
|
803
|
+
# Request-specific options
|
804
|
+
#
|
805
|
+
# @yield [result, err] Result & error if block supplied
|
806
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse] parsed result object
|
807
|
+
# @yieldparam err [StandardError] error object if request failed
|
808
|
+
#
|
809
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse]
|
810
|
+
#
|
811
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
812
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
|
+
def match_project_location_agent_environment_session_intent(session, google_cloud_dialogflow_cx_v3beta1_match_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
815
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:matchIntent', options)
|
816
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest::Representation
|
817
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_match_intent_request_object
|
818
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse::Representation
|
819
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse
|
820
|
+
command.params['session'] = session unless session.nil?
|
821
|
+
command.query['fields'] = fields unless fields.nil?
|
822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
823
|
+
execute_or_queue_command(command, &block)
|
824
|
+
end
|
825
|
+
|
826
|
+
# Creates a session entity type. If the specified session entity type already
|
827
|
+
# exists, overrides the session entity type.
|
828
|
+
# @param [String] parent
|
829
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
830
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
831
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
832
|
+
# environment.
|
833
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
834
|
+
# @param [String] fields
|
835
|
+
# Selector specifying which fields to include in a partial response.
|
836
|
+
# @param [String] quota_user
|
837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
839
|
+
# @param [Google::Apis::RequestOptions] options
|
840
|
+
# Request-specific options
|
841
|
+
#
|
842
|
+
# @yield [result, err] Result & error if block supplied
|
843
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object
|
844
|
+
# @yieldparam err [StandardError] error object if request failed
|
845
|
+
#
|
846
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType]
|
847
|
+
#
|
848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
851
|
+
def create_project_location_agent_environment_session_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
852
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes', options)
|
853
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
854
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
855
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
856
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType
|
857
|
+
command.params['parent'] = parent unless parent.nil?
|
858
|
+
command.query['fields'] = fields unless fields.nil?
|
859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
860
|
+
execute_or_queue_command(command, &block)
|
861
|
+
end
|
862
|
+
|
863
|
+
# Deletes the specified session entity type.
|
864
|
+
# @param [String] name
|
865
|
+
# Required. The name of the session entity type to delete. Format: `projects//
|
866
|
+
# locations//agents//sessions//entityTypes/` or `projects//locations//agents//
|
867
|
+
# environments//sessions//entityTypes/`. If `Environment ID` is not specified,
|
868
|
+
# we assume default 'draft' environment.
|
869
|
+
# @param [String] fields
|
870
|
+
# Selector specifying which fields to include in a partial response.
|
871
|
+
# @param [String] quota_user
|
872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
874
|
+
# @param [Google::Apis::RequestOptions] options
|
875
|
+
# Request-specific options
|
876
|
+
#
|
877
|
+
# @yield [result, err] Result & error if block supplied
|
878
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
879
|
+
# @yieldparam err [StandardError] error object if request failed
|
880
|
+
#
|
881
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
882
|
+
#
|
883
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
884
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
885
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
886
|
+
def delete_project_location_agent_environment_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
887
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
888
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
889
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
890
|
+
command.params['name'] = name unless name.nil?
|
891
|
+
command.query['fields'] = fields unless fields.nil?
|
892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
893
|
+
execute_or_queue_command(command, &block)
|
894
|
+
end
|
895
|
+
|
896
|
+
# Retrieves the specified session entity type.
|
897
|
+
# @param [String] name
|
898
|
+
# Required. The name of the session entity type. Format: `projects//locations//
|
899
|
+
# agents//sessions//entityTypes/` or `projects//locations//agents//environments//
|
900
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
901
|
+
# default 'draft' environment.
|
902
|
+
# @param [String] fields
|
903
|
+
# Selector specifying which fields to include in a partial response.
|
904
|
+
# @param [String] quota_user
|
905
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
906
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
907
|
+
# @param [Google::Apis::RequestOptions] options
|
908
|
+
# Request-specific options
|
909
|
+
#
|
910
|
+
# @yield [result, err] Result & error if block supplied
|
911
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object
|
912
|
+
# @yieldparam err [StandardError] error object if request failed
|
913
|
+
#
|
914
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType]
|
915
|
+
#
|
916
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
917
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
918
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
919
|
+
def get_project_location_agent_environment_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
920
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
921
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
922
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType
|
923
|
+
command.params['name'] = name unless name.nil?
|
924
|
+
command.query['fields'] = fields unless fields.nil?
|
925
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
926
|
+
execute_or_queue_command(command, &block)
|
927
|
+
end
|
928
|
+
|
929
|
+
# Returns the list of all session entity types in the specified session.
|
930
|
+
# @param [String] parent
|
931
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
932
|
+
# /locations//agents//sessions/` or `projects//locations//agents//environments//
|
933
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
934
|
+
# environment.
|
935
|
+
# @param [Fixnum] page_size
|
936
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
937
|
+
# most 1000.
|
938
|
+
# @param [String] page_token
|
939
|
+
# The next_page_token value returned from a previous list request.
|
940
|
+
# @param [String] fields
|
941
|
+
# Selector specifying which fields to include in a partial response.
|
942
|
+
# @param [String] quota_user
|
943
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
944
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
945
|
+
# @param [Google::Apis::RequestOptions] options
|
946
|
+
# Request-specific options
|
947
|
+
#
|
948
|
+
# @yield [result, err] Result & error if block supplied
|
949
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse] parsed result object
|
950
|
+
# @yieldparam err [StandardError] error object if request failed
|
951
|
+
#
|
952
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse]
|
953
|
+
#
|
954
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
955
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
956
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
957
|
+
def list_project_location_agent_environment_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
958
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/entityTypes', options)
|
959
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse::Representation
|
960
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse
|
961
|
+
command.params['parent'] = parent unless parent.nil?
|
962
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
963
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
964
|
+
command.query['fields'] = fields unless fields.nil?
|
965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
966
|
+
execute_or_queue_command(command, &block)
|
967
|
+
end
|
968
|
+
|
969
|
+
# Updates the specified session entity type.
|
970
|
+
# @param [String] name
|
971
|
+
# Required. The unique identifier of the session entity type. Format: `projects//
|
972
|
+
# locations//agents//sessions//entityTypes/` or `projects//locations//agents//
|
973
|
+
# environments//sessions//entityTypes/`. If `Environment ID` is not specified,
|
974
|
+
# we assume default 'draft' environment.
|
975
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
976
|
+
# @param [String] update_mask
|
977
|
+
# The mask to control which fields get updated.
|
978
|
+
# @param [String] fields
|
979
|
+
# Selector specifying which fields to include in a partial response.
|
980
|
+
# @param [String] quota_user
|
981
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
982
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
983
|
+
# @param [Google::Apis::RequestOptions] options
|
984
|
+
# Request-specific options
|
985
|
+
#
|
986
|
+
# @yield [result, err] Result & error if block supplied
|
987
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object
|
988
|
+
# @yieldparam err [StandardError] error object if request failed
|
989
|
+
#
|
990
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType]
|
991
|
+
#
|
992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
995
|
+
def patch_project_location_agent_environment_session_entity_type(name, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
996
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
997
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
998
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
999
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
1000
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType
|
1001
|
+
command.params['name'] = name unless name.nil?
|
1002
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1003
|
+
command.query['fields'] = fields unless fields.nil?
|
1004
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1005
|
+
execute_or_queue_command(command, &block)
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
# Creates a flow in the specified agent.
|
1009
|
+
# @param [String] parent
|
1010
|
+
# Required. The agent to create a flow for. Format: `projects//locations//agents/
|
1011
|
+
# `.
|
1012
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] google_cloud_dialogflow_cx_v3beta1_flow_object
|
1013
|
+
# @param [String] language_code
|
1014
|
+
# The language of the following fields in `flow`: * `Flow.event_handlers.
|
1015
|
+
# trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
|
1016
|
+
# messages` If not specified, the agent's default language is used. [Many
|
1017
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
1018
|
+
# supported. Note: languages must be enabled in the agent before they can be
|
1019
|
+
# used.
|
1020
|
+
# @param [String] fields
|
1021
|
+
# Selector specifying which fields to include in a partial response.
|
1022
|
+
# @param [String] quota_user
|
1023
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1024
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1025
|
+
# @param [Google::Apis::RequestOptions] options
|
1026
|
+
# Request-specific options
|
1027
|
+
#
|
1028
|
+
# @yield [result, err] Result & error if block supplied
|
1029
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] parsed result object
|
1030
|
+
# @yieldparam err [StandardError] error object if request failed
|
1031
|
+
#
|
1032
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow]
|
1033
|
+
#
|
1034
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1035
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1036
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1037
|
+
def create_project_location_agent_flow(parent, google_cloud_dialogflow_cx_v3beta1_flow_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1038
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/flows', options)
|
1039
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
|
1040
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_flow_object
|
1041
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
|
1042
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow
|
1043
|
+
command.params['parent'] = parent unless parent.nil?
|
1044
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1045
|
+
command.query['fields'] = fields unless fields.nil?
|
1046
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1047
|
+
execute_or_queue_command(command, &block)
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# Deletes a specified flow.
|
1051
|
+
# @param [String] name
|
1052
|
+
# Required. The name of the flow to delete. Format: `projects//locations//agents/
|
1053
|
+
# /flows/`.
|
1054
|
+
# @param [Boolean] force
|
1055
|
+
# This field has no effect for flows with no incoming transitions. For flows
|
1056
|
+
# with incoming transitions: * If `force` is set to false, an error will be
|
1057
|
+
# returned with message indicating the incoming transitions. * If `force` is set
|
1058
|
+
# to true, Dialogflow will remove the flow, as well as any transitions to the
|
1059
|
+
# flow (i.e. Target flow in event handlers or Target flow in transition routes
|
1060
|
+
# that point to this flow will be cleared).
|
1061
|
+
# @param [String] fields
|
1062
|
+
# Selector specifying which fields to include in a partial response.
|
1063
|
+
# @param [String] quota_user
|
1064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1066
|
+
# @param [Google::Apis::RequestOptions] options
|
1067
|
+
# Request-specific options
|
1068
|
+
#
|
1069
|
+
# @yield [result, err] Result & error if block supplied
|
1070
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
1071
|
+
# @yieldparam err [StandardError] error object if request failed
|
1072
|
+
#
|
1073
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
1074
|
+
#
|
1075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1078
|
+
def delete_project_location_agent_flow(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1079
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
1080
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
1081
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
1082
|
+
command.params['name'] = name unless name.nil?
|
1083
|
+
command.query['force'] = force unless force.nil?
|
1084
|
+
command.query['fields'] = fields unless fields.nil?
|
1085
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1086
|
+
execute_or_queue_command(command, &block)
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# Retrieves the specified flow.
|
1090
|
+
# @param [String] name
|
1091
|
+
# Required. The name of the flow to get. Format: `projects//locations//agents//
|
1092
|
+
# flows/`.
|
1093
|
+
# @param [String] language_code
|
1094
|
+
# The language to retrieve the flow for. The following fields are language
|
1095
|
+
# dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.
|
1096
|
+
# transition_routes.trigger_fulfillment.messages` If not specified, the agent's
|
1097
|
+
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
1098
|
+
# docs/reference/language) are supported. Note: languages must be enabled in the
|
1099
|
+
# agent before they can be used.
|
1100
|
+
# @param [String] fields
|
1101
|
+
# Selector specifying which fields to include in a partial response.
|
1102
|
+
# @param [String] quota_user
|
1103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1105
|
+
# @param [Google::Apis::RequestOptions] options
|
1106
|
+
# Request-specific options
|
1107
|
+
#
|
1108
|
+
# @yield [result, err] Result & error if block supplied
|
1109
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] parsed result object
|
1110
|
+
# @yieldparam err [StandardError] error object if request failed
|
1111
|
+
#
|
1112
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow]
|
1113
|
+
#
|
1114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1117
|
+
def get_project_location_agent_flow(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1118
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1119
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
|
1120
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow
|
1121
|
+
command.params['name'] = name unless name.nil?
|
1122
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1123
|
+
command.query['fields'] = fields unless fields.nil?
|
1124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1125
|
+
execute_or_queue_command(command, &block)
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Returns the list of all flows in the specified agent.
|
1129
|
+
# @param [String] parent
|
1130
|
+
# Required. The agent containing the flows. Format: `projects//locations//agents/
|
1131
|
+
# `.
|
1132
|
+
# @param [String] language_code
|
1133
|
+
# The language to list flows for. The following fields are language dependent: *
|
1134
|
+
# `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.
|
1135
|
+
# trigger_fulfillment.messages` If not specified, the agent's default language
|
1136
|
+
# is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/
|
1137
|
+
# language) are supported. Note: languages must be enabled in the agent before
|
1138
|
+
# they can be used.
|
1139
|
+
# @param [Fixnum] page_size
|
1140
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
1141
|
+
# most 1000.
|
1142
|
+
# @param [String] page_token
|
1143
|
+
# The next_page_token value returned from a previous list request.
|
1144
|
+
# @param [String] fields
|
1145
|
+
# Selector specifying which fields to include in a partial response.
|
1146
|
+
# @param [String] quota_user
|
1147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1149
|
+
# @param [Google::Apis::RequestOptions] options
|
1150
|
+
# Request-specific options
|
1151
|
+
#
|
1152
|
+
# @yield [result, err] Result & error if block supplied
|
1153
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse] parsed result object
|
1154
|
+
# @yieldparam err [StandardError] error object if request failed
|
1155
|
+
#
|
1156
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse]
|
1157
|
+
#
|
1158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1161
|
+
def list_project_location_agent_flows(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1162
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/flows', options)
|
1163
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse::Representation
|
1164
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse
|
1165
|
+
command.params['parent'] = parent unless parent.nil?
|
1166
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1167
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1168
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1169
|
+
command.query['fields'] = fields unless fields.nil?
|
1170
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1171
|
+
execute_or_queue_command(command, &block)
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
# Updates the specified flow.
|
1175
|
+
# @param [String] name
|
1176
|
+
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
1177
|
+
# `.
|
1178
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] google_cloud_dialogflow_cx_v3beta1_flow_object
|
1179
|
+
# @param [String] language_code
|
1180
|
+
# The language of the following fields in `flow`: * `Flow.event_handlers.
|
1181
|
+
# trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.
|
1182
|
+
# messages` If not specified, the agent's default language is used. [Many
|
1183
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
1184
|
+
# supported. Note: languages must be enabled in the agent before they can be
|
1185
|
+
# used.
|
1186
|
+
# @param [String] update_mask
|
1187
|
+
# Required. The mask to control which fields get updated. If `update_mask` is
|
1188
|
+
# not specified, an error will be returned.
|
1189
|
+
# @param [String] fields
|
1190
|
+
# Selector specifying which fields to include in a partial response.
|
1191
|
+
# @param [String] quota_user
|
1192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1194
|
+
# @param [Google::Apis::RequestOptions] options
|
1195
|
+
# Request-specific options
|
1196
|
+
#
|
1197
|
+
# @yield [result, err] Result & error if block supplied
|
1198
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] parsed result object
|
1199
|
+
# @yieldparam err [StandardError] error object if request failed
|
1200
|
+
#
|
1201
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow]
|
1202
|
+
#
|
1203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1206
|
+
def patch_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3beta1_flow_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1207
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
1208
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
|
1209
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_flow_object
|
1210
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation
|
1211
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow
|
1212
|
+
command.params['name'] = name unless name.nil?
|
1213
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1214
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1215
|
+
command.query['fields'] = fields unless fields.nil?
|
1216
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1217
|
+
execute_or_queue_command(command, &block)
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1221
|
+
# trained.
|
1222
|
+
# @param [String] name
|
1223
|
+
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1224
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
|
1225
|
+
# @param [String] fields
|
1226
|
+
# Selector specifying which fields to include in a partial response.
|
1227
|
+
# @param [String] quota_user
|
1228
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1229
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1230
|
+
# @param [Google::Apis::RequestOptions] options
|
1231
|
+
# Request-specific options
|
1232
|
+
#
|
1233
|
+
# @yield [result, err] Result & error if block supplied
|
1234
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
1235
|
+
# @yieldparam err [StandardError] error object if request failed
|
1236
|
+
#
|
1237
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
1238
|
+
#
|
1239
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1240
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1241
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1242
|
+
def train_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3beta1_train_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1243
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:train', options)
|
1244
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest::Representation
|
1245
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
|
1246
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
1247
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
1248
|
+
command.params['name'] = name unless name.nil?
|
1249
|
+
command.query['fields'] = fields unless fields.nil?
|
1250
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1251
|
+
execute_or_queue_command(command, &block)
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# Creates a page in the specified flow.
|
1255
|
+
# @param [String] parent
|
1256
|
+
# Required. The flow to create a page for. Format: `projects//locations//agents//
|
1257
|
+
# flows/`.
|
1258
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] google_cloud_dialogflow_cx_v3beta1_page_object
|
1259
|
+
# @param [String] language_code
|
1260
|
+
# The language of the following fields in `page`: * `Page.entry_fulfillment.
|
1261
|
+
# messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.
|
1262
|
+
# messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.
|
1263
|
+
# messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
|
1264
|
+
# transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
|
1265
|
+
# specified, the agent's default language is used. [Many languages](https://
|
1266
|
+
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
1267
|
+
# languages must be enabled in the agent before they can be used.
|
1268
|
+
# @param [String] fields
|
1269
|
+
# Selector specifying which fields to include in a partial response.
|
1270
|
+
# @param [String] quota_user
|
1271
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1272
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1273
|
+
# @param [Google::Apis::RequestOptions] options
|
1274
|
+
# Request-specific options
|
1275
|
+
#
|
1276
|
+
# @yield [result, err] Result & error if block supplied
|
1277
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] parsed result object
|
1278
|
+
# @yieldparam err [StandardError] error object if request failed
|
1279
|
+
#
|
1280
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
1281
|
+
#
|
1282
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1283
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1284
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1285
|
+
def create_project_location_agent_flow_page(parent, google_cloud_dialogflow_cx_v3beta1_page_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1286
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/pages', options)
|
1287
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
1288
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_page_object
|
1289
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
1290
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page
|
1291
|
+
command.params['parent'] = parent unless parent.nil?
|
1292
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1293
|
+
command.query['fields'] = fields unless fields.nil?
|
1294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1295
|
+
execute_or_queue_command(command, &block)
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
# Deletes the specified page.
|
1299
|
+
# @param [String] name
|
1300
|
+
# Required. The name of the page to delete. Format: `projects//locations//agents/
|
1301
|
+
# /Flows//pages/`.
|
1302
|
+
# @param [Boolean] force
|
1303
|
+
# This field has no effect for pages with no incoming transitions. For pages
|
1304
|
+
# with incoming transitions: * If `force` is set to false, an error will be
|
1305
|
+
# returned with message indicating the incoming transitions. * If `force` is set
|
1306
|
+
# to true, Dialogflow will remove the page, as well as any transitions to the
|
1307
|
+
# page (i.e. Target page in event handlers or Target page in transition routes
|
1308
|
+
# that point to this page will be cleared).
|
1309
|
+
# @param [String] fields
|
1310
|
+
# Selector specifying which fields to include in a partial response.
|
1311
|
+
# @param [String] quota_user
|
1312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1314
|
+
# @param [Google::Apis::RequestOptions] options
|
1315
|
+
# Request-specific options
|
1316
|
+
#
|
1317
|
+
# @yield [result, err] Result & error if block supplied
|
1318
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
1319
|
+
# @yieldparam err [StandardError] error object if request failed
|
1320
|
+
#
|
1321
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
1322
|
+
#
|
1323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1326
|
+
def delete_project_location_agent_flow_page(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1327
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
1328
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
1329
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
1330
|
+
command.params['name'] = name unless name.nil?
|
1331
|
+
command.query['force'] = force unless force.nil?
|
1332
|
+
command.query['fields'] = fields unless fields.nil?
|
1333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1334
|
+
execute_or_queue_command(command, &block)
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
# Retrieves the specified page.
|
1338
|
+
# @param [String] name
|
1339
|
+
# Required. The name of the page. Format: `projects//locations//agents//flows//
|
1340
|
+
# pages/`.
|
1341
|
+
# @param [String] language_code
|
1342
|
+
# The language to retrieve the page for. The following fields are language
|
1343
|
+
# dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.
|
1344
|
+
# fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.
|
1345
|
+
# fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.
|
1346
|
+
# trigger_fulfillment.messages` * `Page.transition_route_groups.
|
1347
|
+
# transition_routes.trigger_fulfillment.messages` If not specified, the agent's
|
1348
|
+
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
1349
|
+
# docs/reference/language) are supported. Note: languages must be enabled in the
|
1350
|
+
# agent before they can be used.
|
1351
|
+
# @param [String] fields
|
1352
|
+
# Selector specifying which fields to include in a partial response.
|
1353
|
+
# @param [String] quota_user
|
1354
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1355
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1356
|
+
# @param [Google::Apis::RequestOptions] options
|
1357
|
+
# Request-specific options
|
1358
|
+
#
|
1359
|
+
# @yield [result, err] Result & error if block supplied
|
1360
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] parsed result object
|
1361
|
+
# @yieldparam err [StandardError] error object if request failed
|
1362
|
+
#
|
1363
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
1364
|
+
#
|
1365
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1366
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1367
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1368
|
+
def get_project_location_agent_flow_page(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1369
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1370
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
1371
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page
|
1372
|
+
command.params['name'] = name unless name.nil?
|
1373
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1374
|
+
command.query['fields'] = fields unless fields.nil?
|
1375
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1376
|
+
execute_or_queue_command(command, &block)
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
# Returns the list of all pages in the specified flow.
|
1380
|
+
# @param [String] parent
|
1381
|
+
# Required. The flow to list all pages for. Format: `projects//locations//agents/
|
1382
|
+
# /flows/`.
|
1383
|
+
# @param [String] language_code
|
1384
|
+
# The language to list pages for. The following fields are language dependent: *
|
1385
|
+
# `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.
|
1386
|
+
# initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.
|
1387
|
+
# reprompt_event_handlers.messages` * `Page.transition_routes.
|
1388
|
+
# trigger_fulfillment.messages` * `Page.transition_route_groups.
|
1389
|
+
# transition_routes.trigger_fulfillment.messages` If not specified, the agent's
|
1390
|
+
# default language is used. [Many languages](https://cloud.google.com/dialogflow/
|
1391
|
+
# docs/reference/language) are supported. Note: languages must be enabled in the
|
1392
|
+
# agent before they can be used.
|
1393
|
+
# @param [Fixnum] page_size
|
1394
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
1395
|
+
# most 1000.
|
1396
|
+
# @param [String] page_token
|
1397
|
+
# The next_page_token value returned from a previous list request.
|
1398
|
+
# @param [String] fields
|
1399
|
+
# Selector specifying which fields to include in a partial response.
|
1400
|
+
# @param [String] quota_user
|
1401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1403
|
+
# @param [Google::Apis::RequestOptions] options
|
1404
|
+
# Request-specific options
|
1405
|
+
#
|
1406
|
+
# @yield [result, err] Result & error if block supplied
|
1407
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse] parsed result object
|
1408
|
+
# @yieldparam err [StandardError] error object if request failed
|
1409
|
+
#
|
1410
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse]
|
1411
|
+
#
|
1412
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1413
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1414
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1415
|
+
def list_project_location_agent_flow_pages(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1416
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/pages', options)
|
1417
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse::Representation
|
1418
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse
|
1419
|
+
command.params['parent'] = parent unless parent.nil?
|
1420
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1421
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1422
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1423
|
+
command.query['fields'] = fields unless fields.nil?
|
1424
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1425
|
+
execute_or_queue_command(command, &block)
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# Updates the specified page.
|
1429
|
+
# @param [String] name
|
1430
|
+
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
1431
|
+
# Pages.CreatePage populates the name automatically. Format: `projects//
|
1432
|
+
# locations//agents//flows//pages/`.
|
1433
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] google_cloud_dialogflow_cx_v3beta1_page_object
|
1434
|
+
# @param [String] language_code
|
1435
|
+
# The language of the following fields in `page`: * `Page.entry_fulfillment.
|
1436
|
+
# messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.
|
1437
|
+
# messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.
|
1438
|
+
# messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.
|
1439
|
+
# transition_route_groups.transition_routes.trigger_fulfillment.messages` If not
|
1440
|
+
# specified, the agent's default language is used. [Many languages](https://
|
1441
|
+
# cloud.google.com/dialogflow/docs/reference/language) are supported. Note:
|
1442
|
+
# languages must be enabled in the agent before they can be used.
|
1443
|
+
# @param [String] update_mask
|
1444
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
1445
|
+
# fields will be updated.
|
1446
|
+
# @param [String] fields
|
1447
|
+
# Selector specifying which fields to include in a partial response.
|
1448
|
+
# @param [String] quota_user
|
1449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1451
|
+
# @param [Google::Apis::RequestOptions] options
|
1452
|
+
# Request-specific options
|
1453
|
+
#
|
1454
|
+
# @yield [result, err] Result & error if block supplied
|
1455
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] parsed result object
|
1456
|
+
# @yieldparam err [StandardError] error object if request failed
|
1457
|
+
#
|
1458
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
|
1459
|
+
#
|
1460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1463
|
+
def patch_project_location_agent_flow_page(name, google_cloud_dialogflow_cx_v3beta1_page_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1464
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
1465
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
1466
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_page_object
|
1467
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
|
1468
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page
|
1469
|
+
command.params['name'] = name unless name.nil?
|
1470
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1471
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1472
|
+
command.query['fields'] = fields unless fields.nil?
|
1473
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1474
|
+
execute_or_queue_command(command, &block)
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
# Creates an TransitionRouteGroup in the specified flow.
|
1478
|
+
# @param [String] parent
|
1479
|
+
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
1480
|
+
# locations//agents//flows/`.
|
1481
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
1482
|
+
# @param [String] language_code
|
1483
|
+
# The language to list transition route groups for. The field `messages` in
|
1484
|
+
# TransitionRoute is language dependent. If not specified, the agent's default
|
1485
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1486
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1487
|
+
# agent before they can be used.
|
1488
|
+
# @param [String] fields
|
1489
|
+
# Selector specifying which fields to include in a partial response.
|
1490
|
+
# @param [String] quota_user
|
1491
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1492
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1493
|
+
# @param [Google::Apis::RequestOptions] options
|
1494
|
+
# Request-specific options
|
1495
|
+
#
|
1496
|
+
# @yield [result, err] Result & error if block supplied
|
1497
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
|
1498
|
+
# @yieldparam err [StandardError] error object if request failed
|
1499
|
+
#
|
1500
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
1501
|
+
#
|
1502
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1503
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1504
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1505
|
+
def create_project_location_agent_flow_transition_route_group(parent, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1506
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/transitionRouteGroups', options)
|
1507
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
1508
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
1509
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
1510
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
1511
|
+
command.params['parent'] = parent unless parent.nil?
|
1512
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1513
|
+
command.query['fields'] = fields unless fields.nil?
|
1514
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1515
|
+
execute_or_queue_command(command, &block)
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
# Deletes the specified TransitionRouteGroup.
|
1519
|
+
# @param [String] name
|
1520
|
+
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
1521
|
+
# locations//agents//flows//transitionRouteGroups/`.
|
1522
|
+
# @param [Boolean] force
|
1523
|
+
# This field has no effect for transition route group that no page is using. If
|
1524
|
+
# the transition route group is referenced by any page: * If `force` is set to
|
1525
|
+
# false, an error will be returned with message indicating pages that reference
|
1526
|
+
# the transition route group. * If `force` is set to true, Dialogflow will
|
1527
|
+
# remove the transition route group, as well as any reference to it.
|
1528
|
+
# @param [String] fields
|
1529
|
+
# Selector specifying which fields to include in a partial response.
|
1530
|
+
# @param [String] quota_user
|
1531
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1532
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1533
|
+
# @param [Google::Apis::RequestOptions] options
|
1534
|
+
# Request-specific options
|
1535
|
+
#
|
1536
|
+
# @yield [result, err] Result & error if block supplied
|
1537
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
1538
|
+
# @yieldparam err [StandardError] error object if request failed
|
1539
|
+
#
|
1540
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
1541
|
+
#
|
1542
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1543
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1544
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1545
|
+
def delete_project_location_agent_flow_transition_route_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1546
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
1547
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
1548
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
1549
|
+
command.params['name'] = name unless name.nil?
|
1550
|
+
command.query['force'] = force unless force.nil?
|
1551
|
+
command.query['fields'] = fields unless fields.nil?
|
1552
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1553
|
+
execute_or_queue_command(command, &block)
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# Retrieves the specified TransitionRouteGroup.
|
1557
|
+
# @param [String] name
|
1558
|
+
# Required. The name of the TransitionRouteGroup. Format: `projects//locations//
|
1559
|
+
# agents//flows//transitionRouteGroups/`.
|
1560
|
+
# @param [String] language_code
|
1561
|
+
# The language to list transition route groups for. The field `messages` in
|
1562
|
+
# TransitionRoute is language dependent. If not specified, the agent's default
|
1563
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1564
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1565
|
+
# agent before they can be used.
|
1566
|
+
# @param [String] fields
|
1567
|
+
# Selector specifying which fields to include in a partial response.
|
1568
|
+
# @param [String] quota_user
|
1569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1571
|
+
# @param [Google::Apis::RequestOptions] options
|
1572
|
+
# Request-specific options
|
1573
|
+
#
|
1574
|
+
# @yield [result, err] Result & error if block supplied
|
1575
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
|
1576
|
+
# @yieldparam err [StandardError] error object if request failed
|
1577
|
+
#
|
1578
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
1579
|
+
#
|
1580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1583
|
+
def get_project_location_agent_flow_transition_route_group(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1584
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1585
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
1586
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
1587
|
+
command.params['name'] = name unless name.nil?
|
1588
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1589
|
+
command.query['fields'] = fields unless fields.nil?
|
1590
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1591
|
+
execute_or_queue_command(command, &block)
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
# Returns the list of all transition route groups in the specified flow.
|
1595
|
+
# @param [String] parent
|
1596
|
+
# Required. The flow to list all transition route groups for. Format: `projects//
|
1597
|
+
# locations//agents//flows/`.
|
1598
|
+
# @param [String] language_code
|
1599
|
+
# The language to list transition route groups for. The field `messages` in
|
1600
|
+
# TransitionRoute is language dependent. If not specified, the agent's default
|
1601
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1602
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1603
|
+
# agent before they can be used.
|
1604
|
+
# @param [Fixnum] page_size
|
1605
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
1606
|
+
# most 1000.
|
1607
|
+
# @param [String] page_token
|
1608
|
+
# The next_page_token value returned from a previous list request.
|
1609
|
+
# @param [String] fields
|
1610
|
+
# Selector specifying which fields to include in a partial response.
|
1611
|
+
# @param [String] quota_user
|
1612
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1613
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1614
|
+
# @param [Google::Apis::RequestOptions] options
|
1615
|
+
# Request-specific options
|
1616
|
+
#
|
1617
|
+
# @yield [result, err] Result & error if block supplied
|
1618
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse] parsed result object
|
1619
|
+
# @yieldparam err [StandardError] error object if request failed
|
1620
|
+
#
|
1621
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse]
|
1622
|
+
#
|
1623
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1624
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1625
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1626
|
+
def list_project_location_agent_flow_transition_route_groups(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1627
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/transitionRouteGroups', options)
|
1628
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse::Representation
|
1629
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse
|
1630
|
+
command.params['parent'] = parent unless parent.nil?
|
1631
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1632
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1633
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1634
|
+
command.query['fields'] = fields unless fields.nil?
|
1635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1636
|
+
execute_or_queue_command(command, &block)
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# Updates the specified TransitionRouteGroup.
|
1640
|
+
# @param [String] name
|
1641
|
+
# The unique identifier of the transition route group. TransitionRouteGroups.
|
1642
|
+
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
1643
|
+
# /locations//agents//flows//transitionRouteGroups/`.
|
1644
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
1645
|
+
# @param [String] language_code
|
1646
|
+
# The language to list transition route groups for. The field `messages` in
|
1647
|
+
# TransitionRoute is language dependent. If not specified, the agent's default
|
1648
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
1649
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
1650
|
+
# agent before they can be used.
|
1651
|
+
# @param [String] update_mask
|
1652
|
+
# The mask to control which fields get updated.
|
1653
|
+
# @param [String] fields
|
1654
|
+
# Selector specifying which fields to include in a partial response.
|
1655
|
+
# @param [String] quota_user
|
1656
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1657
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1658
|
+
# @param [Google::Apis::RequestOptions] options
|
1659
|
+
# Request-specific options
|
1660
|
+
#
|
1661
|
+
# @yield [result, err] Result & error if block supplied
|
1662
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object
|
1663
|
+
# @yieldparam err [StandardError] error object if request failed
|
1664
|
+
#
|
1665
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
1666
|
+
#
|
1667
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1668
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1669
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1670
|
+
def patch_project_location_agent_flow_transition_route_group(name, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1671
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
1672
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
1673
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object
|
1674
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
1675
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
|
1676
|
+
command.params['name'] = name unless name.nil?
|
1677
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1678
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1679
|
+
command.query['fields'] = fields unless fields.nil?
|
1680
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1681
|
+
execute_or_queue_command(command, &block)
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
# Creates a Version in the specified Flow.
|
1685
|
+
# @param [String] parent
|
1686
|
+
# Required. The Flow to create an Version for. Format: `projects//locations//
|
1687
|
+
# agents//flows/`.
|
1688
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] google_cloud_dialogflow_cx_v3beta1_version_object
|
1689
|
+
# @param [String] fields
|
1690
|
+
# Selector specifying which fields to include in a partial response.
|
1691
|
+
# @param [String] quota_user
|
1692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1694
|
+
# @param [Google::Apis::RequestOptions] options
|
1695
|
+
# Request-specific options
|
1696
|
+
#
|
1697
|
+
# @yield [result, err] Result & error if block supplied
|
1698
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
1699
|
+
# @yieldparam err [StandardError] error object if request failed
|
1700
|
+
#
|
1701
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
1702
|
+
#
|
1703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1706
|
+
def create_project_location_agent_flow_version(parent, google_cloud_dialogflow_cx_v3beta1_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1707
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/versions', options)
|
1708
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation
|
1709
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_version_object
|
1710
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
1711
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
1712
|
+
command.params['parent'] = parent unless parent.nil?
|
1713
|
+
command.query['fields'] = fields unless fields.nil?
|
1714
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1715
|
+
execute_or_queue_command(command, &block)
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
# Deletes the specified Version.
|
1719
|
+
# @param [String] name
|
1720
|
+
# Required. The name of the Version to delete. Format: `projects//locations//
|
1721
|
+
# agents//flows//versions/`.
|
1722
|
+
# @param [String] fields
|
1723
|
+
# Selector specifying which fields to include in a partial response.
|
1724
|
+
# @param [String] quota_user
|
1725
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1726
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1727
|
+
# @param [Google::Apis::RequestOptions] options
|
1728
|
+
# Request-specific options
|
1729
|
+
#
|
1730
|
+
# @yield [result, err] Result & error if block supplied
|
1731
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
1732
|
+
# @yieldparam err [StandardError] error object if request failed
|
1733
|
+
#
|
1734
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
1735
|
+
#
|
1736
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1737
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1738
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1739
|
+
def delete_project_location_agent_flow_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
1740
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
1741
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
1742
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
1743
|
+
command.params['name'] = name unless name.nil?
|
1744
|
+
command.query['fields'] = fields unless fields.nil?
|
1745
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1746
|
+
execute_or_queue_command(command, &block)
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# Retrieves the specified Version.
|
1750
|
+
# @param [String] name
|
1751
|
+
# Required. The name of the Version. Format: `projects//locations//agents//flows/
|
1752
|
+
# /versions/`.
|
1753
|
+
# @param [String] fields
|
1754
|
+
# Selector specifying which fields to include in a partial response.
|
1755
|
+
# @param [String] quota_user
|
1756
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1757
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1758
|
+
# @param [Google::Apis::RequestOptions] options
|
1759
|
+
# Request-specific options
|
1760
|
+
#
|
1761
|
+
# @yield [result, err] Result & error if block supplied
|
1762
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] parsed result object
|
1763
|
+
# @yieldparam err [StandardError] error object if request failed
|
1764
|
+
#
|
1765
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version]
|
1766
|
+
#
|
1767
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1768
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1769
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1770
|
+
def get_project_location_agent_flow_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
1771
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1772
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation
|
1773
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version
|
1774
|
+
command.params['name'] = name unless name.nil?
|
1775
|
+
command.query['fields'] = fields unless fields.nil?
|
1776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1777
|
+
execute_or_queue_command(command, &block)
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
# Returns the list of all versions in the specified Flow.
|
1781
|
+
# @param [String] parent
|
1782
|
+
# Required. The Flow to list all versions for. Format: `projects//locations//
|
1783
|
+
# agents//flows/`.
|
1784
|
+
# @param [Fixnum] page_size
|
1785
|
+
# The maximum number of items to return in a single page. By default 20 and at
|
1786
|
+
# most 100.
|
1787
|
+
# @param [String] page_token
|
1788
|
+
# The next_page_token value returned from a previous list request.
|
1789
|
+
# @param [String] fields
|
1790
|
+
# Selector specifying which fields to include in a partial response.
|
1791
|
+
# @param [String] quota_user
|
1792
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1793
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1794
|
+
# @param [Google::Apis::RequestOptions] options
|
1795
|
+
# Request-specific options
|
1796
|
+
#
|
1797
|
+
# @yield [result, err] Result & error if block supplied
|
1798
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse] parsed result object
|
1799
|
+
# @yieldparam err [StandardError] error object if request failed
|
1800
|
+
#
|
1801
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse]
|
1802
|
+
#
|
1803
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1804
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1805
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1806
|
+
def list_project_location_agent_flow_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1807
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/versions', options)
|
1808
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse::Representation
|
1809
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse
|
1810
|
+
command.params['parent'] = parent unless parent.nil?
|
1811
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1812
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1813
|
+
command.query['fields'] = fields unless fields.nil?
|
1814
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1815
|
+
execute_or_queue_command(command, &block)
|
1816
|
+
end
|
1817
|
+
|
1818
|
+
# Loads a specified version to draft version.
|
1819
|
+
# @param [String] name
|
1820
|
+
# Required. The Version to be loaded to draft version. Format: `projects//
|
1821
|
+
# locations//agents//flows//versions/`.
|
1822
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LoadVersionRequest] google_cloud_dialogflow_cx_v3beta1_load_version_request_object
|
1823
|
+
# @param [String] fields
|
1824
|
+
# Selector specifying which fields to include in a partial response.
|
1825
|
+
# @param [String] quota_user
|
1826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1828
|
+
# @param [Google::Apis::RequestOptions] options
|
1829
|
+
# Request-specific options
|
1830
|
+
#
|
1831
|
+
# @yield [result, err] Result & error if block supplied
|
1832
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
1833
|
+
# @yieldparam err [StandardError] error object if request failed
|
1834
|
+
#
|
1835
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
1836
|
+
#
|
1837
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1838
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1839
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1840
|
+
def load_project_location_agent_flow_version(name, google_cloud_dialogflow_cx_v3beta1_load_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1841
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:load', options)
|
1842
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LoadVersionRequest::Representation
|
1843
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_load_version_request_object
|
1844
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
1845
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
1846
|
+
command.params['name'] = name unless name.nil?
|
1847
|
+
command.query['fields'] = fields unless fields.nil?
|
1848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1849
|
+
execute_or_queue_command(command, &block)
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# Updates the specified Version.
|
1853
|
+
# @param [String] name
|
1854
|
+
# Format: projects//locations//agents//flows//versions/. Version ID is a self-
|
1855
|
+
# increasing number generated by Dialogflow upon version creation.
|
1856
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] google_cloud_dialogflow_cx_v3beta1_version_object
|
1857
|
+
# @param [String] update_mask
|
1858
|
+
# Required. The mask to control which fields get updated. Currently only `
|
1859
|
+
# description` and `display_name` can be updated.
|
1860
|
+
# @param [String] fields
|
1861
|
+
# Selector specifying which fields to include in a partial response.
|
1862
|
+
# @param [String] quota_user
|
1863
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1864
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1865
|
+
# @param [Google::Apis::RequestOptions] options
|
1866
|
+
# Request-specific options
|
1867
|
+
#
|
1868
|
+
# @yield [result, err] Result & error if block supplied
|
1869
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] parsed result object
|
1870
|
+
# @yieldparam err [StandardError] error object if request failed
|
1871
|
+
#
|
1872
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version]
|
1873
|
+
#
|
1874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1877
|
+
def patch_project_location_agent_flow_version(name, google_cloud_dialogflow_cx_v3beta1_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1878
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
1879
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation
|
1880
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_version_object
|
1881
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation
|
1882
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version
|
1883
|
+
command.params['name'] = name unless name.nil?
|
1884
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1885
|
+
command.query['fields'] = fields unless fields.nil?
|
1886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1887
|
+
execute_or_queue_command(command, &block)
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# Creates an intent in the specified agent.
|
1891
|
+
# @param [String] parent
|
1892
|
+
# Required. The agent to create an intent for. Format: `projects//locations//
|
1893
|
+
# agents/`.
|
1894
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] google_cloud_dialogflow_cx_v3beta1_intent_object
|
1895
|
+
# @param [String] language_code
|
1896
|
+
# The language of the following fields in `intent`: * `Intent.training_phrases.
|
1897
|
+
# parts.text` If not specified, the agent's default language is used. [Many
|
1898
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
1899
|
+
# supported. Note: languages must be enabled in the agent before they can be
|
1900
|
+
# used.
|
1901
|
+
# @param [String] fields
|
1902
|
+
# Selector specifying which fields to include in a partial response.
|
1903
|
+
# @param [String] quota_user
|
1904
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1905
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1906
|
+
# @param [Google::Apis::RequestOptions] options
|
1907
|
+
# Request-specific options
|
1908
|
+
#
|
1909
|
+
# @yield [result, err] Result & error if block supplied
|
1910
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] parsed result object
|
1911
|
+
# @yieldparam err [StandardError] error object if request failed
|
1912
|
+
#
|
1913
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent]
|
1914
|
+
#
|
1915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1918
|
+
def create_project_location_agent_intent(parent, google_cloud_dialogflow_cx_v3beta1_intent_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1919
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/intents', options)
|
1920
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
1921
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_intent_object
|
1922
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
1923
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent
|
1924
|
+
command.params['parent'] = parent unless parent.nil?
|
1925
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1926
|
+
command.query['fields'] = fields unless fields.nil?
|
1927
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1928
|
+
execute_or_queue_command(command, &block)
|
1929
|
+
end
|
1930
|
+
|
1931
|
+
# Deletes the specified intent.
|
1932
|
+
# @param [String] name
|
1933
|
+
# Required. The name of the intent to delete. Format: `projects//locations//
|
1934
|
+
# agents//intents/`.
|
1935
|
+
# @param [String] fields
|
1936
|
+
# Selector specifying which fields to include in a partial response.
|
1937
|
+
# @param [String] quota_user
|
1938
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1939
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1940
|
+
# @param [Google::Apis::RequestOptions] options
|
1941
|
+
# Request-specific options
|
1942
|
+
#
|
1943
|
+
# @yield [result, err] Result & error if block supplied
|
1944
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
1945
|
+
# @yieldparam err [StandardError] error object if request failed
|
1946
|
+
#
|
1947
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
1948
|
+
#
|
1949
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1950
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1951
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1952
|
+
def delete_project_location_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block)
|
1953
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
1954
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
1955
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
1956
|
+
command.params['name'] = name unless name.nil?
|
1957
|
+
command.query['fields'] = fields unless fields.nil?
|
1958
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1959
|
+
execute_or_queue_command(command, &block)
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# Retrieves the specified intent.
|
1963
|
+
# @param [String] name
|
1964
|
+
# Required. The name of the intent. Format: `projects//locations//agents//
|
1965
|
+
# intents/`.
|
1966
|
+
# @param [String] language_code
|
1967
|
+
# The language to retrieve the intent for. The following fields are language
|
1968
|
+
# dependent: * `Intent.training_phrases.parts.text` If not specified, the agent'
|
1969
|
+
# s default language is used. [Many languages](https://cloud.google.com/
|
1970
|
+
# dialogflow/docs/reference/language) are supported. Note: languages must be
|
1971
|
+
# enabled in the agent before they can be used.
|
1972
|
+
# @param [String] fields
|
1973
|
+
# Selector specifying which fields to include in a partial response.
|
1974
|
+
# @param [String] quota_user
|
1975
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1976
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1977
|
+
# @param [Google::Apis::RequestOptions] options
|
1978
|
+
# Request-specific options
|
1979
|
+
#
|
1980
|
+
# @yield [result, err] Result & error if block supplied
|
1981
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] parsed result object
|
1982
|
+
# @yieldparam err [StandardError] error object if request failed
|
1983
|
+
#
|
1984
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent]
|
1985
|
+
#
|
1986
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1987
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1988
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1989
|
+
def get_project_location_agent_intent(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1990
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
1991
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
1992
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent
|
1993
|
+
command.params['name'] = name unless name.nil?
|
1994
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
1995
|
+
command.query['fields'] = fields unless fields.nil?
|
1996
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1997
|
+
execute_or_queue_command(command, &block)
|
1998
|
+
end
|
1999
|
+
|
2000
|
+
# Returns the list of all intents in the specified agent.
|
2001
|
+
# @param [String] parent
|
2002
|
+
# Required. The agent to list all intents for. Format: `projects//locations//
|
2003
|
+
# agents/`.
|
2004
|
+
# @param [String] intent_view
|
2005
|
+
# The resource view to apply to the returned intent.
|
2006
|
+
# @param [String] language_code
|
2007
|
+
# The language to list intents for. The following fields are language dependent:
|
2008
|
+
# * `Intent.training_phrases.parts.text` If not specified, the agent's default
|
2009
|
+
# language is used. [Many languages](https://cloud.google.com/dialogflow/docs/
|
2010
|
+
# reference/language) are supported. Note: languages must be enabled in the
|
2011
|
+
# agent before they can be used.
|
2012
|
+
# @param [Fixnum] page_size
|
2013
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
2014
|
+
# most 1000.
|
2015
|
+
# @param [String] page_token
|
2016
|
+
# The next_page_token value returned from a previous list request.
|
2017
|
+
# @param [String] fields
|
2018
|
+
# Selector specifying which fields to include in a partial response.
|
2019
|
+
# @param [String] quota_user
|
2020
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2021
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2022
|
+
# @param [Google::Apis::RequestOptions] options
|
2023
|
+
# Request-specific options
|
2024
|
+
#
|
2025
|
+
# @yield [result, err] Result & error if block supplied
|
2026
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse] parsed result object
|
2027
|
+
# @yieldparam err [StandardError] error object if request failed
|
2028
|
+
#
|
2029
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse]
|
2030
|
+
#
|
2031
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2032
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2033
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2034
|
+
def list_project_location_agent_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2035
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/intents', options)
|
2036
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse::Representation
|
2037
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse
|
2038
|
+
command.params['parent'] = parent unless parent.nil?
|
2039
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
2040
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
2041
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2042
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2043
|
+
command.query['fields'] = fields unless fields.nil?
|
2044
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2045
|
+
execute_or_queue_command(command, &block)
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
# Updates the specified intent.
|
2049
|
+
# @param [String] name
|
2050
|
+
# The unique identifier of the intent. Required for the Intents.UpdateIntent
|
2051
|
+
# method. Intents.CreateIntent populates the name automatically. Format: `
|
2052
|
+
# projects//locations//agents//intents/`.
|
2053
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] google_cloud_dialogflow_cx_v3beta1_intent_object
|
2054
|
+
# @param [String] language_code
|
2055
|
+
# The language of the following fields in `intent`: * `Intent.training_phrases.
|
2056
|
+
# parts.text` If not specified, the agent's default language is used. [Many
|
2057
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language) are
|
2058
|
+
# supported. Note: languages must be enabled in the agent before they can be
|
2059
|
+
# used.
|
2060
|
+
# @param [String] update_mask
|
2061
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
2062
|
+
# fields will be updated.
|
2063
|
+
# @param [String] fields
|
2064
|
+
# Selector specifying which fields to include in a partial response.
|
2065
|
+
# @param [String] quota_user
|
2066
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2067
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2068
|
+
# @param [Google::Apis::RequestOptions] options
|
2069
|
+
# Request-specific options
|
2070
|
+
#
|
2071
|
+
# @yield [result, err] Result & error if block supplied
|
2072
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] parsed result object
|
2073
|
+
# @yieldparam err [StandardError] error object if request failed
|
2074
|
+
#
|
2075
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent]
|
2076
|
+
#
|
2077
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2078
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2079
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2080
|
+
def patch_project_location_agent_intent(name, google_cloud_dialogflow_cx_v3beta1_intent_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2081
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
2082
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
2083
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_intent_object
|
2084
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation
|
2085
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent
|
2086
|
+
command.params['name'] = name unless name.nil?
|
2087
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
2088
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2089
|
+
command.query['fields'] = fields unless fields.nil?
|
2090
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2091
|
+
execute_or_queue_command(command, &block)
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
# Processes a natural language query and returns structured, actionable data as
|
2095
|
+
# a result. This method is not idempotent, because it may cause session entity
|
2096
|
+
# types to be updated, which in turn might affect results of future queries.
|
2097
|
+
# @param [String] session
|
2098
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
2099
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
2100
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
2101
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
2102
|
+
# It can be a random number or some type of session identifiers (preferably
|
2103
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters.
|
2104
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
2105
|
+
# @param [String] fields
|
2106
|
+
# Selector specifying which fields to include in a partial response.
|
2107
|
+
# @param [String] quota_user
|
2108
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2109
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2110
|
+
# @param [Google::Apis::RequestOptions] options
|
2111
|
+
# Request-specific options
|
2112
|
+
#
|
2113
|
+
# @yield [result, err] Result & error if block supplied
|
2114
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] parsed result object
|
2115
|
+
# @yieldparam err [StandardError] error object if request failed
|
2116
|
+
#
|
2117
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse]
|
2118
|
+
#
|
2119
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2120
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2121
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2122
|
+
def detect_project_location_agent_session_intent(session, google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2123
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:detectIntent', options)
|
2124
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation
|
2125
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
2126
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
|
2127
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
2128
|
+
command.params['session'] = session unless session.nil?
|
2129
|
+
command.query['fields'] = fields unless fields.nil?
|
2130
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2131
|
+
execute_or_queue_command(command, &block)
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# Fulfills a matched intent returned by MatchIntent. Must be called after
|
2135
|
+
# MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is
|
2136
|
+
# undefined.
|
2137
|
+
# @param [String] session
|
2138
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
2139
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
2140
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
2141
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
2142
|
+
# It can be a random number or some type of session identifiers (preferably
|
2143
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters.
|
2144
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest] google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object
|
2145
|
+
# @param [String] fields
|
2146
|
+
# Selector specifying which fields to include in a partial response.
|
2147
|
+
# @param [String] quota_user
|
2148
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2149
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2150
|
+
# @param [Google::Apis::RequestOptions] options
|
2151
|
+
# Request-specific options
|
2152
|
+
#
|
2153
|
+
# @yield [result, err] Result & error if block supplied
|
2154
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse] parsed result object
|
2155
|
+
# @yieldparam err [StandardError] error object if request failed
|
2156
|
+
#
|
2157
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse]
|
2158
|
+
#
|
2159
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2160
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2161
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2162
|
+
def fulfill_project_location_agent_session_intent(session, google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2163
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:fulfillIntent', options)
|
2164
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest::Representation
|
2165
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object
|
2166
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse::Representation
|
2167
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse
|
2168
|
+
command.params['session'] = session unless session.nil?
|
2169
|
+
command.query['fields'] = fields unless fields.nil?
|
2170
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2171
|
+
execute_or_queue_command(command, &block)
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
# Returns preliminary intent match results, doesn't change the session status.
|
2175
|
+
# @param [String] session
|
2176
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
2177
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
2178
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
2179
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
2180
|
+
# It can be a random number or some type of session identifiers (preferably
|
2181
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters.
|
2182
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] google_cloud_dialogflow_cx_v3beta1_match_intent_request_object
|
2183
|
+
# @param [String] fields
|
2184
|
+
# Selector specifying which fields to include in a partial response.
|
2185
|
+
# @param [String] quota_user
|
2186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2188
|
+
# @param [Google::Apis::RequestOptions] options
|
2189
|
+
# Request-specific options
|
2190
|
+
#
|
2191
|
+
# @yield [result, err] Result & error if block supplied
|
2192
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse] parsed result object
|
2193
|
+
# @yieldparam err [StandardError] error object if request failed
|
2194
|
+
#
|
2195
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse]
|
2196
|
+
#
|
2197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2200
|
+
def match_project_location_agent_session_intent(session, google_cloud_dialogflow_cx_v3beta1_match_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2201
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:matchIntent', options)
|
2202
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest::Representation
|
2203
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_match_intent_request_object
|
2204
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse::Representation
|
2205
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse
|
2206
|
+
command.params['session'] = session unless session.nil?
|
2207
|
+
command.query['fields'] = fields unless fields.nil?
|
2208
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2209
|
+
execute_or_queue_command(command, &block)
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
# Creates a session entity type. If the specified session entity type already
|
2213
|
+
# exists, overrides the session entity type.
|
2214
|
+
# @param [String] parent
|
2215
|
+
# Required. The session to create a session entity type for. Format: `projects//
|
2216
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
2217
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
2218
|
+
# environment.
|
2219
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
2220
|
+
# @param [String] fields
|
2221
|
+
# Selector specifying which fields to include in a partial response.
|
2222
|
+
# @param [String] quota_user
|
2223
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2224
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2225
|
+
# @param [Google::Apis::RequestOptions] options
|
2226
|
+
# Request-specific options
|
2227
|
+
#
|
2228
|
+
# @yield [result, err] Result & error if block supplied
|
2229
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object
|
2230
|
+
# @yieldparam err [StandardError] error object if request failed
|
2231
|
+
#
|
2232
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType]
|
2233
|
+
#
|
2234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2237
|
+
def create_project_location_agent_session_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2238
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes', options)
|
2239
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
2240
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
2241
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
2242
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType
|
2243
|
+
command.params['parent'] = parent unless parent.nil?
|
2244
|
+
command.query['fields'] = fields unless fields.nil?
|
2245
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2246
|
+
execute_or_queue_command(command, &block)
|
2247
|
+
end
|
2248
|
+
|
2249
|
+
# Deletes the specified session entity type.
|
2250
|
+
# @param [String] name
|
2251
|
+
# Required. The name of the session entity type to delete. Format: `projects//
|
2252
|
+
# locations//agents//sessions//entityTypes/` or `projects//locations//agents//
|
2253
|
+
# environments//sessions//entityTypes/`. If `Environment ID` is not specified,
|
2254
|
+
# we assume default 'draft' environment.
|
2255
|
+
# @param [String] fields
|
2256
|
+
# Selector specifying which fields to include in a partial response.
|
2257
|
+
# @param [String] quota_user
|
2258
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2259
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2260
|
+
# @param [Google::Apis::RequestOptions] options
|
2261
|
+
# Request-specific options
|
2262
|
+
#
|
2263
|
+
# @yield [result, err] Result & error if block supplied
|
2264
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
2265
|
+
# @yieldparam err [StandardError] error object if request failed
|
2266
|
+
#
|
2267
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
2268
|
+
#
|
2269
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2270
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2271
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2272
|
+
def delete_project_location_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
2273
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
2274
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
2275
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
2276
|
+
command.params['name'] = name unless name.nil?
|
2277
|
+
command.query['fields'] = fields unless fields.nil?
|
2278
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2279
|
+
execute_or_queue_command(command, &block)
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
# Retrieves the specified session entity type.
|
2283
|
+
# @param [String] name
|
2284
|
+
# Required. The name of the session entity type. Format: `projects//locations//
|
2285
|
+
# agents//sessions//entityTypes/` or `projects//locations//agents//environments//
|
2286
|
+
# sessions//entityTypes/`. If `Environment ID` is not specified, we assume
|
2287
|
+
# default 'draft' environment.
|
2288
|
+
# @param [String] fields
|
2289
|
+
# Selector specifying which fields to include in a partial response.
|
2290
|
+
# @param [String] quota_user
|
2291
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2292
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2293
|
+
# @param [Google::Apis::RequestOptions] options
|
2294
|
+
# Request-specific options
|
2295
|
+
#
|
2296
|
+
# @yield [result, err] Result & error if block supplied
|
2297
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object
|
2298
|
+
# @yieldparam err [StandardError] error object if request failed
|
2299
|
+
#
|
2300
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType]
|
2301
|
+
#
|
2302
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2303
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2304
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2305
|
+
def get_project_location_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
2306
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
2307
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
2308
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType
|
2309
|
+
command.params['name'] = name unless name.nil?
|
2310
|
+
command.query['fields'] = fields unless fields.nil?
|
2311
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2312
|
+
execute_or_queue_command(command, &block)
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
# Returns the list of all session entity types in the specified session.
|
2316
|
+
# @param [String] parent
|
2317
|
+
# Required. The session to list all session entity types from. Format: `projects/
|
2318
|
+
# /locations//agents//sessions/` or `projects//locations//agents//environments//
|
2319
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
2320
|
+
# environment.
|
2321
|
+
# @param [Fixnum] page_size
|
2322
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
2323
|
+
# most 1000.
|
2324
|
+
# @param [String] page_token
|
2325
|
+
# The next_page_token value returned from a previous list request.
|
2326
|
+
# @param [String] fields
|
2327
|
+
# Selector specifying which fields to include in a partial response.
|
2328
|
+
# @param [String] quota_user
|
2329
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2330
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2331
|
+
# @param [Google::Apis::RequestOptions] options
|
2332
|
+
# Request-specific options
|
2333
|
+
#
|
2334
|
+
# @yield [result, err] Result & error if block supplied
|
2335
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse] parsed result object
|
2336
|
+
# @yieldparam err [StandardError] error object if request failed
|
2337
|
+
#
|
2338
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse]
|
2339
|
+
#
|
2340
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2341
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2342
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2343
|
+
def list_project_location_agent_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2344
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/entityTypes', options)
|
2345
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse::Representation
|
2346
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse
|
2347
|
+
command.params['parent'] = parent unless parent.nil?
|
2348
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2349
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2350
|
+
command.query['fields'] = fields unless fields.nil?
|
2351
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2352
|
+
execute_or_queue_command(command, &block)
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
# Updates the specified session entity type.
|
2356
|
+
# @param [String] name
|
2357
|
+
# Required. The unique identifier of the session entity type. Format: `projects//
|
2358
|
+
# locations//agents//sessions//entityTypes/` or `projects//locations//agents//
|
2359
|
+
# environments//sessions//entityTypes/`. If `Environment ID` is not specified,
|
2360
|
+
# we assume default 'draft' environment.
|
2361
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
2362
|
+
# @param [String] update_mask
|
2363
|
+
# The mask to control which fields get updated.
|
2364
|
+
# @param [String] fields
|
2365
|
+
# Selector specifying which fields to include in a partial response.
|
2366
|
+
# @param [String] quota_user
|
2367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2369
|
+
# @param [Google::Apis::RequestOptions] options
|
2370
|
+
# Request-specific options
|
2371
|
+
#
|
2372
|
+
# @yield [result, err] Result & error if block supplied
|
2373
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object
|
2374
|
+
# @yieldparam err [StandardError] error object if request failed
|
2375
|
+
#
|
2376
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType]
|
2377
|
+
#
|
2378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2381
|
+
def patch_project_location_agent_session_entity_type(name, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2382
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
2383
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
2384
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object
|
2385
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
|
2386
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType
|
2387
|
+
command.params['name'] = name unless name.nil?
|
2388
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2389
|
+
command.query['fields'] = fields unless fields.nil?
|
2390
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2391
|
+
execute_or_queue_command(command, &block)
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
# Creates a webhook in the specified agent.
|
2395
|
+
# @param [String] parent
|
2396
|
+
# Required. The agent to create a webhook for. Format: `projects//locations//
|
2397
|
+
# agents/`.
|
2398
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] google_cloud_dialogflow_cx_v3beta1_webhook_object
|
2399
|
+
# @param [String] fields
|
2400
|
+
# Selector specifying which fields to include in a partial response.
|
2401
|
+
# @param [String] quota_user
|
2402
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2403
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2404
|
+
# @param [Google::Apis::RequestOptions] options
|
2405
|
+
# Request-specific options
|
2406
|
+
#
|
2407
|
+
# @yield [result, err] Result & error if block supplied
|
2408
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] parsed result object
|
2409
|
+
# @yieldparam err [StandardError] error object if request failed
|
2410
|
+
#
|
2411
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook]
|
2412
|
+
#
|
2413
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2414
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2415
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2416
|
+
def create_project_location_agent_webhook(parent, google_cloud_dialogflow_cx_v3beta1_webhook_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2417
|
+
command = make_simple_command(:post, 'v3beta1/{+parent}/webhooks', options)
|
2418
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
|
2419
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_webhook_object
|
2420
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
|
2421
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook
|
2422
|
+
command.params['parent'] = parent unless parent.nil?
|
2423
|
+
command.query['fields'] = fields unless fields.nil?
|
2424
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2425
|
+
execute_or_queue_command(command, &block)
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
# Deletes the specified webhook.
|
2429
|
+
# @param [String] name
|
2430
|
+
# Required. The name of the webhook to delete. Format: `projects//locations//
|
2431
|
+
# agents//webhooks/`.
|
2432
|
+
# @param [Boolean] force
|
2433
|
+
# This field has no effect for webhook not being used. For webhooks that are
|
2434
|
+
# used by pages/flows/transition route groups: * If `force` is set to false, an
|
2435
|
+
# error will be returned with message indicating the referenced resources. * If `
|
2436
|
+
# force` is set to true, Dialogflow will remove the webhook, as well as any
|
2437
|
+
# references to the webhook (i.e. Webhook and tagin fulfillments that point to
|
2438
|
+
# this webhook will be removed).
|
2439
|
+
# @param [String] fields
|
2440
|
+
# Selector specifying which fields to include in a partial response.
|
2441
|
+
# @param [String] quota_user
|
2442
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2443
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2444
|
+
# @param [Google::Apis::RequestOptions] options
|
2445
|
+
# Request-specific options
|
2446
|
+
#
|
2447
|
+
# @yield [result, err] Result & error if block supplied
|
2448
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
2449
|
+
# @yieldparam err [StandardError] error object if request failed
|
2450
|
+
#
|
2451
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
2452
|
+
#
|
2453
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2454
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2455
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2456
|
+
def delete_project_location_agent_webhook(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2457
|
+
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
|
2458
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
2459
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
2460
|
+
command.params['name'] = name unless name.nil?
|
2461
|
+
command.query['force'] = force unless force.nil?
|
2462
|
+
command.query['fields'] = fields unless fields.nil?
|
2463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2464
|
+
execute_or_queue_command(command, &block)
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Retrieves the specified webhook.
|
2468
|
+
# @param [String] name
|
2469
|
+
# Required. The name of the webhook. Format: `projects//locations//agents//
|
2470
|
+
# webhooks/`.
|
2471
|
+
# @param [String] fields
|
2472
|
+
# Selector specifying which fields to include in a partial response.
|
2473
|
+
# @param [String] quota_user
|
2474
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2475
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2476
|
+
# @param [Google::Apis::RequestOptions] options
|
2477
|
+
# Request-specific options
|
2478
|
+
#
|
2479
|
+
# @yield [result, err] Result & error if block supplied
|
2480
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] parsed result object
|
2481
|
+
# @yieldparam err [StandardError] error object if request failed
|
2482
|
+
#
|
2483
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook]
|
2484
|
+
#
|
2485
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2486
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2487
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2488
|
+
def get_project_location_agent_webhook(name, fields: nil, quota_user: nil, options: nil, &block)
|
2489
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
2490
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
|
2491
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook
|
2492
|
+
command.params['name'] = name unless name.nil?
|
2493
|
+
command.query['fields'] = fields unless fields.nil?
|
2494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2495
|
+
execute_or_queue_command(command, &block)
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
# Returns the list of all webhooks in the specified agent.
|
2499
|
+
# @param [String] parent
|
2500
|
+
# Required. The agent to list all webhooks for. Format: `projects//locations//
|
2501
|
+
# agents/`.
|
2502
|
+
# @param [Fixnum] page_size
|
2503
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
2504
|
+
# most 1000.
|
2505
|
+
# @param [String] page_token
|
2506
|
+
# The next_page_token value returned from a previous list request.
|
2507
|
+
# @param [String] fields
|
2508
|
+
# Selector specifying which fields to include in a partial response.
|
2509
|
+
# @param [String] quota_user
|
2510
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2511
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2512
|
+
# @param [Google::Apis::RequestOptions] options
|
2513
|
+
# Request-specific options
|
2514
|
+
#
|
2515
|
+
# @yield [result, err] Result & error if block supplied
|
2516
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse] parsed result object
|
2517
|
+
# @yieldparam err [StandardError] error object if request failed
|
2518
|
+
#
|
2519
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse]
|
2520
|
+
#
|
2521
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2522
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2523
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2524
|
+
def list_project_location_agent_webhooks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2525
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/webhooks', options)
|
2526
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse::Representation
|
2527
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse
|
2528
|
+
command.params['parent'] = parent unless parent.nil?
|
2529
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2530
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2531
|
+
command.query['fields'] = fields unless fields.nil?
|
2532
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2533
|
+
execute_or_queue_command(command, &block)
|
2534
|
+
end
|
2535
|
+
|
2536
|
+
# Updates the specified webhook.
|
2537
|
+
# @param [String] name
|
2538
|
+
# The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook
|
2539
|
+
# method. Webhooks.CreateWebhook populates the name automatically. Format: `
|
2540
|
+
# projects//locations//agents//webhooks/`.
|
2541
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] google_cloud_dialogflow_cx_v3beta1_webhook_object
|
2542
|
+
# @param [String] update_mask
|
2543
|
+
# The mask to control which fields get updated. If the mask is not present, all
|
2544
|
+
# fields will be updated.
|
2545
|
+
# @param [String] fields
|
2546
|
+
# Selector specifying which fields to include in a partial response.
|
2547
|
+
# @param [String] quota_user
|
2548
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2549
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2550
|
+
# @param [Google::Apis::RequestOptions] options
|
2551
|
+
# Request-specific options
|
2552
|
+
#
|
2553
|
+
# @yield [result, err] Result & error if block supplied
|
2554
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] parsed result object
|
2555
|
+
# @yieldparam err [StandardError] error object if request failed
|
2556
|
+
#
|
2557
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook]
|
2558
|
+
#
|
2559
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2560
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2561
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2562
|
+
def patch_project_location_agent_webhook(name, google_cloud_dialogflow_cx_v3beta1_webhook_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2563
|
+
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
|
2564
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
|
2565
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_webhook_object
|
2566
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation
|
2567
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook
|
2568
|
+
command.params['name'] = name unless name.nil?
|
2569
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2570
|
+
command.query['fields'] = fields unless fields.nil?
|
2571
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2572
|
+
execute_or_queue_command(command, &block)
|
2573
|
+
end
|
2574
|
+
|
2575
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2576
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2577
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
2578
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
2579
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
2580
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
2581
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
2582
|
+
# corresponding to `Code.CANCELLED`.
|
2583
|
+
# @param [String] name
|
2584
|
+
# The name of the operation resource to be cancelled.
|
2585
|
+
# @param [String] fields
|
2586
|
+
# Selector specifying which fields to include in a partial response.
|
2587
|
+
# @param [String] quota_user
|
2588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2590
|
+
# @param [Google::Apis::RequestOptions] options
|
2591
|
+
# Request-specific options
|
2592
|
+
#
|
2593
|
+
# @yield [result, err] Result & error if block supplied
|
2594
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
2595
|
+
# @yieldparam err [StandardError] error object if request failed
|
2596
|
+
#
|
2597
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
2598
|
+
#
|
2599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2602
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2603
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:cancel', options)
|
2604
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
2605
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
2606
|
+
command.params['name'] = name unless name.nil?
|
2607
|
+
command.query['fields'] = fields unless fields.nil?
|
2608
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2609
|
+
execute_or_queue_command(command, &block)
|
2610
|
+
end
|
2611
|
+
|
2612
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
2613
|
+
# to poll the operation result at intervals as recommended by the API service.
|
2614
|
+
# @param [String] name
|
2615
|
+
# The name of the operation resource.
|
2616
|
+
# @param [String] fields
|
2617
|
+
# Selector specifying which fields to include in a partial response.
|
2618
|
+
# @param [String] quota_user
|
2619
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2620
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2621
|
+
# @param [Google::Apis::RequestOptions] options
|
2622
|
+
# Request-specific options
|
2623
|
+
#
|
2624
|
+
# @yield [result, err] Result & error if block supplied
|
2625
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
2626
|
+
# @yieldparam err [StandardError] error object if request failed
|
2627
|
+
#
|
2628
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
2629
|
+
#
|
2630
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2631
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2632
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2633
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2634
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
2635
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
2636
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
2637
|
+
command.params['name'] = name unless name.nil?
|
2638
|
+
command.query['fields'] = fields unless fields.nil?
|
2639
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2640
|
+
execute_or_queue_command(command, &block)
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
# Lists operations that match the specified filter in the request. If the server
|
2644
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
2645
|
+
# binding allows API services to override the binding to use different resource
|
2646
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
2647
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2648
|
+
# service configuration. For backwards compatibility, the default name includes
|
2649
|
+
# the operations collection id, however overriding users must ensure the name
|
2650
|
+
# binding is the parent resource, without the operations collection id.
|
2651
|
+
# @param [String] name
|
2652
|
+
# The name of the operation's parent resource.
|
2653
|
+
# @param [String] filter
|
2654
|
+
# The standard list filter.
|
2655
|
+
# @param [Fixnum] page_size
|
2656
|
+
# The standard list page size.
|
2657
|
+
# @param [String] page_token
|
2658
|
+
# The standard list page token.
|
2659
|
+
# @param [String] fields
|
2660
|
+
# Selector specifying which fields to include in a partial response.
|
2661
|
+
# @param [String] quota_user
|
2662
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2663
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2664
|
+
# @param [Google::Apis::RequestOptions] options
|
2665
|
+
# Request-specific options
|
2666
|
+
#
|
2667
|
+
# @yield [result, err] Result & error if block supplied
|
2668
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
2669
|
+
# @yieldparam err [StandardError] error object if request failed
|
2670
|
+
#
|
2671
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse]
|
2672
|
+
#
|
2673
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2674
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2675
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2676
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2677
|
+
command = make_simple_command(:get, 'v3beta1/{+name}/operations', options)
|
2678
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse::Representation
|
2679
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse
|
2680
|
+
command.params['name'] = name unless name.nil?
|
2681
|
+
command.query['filter'] = filter unless filter.nil?
|
2682
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2683
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2684
|
+
command.query['fields'] = fields unless fields.nil?
|
2685
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2686
|
+
execute_or_queue_command(command, &block)
|
2687
|
+
end
|
2688
|
+
|
2689
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2690
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2691
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
2692
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
2693
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
2694
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
2695
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
2696
|
+
# corresponding to `Code.CANCELLED`.
|
2697
|
+
# @param [String] name
|
2698
|
+
# The name of the operation resource to be cancelled.
|
2699
|
+
# @param [String] fields
|
2700
|
+
# Selector specifying which fields to include in a partial response.
|
2701
|
+
# @param [String] quota_user
|
2702
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2703
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2704
|
+
# @param [Google::Apis::RequestOptions] options
|
2705
|
+
# Request-specific options
|
2706
|
+
#
|
2707
|
+
# @yield [result, err] Result & error if block supplied
|
2708
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
|
2709
|
+
# @yieldparam err [StandardError] error object if request failed
|
2710
|
+
#
|
2711
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
|
2712
|
+
#
|
2713
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2714
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2715
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2716
|
+
def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2717
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:cancel', options)
|
2718
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
|
2719
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
|
2720
|
+
command.params['name'] = name unless name.nil?
|
2721
|
+
command.query['fields'] = fields unless fields.nil?
|
2722
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2723
|
+
execute_or_queue_command(command, &block)
|
2724
|
+
end
|
2725
|
+
|
2726
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
2727
|
+
# to poll the operation result at intervals as recommended by the API service.
|
2728
|
+
# @param [String] name
|
2729
|
+
# The name of the operation resource.
|
2730
|
+
# @param [String] fields
|
2731
|
+
# Selector specifying which fields to include in a partial response.
|
2732
|
+
# @param [String] quota_user
|
2733
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2734
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2735
|
+
# @param [Google::Apis::RequestOptions] options
|
2736
|
+
# Request-specific options
|
2737
|
+
#
|
2738
|
+
# @yield [result, err] Result & error if block supplied
|
2739
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
2740
|
+
# @yieldparam err [StandardError] error object if request failed
|
2741
|
+
#
|
2742
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
2743
|
+
#
|
2744
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2745
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2746
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2747
|
+
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2748
|
+
command = make_simple_command(:get, 'v3beta1/{+name}', options)
|
2749
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
2750
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
2751
|
+
command.params['name'] = name unless name.nil?
|
2752
|
+
command.query['fields'] = fields unless fields.nil?
|
2753
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2754
|
+
execute_or_queue_command(command, &block)
|
2755
|
+
end
|
2756
|
+
|
2757
|
+
# Lists operations that match the specified filter in the request. If the server
|
2758
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
2759
|
+
# binding allows API services to override the binding to use different resource
|
2760
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
2761
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
2762
|
+
# service configuration. For backwards compatibility, the default name includes
|
2763
|
+
# the operations collection id, however overriding users must ensure the name
|
2764
|
+
# binding is the parent resource, without the operations collection id.
|
2765
|
+
# @param [String] name
|
2766
|
+
# The name of the operation's parent resource.
|
2767
|
+
# @param [String] filter
|
2768
|
+
# The standard list filter.
|
2769
|
+
# @param [Fixnum] page_size
|
2770
|
+
# The standard list page size.
|
2771
|
+
# @param [String] page_token
|
2772
|
+
# The standard list page token.
|
2773
|
+
# @param [String] fields
|
2774
|
+
# Selector specifying which fields to include in a partial response.
|
2775
|
+
# @param [String] quota_user
|
2776
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2777
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2778
|
+
# @param [Google::Apis::RequestOptions] options
|
2779
|
+
# Request-specific options
|
2780
|
+
#
|
2781
|
+
# @yield [result, err] Result & error if block supplied
|
2782
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
2783
|
+
# @yieldparam err [StandardError] error object if request failed
|
2784
|
+
#
|
2785
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse]
|
2786
|
+
#
|
2787
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2788
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2789
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2790
|
+
def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2791
|
+
command = make_simple_command(:get, 'v3beta1/{+name}/operations', options)
|
2792
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse::Representation
|
2793
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse
|
2794
|
+
command.params['name'] = name unless name.nil?
|
2795
|
+
command.query['filter'] = filter unless filter.nil?
|
2796
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2797
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2798
|
+
command.query['fields'] = fields unless fields.nil?
|
2799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2800
|
+
execute_or_queue_command(command, &block)
|
2801
|
+
end
|
2802
|
+
|
2803
|
+
protected
|
2804
|
+
|
2805
|
+
def apply_command_defaults(command)
|
2806
|
+
command.query['key'] = key unless key.nil?
|
2807
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2808
|
+
end
|
2809
|
+
end
|
2810
|
+
end
|
2811
|
+
end
|
2812
|
+
end
|