google-api-client 0.45.1 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +609 -189
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -60
- data/generated/google/apis/apigee_v1/representations.rb +88 -18
- data/generated/google/apis/apigee_v1/service.rb +243 -33
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha2 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +190 -23
- data/generated/google/apis/bigquery_v2/representations.rb +68 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +942 -801
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -277
- data/generated/google/apis/dialogflow_v2/representations.rb +288 -126
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -285
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +56 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +744 -280
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +310 -129
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +208 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +33 -32
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/{apigateway_v1alpha2 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/representations.rb +168 -39
- data/generated/google/apis/{apigateway_v1alpha2 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +4 -4
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +202 -295
- data/generated/google/apis/healthcare_v1beta1/representations.rb +75 -80
- data/generated/google/apis/healthcare_v1beta1/service.rb +118 -72
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +76 -5
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +345 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +16 -16
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/{apigateway_v1alpha2.rb → privateca_v1beta1.rb} +8 -8
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +88 -127
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -8
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -63
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -44
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -17
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +4 -12
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +77 -9
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +20 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +3 -3
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +43 -16
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
|
@@ -1725,6 +1725,19 @@ module Google
|
|
|
1725
1725
|
# knowledgeBases`.
|
|
1726
1726
|
# @param [String] parent
|
|
1727
1727
|
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
|
1728
|
+
# @param [String] filter
|
|
1729
|
+
# The filter expression used to filter knowledge bases returned by the list
|
|
1730
|
+
# method. The expression has the following syntax: [AND ] ... The following
|
|
1731
|
+
# fields and operators are supported: * display_name with has(:) operator *
|
|
1732
|
+
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
|
1733
|
+
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
|
1734
|
+
# matches knowledge bases whose display name contains "articles". * '
|
|
1735
|
+
# display_name:"Best Articles"' matches knowledge bases whose display name
|
|
1736
|
+
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
|
1737
|
+
# matches all knowledge bases whose display name contains "articles" and whose
|
|
1738
|
+
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
|
1739
|
+
# and will result in no filtering. For more information about filtering, see [
|
|
1740
|
+
# API Filtering](https://aip.dev/160).
|
|
1728
1741
|
# @param [Fixnum] page_size
|
|
1729
1742
|
# The maximum number of items to return in a single page. By default 10 and at
|
|
1730
1743
|
# most 100.
|
|
@@ -1747,11 +1760,12 @@ module Google
|
|
|
1747
1760
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1748
1761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1749
1762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1750
|
-
def list_project_agent_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1763
|
+
def list_project_agent_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1751
1764
|
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
|
1752
1765
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
|
1753
1766
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
|
1754
1767
|
command.params['parent'] = parent unless parent.nil?
|
|
1768
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1755
1769
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1756
1770
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1757
1771
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1802,7 +1816,7 @@ module Google
|
|
|
1802
1816
|
# Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
|
|
1803
1817
|
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
|
1804
1818
|
# @param [String] parent
|
|
1805
|
-
# Required. The
|
|
1819
|
+
# Required. The knowledge base to create a document for. Format: `projects//
|
|
1806
1820
|
# knowledgeBases/`.
|
|
1807
1821
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
|
1808
1822
|
# @param [String] fields
|
|
@@ -1906,6 +1920,16 @@ module Google
|
|
|
1906
1920
|
# @param [String] parent
|
|
1907
1921
|
# Required. The knowledge base to list all documents for. Format: `projects//
|
|
1908
1922
|
# knowledgeBases/`.
|
|
1923
|
+
# @param [String] filter
|
|
1924
|
+
# The filter expression used to filter documents returned by the list method.
|
|
1925
|
+
# The expression has the following syntax: [AND ] ... The following fields and
|
|
1926
|
+
# operators are supported: * knowledge_types with has(:) operator * display_name
|
|
1927
|
+
# with has(:) operator * state with equals(=) operator Examples: * "
|
|
1928
|
+
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
|
1929
|
+
# display_name:customer" matches documents whose display name contains "customer"
|
|
1930
|
+
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
|
1931
|
+
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
|
1932
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
|
1909
1933
|
# @param [Fixnum] page_size
|
|
1910
1934
|
# The maximum number of items to return in a single page. By default 10 and at
|
|
1911
1935
|
# most 100.
|
|
@@ -1928,11 +1952,12 @@ module Google
|
|
|
1928
1952
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1929
1953
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1930
1954
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1931
|
-
def list_project_agent_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1955
|
+
def list_project_agent_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1932
1956
|
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
|
1933
1957
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
|
1934
1958
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
|
1935
1959
|
command.params['parent'] = parent unless parent.nil?
|
|
1960
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1936
1961
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1937
1962
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1938
1963
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2614,6 +2639,19 @@ module Google
|
|
|
2614
2639
|
# knowledgeBases`.
|
|
2615
2640
|
# @param [String] parent
|
|
2616
2641
|
# Required. The project to list of knowledge bases for. Format: `projects/`.
|
|
2642
|
+
# @param [String] filter
|
|
2643
|
+
# The filter expression used to filter knowledge bases returned by the list
|
|
2644
|
+
# method. The expression has the following syntax: [AND ] ... The following
|
|
2645
|
+
# fields and operators are supported: * display_name with has(:) operator *
|
|
2646
|
+
# language_code with equals(=) operator Examples: * 'language_code=en-us'
|
|
2647
|
+
# matches knowledge bases with en-us language code. * 'display_name:articles'
|
|
2648
|
+
# matches knowledge bases whose display name contains "articles". * '
|
|
2649
|
+
# display_name:"Best Articles"' matches knowledge bases whose display name
|
|
2650
|
+
# contains "Best Articles". * 'language_code=en-gb AND display_name=articles'
|
|
2651
|
+
# matches all knowledge bases whose display name contains "articles" and whose
|
|
2652
|
+
# language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op
|
|
2653
|
+
# and will result in no filtering. For more information about filtering, see [
|
|
2654
|
+
# API Filtering](https://aip.dev/160).
|
|
2617
2655
|
# @param [Fixnum] page_size
|
|
2618
2656
|
# The maximum number of items to return in a single page. By default 10 and at
|
|
2619
2657
|
# most 100.
|
|
@@ -2636,11 +2674,12 @@ module Google
|
|
|
2636
2674
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2637
2675
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2638
2676
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2639
|
-
def list_project_knowledge_bases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2677
|
+
def list_project_knowledge_bases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2640
2678
|
command = make_simple_command(:get, 'v2beta1/{+parent}/knowledgeBases', options)
|
|
2641
2679
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse::Representation
|
|
2642
2680
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
|
|
2643
2681
|
command.params['parent'] = parent unless parent.nil?
|
|
2682
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2644
2683
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2645
2684
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2646
2685
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2691,7 +2730,7 @@ module Google
|
|
|
2691
2730
|
# Creates a new document. Note: The `projects.agent.knowledgeBases.documents`
|
|
2692
2731
|
# resource is deprecated; only use `projects.knowledgeBases.documents`.
|
|
2693
2732
|
# @param [String] parent
|
|
2694
|
-
# Required. The
|
|
2733
|
+
# Required. The knowledge base to create a document for. Format: `projects//
|
|
2695
2734
|
# knowledgeBases/`.
|
|
2696
2735
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document] google_cloud_dialogflow_v2beta1_document_object
|
|
2697
2736
|
# @param [String] fields
|
|
@@ -2795,6 +2834,16 @@ module Google
|
|
|
2795
2834
|
# @param [String] parent
|
|
2796
2835
|
# Required. The knowledge base to list all documents for. Format: `projects//
|
|
2797
2836
|
# knowledgeBases/`.
|
|
2837
|
+
# @param [String] filter
|
|
2838
|
+
# The filter expression used to filter documents returned by the list method.
|
|
2839
|
+
# The expression has the following syntax: [AND ] ... The following fields and
|
|
2840
|
+
# operators are supported: * knowledge_types with has(:) operator * display_name
|
|
2841
|
+
# with has(:) operator * state with equals(=) operator Examples: * "
|
|
2842
|
+
# knowledge_types:FAQ" matches documents with FAQ knowledge type. * "
|
|
2843
|
+
# display_name:customer" matches documents whose display name contains "customer"
|
|
2844
|
+
# . * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ
|
|
2845
|
+
# AND state=ACTIVE" matches all active FAQ documents. For more information about
|
|
2846
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
|
2798
2847
|
# @param [Fixnum] page_size
|
|
2799
2848
|
# The maximum number of items to return in a single page. By default 10 and at
|
|
2800
2849
|
# most 100.
|
|
@@ -2817,11 +2866,12 @@ module Google
|
|
|
2817
2866
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2818
2867
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2819
2868
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2820
|
-
def list_project_knowledge_basis_documents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2869
|
+
def list_project_knowledge_basis_documents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2821
2870
|
command = make_simple_command(:get, 'v2beta1/{+parent}/documents', options)
|
|
2822
2871
|
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse::Representation
|
|
2823
2872
|
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListDocumentsResponse
|
|
2824
2873
|
command.params['parent'] = parent unless parent.nil?
|
|
2874
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2825
2875
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2826
2876
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2827
2877
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV3beta1
|
|
28
28
|
VERSION = 'V3beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201028'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,6 +22,651 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DialogflowV3beta1
|
|
24
24
|
|
|
25
|
+
# Represents page information communicated to and from the webhook.
|
|
26
|
+
class GoogleCloudDialogflowCxV3PageInfo
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
|
30
|
+
# identifier of the current page. Format: `projects//locations//agents//flows//
|
|
31
|
+
# pages/`.
|
|
32
|
+
# Corresponds to the JSON property `currentPage`
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :current_page
|
|
35
|
+
|
|
36
|
+
# Represents form information.
|
|
37
|
+
# Corresponds to the JSON property `formInfo`
|
|
38
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo]
|
|
39
|
+
attr_accessor :form_info
|
|
40
|
+
|
|
41
|
+
def initialize(**args)
|
|
42
|
+
update!(**args)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Update properties of this object
|
|
46
|
+
def update!(**args)
|
|
47
|
+
@current_page = args[:current_page] if args.key?(:current_page)
|
|
48
|
+
@form_info = args[:form_info] if args.key?(:form_info)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Represents form information.
|
|
53
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
|
54
|
+
include Google::Apis::Core::Hashable
|
|
55
|
+
|
|
56
|
+
# Optional for both WebhookRequest and WebhookResponse. The parameters contained
|
|
57
|
+
# in the form. Note that the webhook cannot add or remove any form parameter.
|
|
58
|
+
# Corresponds to the JSON property `parameterInfo`
|
|
59
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo>]
|
|
60
|
+
attr_accessor :parameter_info
|
|
61
|
+
|
|
62
|
+
def initialize(**args)
|
|
63
|
+
update!(**args)
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Update properties of this object
|
|
67
|
+
def update!(**args)
|
|
68
|
+
@parameter_info = args[:parameter_info] if args.key?(:parameter_info)
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Represents parameter information.
|
|
73
|
+
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
|
74
|
+
include Google::Apis::Core::Hashable
|
|
75
|
+
|
|
76
|
+
# Always present for WebhookRequest. Required for WebhookResponse. The human-
|
|
77
|
+
# readable name of the parameter, unique within the form. This field cannot be
|
|
78
|
+
# modified by the webhook.
|
|
79
|
+
# Corresponds to the JSON property `displayName`
|
|
80
|
+
# @return [String]
|
|
81
|
+
attr_accessor :display_name
|
|
82
|
+
|
|
83
|
+
# Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the
|
|
84
|
+
# parameter value was just collected on the last conversation turn.
|
|
85
|
+
# Corresponds to the JSON property `justCollected`
|
|
86
|
+
# @return [Boolean]
|
|
87
|
+
attr_accessor :just_collected
|
|
88
|
+
alias_method :just_collected?, :just_collected
|
|
89
|
+
|
|
90
|
+
# Optional for both WebhookRequest and WebhookResponse. Indicates whether the
|
|
91
|
+
# parameter is required. Optional parameters will not trigger prompts; however,
|
|
92
|
+
# they are filled if the user specifies them. Required parameters must be filled
|
|
93
|
+
# before form filling concludes.
|
|
94
|
+
# Corresponds to the JSON property `required`
|
|
95
|
+
# @return [Boolean]
|
|
96
|
+
attr_accessor :required
|
|
97
|
+
alias_method :required?, :required
|
|
98
|
+
|
|
99
|
+
# Always present for WebhookRequest. Required for WebhookResponse. The state of
|
|
100
|
+
# the parameter. This field can be set to INVALID by the webhook to invalidate
|
|
101
|
+
# the parameter; other values set by the webhook will be ignored.
|
|
102
|
+
# Corresponds to the JSON property `state`
|
|
103
|
+
# @return [String]
|
|
104
|
+
attr_accessor :state
|
|
105
|
+
|
|
106
|
+
# Optional for both WebhookRequest and WebhookResponse. The value of the
|
|
107
|
+
# parameter. This field can be set by the webhook to change the parameter value.
|
|
108
|
+
# Corresponds to the JSON property `value`
|
|
109
|
+
# @return [Object]
|
|
110
|
+
attr_accessor :value
|
|
111
|
+
|
|
112
|
+
def initialize(**args)
|
|
113
|
+
update!(**args)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Update properties of this object
|
|
117
|
+
def update!(**args)
|
|
118
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
119
|
+
@just_collected = args[:just_collected] if args.key?(:just_collected)
|
|
120
|
+
@required = args[:required] if args.key?(:required)
|
|
121
|
+
@state = args[:state] if args.key?(:state)
|
|
122
|
+
@value = args[:value] if args.key?(:value)
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Represents a response message that can be returned by a conversational agent.
|
|
127
|
+
# Response messages are also used for output audio synthesis. The approach is as
|
|
128
|
+
# follows: * If at least one OutputAudioText response is present, then all
|
|
129
|
+
# OutputAudioText responses are linearly concatenated, and the result is used
|
|
130
|
+
# for output audio synthesis. * If the OutputAudioText responses are a mixture
|
|
131
|
+
# of text and SSML, then the concatenated result is treated as SSML; otherwise,
|
|
132
|
+
# the result is treated as either text or SSML as appropriate. The agent
|
|
133
|
+
# designer should ideally use either text or SSML consistently throughout the
|
|
134
|
+
# bot design. * Otherwise, all Text responses are linearly concatenated, and the
|
|
135
|
+
# result is used for output audio synthesis. This approach allows for more
|
|
136
|
+
# sophisticated user experience scenarios, where the text displayed to the user
|
|
137
|
+
# may differ from what is heard.
|
|
138
|
+
class GoogleCloudDialogflowCxV3ResponseMessage
|
|
139
|
+
include Google::Apis::Core::Hashable
|
|
140
|
+
|
|
141
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
|
142
|
+
# that the customer talked to it about. Dialogflow only uses this to determine
|
|
143
|
+
# which conversations should be counted as successful and doesn't process the
|
|
144
|
+
# metadata in this message in any way. Note that Dialogflow also considers
|
|
145
|
+
# conversations that get to the conversation end page as successful even if they
|
|
146
|
+
# don't return ConversationSuccess. You may set this, for example: * In the
|
|
147
|
+
# entry_fulfillment of a Page if entering the page indicates that the
|
|
148
|
+
# conversation succeeded. * In a webhook response when you determine that you
|
|
149
|
+
# handled the customer issue.
|
|
150
|
+
# Corresponds to the JSON property `conversationSuccess`
|
|
151
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]
|
|
152
|
+
attr_accessor :conversation_success
|
|
153
|
+
|
|
154
|
+
# Indicates that interaction with the Dialogflow agent has ended. This message
|
|
155
|
+
# is generated by Dialogflow only and not supposed to be defined by the user.
|
|
156
|
+
# Corresponds to the JSON property `endInteraction`
|
|
157
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction]
|
|
158
|
+
attr_accessor :end_interaction
|
|
159
|
+
|
|
160
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
161
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
|
162
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
|
163
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
|
164
|
+
# entry_fulfillment of a Page if entering the page indicates something went
|
|
165
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
|
166
|
+
# determine that the customer issue can only be handled by a human.
|
|
167
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
|
168
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]
|
|
169
|
+
attr_accessor :live_agent_handoff
|
|
170
|
+
|
|
171
|
+
# Represents an audio message that is composed of both segments synthesized from
|
|
172
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
|
173
|
+
# The external URIs are specified via play_audio. This message is generated by
|
|
174
|
+
# Dialogflow only and not supposed to be defined by the user.
|
|
175
|
+
# Corresponds to the JSON property `mixedAudio`
|
|
176
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio]
|
|
177
|
+
attr_accessor :mixed_audio
|
|
178
|
+
|
|
179
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
|
180
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
|
181
|
+
# Corresponds to the JSON property `outputAudioText`
|
|
182
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]
|
|
183
|
+
attr_accessor :output_audio_text
|
|
184
|
+
|
|
185
|
+
# Returns a response containing a custom, platform-specific payload.
|
|
186
|
+
# Corresponds to the JSON property `payload`
|
|
187
|
+
# @return [Hash<String,Object>]
|
|
188
|
+
attr_accessor :payload
|
|
189
|
+
|
|
190
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
191
|
+
# Corresponds to the JSON property `playAudio`
|
|
192
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
|
|
193
|
+
attr_accessor :play_audio
|
|
194
|
+
|
|
195
|
+
# The text response message.
|
|
196
|
+
# Corresponds to the JSON property `text`
|
|
197
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageText]
|
|
198
|
+
attr_accessor :text
|
|
199
|
+
|
|
200
|
+
def initialize(**args)
|
|
201
|
+
update!(**args)
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# Update properties of this object
|
|
205
|
+
def update!(**args)
|
|
206
|
+
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
|
207
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
|
208
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
|
209
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
|
210
|
+
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
|
211
|
+
@payload = args[:payload] if args.key?(:payload)
|
|
212
|
+
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
|
213
|
+
@text = args[:text] if args.key?(:text)
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
|
218
|
+
# that the customer talked to it about. Dialogflow only uses this to determine
|
|
219
|
+
# which conversations should be counted as successful and doesn't process the
|
|
220
|
+
# metadata in this message in any way. Note that Dialogflow also considers
|
|
221
|
+
# conversations that get to the conversation end page as successful even if they
|
|
222
|
+
# don't return ConversationSuccess. You may set this, for example: * In the
|
|
223
|
+
# entry_fulfillment of a Page if entering the page indicates that the
|
|
224
|
+
# conversation succeeded. * In a webhook response when you determine that you
|
|
225
|
+
# handled the customer issue.
|
|
226
|
+
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
|
227
|
+
include Google::Apis::Core::Hashable
|
|
228
|
+
|
|
229
|
+
# Custom metadata. Dialogflow doesn't impose any structure on this.
|
|
230
|
+
# Corresponds to the JSON property `metadata`
|
|
231
|
+
# @return [Hash<String,Object>]
|
|
232
|
+
attr_accessor :metadata
|
|
233
|
+
|
|
234
|
+
def initialize(**args)
|
|
235
|
+
update!(**args)
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Update properties of this object
|
|
239
|
+
def update!(**args)
|
|
240
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Indicates that interaction with the Dialogflow agent has ended. This message
|
|
245
|
+
# is generated by Dialogflow only and not supposed to be defined by the user.
|
|
246
|
+
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
|
247
|
+
include Google::Apis::Core::Hashable
|
|
248
|
+
|
|
249
|
+
def initialize(**args)
|
|
250
|
+
update!(**args)
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
# Update properties of this object
|
|
254
|
+
def update!(**args)
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
259
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
|
260
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
|
261
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
|
262
|
+
# entry_fulfillment of a Page if entering the page indicates something went
|
|
263
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
|
264
|
+
# determine that the customer issue can only be handled by a human.
|
|
265
|
+
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
|
266
|
+
include Google::Apis::Core::Hashable
|
|
267
|
+
|
|
268
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose any
|
|
269
|
+
# structure on this.
|
|
270
|
+
# Corresponds to the JSON property `metadata`
|
|
271
|
+
# @return [Hash<String,Object>]
|
|
272
|
+
attr_accessor :metadata
|
|
273
|
+
|
|
274
|
+
def initialize(**args)
|
|
275
|
+
update!(**args)
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Update properties of this object
|
|
279
|
+
def update!(**args)
|
|
280
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# Represents an audio message that is composed of both segments synthesized from
|
|
285
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
|
286
|
+
# The external URIs are specified via play_audio. This message is generated by
|
|
287
|
+
# Dialogflow only and not supposed to be defined by the user.
|
|
288
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
|
289
|
+
include Google::Apis::Core::Hashable
|
|
290
|
+
|
|
291
|
+
# Segments this audio response is composed of.
|
|
292
|
+
# Corresponds to the JSON property `segments`
|
|
293
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment>]
|
|
294
|
+
attr_accessor :segments
|
|
295
|
+
|
|
296
|
+
def initialize(**args)
|
|
297
|
+
update!(**args)
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
# Update properties of this object
|
|
301
|
+
def update!(**args)
|
|
302
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
# Represents one segment of audio.
|
|
307
|
+
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
|
308
|
+
include Google::Apis::Core::Hashable
|
|
309
|
+
|
|
310
|
+
# Output only. Whether the playback of this segment can be interrupted by the
|
|
311
|
+
# end user's speech and the client should then start the next Dialogflow request.
|
|
312
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
313
|
+
# @return [Boolean]
|
|
314
|
+
attr_accessor :allow_playback_interruption
|
|
315
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
316
|
+
|
|
317
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
|
318
|
+
# config specified in the request.
|
|
319
|
+
# Corresponds to the JSON property `audio`
|
|
320
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
321
|
+
# @return [String]
|
|
322
|
+
attr_accessor :audio
|
|
323
|
+
|
|
324
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
|
325
|
+
# Dialogflow does not impose any validation on it.
|
|
326
|
+
# Corresponds to the JSON property `uri`
|
|
327
|
+
# @return [String]
|
|
328
|
+
attr_accessor :uri
|
|
329
|
+
|
|
330
|
+
def initialize(**args)
|
|
331
|
+
update!(**args)
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Update properties of this object
|
|
335
|
+
def update!(**args)
|
|
336
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
337
|
+
@audio = args[:audio] if args.key?(:audio)
|
|
338
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
|
343
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
|
344
|
+
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
|
345
|
+
include Google::Apis::Core::Hashable
|
|
346
|
+
|
|
347
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
|
348
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
|
349
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
350
|
+
# @return [Boolean]
|
|
351
|
+
attr_accessor :allow_playback_interruption
|
|
352
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
353
|
+
|
|
354
|
+
# The SSML text to be synthesized. For more information, see [SSML](/speech/text-
|
|
355
|
+
# to-speech/docs/ssml).
|
|
356
|
+
# Corresponds to the JSON property `ssml`
|
|
357
|
+
# @return [String]
|
|
358
|
+
attr_accessor :ssml
|
|
359
|
+
|
|
360
|
+
# The raw text to be synthesized.
|
|
361
|
+
# Corresponds to the JSON property `text`
|
|
362
|
+
# @return [String]
|
|
363
|
+
attr_accessor :text
|
|
364
|
+
|
|
365
|
+
def initialize(**args)
|
|
366
|
+
update!(**args)
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Update properties of this object
|
|
370
|
+
def update!(**args)
|
|
371
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
372
|
+
@ssml = args[:ssml] if args.key?(:ssml)
|
|
373
|
+
@text = args[:text] if args.key?(:text)
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
378
|
+
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
|
379
|
+
include Google::Apis::Core::Hashable
|
|
380
|
+
|
|
381
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
|
382
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
|
383
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
384
|
+
# @return [Boolean]
|
|
385
|
+
attr_accessor :allow_playback_interruption
|
|
386
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
387
|
+
|
|
388
|
+
# Required. URI of the audio clip. Dialogflow does not impose any validation on
|
|
389
|
+
# this value. It is specific to the client that reads it.
|
|
390
|
+
# Corresponds to the JSON property `audioUri`
|
|
391
|
+
# @return [String]
|
|
392
|
+
attr_accessor :audio_uri
|
|
393
|
+
|
|
394
|
+
def initialize(**args)
|
|
395
|
+
update!(**args)
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# Update properties of this object
|
|
399
|
+
def update!(**args)
|
|
400
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
401
|
+
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
|
|
402
|
+
end
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# The text response message.
|
|
406
|
+
class GoogleCloudDialogflowCxV3ResponseMessageText
|
|
407
|
+
include Google::Apis::Core::Hashable
|
|
408
|
+
|
|
409
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
|
410
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
|
411
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
412
|
+
# @return [Boolean]
|
|
413
|
+
attr_accessor :allow_playback_interruption
|
|
414
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
415
|
+
|
|
416
|
+
# Required. A collection of text responses.
|
|
417
|
+
# Corresponds to the JSON property `text`
|
|
418
|
+
# @return [Array<String>]
|
|
419
|
+
attr_accessor :text
|
|
420
|
+
|
|
421
|
+
def initialize(**args)
|
|
422
|
+
update!(**args)
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# Update properties of this object
|
|
426
|
+
def update!(**args)
|
|
427
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
428
|
+
@text = args[:text] if args.key?(:text)
|
|
429
|
+
end
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
# Represents session information communicated to and from the webhook.
|
|
433
|
+
class GoogleCloudDialogflowCxV3SessionInfo
|
|
434
|
+
include Google::Apis::Core::Hashable
|
|
435
|
+
|
|
436
|
+
# Optional for WebhookRequest. Optional for WebhookResponse. All parameters
|
|
437
|
+
# collected from forms and intents during the session. Parameters can be created,
|
|
438
|
+
# updated, or removed by the webhook. To remove a parameter from the session,
|
|
439
|
+
# the webhook should explicitly set the parameter value to null in
|
|
440
|
+
# WebhookResponse. The map is keyed by parameters' display names.
|
|
441
|
+
# Corresponds to the JSON property `parameters`
|
|
442
|
+
# @return [Hash<String,Object>]
|
|
443
|
+
attr_accessor :parameters
|
|
444
|
+
|
|
445
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The unique
|
|
446
|
+
# identifier of the session. This field can be used by the webhook to identify a
|
|
447
|
+
# user. Format: `projects//locations//agents//sessions/`.
|
|
448
|
+
# Corresponds to the JSON property `session`
|
|
449
|
+
# @return [String]
|
|
450
|
+
attr_accessor :session
|
|
451
|
+
|
|
452
|
+
def initialize(**args)
|
|
453
|
+
update!(**args)
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Update properties of this object
|
|
457
|
+
def update!(**args)
|
|
458
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
459
|
+
@session = args[:session] if args.key?(:session)
|
|
460
|
+
end
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# The request message for a webhook call.
|
|
464
|
+
class GoogleCloudDialogflowCxV3WebhookRequest
|
|
465
|
+
include Google::Apis::Core::Hashable
|
|
466
|
+
|
|
467
|
+
# Always present. The unique identifier of the DetectIntentResponse that will be
|
|
468
|
+
# returned to the API caller.
|
|
469
|
+
# Corresponds to the JSON property `detectIntentResponseId`
|
|
470
|
+
# @return [String]
|
|
471
|
+
attr_accessor :detect_intent_response_id
|
|
472
|
+
|
|
473
|
+
# Represents fulfillment information communicated to the webhook.
|
|
474
|
+
# Corresponds to the JSON property `fulfillmentInfo`
|
|
475
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo]
|
|
476
|
+
attr_accessor :fulfillment_info
|
|
477
|
+
|
|
478
|
+
# Represents intent information communicated to the webhook.
|
|
479
|
+
# Corresponds to the JSON property `intentInfo`
|
|
480
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
|
481
|
+
attr_accessor :intent_info
|
|
482
|
+
|
|
483
|
+
# The list of rich message responses to present to the user. Webhook can choose
|
|
484
|
+
# to append or replace this list in WebhookResponse.fulfillment_response;
|
|
485
|
+
# Corresponds to the JSON property `messages`
|
|
486
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
|
|
487
|
+
attr_accessor :messages
|
|
488
|
+
|
|
489
|
+
# Represents page information communicated to and from the webhook.
|
|
490
|
+
# Corresponds to the JSON property `pageInfo`
|
|
491
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo]
|
|
492
|
+
attr_accessor :page_info
|
|
493
|
+
|
|
494
|
+
# Custom data set in QueryParameters.payload.
|
|
495
|
+
# Corresponds to the JSON property `payload`
|
|
496
|
+
# @return [Hash<String,Object>]
|
|
497
|
+
attr_accessor :payload
|
|
498
|
+
|
|
499
|
+
# Represents session information communicated to and from the webhook.
|
|
500
|
+
# Corresponds to the JSON property `sessionInfo`
|
|
501
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo]
|
|
502
|
+
attr_accessor :session_info
|
|
503
|
+
|
|
504
|
+
def initialize(**args)
|
|
505
|
+
update!(**args)
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
# Update properties of this object
|
|
509
|
+
def update!(**args)
|
|
510
|
+
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
|
511
|
+
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
|
512
|
+
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
|
513
|
+
@messages = args[:messages] if args.key?(:messages)
|
|
514
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
515
|
+
@payload = args[:payload] if args.key?(:payload)
|
|
516
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
|
517
|
+
end
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
# Represents fulfillment information communicated to the webhook.
|
|
521
|
+
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
|
522
|
+
include Google::Apis::Core::Hashable
|
|
523
|
+
|
|
524
|
+
# Always present. The tag used to identify which fulfillment is being called.
|
|
525
|
+
# Corresponds to the JSON property `tag`
|
|
526
|
+
# @return [String]
|
|
527
|
+
attr_accessor :tag
|
|
528
|
+
|
|
529
|
+
def initialize(**args)
|
|
530
|
+
update!(**args)
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
# Update properties of this object
|
|
534
|
+
def update!(**args)
|
|
535
|
+
@tag = args[:tag] if args.key?(:tag)
|
|
536
|
+
end
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
# Represents intent information communicated to the webhook.
|
|
540
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
|
541
|
+
include Google::Apis::Core::Hashable
|
|
542
|
+
|
|
543
|
+
# Always present. The unique identifier of the last matched intent. Format: `
|
|
544
|
+
# projects//locations//agents//intents/`.
|
|
545
|
+
# Corresponds to the JSON property `lastMatchedIntent`
|
|
546
|
+
# @return [String]
|
|
547
|
+
attr_accessor :last_matched_intent
|
|
548
|
+
|
|
549
|
+
# Parameters identified as a result of intent matching. This is a map of the
|
|
550
|
+
# name of the identified parameter to the value of the parameter identified from
|
|
551
|
+
# the user's utterance. All parameters defined in the matched intent that are
|
|
552
|
+
# identified will be surfaced here.
|
|
553
|
+
# Corresponds to the JSON property `parameters`
|
|
554
|
+
# @return [Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue>]
|
|
555
|
+
attr_accessor :parameters
|
|
556
|
+
|
|
557
|
+
def initialize(**args)
|
|
558
|
+
update!(**args)
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
# Update properties of this object
|
|
562
|
+
def update!(**args)
|
|
563
|
+
@last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
|
|
564
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
565
|
+
end
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
# Represents a value for an intent parameter.
|
|
569
|
+
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
|
570
|
+
include Google::Apis::Core::Hashable
|
|
571
|
+
|
|
572
|
+
# Always present. Original text value extracted from user utterance.
|
|
573
|
+
# Corresponds to the JSON property `originalValue`
|
|
574
|
+
# @return [String]
|
|
575
|
+
attr_accessor :original_value
|
|
576
|
+
|
|
577
|
+
# Always present. Structured value for the parameter extracted from user
|
|
578
|
+
# utterance.
|
|
579
|
+
# Corresponds to the JSON property `resolvedValue`
|
|
580
|
+
# @return [Object]
|
|
581
|
+
attr_accessor :resolved_value
|
|
582
|
+
|
|
583
|
+
def initialize(**args)
|
|
584
|
+
update!(**args)
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# Update properties of this object
|
|
588
|
+
def update!(**args)
|
|
589
|
+
@original_value = args[:original_value] if args.key?(:original_value)
|
|
590
|
+
@resolved_value = args[:resolved_value] if args.key?(:resolved_value)
|
|
591
|
+
end
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
# The response message for a webhook call.
|
|
595
|
+
class GoogleCloudDialogflowCxV3WebhookResponse
|
|
596
|
+
include Google::Apis::Core::Hashable
|
|
597
|
+
|
|
598
|
+
# Represents a fulfillment response to the user.
|
|
599
|
+
# Corresponds to the JSON property `fulfillmentResponse`
|
|
600
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse]
|
|
601
|
+
attr_accessor :fulfillment_response
|
|
602
|
+
|
|
603
|
+
# Represents page information communicated to and from the webhook.
|
|
604
|
+
# Corresponds to the JSON property `pageInfo`
|
|
605
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo]
|
|
606
|
+
attr_accessor :page_info
|
|
607
|
+
|
|
608
|
+
# Value to append directly to QueryResult.webhook_payloads.
|
|
609
|
+
# Corresponds to the JSON property `payload`
|
|
610
|
+
# @return [Hash<String,Object>]
|
|
611
|
+
attr_accessor :payload
|
|
612
|
+
|
|
613
|
+
# Represents session information communicated to and from the webhook.
|
|
614
|
+
# Corresponds to the JSON property `sessionInfo`
|
|
615
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo]
|
|
616
|
+
attr_accessor :session_info
|
|
617
|
+
|
|
618
|
+
# The target flow to transition to. Format: `projects//locations//agents//flows/`
|
|
619
|
+
# .
|
|
620
|
+
# Corresponds to the JSON property `targetFlow`
|
|
621
|
+
# @return [String]
|
|
622
|
+
attr_accessor :target_flow
|
|
623
|
+
|
|
624
|
+
# The target page to transition to. Format: `projects//locations//agents//flows//
|
|
625
|
+
# pages/`.
|
|
626
|
+
# Corresponds to the JSON property `targetPage`
|
|
627
|
+
# @return [String]
|
|
628
|
+
attr_accessor :target_page
|
|
629
|
+
|
|
630
|
+
def initialize(**args)
|
|
631
|
+
update!(**args)
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
# Update properties of this object
|
|
635
|
+
def update!(**args)
|
|
636
|
+
@fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response)
|
|
637
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
638
|
+
@payload = args[:payload] if args.key?(:payload)
|
|
639
|
+
@session_info = args[:session_info] if args.key?(:session_info)
|
|
640
|
+
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
|
641
|
+
@target_page = args[:target_page] if args.key?(:target_page)
|
|
642
|
+
end
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
# Represents a fulfillment response to the user.
|
|
646
|
+
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
|
647
|
+
include Google::Apis::Core::Hashable
|
|
648
|
+
|
|
649
|
+
# Merge behavior for `messages`.
|
|
650
|
+
# Corresponds to the JSON property `mergeBehavior`
|
|
651
|
+
# @return [String]
|
|
652
|
+
attr_accessor :merge_behavior
|
|
653
|
+
|
|
654
|
+
# The list of rich message responses to present to the user.
|
|
655
|
+
# Corresponds to the JSON property `messages`
|
|
656
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
|
|
657
|
+
attr_accessor :messages
|
|
658
|
+
|
|
659
|
+
def initialize(**args)
|
|
660
|
+
update!(**args)
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
# Update properties of this object
|
|
664
|
+
def update!(**args)
|
|
665
|
+
@merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
|
|
666
|
+
@messages = args[:messages] if args.key?(:messages)
|
|
667
|
+
end
|
|
668
|
+
end
|
|
669
|
+
|
|
25
670
|
# Agents are best described as Natural Language Understanding (NLU) modules that
|
|
26
671
|
# transform user requests into actionable data. You can include agents in your
|
|
27
672
|
# app, product, or service to determine user intent and respond to the user in a
|
|
@@ -172,8 +817,10 @@ module Google
|
|
|
172
817
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig]
|
|
173
818
|
attr_accessor :output_audio_config
|
|
174
819
|
|
|
175
|
-
# Represents the query input. It can contain
|
|
820
|
+
# Represents the query input. It can contain one of: 1. A conversational query
|
|
176
821
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
|
822
|
+
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
|
823
|
+
#
|
|
177
824
|
# Corresponds to the JSON property `queryInput`
|
|
178
825
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
|
179
826
|
attr_accessor :query_input
|
|
@@ -241,6 +888,31 @@ module Google
|
|
|
241
888
|
end
|
|
242
889
|
end
|
|
243
890
|
|
|
891
|
+
# Represents the input for dtmf event.
|
|
892
|
+
class GoogleCloudDialogflowCxV3beta1DtmfInput
|
|
893
|
+
include Google::Apis::Core::Hashable
|
|
894
|
+
|
|
895
|
+
# The dtmf digits.
|
|
896
|
+
# Corresponds to the JSON property `digits`
|
|
897
|
+
# @return [String]
|
|
898
|
+
attr_accessor :digits
|
|
899
|
+
|
|
900
|
+
# The finish digit (if any).
|
|
901
|
+
# Corresponds to the JSON property `finishDigit`
|
|
902
|
+
# @return [String]
|
|
903
|
+
attr_accessor :finish_digit
|
|
904
|
+
|
|
905
|
+
def initialize(**args)
|
|
906
|
+
update!(**args)
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
# Update properties of this object
|
|
910
|
+
def update!(**args)
|
|
911
|
+
@digits = args[:digits] if args.key?(:digits)
|
|
912
|
+
@finish_digit = args[:finish_digit] if args.key?(:finish_digit)
|
|
913
|
+
end
|
|
914
|
+
end
|
|
915
|
+
|
|
244
916
|
# Entities are extracted from user input and represent parameters that are
|
|
245
917
|
# meaningful to your application. For example, a date range, a proper name such
|
|
246
918
|
# as a geographic location or landmark, and so on. Entities represent actionable
|
|
@@ -1018,25 +1690,6 @@ module Google
|
|
|
1018
1690
|
end
|
|
1019
1691
|
end
|
|
1020
1692
|
|
|
1021
|
-
# The response message for Agents.ImportAgent.
|
|
1022
|
-
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
|
|
1023
|
-
include Google::Apis::Core::Hashable
|
|
1024
|
-
|
|
1025
|
-
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
|
|
1026
|
-
# Corresponds to the JSON property `agent`
|
|
1027
|
-
# @return [String]
|
|
1028
|
-
attr_accessor :agent
|
|
1029
|
-
|
|
1030
|
-
def initialize(**args)
|
|
1031
|
-
update!(**args)
|
|
1032
|
-
end
|
|
1033
|
-
|
|
1034
|
-
# Update properties of this object
|
|
1035
|
-
def update!(**args)
|
|
1036
|
-
@agent = args[:agent] if args.key?(:agent)
|
|
1037
|
-
end
|
|
1038
|
-
end
|
|
1039
|
-
|
|
1040
1693
|
# Instructs the speech recognizer on how to process the audio content.
|
|
1041
1694
|
class GoogleCloudDialogflowCxV3beta1InputAudioConfig
|
|
1042
1695
|
include Google::Apis::Core::Hashable
|
|
@@ -1121,6 +1774,12 @@ module Google
|
|
|
1121
1774
|
class GoogleCloudDialogflowCxV3beta1Intent
|
|
1122
1775
|
include Google::Apis::Core::Hashable
|
|
1123
1776
|
|
|
1777
|
+
# Optional. Human readable description for better understanding an intent like
|
|
1778
|
+
# its scope, content, result etc. Maximum character limit: 140 characters.
|
|
1779
|
+
# Corresponds to the JSON property `description`
|
|
1780
|
+
# @return [String]
|
|
1781
|
+
attr_accessor :description
|
|
1782
|
+
|
|
1124
1783
|
# Required. The human-readable name of the intent, unique within the agent.
|
|
1125
1784
|
# Corresponds to the JSON property `displayName`
|
|
1126
1785
|
# @return [String]
|
|
@@ -1136,6 +1795,18 @@ module Google
|
|
|
1136
1795
|
attr_accessor :is_fallback
|
|
1137
1796
|
alias_method :is_fallback?, :is_fallback
|
|
1138
1797
|
|
|
1798
|
+
# Optional. The key/value metadata to label an intent. Labels can contain
|
|
1799
|
+
# lowercase letters, digits and the symbols '-' and '_'. International
|
|
1800
|
+
# characters are allowed, including letters from unicase alphabets. Keys must
|
|
1801
|
+
# start with a letter. Keys and values can be no longer than 63 characters and
|
|
1802
|
+
# no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined
|
|
1803
|
+
# labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-
|
|
1804
|
+
# contextual The above labels do not require value. "sys-head" means the intent
|
|
1805
|
+
# is a head intent. "sys-contextual" means the intent is a contextual intent.
|
|
1806
|
+
# Corresponds to the JSON property `labels`
|
|
1807
|
+
# @return [Hash<String,String>]
|
|
1808
|
+
attr_accessor :labels
|
|
1809
|
+
|
|
1139
1810
|
# The unique identifier of the intent. Required for the Intents.UpdateIntent
|
|
1140
1811
|
# method. Intents.CreateIntent populates the name automatically. Format: `
|
|
1141
1812
|
# projects//locations//agents//intents/`.
|
|
@@ -1169,8 +1840,10 @@ module Google
|
|
|
1169
1840
|
|
|
1170
1841
|
# Update properties of this object
|
|
1171
1842
|
def update!(**args)
|
|
1843
|
+
@description = args[:description] if args.key?(:description)
|
|
1172
1844
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1173
1845
|
@is_fallback = args[:is_fallback] if args.key?(:is_fallback)
|
|
1846
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1174
1847
|
@name = args[:name] if args.key?(:name)
|
|
1175
1848
|
@parameters = args[:parameters] if args.key?(:parameters)
|
|
1176
1849
|
@priority = args[:priority] if args.key?(:priority)
|
|
@@ -1698,8 +2371,10 @@ module Google
|
|
|
1698
2371
|
class GoogleCloudDialogflowCxV3beta1MatchIntentRequest
|
|
1699
2372
|
include Google::Apis::Core::Hashable
|
|
1700
2373
|
|
|
1701
|
-
# Represents the query input. It can contain
|
|
2374
|
+
# Represents the query input. It can contain one of: 1. A conversational query
|
|
1702
2375
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
|
2376
|
+
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
|
2377
|
+
#
|
|
1703
2378
|
# Corresponds to the JSON property `queryInput`
|
|
1704
2379
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
|
1705
2380
|
attr_accessor :query_input
|
|
@@ -1758,6 +2433,12 @@ module Google
|
|
|
1758
2433
|
# @return [String]
|
|
1759
2434
|
attr_accessor :transcript
|
|
1760
2435
|
|
|
2436
|
+
# If an event was provided as input, this field will contain a copy of the event
|
|
2437
|
+
# name.
|
|
2438
|
+
# Corresponds to the JSON property `triggerEvent`
|
|
2439
|
+
# @return [String]
|
|
2440
|
+
attr_accessor :trigger_event
|
|
2441
|
+
|
|
1761
2442
|
# If an intent was provided as input, this field will contain a copy of the
|
|
1762
2443
|
# intent identifier.
|
|
1763
2444
|
# Corresponds to the JSON property `triggerIntent`
|
|
@@ -1774,6 +2455,7 @@ module Google
|
|
|
1774
2455
|
@matches = args[:matches] if args.key?(:matches)
|
|
1775
2456
|
@text = args[:text] if args.key?(:text)
|
|
1776
2457
|
@transcript = args[:transcript] if args.key?(:transcript)
|
|
2458
|
+
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
|
1777
2459
|
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
|
1778
2460
|
end
|
|
1779
2461
|
end
|
|
@@ -2041,8 +2723,10 @@ module Google
|
|
|
2041
2723
|
end
|
|
2042
2724
|
end
|
|
2043
2725
|
|
|
2044
|
-
# Represents the query input. It can contain
|
|
2726
|
+
# Represents the query input. It can contain one of: 1. A conversational query
|
|
2045
2727
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
|
2728
|
+
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
|
2729
|
+
#
|
|
2046
2730
|
class GoogleCloudDialogflowCxV3beta1QueryInput
|
|
2047
2731
|
include Google::Apis::Core::Hashable
|
|
2048
2732
|
|
|
@@ -2051,6 +2735,11 @@ module Google
|
|
|
2051
2735
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput]
|
|
2052
2736
|
attr_accessor :audio
|
|
2053
2737
|
|
|
2738
|
+
# Represents the input for dtmf event.
|
|
2739
|
+
# Corresponds to the JSON property `dtmf`
|
|
2740
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput]
|
|
2741
|
+
attr_accessor :dtmf
|
|
2742
|
+
|
|
2054
2743
|
# Represents the event to trigger.
|
|
2055
2744
|
# Corresponds to the JSON property `event`
|
|
2056
2745
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventInput]
|
|
@@ -2082,6 +2771,7 @@ module Google
|
|
|
2082
2771
|
# Update properties of this object
|
|
2083
2772
|
def update!(**args)
|
|
2084
2773
|
@audio = args[:audio] if args.key?(:audio)
|
|
2774
|
+
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
|
2085
2775
|
@event = args[:event] if args.key?(:event)
|
|
2086
2776
|
@intent = args[:intent] if args.key?(:intent)
|
|
2087
2777
|
@language_code = args[:language_code] if args.key?(:language_code)
|
|
@@ -2100,8 +2790,8 @@ module Google
|
|
|
2100
2790
|
attr_accessor :analyze_query_text_sentiment
|
|
2101
2791
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
|
2102
2792
|
|
|
2103
|
-
# An object
|
|
2104
|
-
# of doubles
|
|
2793
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
2794
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
2105
2795
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
|
2106
2796
|
# within normalized ranges.
|
|
2107
2797
|
# Corresponds to the JSON property `geoLocation`
|
|
@@ -5126,9 +5816,9 @@ module Google
|
|
|
5126
5816
|
|
|
5127
5817
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
5128
5818
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
5129
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
5130
|
-
#
|
|
5131
|
-
#
|
|
5819
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
5820
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
5821
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
5132
5822
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
5133
5823
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
5134
5824
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -5212,9 +5902,9 @@ module Google
|
|
|
5212
5902
|
|
|
5213
5903
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
5214
5904
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
5215
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
5216
|
-
#
|
|
5217
|
-
#
|
|
5905
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
5906
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
5907
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
5218
5908
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
5219
5909
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
5220
5910
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -5406,102 +6096,6 @@ module Google
|
|
|
5406
6096
|
end
|
|
5407
6097
|
end
|
|
5408
6098
|
|
|
5409
|
-
# Represents an annotated conversation dataset. ConversationDataset can have
|
|
5410
|
-
# multiple AnnotatedConversationDataset, each of them represents one result from
|
|
5411
|
-
# one annotation task. AnnotatedConversationDataset can only be generated from
|
|
5412
|
-
# annotation task, which will be triggered by LabelConversation.
|
|
5413
|
-
class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
|
|
5414
|
-
include Google::Apis::Core::Hashable
|
|
5415
|
-
|
|
5416
|
-
# Output only. Number of examples that have annotations in the annotated
|
|
5417
|
-
# conversation dataset.
|
|
5418
|
-
# Corresponds to the JSON property `completedExampleCount`
|
|
5419
|
-
# @return [Fixnum]
|
|
5420
|
-
attr_accessor :completed_example_count
|
|
5421
|
-
|
|
5422
|
-
# Output only. Creation time of this annotated conversation dataset.
|
|
5423
|
-
# Corresponds to the JSON property `createTime`
|
|
5424
|
-
# @return [String]
|
|
5425
|
-
attr_accessor :create_time
|
|
5426
|
-
|
|
5427
|
-
# Optional. The description of the annotated conversation dataset. Maximum of
|
|
5428
|
-
# 10000 bytes.
|
|
5429
|
-
# Corresponds to the JSON property `description`
|
|
5430
|
-
# @return [String]
|
|
5431
|
-
attr_accessor :description
|
|
5432
|
-
|
|
5433
|
-
# Required. The display name of the annotated conversation dataset. It's
|
|
5434
|
-
# specified when user starts an annotation task. Maximum of 64 bytes.
|
|
5435
|
-
# Corresponds to the JSON property `displayName`
|
|
5436
|
-
# @return [String]
|
|
5437
|
-
attr_accessor :display_name
|
|
5438
|
-
|
|
5439
|
-
# Output only. Number of examples in the annotated conversation dataset.
|
|
5440
|
-
# Corresponds to the JSON property `exampleCount`
|
|
5441
|
-
# @return [Fixnum]
|
|
5442
|
-
attr_accessor :example_count
|
|
5443
|
-
|
|
5444
|
-
# Output only. AnnotatedConversationDataset resource name. Format: `projects//
|
|
5445
|
-
# conversationDatasets//annotatedConversationDatasets/`
|
|
5446
|
-
# Corresponds to the JSON property `name`
|
|
5447
|
-
# @return [String]
|
|
5448
|
-
attr_accessor :name
|
|
5449
|
-
|
|
5450
|
-
# Output only. Question type name that identifies a labeling task. A question is
|
|
5451
|
-
# a single task that a worker answers. A question type is set of related
|
|
5452
|
-
# questions. Each question belongs to a particular question type. It can be used
|
|
5453
|
-
# in CrowdCompute UI to filter and manage labeling tasks.
|
|
5454
|
-
# Corresponds to the JSON property `questionTypeName`
|
|
5455
|
-
# @return [String]
|
|
5456
|
-
attr_accessor :question_type_name
|
|
5457
|
-
|
|
5458
|
-
def initialize(**args)
|
|
5459
|
-
update!(**args)
|
|
5460
|
-
end
|
|
5461
|
-
|
|
5462
|
-
# Update properties of this object
|
|
5463
|
-
def update!(**args)
|
|
5464
|
-
@completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count)
|
|
5465
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5466
|
-
@description = args[:description] if args.key?(:description)
|
|
5467
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
5468
|
-
@example_count = args[:example_count] if args.key?(:example_count)
|
|
5469
|
-
@name = args[:name] if args.key?(:name)
|
|
5470
|
-
@question_type_name = args[:question_type_name] if args.key?(:question_type_name)
|
|
5471
|
-
end
|
|
5472
|
-
end
|
|
5473
|
-
|
|
5474
|
-
# Response message for [Documents.AutoApproveSmartMessagingEntries].
|
|
5475
|
-
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
|
5476
|
-
include Google::Apis::Core::Hashable
|
|
5477
|
-
|
|
5478
|
-
# Number of smart messaging entries disabled.
|
|
5479
|
-
# Corresponds to the JSON property `disabledCount`
|
|
5480
|
-
# @return [Fixnum]
|
|
5481
|
-
attr_accessor :disabled_count
|
|
5482
|
-
|
|
5483
|
-
# Number of smart messaging entries enabled.
|
|
5484
|
-
# Corresponds to the JSON property `enabledCount`
|
|
5485
|
-
# @return [Fixnum]
|
|
5486
|
-
attr_accessor :enabled_count
|
|
5487
|
-
|
|
5488
|
-
# Number of smart messaging entries unreviewed.
|
|
5489
|
-
# Corresponds to the JSON property `unreviewedCount`
|
|
5490
|
-
# @return [Fixnum]
|
|
5491
|
-
attr_accessor :unreviewed_count
|
|
5492
|
-
|
|
5493
|
-
def initialize(**args)
|
|
5494
|
-
update!(**args)
|
|
5495
|
-
end
|
|
5496
|
-
|
|
5497
|
-
# Update properties of this object
|
|
5498
|
-
def update!(**args)
|
|
5499
|
-
@disabled_count = args[:disabled_count] if args.key?(:disabled_count)
|
|
5500
|
-
@enabled_count = args[:enabled_count] if args.key?(:enabled_count)
|
|
5501
|
-
@unreviewed_count = args[:unreviewed_count] if args.key?(:unreviewed_count)
|
|
5502
|
-
end
|
|
5503
|
-
end
|
|
5504
|
-
|
|
5505
6099
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
|
5506
6100
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
|
5507
6101
|
include Google::Apis::Core::Hashable
|
|
@@ -7573,28 +8167,6 @@ module Google
|
|
|
7573
8167
|
end
|
|
7574
8168
|
end
|
|
7575
8169
|
|
|
7576
|
-
# The response for ConversationDatasets.LabelConversation.
|
|
7577
|
-
class GoogleCloudDialogflowV2beta1LabelConversationResponse
|
|
7578
|
-
include Google::Apis::Core::Hashable
|
|
7579
|
-
|
|
7580
|
-
# Represents an annotated conversation dataset. ConversationDataset can have
|
|
7581
|
-
# multiple AnnotatedConversationDataset, each of them represents one result from
|
|
7582
|
-
# one annotation task. AnnotatedConversationDataset can only be generated from
|
|
7583
|
-
# annotation task, which will be triggered by LabelConversation.
|
|
7584
|
-
# Corresponds to the JSON property `annotatedConversationDataset`
|
|
7585
|
-
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset]
|
|
7586
|
-
attr_accessor :annotated_conversation_dataset
|
|
7587
|
-
|
|
7588
|
-
def initialize(**args)
|
|
7589
|
-
update!(**args)
|
|
7590
|
-
end
|
|
7591
|
-
|
|
7592
|
-
# Update properties of this object
|
|
7593
|
-
def update!(**args)
|
|
7594
|
-
@annotated_conversation_dataset = args[:annotated_conversation_dataset] if args.key?(:annotated_conversation_dataset)
|
|
7595
|
-
end
|
|
7596
|
-
end
|
|
7597
|
-
|
|
7598
8170
|
# Represents the contents of the original request that was passed to the `[
|
|
7599
8171
|
# Streaming]DetectIntent` call.
|
|
7600
8172
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
|
@@ -7737,9 +8309,9 @@ module Google
|
|
|
7737
8309
|
|
|
7738
8310
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
7739
8311
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
7740
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
7741
|
-
#
|
|
7742
|
-
#
|
|
8312
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
8313
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
8314
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
7743
8315
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
7744
8316
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
7745
8317
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -7824,9 +8396,9 @@ module Google
|
|
|
7824
8396
|
|
|
7825
8397
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
7826
8398
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
7827
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
7828
|
-
#
|
|
7829
|
-
#
|
|
8399
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
8400
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
8401
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
7830
8402
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
7831
8403
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
7832
8404
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -8038,134 +8610,24 @@ module Google
|
|
|
8038
8610
|
end
|
|
8039
8611
|
end
|
|
8040
8612
|
|
|
8041
|
-
# Metadata
|
|
8042
|
-
class
|
|
8043
|
-
include Google::Apis::Core::Hashable
|
|
8044
|
-
|
|
8045
|
-
# Name of the created version. Format: `projects//locations//agents//flows//
|
|
8046
|
-
# versions/`.
|
|
8047
|
-
# Corresponds to the JSON property `version`
|
|
8048
|
-
# @return [String]
|
|
8049
|
-
attr_accessor :version
|
|
8050
|
-
|
|
8051
|
-
def initialize(**args)
|
|
8052
|
-
update!(**args)
|
|
8053
|
-
end
|
|
8054
|
-
|
|
8055
|
-
# Update properties of this object
|
|
8056
|
-
def update!(**args)
|
|
8057
|
-
@version = args[:version] if args.key?(:version)
|
|
8058
|
-
end
|
|
8059
|
-
end
|
|
8060
|
-
|
|
8061
|
-
# The response message for Agents.ExportAgent.
|
|
8062
|
-
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
|
8063
|
-
include Google::Apis::Core::Hashable
|
|
8064
|
-
|
|
8065
|
-
# Uncompressed raw byte content for agent.
|
|
8066
|
-
# Corresponds to the JSON property `agentContent`
|
|
8067
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
8068
|
-
# @return [String]
|
|
8069
|
-
attr_accessor :agent_content
|
|
8070
|
-
|
|
8071
|
-
# The URI to a file containing the exported agent. This field is populated only
|
|
8072
|
-
# if `agent_uri` is specified in ExportAgentRequest.
|
|
8073
|
-
# Corresponds to the JSON property `agentUri`
|
|
8074
|
-
# @return [String]
|
|
8075
|
-
attr_accessor :agent_uri
|
|
8076
|
-
|
|
8077
|
-
def initialize(**args)
|
|
8078
|
-
update!(**args)
|
|
8079
|
-
end
|
|
8080
|
-
|
|
8081
|
-
# Update properties of this object
|
|
8082
|
-
def update!(**args)
|
|
8083
|
-
@agent_content = args[:agent_content] if args.key?(:agent_content)
|
|
8084
|
-
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
|
8085
|
-
end
|
|
8086
|
-
end
|
|
8087
|
-
|
|
8088
|
-
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
|
8089
|
-
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
|
|
8090
|
-
include Google::Apis::Core::Hashable
|
|
8091
|
-
|
|
8092
|
-
def initialize(**args)
|
|
8093
|
-
update!(**args)
|
|
8094
|
-
end
|
|
8095
|
-
|
|
8096
|
-
# Update properties of this object
|
|
8097
|
-
def update!(**args)
|
|
8098
|
-
end
|
|
8099
|
-
end
|
|
8100
|
-
|
|
8101
|
-
# The response message for TestCases.ExportTestCases.
|
|
8102
|
-
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
|
|
8613
|
+
# Metadata in google::longrunning::Operation.
|
|
8614
|
+
class GoogleCloudKnowledgeV1alpha1OperationMetadata
|
|
8103
8615
|
include Google::Apis::Core::Hashable
|
|
8104
8616
|
|
|
8105
|
-
#
|
|
8106
|
-
# Corresponds to the JSON property `
|
|
8107
|
-
#
|
|
8108
|
-
|
|
8109
|
-
attr_accessor :content
|
|
8110
|
-
|
|
8111
|
-
# The URI to a file containing the exported test cases. This field is populated
|
|
8112
|
-
# only if `gcs_uri` is specified in ExportTestCasesRequest.
|
|
8113
|
-
# Corresponds to the JSON property `gcsUri`
|
|
8114
|
-
# @return [String]
|
|
8115
|
-
attr_accessor :gcs_uri
|
|
8116
|
-
|
|
8117
|
-
def initialize(**args)
|
|
8118
|
-
update!(**args)
|
|
8119
|
-
end
|
|
8120
|
-
|
|
8121
|
-
# Update properties of this object
|
|
8122
|
-
def update!(**args)
|
|
8123
|
-
@content = args[:content] if args.key?(:content)
|
|
8124
|
-
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
8125
|
-
end
|
|
8126
|
-
end
|
|
8617
|
+
# The error codes from Manifold endpoints' last failures.
|
|
8618
|
+
# Corresponds to the JSON property `errorCode`
|
|
8619
|
+
# @return [Array<Fixnum>]
|
|
8620
|
+
attr_accessor :error_code
|
|
8127
8621
|
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8622
|
+
# The failure messages from Manifold endpoints' last failures.
|
|
8623
|
+
# Corresponds to the JSON property `message`
|
|
8624
|
+
# @return [Array<String>]
|
|
8625
|
+
attr_accessor :message
|
|
8131
8626
|
|
|
8132
|
-
# The
|
|
8133
|
-
# Corresponds to the JSON property `
|
|
8627
|
+
# Required. The current state of this operation.
|
|
8628
|
+
# Corresponds to the JSON property `state`
|
|
8134
8629
|
# @return [String]
|
|
8135
|
-
attr_accessor :
|
|
8136
|
-
|
|
8137
|
-
def initialize(**args)
|
|
8138
|
-
update!(**args)
|
|
8139
|
-
end
|
|
8140
|
-
|
|
8141
|
-
# Update properties of this object
|
|
8142
|
-
def update!(**args)
|
|
8143
|
-
@agent = args[:agent] if args.key?(:agent)
|
|
8144
|
-
end
|
|
8145
|
-
end
|
|
8146
|
-
|
|
8147
|
-
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
|
8148
|
-
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
|
|
8149
|
-
include Google::Apis::Core::Hashable
|
|
8150
|
-
|
|
8151
|
-
def initialize(**args)
|
|
8152
|
-
update!(**args)
|
|
8153
|
-
end
|
|
8154
|
-
|
|
8155
|
-
# Update properties of this object
|
|
8156
|
-
def update!(**args)
|
|
8157
|
-
end
|
|
8158
|
-
end
|
|
8159
|
-
|
|
8160
|
-
# The response message for TestCases.ImportTestCases.
|
|
8161
|
-
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
|
|
8162
|
-
include Google::Apis::Core::Hashable
|
|
8163
|
-
|
|
8164
|
-
# The unique identifiers of the new test cases. Format: `projects//locations//
|
|
8165
|
-
# agents//testCases/`.
|
|
8166
|
-
# Corresponds to the JSON property `names`
|
|
8167
|
-
# @return [Array<String>]
|
|
8168
|
-
attr_accessor :names
|
|
8630
|
+
attr_accessor :state
|
|
8169
8631
|
|
|
8170
8632
|
def initialize(**args)
|
|
8171
8633
|
update!(**args)
|
|
@@ -8173,7 +8635,9 @@ module Google
|
|
|
8173
8635
|
|
|
8174
8636
|
# Update properties of this object
|
|
8175
8637
|
def update!(**args)
|
|
8176
|
-
@
|
|
8638
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
|
8639
|
+
@message = args[:message] if args.key?(:message)
|
|
8640
|
+
@state = args[:state] if args.key?(:state)
|
|
8177
8641
|
end
|
|
8178
8642
|
end
|
|
8179
8643
|
|
|
@@ -8320,8 +8784,8 @@ module Google
|
|
|
8320
8784
|
end
|
|
8321
8785
|
end
|
|
8322
8786
|
|
|
8323
|
-
# An object
|
|
8324
|
-
# of doubles
|
|
8787
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
8788
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
8325
8789
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
|
8326
8790
|
# within normalized ranges.
|
|
8327
8791
|
class GoogleTypeLatLng
|