google-api-client 0.28.4 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.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/service.rb +4 -4
- 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/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
72
|
def get_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command =
|
73
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
|
74
74
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
75
75
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
76
76
|
command.params['parent'] = parent unless parent.nil?
|
@@ -103,7 +103,7 @@ module Google
|
|
103
103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
105
|
def export_agent(parent, google_cloud_dialogflow_v2beta1_export_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
-
command =
|
106
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:export', options)
|
107
107
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest::Representation
|
108
108
|
command.request_object = google_cloud_dialogflow_v2beta1_export_agent_request_object
|
109
109
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -141,7 +141,7 @@ module Google
|
|
141
141
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
142
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
143
|
def import_agent(parent, google_cloud_dialogflow_v2beta1_import_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
144
|
-
command =
|
144
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:import', options)
|
145
145
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest::Representation
|
146
146
|
command.request_object = google_cloud_dialogflow_v2beta1_import_agent_request_object
|
147
147
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -178,7 +178,7 @@ module Google
|
|
178
178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
179
179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
180
180
|
def restore_agent(parent, google_cloud_dialogflow_v2beta1_restore_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
181
|
-
command =
|
181
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:restore', options)
|
182
182
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest::Representation
|
183
183
|
command.request_object = google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
184
184
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -222,7 +222,7 @@ module Google
|
|
222
222
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
223
223
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
224
224
|
def search_project_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
225
|
-
command =
|
225
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/agent:search', options)
|
226
226
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse::Representation
|
227
227
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse
|
228
228
|
command.params['parent'] = parent unless parent.nil?
|
@@ -257,7 +257,7 @@ module Google
|
|
257
257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
258
258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
259
259
|
def train_agent(parent, google_cloud_dialogflow_v2beta1_train_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
260
|
-
command =
|
260
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:train', options)
|
261
261
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest::Representation
|
262
262
|
command.request_object = google_cloud_dialogflow_v2beta1_train_agent_request_object
|
263
263
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -292,7 +292,7 @@ module Google
|
|
292
292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
293
293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
294
294
|
def batch_delete_entity_types(parent, google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
295
|
-
command =
|
295
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchDelete', options)
|
296
296
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest::Representation
|
297
297
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
298
298
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -327,7 +327,7 @@ module Google
|
|
327
327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
328
328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
329
329
|
def batch_update_entity_types(parent, google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
330
|
-
command =
|
330
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchUpdate', options)
|
331
331
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest::Representation
|
332
332
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
333
333
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -346,9 +346,11 @@ module Google
|
|
346
346
|
# @param [String] language_code
|
347
347
|
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
348
348
|
# specified, the agent's default language is used.
|
349
|
-
# [
|
350
|
-
# languages](https://
|
351
|
-
#
|
349
|
+
# [Many
|
350
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
351
|
+
# language)
|
352
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
353
|
+
# be used.
|
352
354
|
# @param [String] fields
|
353
355
|
# Selector specifying which fields to include in a partial response.
|
354
356
|
# @param [String] quota_user
|
@@ -367,7 +369,7 @@ module Google
|
|
367
369
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
368
370
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
369
371
|
def create_project_agent_entity_type(parent, google_cloud_dialogflow_v2beta1_entity_type_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
370
|
-
command =
|
372
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
|
371
373
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
372
374
|
command.request_object = google_cloud_dialogflow_v2beta1_entity_type_object
|
373
375
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
@@ -401,7 +403,7 @@ module Google
|
|
401
403
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
402
404
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
403
405
|
def delete_project_agent_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
404
|
-
command =
|
406
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
405
407
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
406
408
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
407
409
|
command.params['name'] = name unless name.nil?
|
@@ -417,9 +419,11 @@ module Google
|
|
417
419
|
# @param [String] language_code
|
418
420
|
# Optional. The language to retrieve entity synonyms for. If not specified,
|
419
421
|
# the agent's default language is used.
|
420
|
-
# [
|
421
|
-
# languages](https://
|
422
|
-
#
|
422
|
+
# [Many
|
423
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
424
|
+
# language)
|
425
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
426
|
+
# be used.
|
423
427
|
# @param [String] fields
|
424
428
|
# Selector specifying which fields to include in a partial response.
|
425
429
|
# @param [String] quota_user
|
@@ -438,7 +442,7 @@ module Google
|
|
438
442
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
439
443
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
440
444
|
def get_project_agent_entity_type(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
441
|
-
command =
|
445
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
442
446
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
443
447
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType
|
444
448
|
command.params['name'] = name unless name.nil?
|
@@ -455,9 +459,11 @@ module Google
|
|
455
459
|
# @param [String] language_code
|
456
460
|
# Optional. The language to list entity synonyms for. If not specified,
|
457
461
|
# the agent's default language is used.
|
458
|
-
# [
|
459
|
-
# languages](https://
|
460
|
-
#
|
462
|
+
# [Many
|
463
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
464
|
+
# language)
|
465
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
466
|
+
# be used.
|
461
467
|
# @param [Fixnum] page_size
|
462
468
|
# Optional. The maximum number of items to return in a single page. By
|
463
469
|
# default 100 and at most 1000.
|
@@ -481,7 +487,7 @@ module Google
|
|
481
487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
482
488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
483
489
|
def list_project_agent_entity_types(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
484
|
-
command =
|
490
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
|
485
491
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse::Representation
|
486
492
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse
|
487
493
|
command.params['parent'] = parent unless parent.nil?
|
@@ -503,9 +509,11 @@ module Google
|
|
503
509
|
# @param [String] language_code
|
504
510
|
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
505
511
|
# specified, the agent's default language is used.
|
506
|
-
# [
|
507
|
-
# languages](https://
|
508
|
-
#
|
512
|
+
# [Many
|
513
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
514
|
+
# language)
|
515
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
516
|
+
# be used.
|
509
517
|
# @param [String] update_mask
|
510
518
|
# Optional. The mask to control which fields get updated.
|
511
519
|
# @param [String] fields
|
@@ -526,7 +534,7 @@ module Google
|
|
526
534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
527
535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
528
536
|
def patch_project_agent_entity_type(name, google_cloud_dialogflow_v2beta1_entity_type_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
529
|
-
command =
|
537
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
530
538
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
531
539
|
command.request_object = google_cloud_dialogflow_v2beta1_entity_type_object
|
532
540
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
@@ -563,7 +571,7 @@ module Google
|
|
563
571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
564
572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
565
573
|
def batch_entity_create_entities(parent, google_cloud_dialogflow_v2beta1_batch_create_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
566
|
-
command =
|
574
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchCreate', options)
|
567
575
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest::Representation
|
568
576
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
569
577
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -598,7 +606,7 @@ module Google
|
|
598
606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
599
607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
600
608
|
def batch_entity_delete_entities(parent, google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
601
|
-
command =
|
609
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchDelete', options)
|
602
610
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest::Representation
|
603
611
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
604
612
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -635,7 +643,7 @@ module Google
|
|
635
643
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
636
644
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
637
645
|
def batch_entity_update_entities(parent, google_cloud_dialogflow_v2beta1_batch_update_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
638
|
-
command =
|
646
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchUpdate', options)
|
639
647
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest::Representation
|
640
648
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
641
649
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -671,7 +679,7 @@ module Google
|
|
671
679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
672
680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
673
681
|
def delete_project_agent_environment_user_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
|
674
|
-
command =
|
682
|
+
command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
|
675
683
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
676
684
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
677
685
|
command.params['parent'] = parent unless parent.nil?
|
@@ -713,7 +721,7 @@ module Google
|
|
713
721
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
714
722
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
715
723
|
def detect_project_agent_environment_user_session_intent(session, google_cloud_dialogflow_v2beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
716
|
-
command =
|
724
|
+
command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
|
717
725
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest::Representation
|
718
726
|
command.request_object = google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
719
727
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
|
@@ -752,7 +760,7 @@ module Google
|
|
752
760
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
761
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
762
|
def create_project_agent_environment_user_session_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
755
|
-
command =
|
763
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
|
756
764
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
757
765
|
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
758
766
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
@@ -789,7 +797,7 @@ module Google
|
|
789
797
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
790
798
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
791
799
|
def delete_project_agent_environment_user_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
792
|
-
command =
|
800
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
793
801
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
794
802
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
795
803
|
command.params['name'] = name unless name.nil?
|
@@ -824,7 +832,7 @@ module Google
|
|
824
832
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
825
833
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
826
834
|
def get_project_agent_environment_user_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
827
|
-
command =
|
835
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
828
836
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
829
837
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
830
838
|
command.params['name'] = name unless name.nil?
|
@@ -864,7 +872,7 @@ module Google
|
|
864
872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
865
873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
866
874
|
def list_project_agent_environment_user_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
867
|
-
command =
|
875
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
|
868
876
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
|
869
877
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
|
870
878
|
command.params['parent'] = parent unless parent.nil?
|
@@ -906,7 +914,7 @@ module Google
|
|
906
914
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
907
915
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
908
916
|
def patch_project_agent_environment_user_session_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
909
|
-
command =
|
917
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
910
918
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
911
919
|
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
912
920
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
@@ -947,7 +955,7 @@ module Google
|
|
947
955
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
948
956
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
949
957
|
def create_project_agent_environment_user_session_entity_type(parent, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
950
|
-
command =
|
958
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
|
951
959
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
952
960
|
command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
|
953
961
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
@@ -984,7 +992,7 @@ module Google
|
|
984
992
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
985
993
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
986
994
|
def delete_project_agent_environment_user_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
987
|
-
command =
|
995
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
988
996
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
989
997
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
990
998
|
command.params['name'] = name unless name.nil?
|
@@ -1019,7 +1027,7 @@ module Google
|
|
1019
1027
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1020
1028
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1021
1029
|
def get_project_agent_environment_user_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
1022
|
-
command =
|
1030
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1023
1031
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1024
1032
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
|
1025
1033
|
command.params['name'] = name unless name.nil?
|
@@ -1059,7 +1067,7 @@ module Google
|
|
1059
1067
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1060
1068
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1061
1069
|
def list_project_agent_environment_user_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1062
|
-
command =
|
1070
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
|
1063
1071
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse::Representation
|
1064
1072
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
|
1065
1073
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1102,7 +1110,7 @@ module Google
|
|
1102
1110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1103
1111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1104
1112
|
def patch_project_agent_environment_user_session_entity_type(name, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1105
|
-
command =
|
1113
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
1106
1114
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1107
1115
|
command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1108
1116
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
@@ -1138,7 +1146,7 @@ module Google
|
|
1138
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1139
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1140
1148
|
def batch_delete_intents(parent, google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1141
|
-
command =
|
1149
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchDelete', options)
|
1142
1150
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest::Representation
|
1143
1151
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
1144
1152
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -1173,7 +1181,7 @@ module Google
|
|
1173
1181
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1174
1182
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1175
1183
|
def batch_update_intents(parent, google_cloud_dialogflow_v2beta1_batch_update_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1176
|
-
command =
|
1184
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchUpdate', options)
|
1177
1185
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest::Representation
|
1178
1186
|
command.request_object = google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
1179
1187
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -1194,9 +1202,11 @@ module Google
|
|
1194
1202
|
# @param [String] language_code
|
1195
1203
|
# Optional. The language of training phrases, parameters and rich messages
|
1196
1204
|
# defined in `intent`. If not specified, the agent's default language is
|
1197
|
-
# used. [
|
1198
|
-
# languages](https://
|
1199
|
-
#
|
1205
|
+
# used. [Many
|
1206
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
1207
|
+
# language)
|
1208
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
1209
|
+
# be used.
|
1200
1210
|
# @param [String] fields
|
1201
1211
|
# Selector specifying which fields to include in a partial response.
|
1202
1212
|
# @param [String] quota_user
|
@@ -1215,7 +1225,7 @@ module Google
|
|
1215
1225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1216
1226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1217
1227
|
def create_project_agent_intent(parent, google_cloud_dialogflow_v2beta1_intent_object = nil, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1218
|
-
command =
|
1228
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/intents', options)
|
1219
1229
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
1220
1230
|
command.request_object = google_cloud_dialogflow_v2beta1_intent_object
|
1221
1231
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
@@ -1251,7 +1261,7 @@ module Google
|
|
1251
1261
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1252
1262
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1253
1263
|
def delete_project_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block)
|
1254
|
-
command =
|
1264
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
1255
1265
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
1256
1266
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
1257
1267
|
command.params['name'] = name unless name.nil?
|
@@ -1269,9 +1279,11 @@ module Google
|
|
1269
1279
|
# @param [String] language_code
|
1270
1280
|
# Optional. The language to retrieve training phrases, parameters and rich
|
1271
1281
|
# messages for. If not specified, the agent's default language is used.
|
1272
|
-
# [
|
1273
|
-
# languages](https://
|
1274
|
-
#
|
1282
|
+
# [Many
|
1283
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
1284
|
+
# language)
|
1285
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
1286
|
+
# be used.
|
1275
1287
|
# @param [String] fields
|
1276
1288
|
# Selector specifying which fields to include in a partial response.
|
1277
1289
|
# @param [String] quota_user
|
@@ -1290,7 +1302,7 @@ module Google
|
|
1290
1302
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1291
1303
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1292
1304
|
def get_project_agent_intent(name, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1293
|
-
command =
|
1305
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1294
1306
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
1295
1307
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent
|
1296
1308
|
command.params['name'] = name unless name.nil?
|
@@ -1310,9 +1322,11 @@ module Google
|
|
1310
1322
|
# @param [String] language_code
|
1311
1323
|
# Optional. The language to list training phrases, parameters and rich
|
1312
1324
|
# messages for. If not specified, the agent's default language is used.
|
1313
|
-
# [
|
1314
|
-
# languages](https://
|
1315
|
-
#
|
1325
|
+
# [Many
|
1326
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
1327
|
+
# language)
|
1328
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
1329
|
+
# be used.
|
1316
1330
|
# @param [Fixnum] page_size
|
1317
1331
|
# Optional. The maximum number of items to return in a single page. By
|
1318
1332
|
# default 100 and at most 1000.
|
@@ -1336,7 +1350,7 @@ module Google
|
|
1336
1350
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1337
1351
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1338
1352
|
def list_project_agent_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1339
|
-
command =
|
1353
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
|
1340
1354
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
|
1341
1355
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
|
1342
1356
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1361,9 +1375,11 @@ module Google
|
|
1361
1375
|
# @param [String] language_code
|
1362
1376
|
# Optional. The language of training phrases, parameters and rich messages
|
1363
1377
|
# defined in `intent`. If not specified, the agent's default language is
|
1364
|
-
# used. [
|
1365
|
-
# languages](https://
|
1366
|
-
#
|
1378
|
+
# used. [Many
|
1379
|
+
# languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
1380
|
+
# language)
|
1381
|
+
# are supported. Note: languages must be enabled in the agent before they can
|
1382
|
+
# be used.
|
1367
1383
|
# @param [String] update_mask
|
1368
1384
|
# Optional. The mask to control which fields get updated.
|
1369
1385
|
# @param [String] fields
|
@@ -1384,7 +1400,7 @@ module Google
|
|
1384
1400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1385
1401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1386
1402
|
def patch_project_agent_intent(name, google_cloud_dialogflow_v2beta1_intent_object = nil, intent_view: nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1387
|
-
command =
|
1403
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
1388
1404
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
1389
1405
|
command.request_object = google_cloud_dialogflow_v2beta1_intent_object
|
1390
1406
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
@@ -1399,6 +1415,8 @@ module Google
|
|
1399
1415
|
end
|
1400
1416
|
|
1401
1417
|
# Creates a knowledge base.
|
1418
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
1419
|
+
# only use `projects.knowledgeBases`.
|
1402
1420
|
# @param [String] parent
|
1403
1421
|
# Required. The project to create a knowledge base for.
|
1404
1422
|
# Format: `projects/<Project ID>`.
|
@@ -1421,7 +1439,7 @@ module Google
|
|
1421
1439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1422
1440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1423
1441
|
def create_project_agent_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1424
|
-
command =
|
1442
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
|
1425
1443
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
1426
1444
|
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1427
1445
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
@@ -1433,6 +1451,8 @@ module Google
|
|
1433
1451
|
end
|
1434
1452
|
|
1435
1453
|
# Deletes the specified knowledge base.
|
1454
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
1455
|
+
# only use `projects.knowledgeBases`.
|
1436
1456
|
# @param [String] name
|
1437
1457
|
# Required. The name of the knowledge base to delete.
|
1438
1458
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
@@ -1457,7 +1477,7 @@ module Google
|
|
1457
1477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1458
1478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1459
1479
|
def delete_project_agent_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1460
|
-
command =
|
1480
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
1461
1481
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
1462
1482
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
1463
1483
|
command.params['name'] = name unless name.nil?
|
@@ -1468,6 +1488,8 @@ module Google
|
|
1468
1488
|
end
|
1469
1489
|
|
1470
1490
|
# Retrieves the specified knowledge base.
|
1491
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
1492
|
+
# only use `projects.knowledgeBases`.
|
1471
1493
|
# @param [String] name
|
1472
1494
|
# Required. The name of the knowledge base to retrieve.
|
1473
1495
|
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
@@ -1489,7 +1511,7 @@ module Google
|
|
1489
1511
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1490
1512
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1491
1513
|
def get_project_agent_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1492
|
-
command =
|
1514
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1493
1515
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
1494
1516
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
1495
1517
|
command.params['name'] = name unless name.nil?
|
@@ -1499,6 +1521,8 @@ module Google
|
|
1499
1521
|
end
|
1500
1522
|
|
1501
1523
|
# Returns the list of all knowledge bases of the specified agent.
|
1524
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
1525
|
+
# only use `projects.knowledgeBases`.
|
1502
1526
|
# @param [String] parent
|
1503
1527
|
# Required. The project to list of knowledge bases for.
|
1504
1528
|
# Format: `projects/<Project ID>`.
|
@@ -1525,7 +1549,7 @@ module Google
|
|
1525
1549
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1526
1550
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1527
1551
|
def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1528
|
-
command =
|
1552
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
1529
1553
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
1530
1554
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
1531
1555
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1537,6 +1561,8 @@ module Google
|
|
1537
1561
|
end
|
1538
1562
|
|
1539
1563
|
# Updates the specified knowledge base.
|
1564
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
1565
|
+
# only use `projects.knowledgeBases`.
|
1540
1566
|
# @param [String] name
|
1541
1567
|
# The knowledge base resource name.
|
1542
1568
|
# The name must be empty when creating a knowledge base.
|
@@ -1564,7 +1590,7 @@ module Google
|
|
1564
1590
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1565
1591
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1566
1592
|
def patch_project_agent_knowledge_basis(name, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1567
|
-
command =
|
1593
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
1568
1594
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
1569
1595
|
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
1570
1596
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
@@ -1577,6 +1603,8 @@ module Google
|
|
1577
1603
|
end
|
1578
1604
|
|
1579
1605
|
# Creates a new document.
|
1606
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
1607
|
+
# only use `projects.knowledgeBases.documents`.
|
1580
1608
|
# Operation <response: Document,
|
1581
1609
|
# metadata: KnowledgeOperationMetadata>
|
1582
1610
|
# @param [String] parent
|
@@ -1601,7 +1629,7 @@ module Google
|
|
1601
1629
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1602
1630
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1603
1631
|
def create_project_agent_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1604
|
-
command =
|
1632
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
|
1605
1633
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
1606
1634
|
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
1607
1635
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -1613,6 +1641,8 @@ module Google
|
|
1613
1641
|
end
|
1614
1642
|
|
1615
1643
|
# Deletes the specified document.
|
1644
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
1645
|
+
# only use `projects.knowledgeBases.documents`.
|
1616
1646
|
# Operation <response: google.protobuf.Empty,
|
1617
1647
|
# metadata: KnowledgeOperationMetadata>
|
1618
1648
|
# @param [String] name
|
@@ -1637,7 +1667,7 @@ module Google
|
|
1637
1667
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1638
1668
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1639
1669
|
def delete_project_agent_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
|
1640
|
-
command =
|
1670
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
1641
1671
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
1642
1672
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
1643
1673
|
command.params['name'] = name unless name.nil?
|
@@ -1647,6 +1677,8 @@ module Google
|
|
1647
1677
|
end
|
1648
1678
|
|
1649
1679
|
# Retrieves the specified document.
|
1680
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
1681
|
+
# only use `projects.knowledgeBases.documents`.
|
1650
1682
|
# @param [String] name
|
1651
1683
|
# Required. The name of the document to retrieve.
|
1652
1684
|
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
@@ -1669,7 +1701,7 @@ module Google
|
|
1669
1701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1670
1702
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1671
1703
|
def get_project_agent_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
|
1672
|
-
command =
|
1704
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1673
1705
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
1674
1706
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
|
1675
1707
|
command.params['name'] = name unless name.nil?
|
@@ -1679,6 +1711,8 @@ module Google
|
|
1679
1711
|
end
|
1680
1712
|
|
1681
1713
|
# Returns the list of all documents of the knowledge base.
|
1714
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
1715
|
+
# only use `projects.knowledgeBases.documents`.
|
1682
1716
|
# @param [String] parent
|
1683
1717
|
# Required. The knowledge base to list all documents for.
|
1684
1718
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
@@ -1705,7 +1739,7 @@ module Google
|
|
1705
1739
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1706
1740
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1707
1741
|
def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1708
|
-
command =
|
1742
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
1709
1743
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
1710
1744
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
1711
1745
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1717,6 +1751,8 @@ module Google
|
|
1717
1751
|
end
|
1718
1752
|
|
1719
1753
|
# Updates the specified document.
|
1754
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
1755
|
+
# only use `projects.knowledgeBases.documents`.
|
1720
1756
|
# Operation <response: Document,
|
1721
1757
|
# metadata: KnowledgeOperationMetadata>
|
1722
1758
|
# @param [String] name
|
@@ -1747,7 +1783,7 @@ module Google
|
|
1747
1783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1748
1784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1749
1785
|
def patch_project_agent_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_document_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1750
|
-
command =
|
1786
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
1751
1787
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
1752
1788
|
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
1753
1789
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -1763,6 +1799,8 @@ module Google
|
|
1763
1799
|
# content. The previously loaded content of the document will be deleted.
|
1764
1800
|
# Note: Even when the content of the document has not changed, there still
|
1765
1801
|
# may be side effects because of internal implementation changes.
|
1802
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
1803
|
+
# only use `projects.knowledgeBases.documents`.
|
1766
1804
|
# Operation <response: Document,
|
1767
1805
|
# metadata: KnowledgeOperationMetadata>
|
1768
1806
|
# @param [String] name
|
@@ -1788,7 +1826,7 @@ module Google
|
|
1788
1826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1789
1827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1790
1828
|
def reload_project_agent_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_reload_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1791
|
-
command =
|
1829
|
+
command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
|
1792
1830
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest::Representation
|
1793
1831
|
command.request_object = google_cloud_dialogflow_v2beta1_reload_document_request_object
|
1794
1832
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -1824,7 +1862,7 @@ module Google
|
|
1824
1862
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1825
1863
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1826
1864
|
def delete_project_agent_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1827
|
-
command =
|
1865
|
+
command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
|
1828
1866
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
1829
1867
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
1830
1868
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1866,7 +1904,7 @@ module Google
|
|
1866
1904
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1867
1905
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1868
1906
|
def detect_session_intent(session, google_cloud_dialogflow_v2beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1869
|
-
command =
|
1907
|
+
command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
|
1870
1908
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest::Representation
|
1871
1909
|
command.request_object = google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
1872
1910
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
|
@@ -1905,7 +1943,7 @@ module Google
|
|
1905
1943
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1906
1944
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1907
1945
|
def create_project_agent_session_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1908
|
-
command =
|
1946
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
|
1909
1947
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1910
1948
|
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
1911
1949
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
@@ -1942,7 +1980,7 @@ module Google
|
|
1942
1980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1943
1981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1944
1982
|
def delete_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
1945
|
-
command =
|
1983
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
1946
1984
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
1947
1985
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
1948
1986
|
command.params['name'] = name unless name.nil?
|
@@ -1977,7 +2015,7 @@ module Google
|
|
1977
2015
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1978
2016
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1979
2017
|
def get_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
1980
|
-
command =
|
2018
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1981
2019
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1982
2020
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
1983
2021
|
command.params['name'] = name unless name.nil?
|
@@ -2017,7 +2055,7 @@ module Google
|
|
2017
2055
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2018
2056
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2019
2057
|
def list_project_agent_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2020
|
-
command =
|
2058
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
|
2021
2059
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
|
2022
2060
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
|
2023
2061
|
command.params['parent'] = parent unless parent.nil?
|
@@ -2059,7 +2097,7 @@ module Google
|
|
2059
2097
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2060
2098
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2061
2099
|
def patch_project_agent_session_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2062
|
-
command =
|
2100
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
2063
2101
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
2064
2102
|
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
2065
2103
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
@@ -2100,7 +2138,7 @@ module Google
|
|
2100
2138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2101
2139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2102
2140
|
def create_project_agent_session_entity_type(parent, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2103
|
-
command =
|
2141
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
|
2104
2142
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
2105
2143
|
command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
|
2106
2144
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
@@ -2137,7 +2175,7 @@ module Google
|
|
2137
2175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2138
2176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2139
2177
|
def delete_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
2140
|
-
command =
|
2178
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
2141
2179
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
2142
2180
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
2143
2181
|
command.params['name'] = name unless name.nil?
|
@@ -2172,7 +2210,7 @@ module Google
|
|
2172
2210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2173
2211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2174
2212
|
def get_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
2175
|
-
command =
|
2213
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
2176
2214
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
2177
2215
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
|
2178
2216
|
command.params['name'] = name unless name.nil?
|
@@ -2212,7 +2250,7 @@ module Google
|
|
2212
2250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2213
2251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2214
2252
|
def list_project_agent_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2215
|
-
command =
|
2253
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
|
2216
2254
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse::Representation
|
2217
2255
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
|
2218
2256
|
command.params['parent'] = parent unless parent.nil?
|
@@ -2255,7 +2293,7 @@ module Google
|
|
2255
2293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2256
2294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2257
2295
|
def patch_project_agent_session_entity_type(name, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2258
|
-
command =
|
2296
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
2259
2297
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
2260
2298
|
command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
|
2261
2299
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
@@ -2268,6 +2306,8 @@ module Google
|
|
2268
2306
|
end
|
2269
2307
|
|
2270
2308
|
# Creates a knowledge base.
|
2309
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
2310
|
+
# only use `projects.knowledgeBases`.
|
2271
2311
|
# @param [String] parent
|
2272
2312
|
# Required. The project to create a knowledge base for.
|
2273
2313
|
# Format: `projects/<Project ID>`.
|
@@ -2290,7 +2330,7 @@ module Google
|
|
2290
2330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2291
2331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2292
2332
|
def create_project_knowledge_basis(parent, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2293
|
-
command =
|
2333
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/knowledgeBases', options)
|
2294
2334
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
2295
2335
|
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2296
2336
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
@@ -2302,6 +2342,8 @@ module Google
|
|
2302
2342
|
end
|
2303
2343
|
|
2304
2344
|
# Deletes the specified knowledge base.
|
2345
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
2346
|
+
# only use `projects.knowledgeBases`.
|
2305
2347
|
# @param [String] name
|
2306
2348
|
# Required. The name of the knowledge base to delete.
|
2307
2349
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
@@ -2326,7 +2368,7 @@ module Google
|
|
2326
2368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2327
2369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2328
2370
|
def delete_project_knowledge_basis(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2329
|
-
command =
|
2371
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
2330
2372
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
2331
2373
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
2332
2374
|
command.params['name'] = name unless name.nil?
|
@@ -2337,6 +2379,8 @@ module Google
|
|
2337
2379
|
end
|
2338
2380
|
|
2339
2381
|
# Retrieves the specified knowledge base.
|
2382
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
2383
|
+
# only use `projects.knowledgeBases`.
|
2340
2384
|
# @param [String] name
|
2341
2385
|
# Required. The name of the knowledge base to retrieve.
|
2342
2386
|
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
@@ -2358,7 +2402,7 @@ module Google
|
|
2358
2402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2359
2403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2360
2404
|
def get_project_knowledge_basis(name, fields: nil, quota_user: nil, options: nil, &block)
|
2361
|
-
command =
|
2405
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
2362
2406
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
2363
2407
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase
|
2364
2408
|
command.params['name'] = name unless name.nil?
|
@@ -2368,6 +2412,8 @@ module Google
|
|
2368
2412
|
end
|
2369
2413
|
|
2370
2414
|
# Returns the list of all knowledge bases of the specified agent.
|
2415
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
2416
|
+
# only use `projects.knowledgeBases`.
|
2371
2417
|
# @param [String] parent
|
2372
2418
|
# Required. The project to list of knowledge bases for.
|
2373
2419
|
# Format: `projects/<Project ID>`.
|
@@ -2394,7 +2440,7 @@ module Google
|
|
2394
2440
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2395
2441
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2396
2442
|
def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2397
|
-
command =
|
2443
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
2398
2444
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
2399
2445
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
2400
2446
|
command.params['parent'] = parent unless parent.nil?
|
@@ -2406,6 +2452,8 @@ module Google
|
|
2406
2452
|
end
|
2407
2453
|
|
2408
2454
|
# Updates the specified knowledge base.
|
2455
|
+
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
|
2456
|
+
# only use `projects.knowledgeBases`.
|
2409
2457
|
# @param [String] name
|
2410
2458
|
# The knowledge base resource name.
|
2411
2459
|
# The name must be empty when creating a knowledge base.
|
@@ -2433,7 +2481,7 @@ module Google
|
|
2433
2481
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2434
2482
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2435
2483
|
def patch_project_knowledge_basis(name, google_cloud_dialogflow_v2beta1_knowledge_base_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2436
|
-
command =
|
2484
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
2437
2485
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
2438
2486
|
command.request_object = google_cloud_dialogflow_v2beta1_knowledge_base_object
|
2439
2487
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeBase::Representation
|
@@ -2446,6 +2494,8 @@ module Google
|
|
2446
2494
|
end
|
2447
2495
|
|
2448
2496
|
# Creates a new document.
|
2497
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2498
|
+
# only use `projects.knowledgeBases.documents`.
|
2449
2499
|
# Operation <response: Document,
|
2450
2500
|
# metadata: KnowledgeOperationMetadata>
|
2451
2501
|
# @param [String] parent
|
@@ -2470,7 +2520,7 @@ module Google
|
|
2470
2520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2471
2521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2472
2522
|
def create_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2473
|
-
command =
|
2523
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/documents', options)
|
2474
2524
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
2475
2525
|
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
2476
2526
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -2482,6 +2532,8 @@ module Google
|
|
2482
2532
|
end
|
2483
2533
|
|
2484
2534
|
# Deletes the specified document.
|
2535
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2536
|
+
# only use `projects.knowledgeBases.documents`.
|
2485
2537
|
# Operation <response: google.protobuf.Empty,
|
2486
2538
|
# metadata: KnowledgeOperationMetadata>
|
2487
2539
|
# @param [String] name
|
@@ -2506,7 +2558,7 @@ module Google
|
|
2506
2558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2507
2559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2508
2560
|
def delete_project_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
|
2509
|
-
command =
|
2561
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
2510
2562
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
2511
2563
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
2512
2564
|
command.params['name'] = name unless name.nil?
|
@@ -2516,6 +2568,8 @@ module Google
|
|
2516
2568
|
end
|
2517
2569
|
|
2518
2570
|
# Retrieves the specified document.
|
2571
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2572
|
+
# only use `projects.knowledgeBases.documents`.
|
2519
2573
|
# @param [String] name
|
2520
2574
|
# Required. The name of the document to retrieve.
|
2521
2575
|
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
|
@@ -2538,7 +2592,7 @@ module Google
|
|
2538
2592
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2539
2593
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2540
2594
|
def get_project_knowledge_basis_document(name, fields: nil, quota_user: nil, options: nil, &block)
|
2541
|
-
command =
|
2595
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
2542
2596
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
2543
2597
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
|
2544
2598
|
command.params['name'] = name unless name.nil?
|
@@ -2548,6 +2602,8 @@ module Google
|
|
2548
2602
|
end
|
2549
2603
|
|
2550
2604
|
# Returns the list of all documents of the knowledge base.
|
2605
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2606
|
+
# only use `projects.knowledgeBases.documents`.
|
2551
2607
|
# @param [String] parent
|
2552
2608
|
# Required. The knowledge base to list all documents for.
|
2553
2609
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
@@ -2574,7 +2630,7 @@ module Google
|
|
2574
2630
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2575
2631
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2576
2632
|
def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2577
|
-
command =
|
2633
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
2578
2634
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
2579
2635
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
2580
2636
|
command.params['parent'] = parent unless parent.nil?
|
@@ -2586,6 +2642,8 @@ module Google
|
|
2586
2642
|
end
|
2587
2643
|
|
2588
2644
|
# Updates the specified document.
|
2645
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2646
|
+
# only use `projects.knowledgeBases.documents`.
|
2589
2647
|
# Operation <response: Document,
|
2590
2648
|
# metadata: KnowledgeOperationMetadata>
|
2591
2649
|
# @param [String] name
|
@@ -2616,7 +2674,7 @@ module Google
|
|
2616
2674
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2617
2675
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2618
2676
|
def patch_project_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_document_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2619
|
-
command =
|
2677
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
2620
2678
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document::Representation
|
2621
2679
|
command.request_object = google_cloud_dialogflow_v2beta1_document_object
|
2622
2680
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -2632,6 +2690,8 @@ module Google
|
|
2632
2690
|
# content. The previously loaded content of the document will be deleted.
|
2633
2691
|
# Note: Even when the content of the document has not changed, there still
|
2634
2692
|
# may be side effects because of internal implementation changes.
|
2693
|
+
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
|
2694
|
+
# only use `projects.knowledgeBases.documents`.
|
2635
2695
|
# Operation <response: Document,
|
2636
2696
|
# metadata: KnowledgeOperationMetadata>
|
2637
2697
|
# @param [String] name
|
@@ -2657,7 +2717,7 @@ module Google
|
|
2657
2717
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2658
2718
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2659
2719
|
def reload_project_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_reload_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2660
|
-
command =
|
2720
|
+
command = make_simple_command(:post, 'v2beta1/{+name}:reload', options)
|
2661
2721
|
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ReloadDocumentRequest::Representation
|
2662
2722
|
command.request_object = google_cloud_dialogflow_v2beta1_reload_document_request_object
|
2663
2723
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
@@ -2691,7 +2751,7 @@ module Google
|
|
2691
2751
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2692
2752
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2693
2753
|
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2694
|
-
command =
|
2754
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
2695
2755
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
2696
2756
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
2697
2757
|
command.params['name'] = name unless name.nil?
|