google-api-client 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +401 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +244 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +105 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +26 -97
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -22
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +8 -8
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +195 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +89 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +160 -9
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +72 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +131 -14
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +86 -0
- data/generated/google/apis/books_v1/representations.rb +37 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +14 -3
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +178 -123
- data/generated/google/apis/cloudasset_v1/representations.rb +20 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1/classes.rb +35 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +4 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -560
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +238 -148
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +109 -63
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -52
- data/generated/google/apis/cloudsearch_v1/service.rb +12 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +4 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +4 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +37 -6
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1510 -353
- data/generated/google/apis/compute_alpha/representations.rb +319 -32
- data/generated/google/apis/compute_alpha/service.rb +4471 -2784
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +917 -260
- data/generated/google/apis/compute_beta/representations.rb +247 -16
- data/generated/google/apis/compute_beta/service.rb +3370 -2229
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +960 -152
- data/generated/google/apis/compute_v1/representations.rb +326 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +268 -90
- data/generated/google/apis/container_v1/representations.rb +70 -0
- data/generated/google/apis/container_v1/service.rb +118 -118
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -142
- data/generated/google/apis/container_v1beta1/representations.rb +25 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1078 -141
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1068 -164
- data/generated/google/apis/content_v2_1/representations.rb +102 -0
- data/generated/google/apis/content_v2_1/service.rb +146 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +30 -14
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +2 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +206 -41
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +260 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +155 -4
- data/generated/google/apis/dataproc_v1/representations.rb +46 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +205 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -22
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +160 -360
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -95
- data/generated/google/apis/dialogflow_v2/service.rb +478 -303
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +162 -363
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -95
- data/generated/google/apis/dialogflow_v2beta1/service.rb +172 -924
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +382 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +167 -0
- data/generated/google/apis/displayvideo_v1/service.rb +176 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +515 -2
- data/generated/google/apis/dlp_v2/representations.rb +212 -0
- data/generated/google/apis/dlp_v2/service.rb +119 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +22 -0
- data/generated/google/apis/docs_v1/representations.rb +3 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +4 -161
- data/generated/google/apis/file_v1/representations.rb +0 -34
- data/generated/google/apis/file_v1/service.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +4 -161
- data/generated/google/apis/file_v1beta1/representations.rb +0 -34
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +11 -8
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +10 -5
- data/generated/google/apis/fitness_v1/service.rb +14 -10
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/{toolresults_v1.rb → healthcare_v1.rb} +11 -8
- data/generated/google/apis/healthcare_v1beta1/classes.rb +576 -26
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +108 -38
- data/generated/google/apis/logging_v2/representations.rb +33 -2
- data/generated/google/apis/logging_v2/service.rb +689 -10
- data/generated/google/apis/logging_v2.rb +6 -7
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +35 -0
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1575 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1021 -56
- data/generated/google/apis/ml_v1/representations.rb +481 -0
- data/generated/google/apis/ml_v1/service.rb +491 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +311 -35
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +79 -35
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/{mirror_v1.rb → osconfig_v1.rb} +11 -13
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +25 -17
- data/generated/google/apis/pubsub_v1/service.rb +23 -22
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +212 -1
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +138 -13
- data/generated/google/apis/run_v1/representations.rb +61 -0
- data/generated/google/apis/run_v1/service.rb +346 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +431 -280
- data/generated/google/apis/run_v1alpha1/representations.rb +156 -105
- data/generated/google/apis/run_v1alpha1/service.rb +874 -448
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/classes.rb +478 -761
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +678 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +5 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +3 -3
- data/generated/google/apis/securitycenter_v1/classes.rb +293 -117
- data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
- data/generated/google/apis/securitycenter_v1/service.rb +205 -9
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +292 -107
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +54 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +39 -39
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +237 -54
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +279 -80
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +23 -9
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +105 -13
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +18 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → servicedirectory_v1beta1.rb} +11 -10
- data/generated/google/apis/servicemanagement_v1/classes.rb +135 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +254 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +91 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +205 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +74 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +180 -13
- data/generated/google/apis/serviceusage_v1/representations.rb +62 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +407 -13
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +150 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +501 -12
- data/generated/google/apis/spanner_v1/representations.rb +193 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +279 -87
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -11
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +36 -1
- data/generated/google/apis/testing_v1/representations.rb +16 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +6 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +757 -17
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +757 -17
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +757 -17
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +757 -17
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +757 -17
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +6 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +79 -33
- data/generated/google/apis/youtube_v3/representations.rb +33 -4
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +60 -27
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/toolresults_v1/classes.rb +0 -696
- data/generated/google/apis/toolresults_v1/representations.rb +0 -438
- data/generated/google/apis/toolresults_v1/service.rb +0 -59
|
@@ -48,13 +48,10 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
#
|
|
51
|
+
# Deletes the specified agent.
|
|
52
52
|
# @param [String] parent
|
|
53
|
-
# Required. The project
|
|
53
|
+
# Required. The project that the agent to delete is associated with.
|
|
54
54
|
# Format: `projects/<Project ID>`.
|
|
55
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
|
56
|
-
# @param [String] update_mask
|
|
57
|
-
# Optional. The mask to control which fields get updated.
|
|
58
55
|
# @param [String] fields
|
|
59
56
|
# Selector specifying which fields to include in a partial response.
|
|
60
57
|
# @param [String] quota_user
|
|
@@ -64,30 +61,27 @@ module Google
|
|
|
64
61
|
# Request-specific options
|
|
65
62
|
#
|
|
66
63
|
# @yield [result, err] Result & error if block supplied
|
|
67
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
|
64
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
68
65
|
# @yieldparam err [StandardError] error object if request failed
|
|
69
66
|
#
|
|
70
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
|
67
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
71
68
|
#
|
|
72
69
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
-
def
|
|
76
|
-
command = make_simple_command(:
|
|
77
|
-
command.
|
|
78
|
-
command.
|
|
79
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
80
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
|
72
|
+
def delete_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
73
|
+
command = make_simple_command(:delete, 'v2beta1/{+parent}/agent', options)
|
|
74
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
|
75
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
|
81
76
|
command.params['parent'] = parent unless parent.nil?
|
|
82
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
83
77
|
command.query['fields'] = fields unless fields.nil?
|
|
84
78
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
85
79
|
execute_or_queue_command(command, &block)
|
|
86
80
|
end
|
|
87
81
|
|
|
88
|
-
#
|
|
82
|
+
# Retrieves the specified agent.
|
|
89
83
|
# @param [String] parent
|
|
90
|
-
# Required. The project that the agent to
|
|
84
|
+
# Required. The project that the agent to fetch is associated with.
|
|
91
85
|
# Format: `projects/<Project ID>`.
|
|
92
86
|
# @param [String] fields
|
|
93
87
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -98,28 +92,31 @@ module Google
|
|
|
98
92
|
# Request-specific options
|
|
99
93
|
#
|
|
100
94
|
# @yield [result, err] Result & error if block supplied
|
|
101
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
|
95
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
|
|
102
96
|
# @yieldparam err [StandardError] error object if request failed
|
|
103
97
|
#
|
|
104
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
|
98
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
|
|
105
99
|
#
|
|
106
100
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
107
101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
108
102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
109
|
-
def
|
|
110
|
-
command = make_simple_command(:
|
|
111
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
|
112
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
|
103
|
+
def get_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
104
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
|
|
105
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
106
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
|
113
107
|
command.params['parent'] = parent unless parent.nil?
|
|
114
108
|
command.query['fields'] = fields unless fields.nil?
|
|
115
109
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
116
110
|
execute_or_queue_command(command, &block)
|
|
117
111
|
end
|
|
118
112
|
|
|
119
|
-
#
|
|
113
|
+
# Creates/updates the specified agent.
|
|
120
114
|
# @param [String] parent
|
|
121
|
-
# Required. The project
|
|
115
|
+
# Required. The project of this agent.
|
|
122
116
|
# Format: `projects/<Project ID>`.
|
|
117
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
|
118
|
+
# @param [String] update_mask
|
|
119
|
+
# Optional. The mask to control which fields get updated.
|
|
123
120
|
# @param [String] fields
|
|
124
121
|
# Selector specifying which fields to include in a partial response.
|
|
125
122
|
# @param [String] quota_user
|
|
@@ -137,11 +134,14 @@ module Google
|
|
|
137
134
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
138
135
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
139
136
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
140
|
-
def
|
|
141
|
-
command = make_simple_command(:
|
|
137
|
+
def set_project_agent(parent, google_cloud_dialogflow_v2beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
138
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/agent', options)
|
|
139
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
140
|
+
command.request_object = google_cloud_dialogflow_v2beta1_agent_object
|
|
142
141
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
143
142
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
|
144
143
|
command.params['parent'] = parent unless parent.nil?
|
|
144
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
145
145
|
command.query['fields'] = fields unless fields.nil?
|
|
146
146
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
147
147
|
execute_or_queue_command(command, &block)
|
|
@@ -520,12 +520,12 @@ module Google
|
|
|
520
520
|
# Format: `projects/<Project ID>/agent`.
|
|
521
521
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
|
522
522
|
# @param [String] language_code
|
|
523
|
-
# Optional. The language
|
|
524
|
-
# specified, the agent's default language is used.
|
|
525
|
-
#
|
|
526
|
-
#
|
|
527
|
-
#
|
|
528
|
-
#
|
|
523
|
+
# Optional. The language used to access language-specific data.
|
|
524
|
+
# If not specified, the agent's default language is used.
|
|
525
|
+
# For more information, see
|
|
526
|
+
# [Multilingual intent and entity
|
|
527
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
528
|
+
# entity).
|
|
529
529
|
# @param [String] fields
|
|
530
530
|
# Selector specifying which fields to include in a partial response.
|
|
531
531
|
# @param [String] quota_user
|
|
@@ -592,12 +592,12 @@ module Google
|
|
|
592
592
|
# Required. The name of the entity type.
|
|
593
593
|
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
|
594
594
|
# @param [String] language_code
|
|
595
|
-
# Optional. The language to
|
|
596
|
-
# the agent's default language is used.
|
|
597
|
-
#
|
|
598
|
-
#
|
|
599
|
-
#
|
|
600
|
-
#
|
|
595
|
+
# Optional. The language used to access language-specific data.
|
|
596
|
+
# If not specified, the agent's default language is used.
|
|
597
|
+
# For more information, see
|
|
598
|
+
# [Multilingual intent and entity
|
|
599
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
600
|
+
# entity).
|
|
601
601
|
# @param [String] fields
|
|
602
602
|
# Selector specifying which fields to include in a partial response.
|
|
603
603
|
# @param [String] quota_user
|
|
@@ -631,12 +631,12 @@ module Google
|
|
|
631
631
|
# Required. The agent to list all entity types from.
|
|
632
632
|
# Format: `projects/<Project ID>/agent`.
|
|
633
633
|
# @param [String] language_code
|
|
634
|
-
# Optional. The language to
|
|
635
|
-
# the agent's default language is used.
|
|
636
|
-
#
|
|
637
|
-
#
|
|
638
|
-
#
|
|
639
|
-
#
|
|
634
|
+
# Optional. The language used to access language-specific data.
|
|
635
|
+
# If not specified, the agent's default language is used.
|
|
636
|
+
# For more information, see
|
|
637
|
+
# [Multilingual intent and entity
|
|
638
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
639
|
+
# entity).
|
|
640
640
|
# @param [Fixnum] page_size
|
|
641
641
|
# Optional. The maximum number of items to return in a single page. By
|
|
642
642
|
# default 100 and at most 1000.
|
|
@@ -680,12 +680,12 @@ module Google
|
|
|
680
680
|
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
|
681
681
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
|
682
682
|
# @param [String] language_code
|
|
683
|
-
# Optional. The language
|
|
684
|
-
# specified, the agent's default language is used.
|
|
685
|
-
#
|
|
686
|
-
#
|
|
687
|
-
#
|
|
688
|
-
#
|
|
683
|
+
# Optional. The language used to access language-specific data.
|
|
684
|
+
# If not specified, the agent's default language is used.
|
|
685
|
+
# For more information, see
|
|
686
|
+
# [Multilingual intent and entity
|
|
687
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
688
|
+
# entity).
|
|
689
689
|
# @param [String] update_mask
|
|
690
690
|
# Optional. The mask to control which fields get updated.
|
|
691
691
|
# @param [String] fields
|
|
@@ -826,229 +826,6 @@ module Google
|
|
|
826
826
|
execute_or_queue_command(command, &block)
|
|
827
827
|
end
|
|
828
828
|
|
|
829
|
-
# Creates an agent environment.
|
|
830
|
-
# @param [String] parent
|
|
831
|
-
# Required. The agent to create a environment for.
|
|
832
|
-
# Format: `projects/<Project ID>/agent`.
|
|
833
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] google_cloud_dialogflow_v2beta1_environment_object
|
|
834
|
-
# @param [String] environment_id
|
|
835
|
-
# Required. The unique id of the new environment.
|
|
836
|
-
# @param [String] fields
|
|
837
|
-
# Selector specifying which fields to include in a partial response.
|
|
838
|
-
# @param [String] quota_user
|
|
839
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
840
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
841
|
-
# @param [Google::Apis::RequestOptions] options
|
|
842
|
-
# Request-specific options
|
|
843
|
-
#
|
|
844
|
-
# @yield [result, err] Result & error if block supplied
|
|
845
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] parsed result object
|
|
846
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
847
|
-
#
|
|
848
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment]
|
|
849
|
-
#
|
|
850
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
851
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
852
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
853
|
-
def create_project_agent_environment(parent, google_cloud_dialogflow_v2beta1_environment_object = nil, environment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
854
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/environments', options)
|
|
855
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
856
|
-
command.request_object = google_cloud_dialogflow_v2beta1_environment_object
|
|
857
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
858
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
|
|
859
|
-
command.params['parent'] = parent unless parent.nil?
|
|
860
|
-
command.query['environmentId'] = environment_id unless environment_id.nil?
|
|
861
|
-
command.query['fields'] = fields unless fields.nil?
|
|
862
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
863
|
-
execute_or_queue_command(command, &block)
|
|
864
|
-
end
|
|
865
|
-
|
|
866
|
-
# Deletes the specified agent environment.
|
|
867
|
-
# @param [String] name
|
|
868
|
-
# Required. The name of the environment to delete.
|
|
869
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
870
|
-
# @param [String] fields
|
|
871
|
-
# Selector specifying which fields to include in a partial response.
|
|
872
|
-
# @param [String] quota_user
|
|
873
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
874
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
875
|
-
# @param [Google::Apis::RequestOptions] options
|
|
876
|
-
# Request-specific options
|
|
877
|
-
#
|
|
878
|
-
# @yield [result, err] Result & error if block supplied
|
|
879
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
880
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
881
|
-
#
|
|
882
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
883
|
-
#
|
|
884
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
885
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
886
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
887
|
-
def delete_project_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
888
|
-
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
|
889
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
|
890
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
|
891
|
-
command.params['name'] = name unless name.nil?
|
|
892
|
-
command.query['fields'] = fields unless fields.nil?
|
|
893
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
894
|
-
execute_or_queue_command(command, &block)
|
|
895
|
-
end
|
|
896
|
-
|
|
897
|
-
# Retrieves the specified agent environment.
|
|
898
|
-
# @param [String] name
|
|
899
|
-
# Required. The name of the environment.
|
|
900
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
901
|
-
# @param [String] fields
|
|
902
|
-
# Selector specifying which fields to include in a partial response.
|
|
903
|
-
# @param [String] quota_user
|
|
904
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
905
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
906
|
-
# @param [Google::Apis::RequestOptions] options
|
|
907
|
-
# Request-specific options
|
|
908
|
-
#
|
|
909
|
-
# @yield [result, err] Result & error if block supplied
|
|
910
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] parsed result object
|
|
911
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
912
|
-
#
|
|
913
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment]
|
|
914
|
-
#
|
|
915
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
916
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
917
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
918
|
-
def get_project_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
919
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
|
920
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
921
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
|
|
922
|
-
command.params['name'] = name unless name.nil?
|
|
923
|
-
command.query['fields'] = fields unless fields.nil?
|
|
924
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
925
|
-
execute_or_queue_command(command, &block)
|
|
926
|
-
end
|
|
927
|
-
|
|
928
|
-
# Gets the history of the specified environment.
|
|
929
|
-
# @param [String] parent
|
|
930
|
-
# Required. The name of the environment to retrieve history for.
|
|
931
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
932
|
-
# @param [Fixnum] page_size
|
|
933
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
934
|
-
# 100 and
|
|
935
|
-
# at most 1000.
|
|
936
|
-
# @param [String] page_token
|
|
937
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
938
|
-
# @param [String] fields
|
|
939
|
-
# Selector specifying which fields to include in a partial response.
|
|
940
|
-
# @param [String] quota_user
|
|
941
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
942
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
943
|
-
# @param [Google::Apis::RequestOptions] options
|
|
944
|
-
# Request-specific options
|
|
945
|
-
#
|
|
946
|
-
# @yield [result, err] Result & error if block supplied
|
|
947
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory] parsed result object
|
|
948
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
949
|
-
#
|
|
950
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory]
|
|
951
|
-
#
|
|
952
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
953
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
954
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
955
|
-
def get_project_agent_environment_history(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
956
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/history', options)
|
|
957
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory::Representation
|
|
958
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory
|
|
959
|
-
command.params['parent'] = parent unless parent.nil?
|
|
960
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
961
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
962
|
-
command.query['fields'] = fields unless fields.nil?
|
|
963
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
964
|
-
execute_or_queue_command(command, &block)
|
|
965
|
-
end
|
|
966
|
-
|
|
967
|
-
# Returns the list of all environments of the specified agent.
|
|
968
|
-
# @param [String] parent
|
|
969
|
-
# Required. The agent to list all environments from.
|
|
970
|
-
# Format: `projects/<Project ID>/agent`.
|
|
971
|
-
# @param [Fixnum] page_size
|
|
972
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
973
|
-
# 100 and
|
|
974
|
-
# at most 1000.
|
|
975
|
-
# @param [String] page_token
|
|
976
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
977
|
-
# @param [String] fields
|
|
978
|
-
# Selector specifying which fields to include in a partial response.
|
|
979
|
-
# @param [String] quota_user
|
|
980
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
981
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
982
|
-
# @param [Google::Apis::RequestOptions] options
|
|
983
|
-
# Request-specific options
|
|
984
|
-
#
|
|
985
|
-
# @yield [result, err] Result & error if block supplied
|
|
986
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse] parsed result object
|
|
987
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
988
|
-
#
|
|
989
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse]
|
|
990
|
-
#
|
|
991
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
992
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
993
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
994
|
-
def list_project_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
995
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/environments', options)
|
|
996
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse::Representation
|
|
997
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse
|
|
998
|
-
command.params['parent'] = parent unless parent.nil?
|
|
999
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1000
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1001
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1002
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1003
|
-
execute_or_queue_command(command, &block)
|
|
1004
|
-
end
|
|
1005
|
-
|
|
1006
|
-
# Updates the specified agent environment.
|
|
1007
|
-
# This method allows you to deploy new agent versions into the environment.
|
|
1008
|
-
# When a environment is pointed to a new agent version by setting
|
|
1009
|
-
# `environment.agent_version`, the environment is temporarily set to the
|
|
1010
|
-
# `LOADING` state. During that time, the environment keeps on serving the
|
|
1011
|
-
# previous version of the agent. After the new agent version is done
|
|
1012
|
-
# loading, the environment is set back to the `RUNNING` state.
|
|
1013
|
-
# You can use "-" as Environment ID in environment name to update version
|
|
1014
|
-
# in "draft" environment.
|
|
1015
|
-
# @param [String] name
|
|
1016
|
-
# Output only. The unique identifier of this agent environment.
|
|
1017
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
1018
|
-
# You can use "-" as Environment ID to refer to 'draft' environment.
|
|
1019
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] google_cloud_dialogflow_v2beta1_environment_object
|
|
1020
|
-
# @param [String] update_mask
|
|
1021
|
-
# Required. The mask to control which fields get updated.
|
|
1022
|
-
# @param [String] fields
|
|
1023
|
-
# Selector specifying which fields to include in a partial response.
|
|
1024
|
-
# @param [String] quota_user
|
|
1025
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1026
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1027
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1028
|
-
# Request-specific options
|
|
1029
|
-
#
|
|
1030
|
-
# @yield [result, err] Result & error if block supplied
|
|
1031
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] parsed result object
|
|
1032
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1033
|
-
#
|
|
1034
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment]
|
|
1035
|
-
#
|
|
1036
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1037
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1038
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1039
|
-
def patch_project_agent_environment(name, google_cloud_dialogflow_v2beta1_environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1040
|
-
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
|
1041
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
1042
|
-
command.request_object = google_cloud_dialogflow_v2beta1_environment_object
|
|
1043
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
1044
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
|
|
1045
|
-
command.params['name'] = name unless name.nil?
|
|
1046
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1047
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1048
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1049
|
-
execute_or_queue_command(command, &block)
|
|
1050
|
-
end
|
|
1051
|
-
|
|
1052
829
|
# Deletes all active contexts in the specified session.
|
|
1053
830
|
# @param [String] parent
|
|
1054
831
|
# Required. The name of the session to delete all contexts from. Format:
|
|
@@ -1615,12 +1392,12 @@ module Google
|
|
|
1615
1392
|
# @param [String] intent_view
|
|
1616
1393
|
# Optional. The resource view to apply to the returned intent.
|
|
1617
1394
|
# @param [String] language_code
|
|
1618
|
-
# Optional. The language
|
|
1619
|
-
#
|
|
1620
|
-
#
|
|
1621
|
-
#
|
|
1622
|
-
#
|
|
1623
|
-
#
|
|
1395
|
+
# Optional. The language used to access language-specific data.
|
|
1396
|
+
# If not specified, the agent's default language is used.
|
|
1397
|
+
# For more information, see
|
|
1398
|
+
# [Multilingual intent and entity
|
|
1399
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
1400
|
+
# entity).
|
|
1624
1401
|
# @param [String] fields
|
|
1625
1402
|
# Selector specifying which fields to include in a partial response.
|
|
1626
1403
|
# @param [String] quota_user
|
|
@@ -1691,12 +1468,12 @@ module Google
|
|
|
1691
1468
|
# @param [String] intent_view
|
|
1692
1469
|
# Optional. The resource view to apply to the returned intent.
|
|
1693
1470
|
# @param [String] language_code
|
|
1694
|
-
# Optional. The language to
|
|
1695
|
-
#
|
|
1696
|
-
#
|
|
1697
|
-
#
|
|
1698
|
-
#
|
|
1699
|
-
#
|
|
1471
|
+
# Optional. The language used to access language-specific data.
|
|
1472
|
+
# If not specified, the agent's default language is used.
|
|
1473
|
+
# For more information, see
|
|
1474
|
+
# [Multilingual intent and entity
|
|
1475
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
1476
|
+
# entity).
|
|
1700
1477
|
# @param [String] fields
|
|
1701
1478
|
# Selector specifying which fields to include in a partial response.
|
|
1702
1479
|
# @param [String] quota_user
|
|
@@ -1733,12 +1510,12 @@ module Google
|
|
|
1733
1510
|
# @param [String] intent_view
|
|
1734
1511
|
# Optional. The resource view to apply to the returned intent.
|
|
1735
1512
|
# @param [String] language_code
|
|
1736
|
-
# Optional. The language to
|
|
1737
|
-
#
|
|
1738
|
-
#
|
|
1739
|
-
#
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1513
|
+
# Optional. The language used to access language-specific data.
|
|
1514
|
+
# If not specified, the agent's default language is used.
|
|
1515
|
+
# For more information, see
|
|
1516
|
+
# [Multilingual intent and entity
|
|
1517
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
1518
|
+
# entity).
|
|
1742
1519
|
# @param [Fixnum] page_size
|
|
1743
1520
|
# Optional. The maximum number of items to return in a single page. By
|
|
1744
1521
|
# default 100 and at most 1000.
|
|
@@ -1785,12 +1562,12 @@ module Google
|
|
|
1785
1562
|
# @param [String] intent_view
|
|
1786
1563
|
# Optional. The resource view to apply to the returned intent.
|
|
1787
1564
|
# @param [String] language_code
|
|
1788
|
-
# Optional. The language
|
|
1789
|
-
#
|
|
1790
|
-
#
|
|
1791
|
-
#
|
|
1792
|
-
#
|
|
1793
|
-
#
|
|
1565
|
+
# Optional. The language used to access language-specific data.
|
|
1566
|
+
# If not specified, the agent's default language is used.
|
|
1567
|
+
# For more information, see
|
|
1568
|
+
# [Multilingual intent and entity
|
|
1569
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
1570
|
+
# entity).
|
|
1794
1571
|
# @param [String] update_mask
|
|
1795
1572
|
# Optional. The mask to control which fields get updated.
|
|
1796
1573
|
# @param [String] fields
|
|
@@ -2016,8 +1793,6 @@ module Google
|
|
|
2016
1793
|
# Creates a new document.
|
|
2017
1794
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
2018
1795
|
# only use `projects.knowledgeBases.documents`.
|
|
2019
|
-
# Operation <response: Document,
|
|
2020
|
-
# metadata: KnowledgeOperationMetadata>
|
|
2021
1796
|
# @param [String] parent
|
|
2022
1797
|
# Required. The knoweldge base to create a document for.
|
|
2023
1798
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
|
@@ -2054,8 +1829,6 @@ module Google
|
|
|
2054
1829
|
# Deletes the specified document.
|
|
2055
1830
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
2056
1831
|
# only use `projects.knowledgeBases.documents`.
|
|
2057
|
-
# Operation <response: google.protobuf.Empty,
|
|
2058
|
-
# metadata: KnowledgeOperationMetadata>
|
|
2059
1832
|
# @param [String] name
|
|
2060
1833
|
# The name of the document to delete.
|
|
2061
1834
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
|
@@ -2164,8 +1937,6 @@ module Google
|
|
|
2164
1937
|
# Updates the specified document.
|
|
2165
1938
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
2166
1939
|
# only use `projects.knowledgeBases.documents`.
|
|
2167
|
-
# Operation <response: Document,
|
|
2168
|
-
# metadata: KnowledgeOperationMetadata>
|
|
2169
1940
|
# @param [String] name
|
|
2170
1941
|
# The document resource name.
|
|
2171
1942
|
# The name must be empty when creating a document.
|
|
@@ -2212,8 +1983,6 @@ module Google
|
|
|
2212
1983
|
# may be side effects because of internal implementation changes.
|
|
2213
1984
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
2214
1985
|
# only use `projects.knowledgeBases.documents`.
|
|
2215
|
-
# Operation <response: Document,
|
|
2216
|
-
# metadata: KnowledgeOperationMetadata>
|
|
2217
1986
|
# @param [String] name
|
|
2218
1987
|
# The name of the document to reload.
|
|
2219
1988
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
|
@@ -2736,12 +2505,13 @@ module Google
|
|
|
2736
2505
|
execute_or_queue_command(command, &block)
|
|
2737
2506
|
end
|
|
2738
2507
|
|
|
2739
|
-
# Creates
|
|
2740
|
-
# The
|
|
2508
|
+
# Creates a knowledge base.
|
|
2509
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
|
2510
|
+
# only use `projects.knowledgeBases`.
|
|
2741
2511
|
# @param [String] parent
|
|
2742
|
-
# Required. The
|
|
2743
|
-
# Format: `projects/<Project ID
|
|
2744
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
|
2512
|
+
# Required. The project to create a knowledge base for.
|
|
2513
|
+
# Format: `projects/<Project ID>`.
|
|
2514
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
|
2745
2515
|
# @param [String] fields
|
|
2746
2516
|
# Selector specifying which fields to include in a partial response.
|
|
2747
2517
|
# @param [String] quota_user
|
|
@@ -2751,30 +2521,35 @@ module Google
|
|
|
2751
2521
|
# Request-specific options
|
|
2752
2522
|
#
|
|
2753
2523
|
# @yield [result, err] Result & error if block supplied
|
|
2754
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
|
2524
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
|
|
2755
2525
|
# @yieldparam err [StandardError] error object if request failed
|
|
2756
2526
|
#
|
|
2757
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
|
2527
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
|
|
2758
2528
|
#
|
|
2759
2529
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2760
2530
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2761
2531
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2762
|
-
def
|
|
2763
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/
|
|
2764
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
|
2765
|
-
command.request_object =
|
|
2766
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
|
2767
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
|
2532
|
+
def create_project_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2533
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
|
|
2534
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
|
2535
|
+
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
|
2536
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
|
2537
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
|
2768
2538
|
command.params['parent'] = parent unless parent.nil?
|
|
2769
2539
|
command.query['fields'] = fields unless fields.nil?
|
|
2770
2540
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2771
2541
|
execute_or_queue_command(command, &block)
|
|
2772
2542
|
end
|
|
2773
2543
|
|
|
2774
|
-
#
|
|
2544
|
+
# Deletes the specified knowledge base.
|
|
2545
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
|
2546
|
+
# only use `projects.knowledgeBases`.
|
|
2775
2547
|
# @param [String] name
|
|
2776
|
-
# Required. The name of the
|
|
2777
|
-
# Format: `projects/<Project ID>/
|
|
2548
|
+
# Required. The name of the knowledge base to delete.
|
|
2549
|
+
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
|
2550
|
+
# @param [Boolean] force
|
|
2551
|
+
# Optional. Force deletes the knowledge base. When set to true, any documents
|
|
2552
|
+
# in the knowledge base are also deleted.
|
|
2778
2553
|
# @param [String] fields
|
|
2779
2554
|
# Selector specifying which fields to include in a partial response.
|
|
2780
2555
|
# @param [String] quota_user
|
|
@@ -2784,161 +2559,10 @@ module Google
|
|
|
2784
2559
|
# Request-specific options
|
|
2785
2560
|
#
|
|
2786
2561
|
# @yield [result, err] Result & error if block supplied
|
|
2787
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
|
2562
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
2788
2563
|
# @yieldparam err [StandardError] error object if request failed
|
|
2789
2564
|
#
|
|
2790
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
|
2791
|
-
#
|
|
2792
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2793
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2794
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2795
|
-
def get_project_agent_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2796
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
|
2797
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
2798
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
|
|
2799
|
-
command.params['name'] = name unless name.nil?
|
|
2800
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2801
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2802
|
-
execute_or_queue_command(command, &block)
|
|
2803
|
-
end
|
|
2804
|
-
|
|
2805
|
-
# Returns the list of all versions of the specified agent.
|
|
2806
|
-
# @param [String] parent
|
|
2807
|
-
# Required. The agent to list all versions from.
|
|
2808
|
-
# Format: `projects/<Project ID>/agent`.
|
|
2809
|
-
# @param [Fixnum] page_size
|
|
2810
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
2811
|
-
# 100 and
|
|
2812
|
-
# at most 1000.
|
|
2813
|
-
# @param [String] page_token
|
|
2814
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
2815
|
-
# @param [String] fields
|
|
2816
|
-
# Selector specifying which fields to include in a partial response.
|
|
2817
|
-
# @param [String] quota_user
|
|
2818
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2819
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2820
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2821
|
-
# Request-specific options
|
|
2822
|
-
#
|
|
2823
|
-
# @yield [result, err] Result & error if block supplied
|
|
2824
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse] parsed result object
|
|
2825
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2826
|
-
#
|
|
2827
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse]
|
|
2828
|
-
#
|
|
2829
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2830
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2831
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2832
|
-
def list_project_agent_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2833
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/versions', options)
|
|
2834
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse::Representation
|
|
2835
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse
|
|
2836
|
-
command.params['parent'] = parent unless parent.nil?
|
|
2837
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2838
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2839
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2840
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2841
|
-
execute_or_queue_command(command, &block)
|
|
2842
|
-
end
|
|
2843
|
-
|
|
2844
|
-
# Updates the specified agent version.
|
|
2845
|
-
# Note that this method does not allow you to update the state of the agent
|
|
2846
|
-
# the given version points to. It allows you to update only mutable
|
|
2847
|
-
# properties of the version resource.
|
|
2848
|
-
# @param [String] name
|
|
2849
|
-
# Output only. The unique identifier of this agent version.
|
|
2850
|
-
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
|
|
2851
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] google_cloud_dialogflow_v2beta1_version_object
|
|
2852
|
-
# @param [String] update_mask
|
|
2853
|
-
# Required. The mask to control which fields get updated.
|
|
2854
|
-
# @param [String] fields
|
|
2855
|
-
# Selector specifying which fields to include in a partial response.
|
|
2856
|
-
# @param [String] quota_user
|
|
2857
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2858
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2859
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2860
|
-
# Request-specific options
|
|
2861
|
-
#
|
|
2862
|
-
# @yield [result, err] Result & error if block supplied
|
|
2863
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] parsed result object
|
|
2864
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2865
|
-
#
|
|
2866
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version]
|
|
2867
|
-
#
|
|
2868
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2869
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2870
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2871
|
-
def patch_project_agent_version(name, google_cloud_dialogflow_v2beta1_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2872
|
-
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
|
2873
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
2874
|
-
command.request_object = google_cloud_dialogflow_v2beta1_version_object
|
|
2875
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
2876
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
|
|
2877
|
-
command.params['name'] = name unless name.nil?
|
|
2878
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2879
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2880
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2881
|
-
execute_or_queue_command(command, &block)
|
|
2882
|
-
end
|
|
2883
|
-
|
|
2884
|
-
# Creates a knowledge base.
|
|
2885
|
-
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
|
2886
|
-
# only use `projects.knowledgeBases`.
|
|
2887
|
-
# @param [String] parent
|
|
2888
|
-
# Required. The project to create a knowledge base for.
|
|
2889
|
-
# Format: `projects/<Project ID>`.
|
|
2890
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] google_cloud_dialogflow_v2beta1_knowledge_base_object
|
|
2891
|
-
# @param [String] fields
|
|
2892
|
-
# Selector specifying which fields to include in a partial response.
|
|
2893
|
-
# @param [String] quota_user
|
|
2894
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2895
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2896
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2897
|
-
# Request-specific options
|
|
2898
|
-
#
|
|
2899
|
-
# @yield [result, err] Result & error if block supplied
|
|
2900
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase] parsed result object
|
|
2901
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2902
|
-
#
|
|
2903
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase]
|
|
2904
|
-
#
|
|
2905
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2906
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2907
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2908
|
-
def create_project_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2909
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
|
|
2910
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
|
2911
|
-
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
|
2912
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
|
2913
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
|
2914
|
-
command.params['parent'] = parent unless parent.nil?
|
|
2915
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2916
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2917
|
-
execute_or_queue_command(command, &block)
|
|
2918
|
-
end
|
|
2919
|
-
|
|
2920
|
-
# Deletes the specified knowledge base.
|
|
2921
|
-
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
|
2922
|
-
# only use `projects.knowledgeBases`.
|
|
2923
|
-
# @param [String] name
|
|
2924
|
-
# Required. The name of the knowledge base to delete.
|
|
2925
|
-
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
|
2926
|
-
# @param [Boolean] force
|
|
2927
|
-
# Optional. Force deletes the knowledge base. When set to true, any documents
|
|
2928
|
-
# in the knowledge base are also deleted.
|
|
2929
|
-
# @param [String] fields
|
|
2930
|
-
# Selector specifying which fields to include in a partial response.
|
|
2931
|
-
# @param [String] quota_user
|
|
2932
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2933
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2934
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2935
|
-
# Request-specific options
|
|
2936
|
-
#
|
|
2937
|
-
# @yield [result, err] Result & error if block supplied
|
|
2938
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
2939
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2940
|
-
#
|
|
2941
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
2565
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
2942
2566
|
#
|
|
2943
2567
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2944
2568
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
@@ -3072,8 +2696,6 @@ module Google
|
|
|
3072
2696
|
# Creates a new document.
|
|
3073
2697
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
3074
2698
|
# only use `projects.knowledgeBases.documents`.
|
|
3075
|
-
# Operation <response: Document,
|
|
3076
|
-
# metadata: KnowledgeOperationMetadata>
|
|
3077
2699
|
# @param [String] parent
|
|
3078
2700
|
# Required. The knoweldge base to create a document for.
|
|
3079
2701
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
|
@@ -3110,8 +2732,6 @@ module Google
|
|
|
3110
2732
|
# Deletes the specified document.
|
|
3111
2733
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
3112
2734
|
# only use `projects.knowledgeBases.documents`.
|
|
3113
|
-
# Operation <response: google.protobuf.Empty,
|
|
3114
|
-
# metadata: KnowledgeOperationMetadata>
|
|
3115
2735
|
# @param [String] name
|
|
3116
2736
|
# The name of the document to delete.
|
|
3117
2737
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
|
@@ -3220,8 +2840,6 @@ module Google
|
|
|
3220
2840
|
# Updates the specified document.
|
|
3221
2841
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
3222
2842
|
# only use `projects.knowledgeBases.documents`.
|
|
3223
|
-
# Operation <response: Document,
|
|
3224
|
-
# metadata: KnowledgeOperationMetadata>
|
|
3225
2843
|
# @param [String] name
|
|
3226
2844
|
# The document resource name.
|
|
3227
2845
|
# The name must be empty when creating a document.
|
|
@@ -3268,8 +2886,6 @@ module Google
|
|
|
3268
2886
|
# may be side effects because of internal implementation changes.
|
|
3269
2887
|
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
|
3270
2888
|
# only use `projects.knowledgeBases.documents`.
|
|
3271
|
-
# Operation <response: Document,
|
|
3272
|
-
# metadata: KnowledgeOperationMetadata>
|
|
3273
2889
|
# @param [String] name
|
|
3274
2890
|
# The name of the document to reload.
|
|
3275
2891
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
|
@@ -3304,13 +2920,10 @@ module Google
|
|
|
3304
2920
|
execute_or_queue_command(command, &block)
|
|
3305
2921
|
end
|
|
3306
2922
|
|
|
3307
|
-
#
|
|
2923
|
+
# Deletes the specified agent.
|
|
3308
2924
|
# @param [String] parent
|
|
3309
|
-
# Required. The project
|
|
2925
|
+
# Required. The project that the agent to delete is associated with.
|
|
3310
2926
|
# Format: `projects/<Project ID>`.
|
|
3311
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
|
3312
|
-
# @param [String] update_mask
|
|
3313
|
-
# Optional. The mask to control which fields get updated.
|
|
3314
2927
|
# @param [String] fields
|
|
3315
2928
|
# Selector specifying which fields to include in a partial response.
|
|
3316
2929
|
# @param [String] quota_user
|
|
@@ -3320,30 +2933,27 @@ module Google
|
|
|
3320
2933
|
# Request-specific options
|
|
3321
2934
|
#
|
|
3322
2935
|
# @yield [result, err] Result & error if block supplied
|
|
3323
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
|
2936
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
3324
2937
|
# @yieldparam err [StandardError] error object if request failed
|
|
3325
2938
|
#
|
|
3326
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
|
2939
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
3327
2940
|
#
|
|
3328
2941
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3329
2942
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3330
2943
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3331
|
-
def
|
|
3332
|
-
command = make_simple_command(:
|
|
3333
|
-
command.
|
|
3334
|
-
command.
|
|
3335
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
3336
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
|
2944
|
+
def delete_project_location_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
2945
|
+
command = make_simple_command(:delete, 'v2beta1/{+parent}/agent', options)
|
|
2946
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
|
2947
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
|
3337
2948
|
command.params['parent'] = parent unless parent.nil?
|
|
3338
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3339
2949
|
command.query['fields'] = fields unless fields.nil?
|
|
3340
2950
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3341
2951
|
execute_or_queue_command(command, &block)
|
|
3342
2952
|
end
|
|
3343
2953
|
|
|
3344
|
-
#
|
|
2954
|
+
# Retrieves the specified agent.
|
|
3345
2955
|
# @param [String] parent
|
|
3346
|
-
# Required. The project that the agent to
|
|
2956
|
+
# Required. The project that the agent to fetch is associated with.
|
|
3347
2957
|
# Format: `projects/<Project ID>`.
|
|
3348
2958
|
# @param [String] fields
|
|
3349
2959
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3354,28 +2964,31 @@ module Google
|
|
|
3354
2964
|
# Request-specific options
|
|
3355
2965
|
#
|
|
3356
2966
|
# @yield [result, err] Result & error if block supplied
|
|
3357
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
|
2967
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
|
|
3358
2968
|
# @yieldparam err [StandardError] error object if request failed
|
|
3359
2969
|
#
|
|
3360
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
|
2970
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
|
|
3361
2971
|
#
|
|
3362
2972
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3363
2973
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3364
2974
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3365
|
-
def
|
|
3366
|
-
command = make_simple_command(:
|
|
3367
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
|
3368
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
|
2975
|
+
def get_project_location_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
2976
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
|
|
2977
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
2978
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
|
3369
2979
|
command.params['parent'] = parent unless parent.nil?
|
|
3370
2980
|
command.query['fields'] = fields unless fields.nil?
|
|
3371
2981
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3372
2982
|
execute_or_queue_command(command, &block)
|
|
3373
2983
|
end
|
|
3374
2984
|
|
|
3375
|
-
#
|
|
2985
|
+
# Creates/updates the specified agent.
|
|
3376
2986
|
# @param [String] parent
|
|
3377
|
-
# Required. The project
|
|
2987
|
+
# Required. The project of this agent.
|
|
3378
2988
|
# Format: `projects/<Project ID>`.
|
|
2989
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
|
|
2990
|
+
# @param [String] update_mask
|
|
2991
|
+
# Optional. The mask to control which fields get updated.
|
|
3379
2992
|
# @param [String] fields
|
|
3380
2993
|
# Selector specifying which fields to include in a partial response.
|
|
3381
2994
|
# @param [String] quota_user
|
|
@@ -3393,11 +3006,14 @@ module Google
|
|
|
3393
3006
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3394
3007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3395
3008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3396
|
-
def
|
|
3397
|
-
command = make_simple_command(:
|
|
3009
|
+
def set_project_location_agent(parent, google_cloud_dialogflow_v2beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3010
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/agent', options)
|
|
3011
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
3012
|
+
command.request_object = google_cloud_dialogflow_v2beta1_agent_object
|
|
3398
3013
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
|
3399
3014
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
|
3400
3015
|
command.params['parent'] = parent unless parent.nil?
|
|
3016
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3401
3017
|
command.query['fields'] = fields unless fields.nil?
|
|
3402
3018
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3403
3019
|
execute_or_queue_command(command, &block)
|
|
@@ -3693,12 +3309,12 @@ module Google
|
|
|
3693
3309
|
# Format: `projects/<Project ID>/agent`.
|
|
3694
3310
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
|
3695
3311
|
# @param [String] language_code
|
|
3696
|
-
# Optional. The language
|
|
3697
|
-
# specified, the agent's default language is used.
|
|
3698
|
-
#
|
|
3699
|
-
#
|
|
3700
|
-
#
|
|
3701
|
-
#
|
|
3312
|
+
# Optional. The language used to access language-specific data.
|
|
3313
|
+
# If not specified, the agent's default language is used.
|
|
3314
|
+
# For more information, see
|
|
3315
|
+
# [Multilingual intent and entity
|
|
3316
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
3317
|
+
# entity).
|
|
3702
3318
|
# @param [String] fields
|
|
3703
3319
|
# Selector specifying which fields to include in a partial response.
|
|
3704
3320
|
# @param [String] quota_user
|
|
@@ -3765,12 +3381,12 @@ module Google
|
|
|
3765
3381
|
# Required. The name of the entity type.
|
|
3766
3382
|
# Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
|
|
3767
3383
|
# @param [String] language_code
|
|
3768
|
-
# Optional. The language to
|
|
3769
|
-
# the agent's default language is used.
|
|
3770
|
-
#
|
|
3771
|
-
#
|
|
3772
|
-
#
|
|
3773
|
-
#
|
|
3384
|
+
# Optional. The language used to access language-specific data.
|
|
3385
|
+
# If not specified, the agent's default language is used.
|
|
3386
|
+
# For more information, see
|
|
3387
|
+
# [Multilingual intent and entity
|
|
3388
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
3389
|
+
# entity).
|
|
3774
3390
|
# @param [String] fields
|
|
3775
3391
|
# Selector specifying which fields to include in a partial response.
|
|
3776
3392
|
# @param [String] quota_user
|
|
@@ -3804,12 +3420,12 @@ module Google
|
|
|
3804
3420
|
# Required. The agent to list all entity types from.
|
|
3805
3421
|
# Format: `projects/<Project ID>/agent`.
|
|
3806
3422
|
# @param [String] language_code
|
|
3807
|
-
# Optional. The language to
|
|
3808
|
-
# the agent's default language is used.
|
|
3809
|
-
#
|
|
3810
|
-
#
|
|
3811
|
-
#
|
|
3812
|
-
#
|
|
3423
|
+
# Optional. The language used to access language-specific data.
|
|
3424
|
+
# If not specified, the agent's default language is used.
|
|
3425
|
+
# For more information, see
|
|
3426
|
+
# [Multilingual intent and entity
|
|
3427
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
3428
|
+
# entity).
|
|
3813
3429
|
# @param [Fixnum] page_size
|
|
3814
3430
|
# Optional. The maximum number of items to return in a single page. By
|
|
3815
3431
|
# default 100 and at most 1000.
|
|
@@ -3853,12 +3469,12 @@ module Google
|
|
|
3853
3469
|
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
|
3854
3470
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
|
3855
3471
|
# @param [String] language_code
|
|
3856
|
-
# Optional. The language
|
|
3857
|
-
# specified, the agent's default language is used.
|
|
3858
|
-
#
|
|
3859
|
-
#
|
|
3860
|
-
#
|
|
3861
|
-
#
|
|
3472
|
+
# Optional. The language used to access language-specific data.
|
|
3473
|
+
# If not specified, the agent's default language is used.
|
|
3474
|
+
# For more information, see
|
|
3475
|
+
# [Multilingual intent and entity
|
|
3476
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
3477
|
+
# entity).
|
|
3862
3478
|
# @param [String] update_mask
|
|
3863
3479
|
# Optional. The mask to control which fields get updated.
|
|
3864
3480
|
# @param [String] fields
|
|
@@ -3999,229 +3615,6 @@ module Google
|
|
|
3999
3615
|
execute_or_queue_command(command, &block)
|
|
4000
3616
|
end
|
|
4001
3617
|
|
|
4002
|
-
# Creates an agent environment.
|
|
4003
|
-
# @param [String] parent
|
|
4004
|
-
# Required. The agent to create a environment for.
|
|
4005
|
-
# Format: `projects/<Project ID>/agent`.
|
|
4006
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] google_cloud_dialogflow_v2beta1_environment_object
|
|
4007
|
-
# @param [String] environment_id
|
|
4008
|
-
# Required. The unique id of the new environment.
|
|
4009
|
-
# @param [String] fields
|
|
4010
|
-
# Selector specifying which fields to include in a partial response.
|
|
4011
|
-
# @param [String] quota_user
|
|
4012
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4013
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4014
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4015
|
-
# Request-specific options
|
|
4016
|
-
#
|
|
4017
|
-
# @yield [result, err] Result & error if block supplied
|
|
4018
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] parsed result object
|
|
4019
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4020
|
-
#
|
|
4021
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment]
|
|
4022
|
-
#
|
|
4023
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4024
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4025
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4026
|
-
def create_project_location_agent_environment(parent, google_cloud_dialogflow_v2beta1_environment_object = nil, environment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4027
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/environments', options)
|
|
4028
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
4029
|
-
command.request_object = google_cloud_dialogflow_v2beta1_environment_object
|
|
4030
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
4031
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
|
|
4032
|
-
command.params['parent'] = parent unless parent.nil?
|
|
4033
|
-
command.query['environmentId'] = environment_id unless environment_id.nil?
|
|
4034
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4035
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4036
|
-
execute_or_queue_command(command, &block)
|
|
4037
|
-
end
|
|
4038
|
-
|
|
4039
|
-
# Deletes the specified agent environment.
|
|
4040
|
-
# @param [String] name
|
|
4041
|
-
# Required. The name of the environment to delete.
|
|
4042
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
4043
|
-
# @param [String] fields
|
|
4044
|
-
# Selector specifying which fields to include in a partial response.
|
|
4045
|
-
# @param [String] quota_user
|
|
4046
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4047
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4048
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4049
|
-
# Request-specific options
|
|
4050
|
-
#
|
|
4051
|
-
# @yield [result, err] Result & error if block supplied
|
|
4052
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
4053
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4054
|
-
#
|
|
4055
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
4056
|
-
#
|
|
4057
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4058
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4059
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4060
|
-
def delete_project_location_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4061
|
-
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
|
4062
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
|
4063
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
|
4064
|
-
command.params['name'] = name unless name.nil?
|
|
4065
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4066
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4067
|
-
execute_or_queue_command(command, &block)
|
|
4068
|
-
end
|
|
4069
|
-
|
|
4070
|
-
# Retrieves the specified agent environment.
|
|
4071
|
-
# @param [String] name
|
|
4072
|
-
# Required. The name of the environment.
|
|
4073
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
4074
|
-
# @param [String] fields
|
|
4075
|
-
# Selector specifying which fields to include in a partial response.
|
|
4076
|
-
# @param [String] quota_user
|
|
4077
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4078
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4079
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4080
|
-
# Request-specific options
|
|
4081
|
-
#
|
|
4082
|
-
# @yield [result, err] Result & error if block supplied
|
|
4083
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] parsed result object
|
|
4084
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4085
|
-
#
|
|
4086
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment]
|
|
4087
|
-
#
|
|
4088
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4089
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4090
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4091
|
-
def get_project_location_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4092
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
|
4093
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
4094
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
|
|
4095
|
-
command.params['name'] = name unless name.nil?
|
|
4096
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4097
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4098
|
-
execute_or_queue_command(command, &block)
|
|
4099
|
-
end
|
|
4100
|
-
|
|
4101
|
-
# Gets the history of the specified environment.
|
|
4102
|
-
# @param [String] parent
|
|
4103
|
-
# Required. The name of the environment to retrieve history for.
|
|
4104
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
4105
|
-
# @param [Fixnum] page_size
|
|
4106
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
4107
|
-
# 100 and
|
|
4108
|
-
# at most 1000.
|
|
4109
|
-
# @param [String] page_token
|
|
4110
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
4111
|
-
# @param [String] fields
|
|
4112
|
-
# Selector specifying which fields to include in a partial response.
|
|
4113
|
-
# @param [String] quota_user
|
|
4114
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4115
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4116
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4117
|
-
# Request-specific options
|
|
4118
|
-
#
|
|
4119
|
-
# @yield [result, err] Result & error if block supplied
|
|
4120
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory] parsed result object
|
|
4121
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4122
|
-
#
|
|
4123
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory]
|
|
4124
|
-
#
|
|
4125
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4126
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4127
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4128
|
-
def get_project_location_agent_environment_history(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4129
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/history', options)
|
|
4130
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory::Representation
|
|
4131
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EnvironmentHistory
|
|
4132
|
-
command.params['parent'] = parent unless parent.nil?
|
|
4133
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4134
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4135
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4136
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4137
|
-
execute_or_queue_command(command, &block)
|
|
4138
|
-
end
|
|
4139
|
-
|
|
4140
|
-
# Returns the list of all environments of the specified agent.
|
|
4141
|
-
# @param [String] parent
|
|
4142
|
-
# Required. The agent to list all environments from.
|
|
4143
|
-
# Format: `projects/<Project ID>/agent`.
|
|
4144
|
-
# @param [Fixnum] page_size
|
|
4145
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
4146
|
-
# 100 and
|
|
4147
|
-
# at most 1000.
|
|
4148
|
-
# @param [String] page_token
|
|
4149
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
4150
|
-
# @param [String] fields
|
|
4151
|
-
# Selector specifying which fields to include in a partial response.
|
|
4152
|
-
# @param [String] quota_user
|
|
4153
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4154
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4155
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4156
|
-
# Request-specific options
|
|
4157
|
-
#
|
|
4158
|
-
# @yield [result, err] Result & error if block supplied
|
|
4159
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse] parsed result object
|
|
4160
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4161
|
-
#
|
|
4162
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse]
|
|
4163
|
-
#
|
|
4164
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4165
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4166
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4167
|
-
def list_project_location_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4168
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/environments', options)
|
|
4169
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse::Representation
|
|
4170
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEnvironmentsResponse
|
|
4171
|
-
command.params['parent'] = parent unless parent.nil?
|
|
4172
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4173
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4174
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4175
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4176
|
-
execute_or_queue_command(command, &block)
|
|
4177
|
-
end
|
|
4178
|
-
|
|
4179
|
-
# Updates the specified agent environment.
|
|
4180
|
-
# This method allows you to deploy new agent versions into the environment.
|
|
4181
|
-
# When a environment is pointed to a new agent version by setting
|
|
4182
|
-
# `environment.agent_version`, the environment is temporarily set to the
|
|
4183
|
-
# `LOADING` state. During that time, the environment keeps on serving the
|
|
4184
|
-
# previous version of the agent. After the new agent version is done
|
|
4185
|
-
# loading, the environment is set back to the `RUNNING` state.
|
|
4186
|
-
# You can use "-" as Environment ID in environment name to update version
|
|
4187
|
-
# in "draft" environment.
|
|
4188
|
-
# @param [String] name
|
|
4189
|
-
# Output only. The unique identifier of this agent environment.
|
|
4190
|
-
# Format: `projects/<Project ID>/agent/environments/<Environment ID>`.
|
|
4191
|
-
# You can use "-" as Environment ID to refer to 'draft' environment.
|
|
4192
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] google_cloud_dialogflow_v2beta1_environment_object
|
|
4193
|
-
# @param [String] update_mask
|
|
4194
|
-
# Required. The mask to control which fields get updated.
|
|
4195
|
-
# @param [String] fields
|
|
4196
|
-
# Selector specifying which fields to include in a partial response.
|
|
4197
|
-
# @param [String] quota_user
|
|
4198
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
4199
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4200
|
-
# @param [Google::Apis::RequestOptions] options
|
|
4201
|
-
# Request-specific options
|
|
4202
|
-
#
|
|
4203
|
-
# @yield [result, err] Result & error if block supplied
|
|
4204
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment] parsed result object
|
|
4205
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
4206
|
-
#
|
|
4207
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment]
|
|
4208
|
-
#
|
|
4209
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4210
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4211
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4212
|
-
def patch_project_location_agent_environment(name, google_cloud_dialogflow_v2beta1_environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4213
|
-
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
|
4214
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
4215
|
-
command.request_object = google_cloud_dialogflow_v2beta1_environment_object
|
|
4216
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment::Representation
|
|
4217
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
|
|
4218
|
-
command.params['name'] = name unless name.nil?
|
|
4219
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4220
|
-
command.query['fields'] = fields unless fields.nil?
|
|
4221
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4222
|
-
execute_or_queue_command(command, &block)
|
|
4223
|
-
end
|
|
4224
|
-
|
|
4225
3618
|
# Deletes all active contexts in the specified session.
|
|
4226
3619
|
# @param [String] parent
|
|
4227
3620
|
# Required. The name of the session to delete all contexts from. Format:
|
|
@@ -4788,12 +4181,12 @@ module Google
|
|
|
4788
4181
|
# @param [String] intent_view
|
|
4789
4182
|
# Optional. The resource view to apply to the returned intent.
|
|
4790
4183
|
# @param [String] language_code
|
|
4791
|
-
# Optional. The language
|
|
4792
|
-
#
|
|
4793
|
-
#
|
|
4794
|
-
#
|
|
4795
|
-
#
|
|
4796
|
-
#
|
|
4184
|
+
# Optional. The language used to access language-specific data.
|
|
4185
|
+
# If not specified, the agent's default language is used.
|
|
4186
|
+
# For more information, see
|
|
4187
|
+
# [Multilingual intent and entity
|
|
4188
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
4189
|
+
# entity).
|
|
4797
4190
|
# @param [String] fields
|
|
4798
4191
|
# Selector specifying which fields to include in a partial response.
|
|
4799
4192
|
# @param [String] quota_user
|
|
@@ -4864,12 +4257,12 @@ module Google
|
|
|
4864
4257
|
# @param [String] intent_view
|
|
4865
4258
|
# Optional. The resource view to apply to the returned intent.
|
|
4866
4259
|
# @param [String] language_code
|
|
4867
|
-
# Optional. The language to
|
|
4868
|
-
#
|
|
4869
|
-
#
|
|
4870
|
-
#
|
|
4871
|
-
#
|
|
4872
|
-
#
|
|
4260
|
+
# Optional. The language used to access language-specific data.
|
|
4261
|
+
# If not specified, the agent's default language is used.
|
|
4262
|
+
# For more information, see
|
|
4263
|
+
# [Multilingual intent and entity
|
|
4264
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
4265
|
+
# entity).
|
|
4873
4266
|
# @param [String] fields
|
|
4874
4267
|
# Selector specifying which fields to include in a partial response.
|
|
4875
4268
|
# @param [String] quota_user
|
|
@@ -4906,12 +4299,12 @@ module Google
|
|
|
4906
4299
|
# @param [String] intent_view
|
|
4907
4300
|
# Optional. The resource view to apply to the returned intent.
|
|
4908
4301
|
# @param [String] language_code
|
|
4909
|
-
# Optional. The language to
|
|
4910
|
-
#
|
|
4911
|
-
#
|
|
4912
|
-
#
|
|
4913
|
-
#
|
|
4914
|
-
#
|
|
4302
|
+
# Optional. The language used to access language-specific data.
|
|
4303
|
+
# If not specified, the agent's default language is used.
|
|
4304
|
+
# For more information, see
|
|
4305
|
+
# [Multilingual intent and entity
|
|
4306
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
4307
|
+
# entity).
|
|
4915
4308
|
# @param [Fixnum] page_size
|
|
4916
4309
|
# Optional. The maximum number of items to return in a single page. By
|
|
4917
4310
|
# default 100 and at most 1000.
|
|
@@ -4958,12 +4351,12 @@ module Google
|
|
|
4958
4351
|
# @param [String] intent_view
|
|
4959
4352
|
# Optional. The resource view to apply to the returned intent.
|
|
4960
4353
|
# @param [String] language_code
|
|
4961
|
-
# Optional. The language
|
|
4962
|
-
#
|
|
4963
|
-
#
|
|
4964
|
-
#
|
|
4965
|
-
#
|
|
4966
|
-
#
|
|
4354
|
+
# Optional. The language used to access language-specific data.
|
|
4355
|
+
# If not specified, the agent's default language is used.
|
|
4356
|
+
# For more information, see
|
|
4357
|
+
# [Multilingual intent and entity
|
|
4358
|
+
# data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-
|
|
4359
|
+
# entity).
|
|
4967
4360
|
# @param [String] update_mask
|
|
4968
4361
|
# Optional. The mask to control which fields get updated.
|
|
4969
4362
|
# @param [String] fields
|
|
@@ -5486,151 +4879,6 @@ module Google
|
|
|
5486
4879
|
execute_or_queue_command(command, &block)
|
|
5487
4880
|
end
|
|
5488
4881
|
|
|
5489
|
-
# Creates an agent version.
|
|
5490
|
-
# The new version points to the agent instance in the "default" environment.
|
|
5491
|
-
# @param [String] parent
|
|
5492
|
-
# Required. The agent to create a version for.
|
|
5493
|
-
# Format: `projects/<Project ID>/agent`.
|
|
5494
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] google_cloud_dialogflow_v2beta1_version_object
|
|
5495
|
-
# @param [String] fields
|
|
5496
|
-
# Selector specifying which fields to include in a partial response.
|
|
5497
|
-
# @param [String] quota_user
|
|
5498
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
5499
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5500
|
-
# @param [Google::Apis::RequestOptions] options
|
|
5501
|
-
# Request-specific options
|
|
5502
|
-
#
|
|
5503
|
-
# @yield [result, err] Result & error if block supplied
|
|
5504
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] parsed result object
|
|
5505
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
5506
|
-
#
|
|
5507
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version]
|
|
5508
|
-
#
|
|
5509
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5510
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5511
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5512
|
-
def create_project_location_agent_version(parent, google_cloud_dialogflow_v2beta1_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5513
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/versions', options)
|
|
5514
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
5515
|
-
command.request_object = google_cloud_dialogflow_v2beta1_version_object
|
|
5516
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
5517
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
|
|
5518
|
-
command.params['parent'] = parent unless parent.nil?
|
|
5519
|
-
command.query['fields'] = fields unless fields.nil?
|
|
5520
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5521
|
-
execute_or_queue_command(command, &block)
|
|
5522
|
-
end
|
|
5523
|
-
|
|
5524
|
-
# Retrieves the specified agent version.
|
|
5525
|
-
# @param [String] name
|
|
5526
|
-
# Required. The name of the version.
|
|
5527
|
-
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
|
|
5528
|
-
# @param [String] fields
|
|
5529
|
-
# Selector specifying which fields to include in a partial response.
|
|
5530
|
-
# @param [String] quota_user
|
|
5531
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
5532
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5533
|
-
# @param [Google::Apis::RequestOptions] options
|
|
5534
|
-
# Request-specific options
|
|
5535
|
-
#
|
|
5536
|
-
# @yield [result, err] Result & error if block supplied
|
|
5537
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] parsed result object
|
|
5538
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
5539
|
-
#
|
|
5540
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version]
|
|
5541
|
-
#
|
|
5542
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5543
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5544
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5545
|
-
def get_project_location_agent_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
5546
|
-
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
|
5547
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
5548
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
|
|
5549
|
-
command.params['name'] = name unless name.nil?
|
|
5550
|
-
command.query['fields'] = fields unless fields.nil?
|
|
5551
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5552
|
-
execute_or_queue_command(command, &block)
|
|
5553
|
-
end
|
|
5554
|
-
|
|
5555
|
-
# Returns the list of all versions of the specified agent.
|
|
5556
|
-
# @param [String] parent
|
|
5557
|
-
# Required. The agent to list all versions from.
|
|
5558
|
-
# Format: `projects/<Project ID>/agent`.
|
|
5559
|
-
# @param [Fixnum] page_size
|
|
5560
|
-
# Optional. The maximum number of items to return in a single page. By default
|
|
5561
|
-
# 100 and
|
|
5562
|
-
# at most 1000.
|
|
5563
|
-
# @param [String] page_token
|
|
5564
|
-
# Optional. The next_page_token value returned from a previous list request.
|
|
5565
|
-
# @param [String] fields
|
|
5566
|
-
# Selector specifying which fields to include in a partial response.
|
|
5567
|
-
# @param [String] quota_user
|
|
5568
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
5569
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5570
|
-
# @param [Google::Apis::RequestOptions] options
|
|
5571
|
-
# Request-specific options
|
|
5572
|
-
#
|
|
5573
|
-
# @yield [result, err] Result & error if block supplied
|
|
5574
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse] parsed result object
|
|
5575
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
5576
|
-
#
|
|
5577
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse]
|
|
5578
|
-
#
|
|
5579
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5580
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5581
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5582
|
-
def list_project_location_agent_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5583
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/versions', options)
|
|
5584
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse::Representation
|
|
5585
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListVersionsResponse
|
|
5586
|
-
command.params['parent'] = parent unless parent.nil?
|
|
5587
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
5588
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
5589
|
-
command.query['fields'] = fields unless fields.nil?
|
|
5590
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5591
|
-
execute_or_queue_command(command, &block)
|
|
5592
|
-
end
|
|
5593
|
-
|
|
5594
|
-
# Updates the specified agent version.
|
|
5595
|
-
# Note that this method does not allow you to update the state of the agent
|
|
5596
|
-
# the given version points to. It allows you to update only mutable
|
|
5597
|
-
# properties of the version resource.
|
|
5598
|
-
# @param [String] name
|
|
5599
|
-
# Output only. The unique identifier of this agent version.
|
|
5600
|
-
# Format: `projects/<Project ID>/agent/versions/<Version ID>`.
|
|
5601
|
-
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] google_cloud_dialogflow_v2beta1_version_object
|
|
5602
|
-
# @param [String] update_mask
|
|
5603
|
-
# Required. The mask to control which fields get updated.
|
|
5604
|
-
# @param [String] fields
|
|
5605
|
-
# Selector specifying which fields to include in a partial response.
|
|
5606
|
-
# @param [String] quota_user
|
|
5607
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
5608
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5609
|
-
# @param [Google::Apis::RequestOptions] options
|
|
5610
|
-
# Request-specific options
|
|
5611
|
-
#
|
|
5612
|
-
# @yield [result, err] Result & error if block supplied
|
|
5613
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version] parsed result object
|
|
5614
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
5615
|
-
#
|
|
5616
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version]
|
|
5617
|
-
#
|
|
5618
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5619
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5620
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5621
|
-
def patch_project_location_agent_version(name, google_cloud_dialogflow_v2beta1_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5622
|
-
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
|
5623
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
5624
|
-
command.request_object = google_cloud_dialogflow_v2beta1_version_object
|
|
5625
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version::Representation
|
|
5626
|
-
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Version
|
|
5627
|
-
command.params['name'] = name unless name.nil?
|
|
5628
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
5629
|
-
command.query['fields'] = fields unless fields.nil?
|
|
5630
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5631
|
-
execute_or_queue_command(command, &block)
|
|
5632
|
-
end
|
|
5633
|
-
|
|
5634
4882
|
# Starts asynchronous cancellation on a long-running operation. The server
|
|
5635
4883
|
# makes a best effort to cancel the operation, but success is not
|
|
5636
4884
|
# guaranteed. If the server doesn't support this method, it returns
|