google-api-client 0.41.0 → 0.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +72 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +132 -42
- data/generated/google/apis/apigee_v1/representations.rb +16 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +45 -31
- data/generated/google/apis/compute_alpha/service.rb +9 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +262 -31
- data/generated/google/apis/compute_beta/representations.rb +70 -0
- data/generated/google/apis/compute_beta/service.rb +233 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +592 -29
- data/generated/google/apis/compute_v1/representations.rb +182 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +29 -3
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +172 -0
- data/generated/google/apis/content_v2_1/representations.rb +71 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -2
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +4 -1
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +2 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/vectortile_v1.rb +31 -0
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/data-catalog/docs/
|
|
27
27
|
module DatacatalogV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200618'
|
|
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'
|
|
@@ -579,12 +579,13 @@ module Google
|
|
|
579
579
|
class GoogleCloudDatacatalogV1beta1FieldTypeEnumType
|
|
580
580
|
include Google::Apis::Core::Hashable
|
|
581
581
|
|
|
582
|
-
#
|
|
583
|
-
#
|
|
584
|
-
#
|
|
585
|
-
#
|
|
586
|
-
#
|
|
587
|
-
#
|
|
582
|
+
# The set of allowed values for this enum. This set must not be empty, the
|
|
583
|
+
# display names of the values in this set must not be empty and the display
|
|
584
|
+
# names of the values must be case-insensitively unique within this set.
|
|
585
|
+
# The order of items in this list is preserved. This field can be used to
|
|
586
|
+
# create, remove and reorder enum values. In order to rename enum value use
|
|
587
|
+
# RenameTagTemplateFieldEnumValue method. Can have up to 500 allowed
|
|
588
|
+
# values.
|
|
588
589
|
# Corresponds to the JSON property `allowedValues`
|
|
589
590
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue>]
|
|
590
591
|
attr_accessor :allowed_values
|
|
@@ -653,10 +654,12 @@ module Google
|
|
|
653
654
|
class GoogleCloudDatacatalogV1beta1GcsFilesetSpec
|
|
654
655
|
include Google::Apis::Core::Hashable
|
|
655
656
|
|
|
656
|
-
# Required. Patterns to identify a set of files in Google Cloud Storage.
|
|
657
|
-
# Cloud
|
|
658
|
-
#
|
|
659
|
-
#
|
|
657
|
+
# Required. Patterns to identify a set of files in Google Cloud Storage.
|
|
658
|
+
# See [Cloud Storage
|
|
659
|
+
# documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/
|
|
660
|
+
# WildcardNames)
|
|
661
|
+
# for more information. Note that bucket wildcards are currently not
|
|
662
|
+
# supported.
|
|
660
663
|
# Examples of valid file_patterns:
|
|
661
664
|
# * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
|
|
662
665
|
# directory.
|
|
@@ -952,6 +955,27 @@ module Google
|
|
|
952
955
|
end
|
|
953
956
|
end
|
|
954
957
|
|
|
958
|
+
# Request message for
|
|
959
|
+
# RenameTagTemplateFieldEnumValue.
|
|
960
|
+
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
|
|
961
|
+
include Google::Apis::Core::Hashable
|
|
962
|
+
|
|
963
|
+
# Required. The new display name of the enum value. For example, `
|
|
964
|
+
# my_new_enum_value`.
|
|
965
|
+
# Corresponds to the JSON property `newEnumValueDisplayName`
|
|
966
|
+
# @return [String]
|
|
967
|
+
attr_accessor :new_enum_value_display_name
|
|
968
|
+
|
|
969
|
+
def initialize(**args)
|
|
970
|
+
update!(**args)
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
# Update properties of this object
|
|
974
|
+
def update!(**args)
|
|
975
|
+
@new_enum_value_display_name = args[:new_enum_value_display_name] if args.key?(:new_enum_value_display_name)
|
|
976
|
+
end
|
|
977
|
+
end
|
|
978
|
+
|
|
955
979
|
# Request message for
|
|
956
980
|
# RenameTagTemplateField.
|
|
957
981
|
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
|
|
@@ -172,6 +172,12 @@ module Google
|
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
+
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
175
181
|
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
|
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
183
|
|
|
@@ -537,6 +543,13 @@ module Google
|
|
|
537
543
|
end
|
|
538
544
|
end
|
|
539
545
|
|
|
546
|
+
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
|
|
547
|
+
# @private
|
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
549
|
+
property :new_enum_value_display_name, as: 'newEnumValueDisplayName'
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
|
|
540
553
|
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
|
|
541
554
|
# @private
|
|
542
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1602,6 +1602,43 @@ module Google
|
|
|
1602
1602
|
execute_or_queue_command(command, &block)
|
|
1603
1603
|
end
|
|
1604
1604
|
|
|
1605
|
+
# Renames an enum value in a tag template. The enum values have to be unique
|
|
1606
|
+
# within one enum field. Thus, an enum value cannot be renamed with a name
|
|
1607
|
+
# used in any other enum value within the same enum field.
|
|
1608
|
+
# @param [String] name
|
|
1609
|
+
# Required. The name of the enum field value. Example:
|
|
1610
|
+
# * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`/
|
|
1611
|
+
# fields/`tag_template_field_id`/enumValues/`enum_value_display_name`
|
|
1612
|
+
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest] google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object
|
|
1613
|
+
# @param [String] fields
|
|
1614
|
+
# Selector specifying which fields to include in a partial response.
|
|
1615
|
+
# @param [String] quota_user
|
|
1616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1618
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1619
|
+
# Request-specific options
|
|
1620
|
+
#
|
|
1621
|
+
# @yield [result, err] Result & error if block supplied
|
|
1622
|
+
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] parsed result object
|
|
1623
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1624
|
+
#
|
|
1625
|
+
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField]
|
|
1626
|
+
#
|
|
1627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1630
|
+
def rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1631
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:rename', options)
|
|
1632
|
+
command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest::Representation
|
|
1633
|
+
command.request_object = google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object
|
|
1634
|
+
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation
|
|
1635
|
+
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
|
|
1636
|
+
command.params['name'] = name unless name.nil?
|
|
1637
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1638
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1639
|
+
execute_or_queue_command(command, &block)
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1605
1642
|
# Creates a taxonomy in the specified project.
|
|
1606
1643
|
# @param [String] parent
|
|
1607
1644
|
# Required. Resource name of the project that the taxonomy will belong to.
|
|
@@ -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 = '20200622'
|
|
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'
|
|
@@ -190,6 +190,13 @@ module Google
|
|
|
190
190
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]
|
|
191
191
|
attr_accessor :conversation_success
|
|
192
192
|
|
|
193
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
|
194
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
195
|
+
# defined by the user.
|
|
196
|
+
# Corresponds to the JSON property `endInteraction`
|
|
197
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
|
|
198
|
+
attr_accessor :end_interaction
|
|
199
|
+
|
|
193
200
|
# Indicates that the conversation should be handed off to a human agent.
|
|
194
201
|
# Dialogflow only uses this to determine which conversations were handed off
|
|
195
202
|
# to a human agent for measurement purposes. What else to do with this signal
|
|
@@ -204,11 +211,41 @@ module Google
|
|
|
204
211
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff]
|
|
205
212
|
attr_accessor :human_agent_handoff
|
|
206
213
|
|
|
214
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
215
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
216
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
217
|
+
# is up to you and your handoff procedures.
|
|
218
|
+
# You may set this, for example:
|
|
219
|
+
# * In the entry_fulfillment of a Page if
|
|
220
|
+
# entering the page indicates something went extremely wrong in the
|
|
221
|
+
# conversation.
|
|
222
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
223
|
+
# be handled by a human.
|
|
224
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
|
225
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]
|
|
226
|
+
attr_accessor :live_agent_handoff
|
|
227
|
+
|
|
228
|
+
# Represents an audio message that is composed of both segments
|
|
229
|
+
# synthesized from the Dialogflow agent prompts and ones hosted externally
|
|
230
|
+
# at the specified URIs.
|
|
231
|
+
# The external URIs are specified via
|
|
232
|
+
# play_audio.
|
|
233
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
234
|
+
# defined by the user.
|
|
235
|
+
# Corresponds to the JSON property `mixedAudio`
|
|
236
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
|
|
237
|
+
attr_accessor :mixed_audio
|
|
238
|
+
|
|
207
239
|
# Returns a response containing a custom, platform-specific payload.
|
|
208
240
|
# Corresponds to the JSON property `payload`
|
|
209
241
|
# @return [Hash<String,Object>]
|
|
210
242
|
attr_accessor :payload
|
|
211
243
|
|
|
244
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
245
|
+
# Corresponds to the JSON property `playAudio`
|
|
246
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
|
|
247
|
+
attr_accessor :play_audio
|
|
248
|
+
|
|
212
249
|
# The text response message.
|
|
213
250
|
# Corresponds to the JSON property `text`
|
|
214
251
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
|
@@ -221,8 +258,12 @@ module Google
|
|
|
221
258
|
# Update properties of this object
|
|
222
259
|
def update!(**args)
|
|
223
260
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
|
261
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
|
224
262
|
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
|
|
263
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
|
264
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
|
225
265
|
@payload = args[:payload] if args.key?(:payload)
|
|
266
|
+
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
|
226
267
|
@text = args[:text] if args.key?(:text)
|
|
227
268
|
end
|
|
228
269
|
end
|
|
@@ -257,6 +298,21 @@ module Google
|
|
|
257
298
|
end
|
|
258
299
|
end
|
|
259
300
|
|
|
301
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
|
302
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
303
|
+
# defined by the user.
|
|
304
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
305
|
+
include Google::Apis::Core::Hashable
|
|
306
|
+
|
|
307
|
+
def initialize(**args)
|
|
308
|
+
update!(**args)
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# Update properties of this object
|
|
312
|
+
def update!(**args)
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
260
316
|
# Indicates that the conversation should be handed off to a human agent.
|
|
261
317
|
# Dialogflow only uses this to determine which conversations were handed off
|
|
262
318
|
# to a human agent for measurement purposes. What else to do with this signal
|
|
@@ -286,11 +342,140 @@ module Google
|
|
|
286
342
|
end
|
|
287
343
|
end
|
|
288
344
|
|
|
345
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
346
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
347
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
348
|
+
# is up to you and your handoff procedures.
|
|
349
|
+
# You may set this, for example:
|
|
350
|
+
# * In the entry_fulfillment of a Page if
|
|
351
|
+
# entering the page indicates something went extremely wrong in the
|
|
352
|
+
# conversation.
|
|
353
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
354
|
+
# be handled by a human.
|
|
355
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
356
|
+
include Google::Apis::Core::Hashable
|
|
357
|
+
|
|
358
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose
|
|
359
|
+
# any structure on this.
|
|
360
|
+
# Corresponds to the JSON property `metadata`
|
|
361
|
+
# @return [Hash<String,Object>]
|
|
362
|
+
attr_accessor :metadata
|
|
363
|
+
|
|
364
|
+
def initialize(**args)
|
|
365
|
+
update!(**args)
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# Update properties of this object
|
|
369
|
+
def update!(**args)
|
|
370
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# Represents an audio message that is composed of both segments
|
|
375
|
+
# synthesized from the Dialogflow agent prompts and ones hosted externally
|
|
376
|
+
# at the specified URIs.
|
|
377
|
+
# The external URIs are specified via
|
|
378
|
+
# play_audio.
|
|
379
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
380
|
+
# defined by the user.
|
|
381
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
382
|
+
include Google::Apis::Core::Hashable
|
|
383
|
+
|
|
384
|
+
# Segments this audio response is composed of.
|
|
385
|
+
# Corresponds to the JSON property `segments`
|
|
386
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment>]
|
|
387
|
+
attr_accessor :segments
|
|
388
|
+
|
|
389
|
+
def initialize(**args)
|
|
390
|
+
update!(**args)
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Update properties of this object
|
|
394
|
+
def update!(**args)
|
|
395
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# Represents one segment of audio.
|
|
400
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
401
|
+
include Google::Apis::Core::Hashable
|
|
402
|
+
|
|
403
|
+
# Whether the playback of this segment can be interrupted by the end
|
|
404
|
+
# user's speech and the client should then start the next Dialogflow
|
|
405
|
+
# request.
|
|
406
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
407
|
+
# @return [Boolean]
|
|
408
|
+
attr_accessor :allow_playback_interruption
|
|
409
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
410
|
+
|
|
411
|
+
# Raw audio synthesized from the Dialogflow agent's response using
|
|
412
|
+
# the output config specified in the request.
|
|
413
|
+
# Corresponds to the JSON property `audio`
|
|
414
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
415
|
+
# @return [String]
|
|
416
|
+
attr_accessor :audio
|
|
417
|
+
|
|
418
|
+
# Client-specific URI that points to an audio clip accessible to the
|
|
419
|
+
# client. Dialogflow does not impose any validation on it.
|
|
420
|
+
# Corresponds to the JSON property `uri`
|
|
421
|
+
# @return [String]
|
|
422
|
+
attr_accessor :uri
|
|
423
|
+
|
|
424
|
+
def initialize(**args)
|
|
425
|
+
update!(**args)
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# Update properties of this object
|
|
429
|
+
def update!(**args)
|
|
430
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
431
|
+
@audio = args[:audio] if args.key?(:audio)
|
|
432
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
437
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
438
|
+
include Google::Apis::Core::Hashable
|
|
439
|
+
|
|
440
|
+
# Whether the playback of this message can be interrupted by the end
|
|
441
|
+
# user's speech and the client can then starts the next Dialogflow
|
|
442
|
+
# request.
|
|
443
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
444
|
+
# @return [Boolean]
|
|
445
|
+
attr_accessor :allow_playback_interruption
|
|
446
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
447
|
+
|
|
448
|
+
# Required. URI of the audio clip. Dialogflow does not impose any validation on
|
|
449
|
+
# this
|
|
450
|
+
# value. It is specific to the client that reads it.
|
|
451
|
+
# Corresponds to the JSON property `audioUri`
|
|
452
|
+
# @return [String]
|
|
453
|
+
attr_accessor :audio_uri
|
|
454
|
+
|
|
455
|
+
def initialize(**args)
|
|
456
|
+
update!(**args)
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# Update properties of this object
|
|
460
|
+
def update!(**args)
|
|
461
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
462
|
+
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
|
|
289
466
|
# The text response message.
|
|
290
467
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
291
468
|
include Google::Apis::Core::Hashable
|
|
292
469
|
|
|
293
|
-
#
|
|
470
|
+
# Whether the playback of this message can be interrupted by the end
|
|
471
|
+
# user's speech and the client can then starts the next Dialogflow
|
|
472
|
+
# request.
|
|
473
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
474
|
+
# @return [Boolean]
|
|
475
|
+
attr_accessor :allow_playback_interruption
|
|
476
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
477
|
+
|
|
478
|
+
# Required. A collection of text responses.
|
|
294
479
|
# Corresponds to the JSON property `text`
|
|
295
480
|
# @return [Array<String>]
|
|
296
481
|
attr_accessor :text
|
|
@@ -301,6 +486,7 @@ module Google
|
|
|
301
486
|
|
|
302
487
|
# Update properties of this object
|
|
303
488
|
def update!(**args)
|
|
489
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
304
490
|
@text = args[:text] if args.key?(:text)
|
|
305
491
|
end
|
|
306
492
|
end
|
|
@@ -4721,9 +4907,6 @@ module Google
|
|
|
4721
4907
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
4722
4908
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4723
4909
|
# with media and suggestions.
|
|
4724
|
-
# For more details about RBM rich cards, please see:
|
|
4725
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4726
|
-
# guides/build/messages/send#rich-cards
|
|
4727
4910
|
# If you want to show a single card with more control over the layout,
|
|
4728
4911
|
# please use RbmStandaloneCard instead.
|
|
4729
4912
|
# Corresponds to the JSON property `rbmCarouselRichCard`
|
|
@@ -4733,9 +4916,6 @@ module Google
|
|
|
4733
4916
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
4734
4917
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4735
4918
|
# with media and suggestions.
|
|
4736
|
-
# For more details about RBM rich cards, please see:
|
|
4737
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4738
|
-
# guides/build/messages/send#rich-cards
|
|
4739
4919
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
4740
4920
|
# carousel cards will give you less control over the card layout.
|
|
4741
4921
|
# Corresponds to the JSON property `rbmStandaloneRichCard`
|
|
@@ -5443,7 +5623,7 @@ module Google
|
|
|
5443
5623
|
attr_accessor :file_uri
|
|
5444
5624
|
|
|
5445
5625
|
# Required for cards with vertical orientation. The height of the media
|
|
5446
|
-
# within a rich card with a vertical layout.
|
|
5626
|
+
# within a rich card with a vertical layout.
|
|
5447
5627
|
# For a standalone card with horizontal layout, height is not
|
|
5448
5628
|
# customizable, and this field is ignored.
|
|
5449
5629
|
# Corresponds to the JSON property `height`
|
|
@@ -5474,9 +5654,6 @@ module Google
|
|
|
5474
5654
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
5475
5655
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5476
5656
|
# with media and suggestions.
|
|
5477
|
-
# For more details about RBM rich cards, please see:
|
|
5478
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5479
|
-
# guides/build/messages/send#rich-cards
|
|
5480
5657
|
# If you want to show a single card with more control over the layout,
|
|
5481
5658
|
# please use RbmStandaloneCard instead.
|
|
5482
5659
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
|
@@ -5507,9 +5684,6 @@ module Google
|
|
|
5507
5684
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
5508
5685
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5509
5686
|
# with media and suggestions.
|
|
5510
|
-
# For more details about RBM rich cards, please see:
|
|
5511
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5512
|
-
# guides/build/messages/send#rich-cards
|
|
5513
5687
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
5514
5688
|
# carousel cards will give you less control over the card layout.
|
|
5515
5689
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
|
@@ -5549,13 +5723,13 @@ module Google
|
|
|
5549
5723
|
include Google::Apis::Core::Hashable
|
|
5550
5724
|
|
|
5551
5725
|
# Opens the user's default dialer app with the specified phone number
|
|
5552
|
-
# but does not dial automatically
|
|
5726
|
+
# but does not dial automatically.
|
|
5553
5727
|
# Corresponds to the JSON property `dial`
|
|
5554
5728
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
|
|
5555
5729
|
attr_accessor :dial
|
|
5556
5730
|
|
|
5557
5731
|
# Opens the user's default web browser app to the specified uri
|
|
5558
|
-
#
|
|
5732
|
+
# If the user has an app installed that is
|
|
5559
5733
|
# registered as the default handler for the URL, then this app will be
|
|
5560
5734
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5561
5735
|
# Corresponds to the JSON property `openUrl`
|
|
@@ -5570,7 +5744,7 @@ module Google
|
|
|
5570
5744
|
attr_accessor :postback_data
|
|
5571
5745
|
|
|
5572
5746
|
# Opens the device's location chooser so the user can pick a location
|
|
5573
|
-
# to send back to the agent
|
|
5747
|
+
# to send back to the agent.
|
|
5574
5748
|
# Corresponds to the JSON property `shareLocation`
|
|
5575
5749
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
|
|
5576
5750
|
attr_accessor :share_location
|
|
@@ -5595,7 +5769,7 @@ module Google
|
|
|
5595
5769
|
end
|
|
5596
5770
|
|
|
5597
5771
|
# Opens the user's default dialer app with the specified phone number
|
|
5598
|
-
# but does not dial automatically
|
|
5772
|
+
# but does not dial automatically.
|
|
5599
5773
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
|
5600
5774
|
include Google::Apis::Core::Hashable
|
|
5601
5775
|
|
|
@@ -5618,7 +5792,7 @@ module Google
|
|
|
5618
5792
|
end
|
|
5619
5793
|
|
|
5620
5794
|
# Opens the user's default web browser app to the specified uri
|
|
5621
|
-
#
|
|
5795
|
+
# If the user has an app installed that is
|
|
5622
5796
|
# registered as the default handler for the URL, then this app will be
|
|
5623
5797
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5624
5798
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
|
@@ -5640,7 +5814,7 @@ module Google
|
|
|
5640
5814
|
end
|
|
5641
5815
|
|
|
5642
5816
|
# Opens the device's location chooser so the user can pick a location
|
|
5643
|
-
# to send back to the agent
|
|
5817
|
+
# to send back to the agent.
|
|
5644
5818
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
|
5645
5819
|
include Google::Apis::Core::Hashable
|
|
5646
5820
|
|