google-api-client 0.46.2 → 0.47.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/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +370 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
- 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 +2 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +16 -54
- data/generated/google/apis/apigee_v1/representations.rb +1 -18
- data/generated/google/apis/apigee_v1/service.rb +21 -13
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +72 -0
- data/generated/google/apis/bigquery_v2/representations.rb +33 -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 +52 -52
- 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/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/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/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -8
- data/generated/google/apis/content_v2.rb +2 -3
- data/generated/google/apis/content_v2/classes.rb +508 -1216
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +29 -29
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- 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 +79 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- 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/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -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 +11 -5
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.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/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_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 +32 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -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 +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
- 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 +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +25 -25
- 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
- metadata +12 -8
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201015'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1687,6 +1687,13 @@ module Google
|
|
1687
1687
|
# @return [Fixnum]
|
1688
1688
|
attr_accessor :max_failures_per_hour
|
1689
1689
|
|
1690
|
+
# Optional. Maximum number of times in total a driver may be restarted as a
|
1691
|
+
# result of driver exiting with non-zero code before job is reported failed.
|
1692
|
+
# Maximum value is 240
|
1693
|
+
# Corresponds to the JSON property `maxFailuresTotal`
|
1694
|
+
# @return [Fixnum]
|
1695
|
+
attr_accessor :max_failures_total
|
1696
|
+
|
1690
1697
|
def initialize(**args)
|
1691
1698
|
update!(**args)
|
1692
1699
|
end
|
@@ -1694,6 +1701,7 @@ module Google
|
|
1694
1701
|
# Update properties of this object
|
1695
1702
|
def update!(**args)
|
1696
1703
|
@max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour)
|
1704
|
+
@max_failures_total = args[:max_failures_total] if args.key?(:max_failures_total)
|
1697
1705
|
end
|
1698
1706
|
end
|
1699
1707
|
|
@@ -1879,7 +1887,7 @@ module Google
|
|
1879
1887
|
|
1880
1888
|
# Optional. The duration to keep the cluster alive while idling (when no jobs
|
1881
1889
|
# are running). Passing this threshold will cause the cluster to be deleted.
|
1882
|
-
# Minimum value is
|
1890
|
+
# Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
|
1883
1891
|
# of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json).
|
1884
1892
|
# Corresponds to the JSON property `idleDeleteTtl`
|
1885
1893
|
# @return [String]
|
@@ -2126,8 +2134,12 @@ module Google
|
|
2126
2134
|
class NodeGroupAffinity
|
2127
2135
|
include Google::Apis::Core::Hashable
|
2128
2136
|
|
2129
|
-
# Required. The
|
2130
|
-
# docs/reference/rest/v1/nodeGroups)
|
2137
|
+
# Required. The URI of a sole-tenant node group resource (https://cloud.google.
|
2138
|
+
# com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be
|
2139
|
+
# created on.A full URL, partial URI, or node group name are valid. Examples:
|
2140
|
+
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-
|
2141
|
+
# a/nodeGroups/node-group-1 projects/[project_id]/zones/us-central1-a/nodeGroups/
|
2142
|
+
# node-group-1 node-group-1
|
2131
2143
|
# Corresponds to the JSON property `nodeGroupUri`
|
2132
2144
|
# @return [String]
|
2133
2145
|
attr_accessor :node_group_uri
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201015'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1732,6 +1732,13 @@ module Google
|
|
1732
1732
|
# @return [Fixnum]
|
1733
1733
|
attr_accessor :max_failures_per_hour
|
1734
1734
|
|
1735
|
+
# Optional. Maximum number of times in total a driver may be restarted as a
|
1736
|
+
# result of driver exiting with non-zero code before job is reported failed.
|
1737
|
+
# Maximum value is 240
|
1738
|
+
# Corresponds to the JSON property `maxFailuresTotal`
|
1739
|
+
# @return [Fixnum]
|
1740
|
+
attr_accessor :max_failures_total
|
1741
|
+
|
1735
1742
|
def initialize(**args)
|
1736
1743
|
update!(**args)
|
1737
1744
|
end
|
@@ -1739,6 +1746,7 @@ module Google
|
|
1739
1746
|
# Update properties of this object
|
1740
1747
|
def update!(**args)
|
1741
1748
|
@max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour)
|
1749
|
+
@max_failures_total = args[:max_failures_total] if args.key?(:max_failures_total)
|
1742
1750
|
end
|
1743
1751
|
end
|
1744
1752
|
|
@@ -1924,7 +1932,7 @@ module Google
|
|
1924
1932
|
|
1925
1933
|
# Optional. The duration to keep the cluster alive while idling (when no jobs
|
1926
1934
|
# are running). Passing this threshold will cause the cluster to be deleted.
|
1927
|
-
# Minimum value is
|
1935
|
+
# Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
|
1928
1936
|
# of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json).
|
1929
1937
|
# Corresponds to the JSON property `idleDeleteTtl`
|
1930
1938
|
# @return [String]
|
@@ -2217,8 +2225,12 @@ module Google
|
|
2217
2225
|
class NodeGroupAffinity
|
2218
2226
|
include Google::Apis::Core::Hashable
|
2219
2227
|
|
2220
|
-
# Required. The
|
2221
|
-
# docs/reference/rest/v1/nodeGroups)
|
2228
|
+
# Required. The URI of a sole-tenant node group resource (https://cloud.google.
|
2229
|
+
# com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be
|
2230
|
+
# created on.A full URL, partial URI, or node group name are valid. Examples:
|
2231
|
+
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-
|
2232
|
+
# a/nodeGroups/node-group-1 projects/[project_id]/zones/us-central1-a/nodeGroups/
|
2233
|
+
# node-group-1 node-group-1
|
2222
2234
|
# Corresponds to the JSON property `nodeGroupUri`
|
2223
2235
|
# @return [String]
|
2224
2236
|
attr_accessor :node_group_uri
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201017'
|
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 DialogflowV2
|
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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]
|
193
|
+
attr_accessor :play_audio
|
194
|
+
|
195
|
+
# The text response message.
|
196
|
+
# Corresponds to the JSON property `text`
|
197
|
+
# @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
|
# Metadata associated with the long running operation for Versions.CreateVersion.
|
26
671
|
class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
|
27
672
|
include Google::Apis::Core::Hashable
|
@@ -69,25 +714,6 @@ module Google
|
|
69
714
|
end
|
70
715
|
end
|
71
716
|
|
72
|
-
# The response message for Agents.ImportAgent.
|
73
|
-
class GoogleCloudDialogflowCxV3beta1ImportAgentResponse
|
74
|
-
include Google::Apis::Core::Hashable
|
75
|
-
|
76
|
-
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
|
77
|
-
# Corresponds to the JSON property `agent`
|
78
|
-
# @return [String]
|
79
|
-
attr_accessor :agent
|
80
|
-
|
81
|
-
def initialize(**args)
|
82
|
-
update!(**args)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Update properties of this object
|
86
|
-
def update!(**args)
|
87
|
-
@agent = args[:agent] if args.key?(:agent)
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|
91
717
|
# Represents page information communicated to and from the webhook.
|
92
718
|
class GoogleCloudDialogflowCxV3beta1PageInfo
|
93
719
|
include Google::Apis::Core::Hashable
|
@@ -1769,25 +2395,6 @@ module Google
|
|
1769
2395
|
end
|
1770
2396
|
end
|
1771
2397
|
|
1772
|
-
# Response message for Documents.ImportDocuments.
|
1773
|
-
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
1774
|
-
include Google::Apis::Core::Hashable
|
1775
|
-
|
1776
|
-
# Includes details about skipped documents or any other warnings.
|
1777
|
-
# Corresponds to the JSON property `warnings`
|
1778
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
1779
|
-
attr_accessor :warnings
|
1780
|
-
|
1781
|
-
def initialize(**args)
|
1782
|
-
update!(**args)
|
1783
|
-
end
|
1784
|
-
|
1785
|
-
# Update properties of this object
|
1786
|
-
def update!(**args)
|
1787
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
1788
|
-
end
|
1789
|
-
end
|
1790
|
-
|
1791
2398
|
# Instructs the speech recognizer how to process the audio content.
|
1792
2399
|
class GoogleCloudDialogflowV2InputAudioConfig
|
1793
2400
|
include Google::Apis::Core::Hashable
|
@@ -3480,8 +4087,8 @@ module Google
|
|
3480
4087
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>]
|
3481
4088
|
attr_accessor :contexts
|
3482
4089
|
|
3483
|
-
# An object
|
3484
|
-
# of doubles
|
4090
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
4091
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
3485
4092
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
3486
4093
|
# within normalized ranges.
|
3487
4094
|
# Corresponds to the JSON property `geoLocation`
|
@@ -4211,102 +4818,6 @@ module Google
|
|
4211
4818
|
end
|
4212
4819
|
end
|
4213
4820
|
|
4214
|
-
# Represents an annotated conversation dataset. ConversationDataset can have
|
4215
|
-
# multiple AnnotatedConversationDataset, each of them represents one result from
|
4216
|
-
# one annotation task. AnnotatedConversationDataset can only be generated from
|
4217
|
-
# annotation task, which will be triggered by LabelConversation.
|
4218
|
-
class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
|
4219
|
-
include Google::Apis::Core::Hashable
|
4220
|
-
|
4221
|
-
# Output only. Number of examples that have annotations in the annotated
|
4222
|
-
# conversation dataset.
|
4223
|
-
# Corresponds to the JSON property `completedExampleCount`
|
4224
|
-
# @return [Fixnum]
|
4225
|
-
attr_accessor :completed_example_count
|
4226
|
-
|
4227
|
-
# Output only. Creation time of this annotated conversation dataset.
|
4228
|
-
# Corresponds to the JSON property `createTime`
|
4229
|
-
# @return [String]
|
4230
|
-
attr_accessor :create_time
|
4231
|
-
|
4232
|
-
# Optional. The description of the annotated conversation dataset. Maximum of
|
4233
|
-
# 10000 bytes.
|
4234
|
-
# Corresponds to the JSON property `description`
|
4235
|
-
# @return [String]
|
4236
|
-
attr_accessor :description
|
4237
|
-
|
4238
|
-
# Required. The display name of the annotated conversation dataset. It's
|
4239
|
-
# specified when user starts an annotation task. Maximum of 64 bytes.
|
4240
|
-
# Corresponds to the JSON property `displayName`
|
4241
|
-
# @return [String]
|
4242
|
-
attr_accessor :display_name
|
4243
|
-
|
4244
|
-
# Output only. Number of examples in the annotated conversation dataset.
|
4245
|
-
# Corresponds to the JSON property `exampleCount`
|
4246
|
-
# @return [Fixnum]
|
4247
|
-
attr_accessor :example_count
|
4248
|
-
|
4249
|
-
# Output only. AnnotatedConversationDataset resource name. Format: `projects//
|
4250
|
-
# conversationDatasets//annotatedConversationDatasets/`
|
4251
|
-
# Corresponds to the JSON property `name`
|
4252
|
-
# @return [String]
|
4253
|
-
attr_accessor :name
|
4254
|
-
|
4255
|
-
# Output only. Question type name that identifies a labeling task. A question is
|
4256
|
-
# a single task that a worker answers. A question type is set of related
|
4257
|
-
# questions. Each question belongs to a particular question type. It can be used
|
4258
|
-
# in CrowdCompute UI to filter and manage labeling tasks.
|
4259
|
-
# Corresponds to the JSON property `questionTypeName`
|
4260
|
-
# @return [String]
|
4261
|
-
attr_accessor :question_type_name
|
4262
|
-
|
4263
|
-
def initialize(**args)
|
4264
|
-
update!(**args)
|
4265
|
-
end
|
4266
|
-
|
4267
|
-
# Update properties of this object
|
4268
|
-
def update!(**args)
|
4269
|
-
@completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count)
|
4270
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
4271
|
-
@description = args[:description] if args.key?(:description)
|
4272
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
4273
|
-
@example_count = args[:example_count] if args.key?(:example_count)
|
4274
|
-
@name = args[:name] if args.key?(:name)
|
4275
|
-
@question_type_name = args[:question_type_name] if args.key?(:question_type_name)
|
4276
|
-
end
|
4277
|
-
end
|
4278
|
-
|
4279
|
-
# Response message for [Documents.AutoApproveSmartMessagingEntries].
|
4280
|
-
class GoogleCloudDialogflowV2beta1AutoApproveSmartMessagingEntriesResponse
|
4281
|
-
include Google::Apis::Core::Hashable
|
4282
|
-
|
4283
|
-
# Number of smart messaging entries disabled.
|
4284
|
-
# Corresponds to the JSON property `disabledCount`
|
4285
|
-
# @return [Fixnum]
|
4286
|
-
attr_accessor :disabled_count
|
4287
|
-
|
4288
|
-
# Number of smart messaging entries enabled.
|
4289
|
-
# Corresponds to the JSON property `enabledCount`
|
4290
|
-
# @return [Fixnum]
|
4291
|
-
attr_accessor :enabled_count
|
4292
|
-
|
4293
|
-
# Number of smart messaging entries unreviewed.
|
4294
|
-
# Corresponds to the JSON property `unreviewedCount`
|
4295
|
-
# @return [Fixnum]
|
4296
|
-
attr_accessor :unreviewed_count
|
4297
|
-
|
4298
|
-
def initialize(**args)
|
4299
|
-
update!(**args)
|
4300
|
-
end
|
4301
|
-
|
4302
|
-
# Update properties of this object
|
4303
|
-
def update!(**args)
|
4304
|
-
@disabled_count = args[:disabled_count] if args.key?(:disabled_count)
|
4305
|
-
@enabled_count = args[:enabled_count] if args.key?(:enabled_count)
|
4306
|
-
@unreviewed_count = args[:unreviewed_count] if args.key?(:unreviewed_count)
|
4307
|
-
end
|
4308
|
-
end
|
4309
|
-
|
4310
4821
|
# The response message for EntityTypes.BatchUpdateEntityTypes.
|
4311
4822
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
4312
4823
|
include Google::Apis::Core::Hashable
|
@@ -4345,25 +4856,6 @@ module Google
|
|
4345
4856
|
end
|
4346
4857
|
end
|
4347
4858
|
|
4348
|
-
# Response message for [Documents.BatchUpdateSmartMessagingEntries]
|
4349
|
-
class GoogleCloudDialogflowV2beta1BatchUpdateSmartMessagingEntriesResponse
|
4350
|
-
include Google::Apis::Core::Hashable
|
4351
|
-
|
4352
|
-
# List of updated smart message entries.
|
4353
|
-
# Corresponds to the JSON property `smartMessagingEntries`
|
4354
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntry>]
|
4355
|
-
attr_accessor :smart_messaging_entries
|
4356
|
-
|
4357
|
-
def initialize(**args)
|
4358
|
-
update!(**args)
|
4359
|
-
end
|
4360
|
-
|
4361
|
-
# Update properties of this object
|
4362
|
-
def update!(**args)
|
4363
|
-
@smart_messaging_entries = args[:smart_messaging_entries] if args.key?(:smart_messaging_entries)
|
4364
|
-
end
|
4365
|
-
end
|
4366
|
-
|
4367
4859
|
# Dialogflow contexts are similar to natural language context. If a person says
|
4368
4860
|
# to you "they are orange", you need context in order to understand what "they"
|
4369
4861
|
# is referring to. Similarly, for Dialogflow to handle an end-user expression
|
@@ -4589,25 +5081,6 @@ module Google
|
|
4589
5081
|
end
|
4590
5082
|
end
|
4591
5083
|
|
4592
|
-
# Response message for Documents.ImportDocuments.
|
4593
|
-
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
4594
|
-
include Google::Apis::Core::Hashable
|
4595
|
-
|
4596
|
-
# Includes details about skipped documents or any other warnings.
|
4597
|
-
# Corresponds to the JSON property `warnings`
|
4598
|
-
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
4599
|
-
attr_accessor :warnings
|
4600
|
-
|
4601
|
-
def initialize(**args)
|
4602
|
-
update!(**args)
|
4603
|
-
end
|
4604
|
-
|
4605
|
-
# Update properties of this object
|
4606
|
-
def update!(**args)
|
4607
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
4608
|
-
end
|
4609
|
-
end
|
4610
|
-
|
4611
5084
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
4612
5085
|
# each agent, you define many intents, where your combined intents can handle a
|
4613
5086
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -6416,28 +6889,6 @@ module Google
|
|
6416
6889
|
end
|
6417
6890
|
end
|
6418
6891
|
|
6419
|
-
# The response for ConversationDatasets.LabelConversation.
|
6420
|
-
class GoogleCloudDialogflowV2beta1LabelConversationResponse
|
6421
|
-
include Google::Apis::Core::Hashable
|
6422
|
-
|
6423
|
-
# Represents an annotated conversation dataset. ConversationDataset can have
|
6424
|
-
# multiple AnnotatedConversationDataset, each of them represents one result from
|
6425
|
-
# one annotation task. AnnotatedConversationDataset can only be generated from
|
6426
|
-
# annotation task, which will be triggered by LabelConversation.
|
6427
|
-
# Corresponds to the JSON property `annotatedConversationDataset`
|
6428
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset]
|
6429
|
-
attr_accessor :annotated_conversation_dataset
|
6430
|
-
|
6431
|
-
def initialize(**args)
|
6432
|
-
update!(**args)
|
6433
|
-
end
|
6434
|
-
|
6435
|
-
# Update properties of this object
|
6436
|
-
def update!(**args)
|
6437
|
-
@annotated_conversation_dataset = args[:annotated_conversation_dataset] if args.key?(:annotated_conversation_dataset)
|
6438
|
-
end
|
6439
|
-
end
|
6440
|
-
|
6441
6892
|
# Represents the contents of the original request that was passed to the `[
|
6442
6893
|
# Streaming]DetectIntent` call.
|
6443
6894
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
@@ -6738,74 +7189,6 @@ module Google
|
|
6738
7189
|
end
|
6739
7190
|
end
|
6740
7191
|
|
6741
|
-
# Smart Messaging Entry resource.
|
6742
|
-
class GoogleCloudDialogflowV2beta1SmartMessagingEntry
|
6743
|
-
include Google::Apis::Core::Hashable
|
6744
|
-
|
6745
|
-
# Smart messaging entry info.
|
6746
|
-
# Corresponds to the JSON property `messageInfo`
|
6747
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo]
|
6748
|
-
attr_accessor :message_info
|
6749
|
-
|
6750
|
-
# The unique identifier of this message entry. Required for [Documents.
|
6751
|
-
# GetSmartMessagingEntry], [Documents.CreateSmartMessagingEntry], [Documents.
|
6752
|
-
# UpdateSmartMessagingEntry], and [Documents.DeleteSmartMessagingEntry]. Format:
|
6753
|
-
# `projects//knowledgeBases//documents//smartMessagingEntries/`
|
6754
|
-
# Corresponds to the JSON property `name`
|
6755
|
-
# @return [String]
|
6756
|
-
attr_accessor :name
|
6757
|
-
|
6758
|
-
# Required. The raw text of the message.
|
6759
|
-
# Corresponds to the JSON property `rawText`
|
6760
|
-
# @return [String]
|
6761
|
-
attr_accessor :raw_text
|
6762
|
-
|
6763
|
-
# Required. Smart Messaging Entry's enabled/disabled state.
|
6764
|
-
# Corresponds to the JSON property `state`
|
6765
|
-
# @return [String]
|
6766
|
-
attr_accessor :state
|
6767
|
-
|
6768
|
-
def initialize(**args)
|
6769
|
-
update!(**args)
|
6770
|
-
end
|
6771
|
-
|
6772
|
-
# Update properties of this object
|
6773
|
-
def update!(**args)
|
6774
|
-
@message_info = args[:message_info] if args.key?(:message_info)
|
6775
|
-
@name = args[:name] if args.key?(:name)
|
6776
|
-
@raw_text = args[:raw_text] if args.key?(:raw_text)
|
6777
|
-
@state = args[:state] if args.key?(:state)
|
6778
|
-
end
|
6779
|
-
end
|
6780
|
-
|
6781
|
-
# Smart messaging entry info.
|
6782
|
-
class GoogleCloudDialogflowV2beta1SmartMessagingEntryInfo
|
6783
|
-
include Google::Apis::Core::Hashable
|
6784
|
-
|
6785
|
-
# Output only. Method of how the smart messaging entry was created. When the
|
6786
|
-
# smart messaging entry was generated from GenerateDocument, the value is
|
6787
|
-
# AUTOMATIC; when the entry was manually added through CreateSmartMessagingEntry,
|
6788
|
-
# the value is MANUAL.
|
6789
|
-
# Corresponds to the JSON property `creationMethod`
|
6790
|
-
# @return [String]
|
6791
|
-
attr_accessor :creation_method
|
6792
|
-
|
6793
|
-
# The number of times an entry's message text has been uttered
|
6794
|
-
# Corresponds to the JSON property `occurrenceCount`
|
6795
|
-
# @return [Fixnum]
|
6796
|
-
attr_accessor :occurrence_count
|
6797
|
-
|
6798
|
-
def initialize(**args)
|
6799
|
-
update!(**args)
|
6800
|
-
end
|
6801
|
-
|
6802
|
-
# Update properties of this object
|
6803
|
-
def update!(**args)
|
6804
|
-
@creation_method = args[:creation_method] if args.key?(:creation_method)
|
6805
|
-
@occurrence_count = args[:occurrence_count] if args.key?(:occurrence_count)
|
6806
|
-
end
|
6807
|
-
end
|
6808
|
-
|
6809
7192
|
# The request message for a webhook call.
|
6810
7193
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
6811
7194
|
include Google::Apis::Core::Hashable
|
@@ -6949,122 +7332,16 @@ module Google
|
|
6949
7332
|
end
|
6950
7333
|
end
|
6951
7334
|
|
6952
|
-
#
|
6953
|
-
class
|
6954
|
-
include Google::Apis::Core::Hashable
|
6955
|
-
|
6956
|
-
# Uncompressed raw byte content for agent.
|
6957
|
-
# Corresponds to the JSON property `agentContent`
|
6958
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6959
|
-
# @return [String]
|
6960
|
-
attr_accessor :agent_content
|
6961
|
-
|
6962
|
-
# The URI to a file containing the exported agent. This field is populated only
|
6963
|
-
# if `agent_uri` is specified in ExportAgentRequest.
|
6964
|
-
# Corresponds to the JSON property `agentUri`
|
6965
|
-
# @return [String]
|
6966
|
-
attr_accessor :agent_uri
|
6967
|
-
|
6968
|
-
def initialize(**args)
|
6969
|
-
update!(**args)
|
6970
|
-
end
|
6971
|
-
|
6972
|
-
# Update properties of this object
|
6973
|
-
def update!(**args)
|
6974
|
-
@agent_content = args[:agent_content] if args.key?(:agent_content)
|
6975
|
-
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
6976
|
-
end
|
6977
|
-
end
|
6978
|
-
|
6979
|
-
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
6980
|
-
class GoogleCloudDialogflowV3alpha1ExportTestCasesMetadata
|
6981
|
-
include Google::Apis::Core::Hashable
|
6982
|
-
|
6983
|
-
def initialize(**args)
|
6984
|
-
update!(**args)
|
6985
|
-
end
|
6986
|
-
|
6987
|
-
# Update properties of this object
|
6988
|
-
def update!(**args)
|
6989
|
-
end
|
6990
|
-
end
|
6991
|
-
|
6992
|
-
# The response message for TestCases.ExportTestCases.
|
6993
|
-
class GoogleCloudDialogflowV3alpha1ExportTestCasesResponse
|
6994
|
-
include Google::Apis::Core::Hashable
|
6995
|
-
|
6996
|
-
# Uncompressed raw byte content for test cases.
|
6997
|
-
# Corresponds to the JSON property `content`
|
6998
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6999
|
-
# @return [String]
|
7000
|
-
attr_accessor :content
|
7001
|
-
|
7002
|
-
# The URI to a file containing the exported test cases. This field is populated
|
7003
|
-
# only if `gcs_uri` is specified in ExportTestCasesRequest.
|
7004
|
-
# Corresponds to the JSON property `gcsUri`
|
7005
|
-
# @return [String]
|
7006
|
-
attr_accessor :gcs_uri
|
7007
|
-
|
7008
|
-
def initialize(**args)
|
7009
|
-
update!(**args)
|
7010
|
-
end
|
7011
|
-
|
7012
|
-
# Update properties of this object
|
7013
|
-
def update!(**args)
|
7014
|
-
@content = args[:content] if args.key?(:content)
|
7015
|
-
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
7016
|
-
end
|
7017
|
-
end
|
7018
|
-
|
7019
|
-
# The response message for Agents.ImportAgent.
|
7020
|
-
class GoogleCloudDialogflowV3alpha1ImportAgentResponse
|
7021
|
-
include Google::Apis::Core::Hashable
|
7022
|
-
|
7023
|
-
# The unique identifier of the new agent. Format: `projects//locations//agents/`.
|
7024
|
-
# Corresponds to the JSON property `agent`
|
7025
|
-
# @return [String]
|
7026
|
-
attr_accessor :agent
|
7027
|
-
|
7028
|
-
def initialize(**args)
|
7029
|
-
update!(**args)
|
7030
|
-
end
|
7031
|
-
|
7032
|
-
# Update properties of this object
|
7033
|
-
def update!(**args)
|
7034
|
-
@agent = args[:agent] if args.key?(:agent)
|
7035
|
-
end
|
7036
|
-
end
|
7037
|
-
|
7038
|
-
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
7039
|
-
class GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata
|
7040
|
-
include Google::Apis::Core::Hashable
|
7041
|
-
|
7042
|
-
def initialize(**args)
|
7043
|
-
update!(**args)
|
7044
|
-
end
|
7045
|
-
|
7046
|
-
# Update properties of this object
|
7047
|
-
def update!(**args)
|
7048
|
-
end
|
7049
|
-
end
|
7050
|
-
|
7051
|
-
# The response message for TestCases.ImportTestCases.
|
7052
|
-
class GoogleCloudDialogflowV3alpha1ImportTestCasesResponse
|
7335
|
+
# Metadata returned for the TestCases.RunTestCase long running operation.
|
7336
|
+
class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata
|
7053
7337
|
include Google::Apis::Core::Hashable
|
7054
7338
|
|
7055
|
-
# The unique identifiers of the new test cases. Format: `projects//locations//
|
7056
|
-
# agents//testCases/`.
|
7057
|
-
# Corresponds to the JSON property `names`
|
7058
|
-
# @return [Array<String>]
|
7059
|
-
attr_accessor :names
|
7060
|
-
|
7061
7339
|
def initialize(**args)
|
7062
7340
|
update!(**args)
|
7063
7341
|
end
|
7064
7342
|
|
7065
7343
|
# Update properties of this object
|
7066
7344
|
def update!(**args)
|
7067
|
-
@names = args[:names] if args.key?(:names)
|
7068
7345
|
end
|
7069
7346
|
end
|
7070
7347
|
|
@@ -7211,8 +7488,8 @@ module Google
|
|
7211
7488
|
end
|
7212
7489
|
end
|
7213
7490
|
|
7214
|
-
# An object
|
7215
|
-
# of doubles
|
7491
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
7492
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
7216
7493
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
7217
7494
|
# within normalized ranges.
|
7218
7495
|
class GoogleTypeLatLng
|