google-api-client 0.50.0 → 0.51.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/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
|
@@ -22,120 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DialogflowV2
|
|
24
24
|
|
|
25
|
-
class GoogleCloudDialogflowCxV3PageInfo
|
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
-
|
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
-
|
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
-
|
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class GoogleCloudDialogflowCxV3ResponseMessage
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
-
|
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
-
|
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
-
|
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
-
|
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
-
|
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
-
|
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
class GoogleCloudDialogflowCxV3ResponseMessageText
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
class GoogleCloudDialogflowCxV3SessionInfo
|
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
-
|
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
class GoogleCloudDialogflowCxV3WebhookRequest
|
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
-
|
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
-
|
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
-
|
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
-
|
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
class GoogleCloudDialogflowCxV3WebhookResponse
|
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
-
|
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
-
|
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
-
end
|
|
138
|
-
|
|
139
25
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
|
140
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
27
|
|
|
@@ -1204,191 +1090,6 @@ module Google
|
|
|
1204
1090
|
include Google::Apis::Core::JsonObjectSupport
|
|
1205
1091
|
end
|
|
1206
1092
|
|
|
1207
|
-
class GoogleCloudDialogflowCxV3PageInfo
|
|
1208
|
-
# @private
|
|
1209
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1210
|
-
property :current_page, as: 'currentPage'
|
|
1211
|
-
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
|
|
1212
|
-
|
|
1213
|
-
end
|
|
1214
|
-
end
|
|
1215
|
-
|
|
1216
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfo
|
|
1217
|
-
# @private
|
|
1218
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1219
|
-
collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo::Representation
|
|
1220
|
-
|
|
1221
|
-
end
|
|
1222
|
-
end
|
|
1223
|
-
|
|
1224
|
-
class GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
|
|
1225
|
-
# @private
|
|
1226
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1227
|
-
property :display_name, as: 'displayName'
|
|
1228
|
-
property :just_collected, as: 'justCollected'
|
|
1229
|
-
property :required, as: 'required'
|
|
1230
|
-
property :state, as: 'state'
|
|
1231
|
-
property :value, as: 'value'
|
|
1232
|
-
end
|
|
1233
|
-
end
|
|
1234
|
-
|
|
1235
|
-
class GoogleCloudDialogflowCxV3ResponseMessage
|
|
1236
|
-
# @private
|
|
1237
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1238
|
-
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess::Representation
|
|
1239
|
-
|
|
1240
|
-
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
|
1241
|
-
|
|
1242
|
-
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff::Representation
|
|
1243
|
-
|
|
1244
|
-
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio::Representation
|
|
1245
|
-
|
|
1246
|
-
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText::Representation
|
|
1247
|
-
|
|
1248
|
-
hash :payload, as: 'payload'
|
|
1249
|
-
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
|
|
1250
|
-
|
|
1251
|
-
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
|
1252
|
-
|
|
1253
|
-
end
|
|
1254
|
-
end
|
|
1255
|
-
|
|
1256
|
-
class GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
|
|
1257
|
-
# @private
|
|
1258
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1259
|
-
hash :metadata, as: 'metadata'
|
|
1260
|
-
end
|
|
1261
|
-
end
|
|
1262
|
-
|
|
1263
|
-
class GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
|
|
1264
|
-
# @private
|
|
1265
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1266
|
-
end
|
|
1267
|
-
end
|
|
1268
|
-
|
|
1269
|
-
class GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
|
|
1270
|
-
# @private
|
|
1271
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1272
|
-
hash :metadata, as: 'metadata'
|
|
1273
|
-
end
|
|
1274
|
-
end
|
|
1275
|
-
|
|
1276
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
|
|
1277
|
-
# @private
|
|
1278
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1279
|
-
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment::Representation
|
|
1280
|
-
|
|
1281
|
-
end
|
|
1282
|
-
end
|
|
1283
|
-
|
|
1284
|
-
class GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
|
|
1285
|
-
# @private
|
|
1286
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1287
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1288
|
-
property :audio, :base64 => true, as: 'audio'
|
|
1289
|
-
property :uri, as: 'uri'
|
|
1290
|
-
end
|
|
1291
|
-
end
|
|
1292
|
-
|
|
1293
|
-
class GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
|
|
1294
|
-
# @private
|
|
1295
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1296
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1297
|
-
property :ssml, as: 'ssml'
|
|
1298
|
-
property :text, as: 'text'
|
|
1299
|
-
end
|
|
1300
|
-
end
|
|
1301
|
-
|
|
1302
|
-
class GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
|
|
1303
|
-
# @private
|
|
1304
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1305
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1306
|
-
property :audio_uri, as: 'audioUri'
|
|
1307
|
-
end
|
|
1308
|
-
end
|
|
1309
|
-
|
|
1310
|
-
class GoogleCloudDialogflowCxV3ResponseMessageText
|
|
1311
|
-
# @private
|
|
1312
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1313
|
-
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1314
|
-
collection :text, as: 'text'
|
|
1315
|
-
end
|
|
1316
|
-
end
|
|
1317
|
-
|
|
1318
|
-
class GoogleCloudDialogflowCxV3SessionInfo
|
|
1319
|
-
# @private
|
|
1320
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1321
|
-
hash :parameters, as: 'parameters'
|
|
1322
|
-
property :session, as: 'session'
|
|
1323
|
-
end
|
|
1324
|
-
end
|
|
1325
|
-
|
|
1326
|
-
class GoogleCloudDialogflowCxV3WebhookRequest
|
|
1327
|
-
# @private
|
|
1328
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1329
|
-
property :detect_intent_response_id, as: 'detectIntentResponseId'
|
|
1330
|
-
property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo::Representation
|
|
1331
|
-
|
|
1332
|
-
property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
|
|
1333
|
-
|
|
1334
|
-
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
|
1335
|
-
|
|
1336
|
-
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo::Representation
|
|
1337
|
-
|
|
1338
|
-
hash :payload, as: 'payload'
|
|
1339
|
-
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
|
1340
|
-
|
|
1341
|
-
end
|
|
1342
|
-
end
|
|
1343
|
-
|
|
1344
|
-
class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
|
|
1345
|
-
# @private
|
|
1346
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1347
|
-
property :tag, as: 'tag'
|
|
1348
|
-
end
|
|
1349
|
-
end
|
|
1350
|
-
|
|
1351
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
|
|
1352
|
-
# @private
|
|
1353
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1354
|
-
property :last_matched_intent, as: 'lastMatchedIntent'
|
|
1355
|
-
hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
|
|
1356
|
-
|
|
1357
|
-
end
|
|
1358
|
-
end
|
|
1359
|
-
|
|
1360
|
-
class GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
|
|
1361
|
-
# @private
|
|
1362
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1363
|
-
property :original_value, as: 'originalValue'
|
|
1364
|
-
property :resolved_value, as: 'resolvedValue'
|
|
1365
|
-
end
|
|
1366
|
-
end
|
|
1367
|
-
|
|
1368
|
-
class GoogleCloudDialogflowCxV3WebhookResponse
|
|
1369
|
-
# @private
|
|
1370
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1371
|
-
property :fulfillment_response, as: 'fulfillmentResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse::Representation
|
|
1372
|
-
|
|
1373
|
-
property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo::Representation
|
|
1374
|
-
|
|
1375
|
-
hash :payload, as: 'payload'
|
|
1376
|
-
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
|
1377
|
-
|
|
1378
|
-
property :target_flow, as: 'targetFlow'
|
|
1379
|
-
property :target_page, as: 'targetPage'
|
|
1380
|
-
end
|
|
1381
|
-
end
|
|
1382
|
-
|
|
1383
|
-
class GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
|
|
1384
|
-
# @private
|
|
1385
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1386
|
-
property :merge_behavior, as: 'mergeBehavior'
|
|
1387
|
-
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
|
1388
|
-
|
|
1389
|
-
end
|
|
1390
|
-
end
|
|
1391
|
-
|
|
1392
1093
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
|
1393
1094
|
# @private
|
|
1394
1095
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2345,6 +2046,7 @@ module Google
|
|
|
2345
2046
|
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType::Representation
|
|
2346
2047
|
|
|
2347
2048
|
property :time_zone, as: 'timeZone'
|
|
2049
|
+
hash :webhook_headers, as: 'webhookHeaders'
|
|
2348
2050
|
end
|
|
2349
2051
|
end
|
|
2350
2052
|
|
|
@@ -881,7 +881,9 @@ module Google
|
|
|
881
881
|
# Processes a natural language query and returns structured, actionable data as
|
|
882
882
|
# a result. This method is not idempotent, because it may cause contexts and
|
|
883
883
|
# session entity types to be updated, which in turn might affect results of
|
|
884
|
-
# future queries.
|
|
884
|
+
# future queries. Note: Always use agent versions for production traffic. See [
|
|
885
|
+
# Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
|
|
886
|
+
# versions).
|
|
885
887
|
# @param [String] session
|
|
886
888
|
# Required. The name of the session this query is sent to. Format: `projects//
|
|
887
889
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
|
@@ -891,7 +893,9 @@ module Google
|
|
|
891
893
|
# or some type of user and session identifiers (preferably hashed). The length
|
|
892
894
|
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
|
893
895
|
# information, see the [API interactions guide](https://cloud.google.com/
|
|
894
|
-
# dialogflow/docs/api-overview).
|
|
896
|
+
# dialogflow/docs/api-overview). Note: Always use agent versions for production
|
|
897
|
+
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
898
|
+
# es/docs/agents-versions).
|
|
895
899
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
|
896
900
|
# @param [String] fields
|
|
897
901
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1613,7 +1617,9 @@ module Google
|
|
|
1613
1617
|
# Processes a natural language query and returns structured, actionable data as
|
|
1614
1618
|
# a result. This method is not idempotent, because it may cause contexts and
|
|
1615
1619
|
# session entity types to be updated, which in turn might affect results of
|
|
1616
|
-
# future queries.
|
|
1620
|
+
# future queries. Note: Always use agent versions for production traffic. See [
|
|
1621
|
+
# Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-
|
|
1622
|
+
# versions).
|
|
1617
1623
|
# @param [String] session
|
|
1618
1624
|
# Required. The name of the session this query is sent to. Format: `projects//
|
|
1619
1625
|
# agent/sessions/`, or `projects//agent/environments//users//sessions/`. If `
|
|
@@ -1623,7 +1629,9 @@ module Google
|
|
|
1623
1629
|
# or some type of user and session identifiers (preferably hashed). The length
|
|
1624
1630
|
# of the `Session ID` and `User ID` must not exceed 36 characters. For more
|
|
1625
1631
|
# information, see the [API interactions guide](https://cloud.google.com/
|
|
1626
|
-
# dialogflow/docs/api-overview).
|
|
1632
|
+
# dialogflow/docs/api-overview). Note: Always use agent versions for production
|
|
1633
|
+
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
1634
|
+
# es/docs/agents-versions).
|
|
1627
1635
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest] google_cloud_dialogflow_v2_detect_intent_request_object
|
|
1628
1636
|
# @param [String] fields
|
|
1629
1637
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201201'
|
|
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,651 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DialogflowV2beta1
|
|
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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
|
|
193
|
-
attr_accessor :play_audio
|
|
194
|
-
|
|
195
|
-
# The text response message.
|
|
196
|
-
# Corresponds to the JSON property `text`
|
|
197
|
-
# @return [Google::Apis::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
|
-
|
|
670
25
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
|
671
26
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
|
672
27
|
include Google::Apis::Core::Hashable
|
|
@@ -2958,8 +2313,8 @@ module Google
|
|
|
2958
2313
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2MessageAnnotation]
|
|
2959
2314
|
attr_accessor :message_annotation
|
|
2960
2315
|
|
|
2961
|
-
# The unique identifier of the message. Format: `projects//
|
|
2962
|
-
# messages/`.
|
|
2316
|
+
# The unique identifier of the message. Format: `projects//locations//
|
|
2317
|
+
# conversations//messages/`.
|
|
2963
2318
|
# Corresponds to the JSON property `name`
|
|
2964
2319
|
# @return [String]
|
|
2965
2320
|
attr_accessor :name
|
|
@@ -4052,7 +3407,7 @@ module Google
|
|
|
4052
3407
|
attr_accessor :mime_type
|
|
4053
3408
|
|
|
4054
3409
|
# Optional. The document resource name. The name must be empty when creating a
|
|
4055
|
-
# document. Format: `projects//knowledgeBases//documents/`.
|
|
3410
|
+
# document. Format: `projects//locations//knowledgeBases//documents/`.
|
|
4056
3411
|
# Corresponds to the JSON property `name`
|
|
4057
3412
|
# @return [String]
|
|
4058
3413
|
attr_accessor :name
|
|
@@ -6478,7 +5833,7 @@ module Google
|
|
|
6478
5833
|
attr_accessor :language_code
|
|
6479
5834
|
|
|
6480
5835
|
# The knowledge base resource name. The name must be empty when creating a
|
|
6481
|
-
# knowledge base. Format: `projects//knowledgeBases/`.
|
|
5836
|
+
# knowledge base. Format: `projects//locations//knowledgeBases/`.
|
|
6482
5837
|
# Corresponds to the JSON property `name`
|
|
6483
5838
|
# @return [String]
|
|
6484
5839
|
attr_accessor :name
|
|
@@ -6882,7 +6237,7 @@ module Google
|
|
|
6882
6237
|
attr_accessor :time_zone
|
|
6883
6238
|
|
|
6884
6239
|
# This field can be used to pass HTTP headers for a webhook call. These headers
|
|
6885
|
-
# will be sent to webhook
|
|
6240
|
+
# will be sent to webhook along with the headers that have been configured
|
|
6886
6241
|
# through Dialogflow web console. The headers defined within this field will
|
|
6887
6242
|
# overwrite the headers configured through Dialogflow console if there is a
|
|
6888
6243
|
# conflict. Header names are case-insensitive. Google's specified headers are
|
|
@@ -7081,6 +6436,13 @@ module Google
|
|
|
7081
6436
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource]
|
|
7082
6437
|
attr_accessor :gcs_source
|
|
7083
6438
|
|
|
6439
|
+
# Whether to import custom metadata from Google Cloud Storage. Only valid when
|
|
6440
|
+
# the document source is Google Cloud Storage URI.
|
|
6441
|
+
# Corresponds to the JSON property `importGcsCustomMetadata`
|
|
6442
|
+
# @return [Boolean]
|
|
6443
|
+
attr_accessor :import_gcs_custom_metadata
|
|
6444
|
+
alias_method :import_gcs_custom_metadata?, :import_gcs_custom_metadata
|
|
6445
|
+
|
|
7084
6446
|
def initialize(**args)
|
|
7085
6447
|
update!(**args)
|
|
7086
6448
|
end
|
|
@@ -7088,6 +6450,7 @@ module Google
|
|
|
7088
6450
|
# Update properties of this object
|
|
7089
6451
|
def update!(**args)
|
|
7090
6452
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
|
6453
|
+
@import_gcs_custom_metadata = args[:import_gcs_custom_metadata] if args.key?(:import_gcs_custom_metadata)
|
|
7091
6454
|
end
|
|
7092
6455
|
end
|
|
7093
6456
|
|