google-api-client 0.30.4 → 0.30.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
- data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -2
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +4 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -2
- data/generated/google/apis/content_v2_1/representations.rb +18 -0
- data/generated/google/apis/content_v2_1/service.rb +12 -7
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
- data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +17 -16
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +11 -10
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +1 -2
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +11 -10
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +306 -51
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +28 -0
- data/generated/google/apis/iap_v1/representations.rb +15 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
- 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/ml_v1/service.rb +0 -33
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1/service.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -8
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +4 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190629'
|
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'
|
@@ -2785,6 +2785,35 @@ module Google
|
|
2785
2785
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]
|
2786
2786
|
attr_accessor :quick_replies
|
2787
2787
|
|
2788
|
+
# Carousel Rich Business Messaging (RBM) rich card.
|
2789
|
+
# Rich cards allow you to respond to users with more vivid content, e.g.
|
2790
|
+
# with media and suggestions.
|
2791
|
+
# For more details about RBM rich cards, please see:
|
2792
|
+
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
|
2793
|
+
# messages#rich-cards.
|
2794
|
+
# If you want to show a single card with more control over the layout,
|
2795
|
+
# please use RbmStandaloneCard instead.
|
2796
|
+
# Corresponds to the JSON property `rbmCarouselRichCard`
|
2797
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]
|
2798
|
+
attr_accessor :rbm_carousel_rich_card
|
2799
|
+
|
2800
|
+
# Standalone Rich Business Messaging (RBM) rich card.
|
2801
|
+
# Rich cards allow you to respond to users with more vivid content, e.g.
|
2802
|
+
# with media and suggestions.
|
2803
|
+
# For more details about RBM rich cards, please see:
|
2804
|
+
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
|
2805
|
+
# messages#rich-cards.
|
2806
|
+
# You can group multiple rich cards into one using RbmCarouselCard but
|
2807
|
+
# carousel cards will give you less control over the card layout.
|
2808
|
+
# Corresponds to the JSON property `rbmStandaloneRichCard`
|
2809
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]
|
2810
|
+
attr_accessor :rbm_standalone_rich_card
|
2811
|
+
|
2812
|
+
# Rich Business Messaging (RBM) text response with suggestions.
|
2813
|
+
# Corresponds to the JSON property `rbmText`
|
2814
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText]
|
2815
|
+
attr_accessor :rbm_text
|
2816
|
+
|
2788
2817
|
# The collection of simple response candidates.
|
2789
2818
|
# This message in `QueryResult.fulfillment_messages` and
|
2790
2819
|
# `WebhookResponse.fulfillment_messages` should contain only one
|
@@ -2837,6 +2866,9 @@ module Google
|
|
2837
2866
|
@payload = args[:payload] if args.key?(:payload)
|
2838
2867
|
@platform = args[:platform] if args.key?(:platform)
|
2839
2868
|
@quick_replies = args[:quick_replies] if args.key?(:quick_replies)
|
2869
|
+
@rbm_carousel_rich_card = args[:rbm_carousel_rich_card] if args.key?(:rbm_carousel_rich_card)
|
2870
|
+
@rbm_standalone_rich_card = args[:rbm_standalone_rich_card] if args.key?(:rbm_standalone_rich_card)
|
2871
|
+
@rbm_text = args[:rbm_text] if args.key?(:rbm_text)
|
2840
2872
|
@simple_responses = args[:simple_responses] if args.key?(:simple_responses)
|
2841
2873
|
@suggestions = args[:suggestions] if args.key?(:suggestions)
|
2842
2874
|
@telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
|
@@ -3194,6 +3226,376 @@ module Google
|
|
3194
3226
|
end
|
3195
3227
|
end
|
3196
3228
|
|
3229
|
+
# Rich Business Messaging (RBM) Card content
|
3230
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
|
3231
|
+
include Google::Apis::Core::Hashable
|
3232
|
+
|
3233
|
+
# Optional. Description of the card (at most 2000 bytes).
|
3234
|
+
# At least one of the title, description or media must be set.
|
3235
|
+
# Corresponds to the JSON property `description`
|
3236
|
+
# @return [String]
|
3237
|
+
attr_accessor :description
|
3238
|
+
|
3239
|
+
# Rich Business Messaging (RBM) Media displayed in Cards
|
3240
|
+
# The following media-types are currently supported:
|
3241
|
+
# ## Image Types
|
3242
|
+
# image/jpeg
|
3243
|
+
# image/jpg'
|
3244
|
+
# image/gif
|
3245
|
+
# image/png
|
3246
|
+
# ## Video Types
|
3247
|
+
# video/h263
|
3248
|
+
# video/m4v
|
3249
|
+
# video/mp4
|
3250
|
+
# video/mpeg
|
3251
|
+
# video/mpeg4
|
3252
|
+
# video/webm
|
3253
|
+
# Corresponds to the JSON property `media`
|
3254
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]
|
3255
|
+
attr_accessor :media
|
3256
|
+
|
3257
|
+
# Optional. List of suggestions to include in the card.
|
3258
|
+
# Corresponds to the JSON property `suggestions`
|
3259
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]
|
3260
|
+
attr_accessor :suggestions
|
3261
|
+
|
3262
|
+
# Optional. Title of the card (at most 200 bytes).
|
3263
|
+
# At least one of the title, description or media must be set.
|
3264
|
+
# Corresponds to the JSON property `title`
|
3265
|
+
# @return [String]
|
3266
|
+
attr_accessor :title
|
3267
|
+
|
3268
|
+
def initialize(**args)
|
3269
|
+
update!(**args)
|
3270
|
+
end
|
3271
|
+
|
3272
|
+
# Update properties of this object
|
3273
|
+
def update!(**args)
|
3274
|
+
@description = args[:description] if args.key?(:description)
|
3275
|
+
@media = args[:media] if args.key?(:media)
|
3276
|
+
@suggestions = args[:suggestions] if args.key?(:suggestions)
|
3277
|
+
@title = args[:title] if args.key?(:title)
|
3278
|
+
end
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
# Rich Business Messaging (RBM) Media displayed in Cards
|
3282
|
+
# The following media-types are currently supported:
|
3283
|
+
# ## Image Types
|
3284
|
+
# image/jpeg
|
3285
|
+
# image/jpg'
|
3286
|
+
# image/gif
|
3287
|
+
# image/png
|
3288
|
+
# ## Video Types
|
3289
|
+
# video/h263
|
3290
|
+
# video/m4v
|
3291
|
+
# video/mp4
|
3292
|
+
# video/mpeg
|
3293
|
+
# video/mpeg4
|
3294
|
+
# video/webm
|
3295
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
|
3296
|
+
include Google::Apis::Core::Hashable
|
3297
|
+
|
3298
|
+
# Required. Publicly reachable URI of the file. The RBM platform
|
3299
|
+
# determines the MIME type of the file from the content-type field in
|
3300
|
+
# the HTTP headers when the platform fetches the file. The content-type
|
3301
|
+
# field must be present and accurate in the HTTP response from the URL.
|
3302
|
+
# Corresponds to the JSON property `fileUri`
|
3303
|
+
# @return [String]
|
3304
|
+
attr_accessor :file_uri
|
3305
|
+
|
3306
|
+
# Required for cards with vertical orientation. The height of the media
|
3307
|
+
# within a rich card with a vertical layout. (https://goo.gl/NeFCjz).
|
3308
|
+
# For a standalone card with horizontal layout, height is not
|
3309
|
+
# customizable, and this field is ignored.
|
3310
|
+
# Corresponds to the JSON property `height`
|
3311
|
+
# @return [String]
|
3312
|
+
attr_accessor :height
|
3313
|
+
|
3314
|
+
# Optional. Publicly reachable URI of the thumbnail.If you don't
|
3315
|
+
# provide a thumbnail URI, the RBM platform displays a blank
|
3316
|
+
# placeholder thumbnail until the user's device downloads the file.
|
3317
|
+
# Depending on the user's setting, the file may not download
|
3318
|
+
# automatically and may require the user to tap a download button.
|
3319
|
+
# Corresponds to the JSON property `thumbnailUri`
|
3320
|
+
# @return [String]
|
3321
|
+
attr_accessor :thumbnail_uri
|
3322
|
+
|
3323
|
+
def initialize(**args)
|
3324
|
+
update!(**args)
|
3325
|
+
end
|
3326
|
+
|
3327
|
+
# Update properties of this object
|
3328
|
+
def update!(**args)
|
3329
|
+
@file_uri = args[:file_uri] if args.key?(:file_uri)
|
3330
|
+
@height = args[:height] if args.key?(:height)
|
3331
|
+
@thumbnail_uri = args[:thumbnail_uri] if args.key?(:thumbnail_uri)
|
3332
|
+
end
|
3333
|
+
end
|
3334
|
+
|
3335
|
+
# Carousel Rich Business Messaging (RBM) rich card.
|
3336
|
+
# Rich cards allow you to respond to users with more vivid content, e.g.
|
3337
|
+
# with media and suggestions.
|
3338
|
+
# For more details about RBM rich cards, please see:
|
3339
|
+
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
|
3340
|
+
# messages#rich-cards.
|
3341
|
+
# If you want to show a single card with more control over the layout,
|
3342
|
+
# please use RbmStandaloneCard instead.
|
3343
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
3344
|
+
include Google::Apis::Core::Hashable
|
3345
|
+
|
3346
|
+
# Required. The cards in the carousel. A carousel must have at least
|
3347
|
+
# 2 cards and at most 10.
|
3348
|
+
# Corresponds to the JSON property `cardContents`
|
3349
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>]
|
3350
|
+
attr_accessor :card_contents
|
3351
|
+
|
3352
|
+
# Required. The width of the cards in the carousel.
|
3353
|
+
# Corresponds to the JSON property `cardWidth`
|
3354
|
+
# @return [String]
|
3355
|
+
attr_accessor :card_width
|
3356
|
+
|
3357
|
+
def initialize(**args)
|
3358
|
+
update!(**args)
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
# Update properties of this object
|
3362
|
+
def update!(**args)
|
3363
|
+
@card_contents = args[:card_contents] if args.key?(:card_contents)
|
3364
|
+
@card_width = args[:card_width] if args.key?(:card_width)
|
3365
|
+
end
|
3366
|
+
end
|
3367
|
+
|
3368
|
+
# Standalone Rich Business Messaging (RBM) rich card.
|
3369
|
+
# Rich cards allow you to respond to users with more vivid content, e.g.
|
3370
|
+
# with media and suggestions.
|
3371
|
+
# For more details about RBM rich cards, please see:
|
3372
|
+
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
|
3373
|
+
# messages#rich-cards.
|
3374
|
+
# You can group multiple rich cards into one using RbmCarouselCard but
|
3375
|
+
# carousel cards will give you less control over the card layout.
|
3376
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
3377
|
+
include Google::Apis::Core::Hashable
|
3378
|
+
|
3379
|
+
# Rich Business Messaging (RBM) Card content
|
3380
|
+
# Corresponds to the JSON property `cardContent`
|
3381
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]
|
3382
|
+
attr_accessor :card_content
|
3383
|
+
|
3384
|
+
# Required. Orientation of the card.
|
3385
|
+
# Corresponds to the JSON property `cardOrientation`
|
3386
|
+
# @return [String]
|
3387
|
+
attr_accessor :card_orientation
|
3388
|
+
|
3389
|
+
# Required if orientation is horizontal.
|
3390
|
+
# Image preview alignment for standalone cards with horizontal layout.
|
3391
|
+
# Corresponds to the JSON property `thumbnailImageAlignment`
|
3392
|
+
# @return [String]
|
3393
|
+
attr_accessor :thumbnail_image_alignment
|
3394
|
+
|
3395
|
+
def initialize(**args)
|
3396
|
+
update!(**args)
|
3397
|
+
end
|
3398
|
+
|
3399
|
+
# Update properties of this object
|
3400
|
+
def update!(**args)
|
3401
|
+
@card_content = args[:card_content] if args.key?(:card_content)
|
3402
|
+
@card_orientation = args[:card_orientation] if args.key?(:card_orientation)
|
3403
|
+
@thumbnail_image_alignment = args[:thumbnail_image_alignment] if args.key?(:thumbnail_image_alignment)
|
3404
|
+
end
|
3405
|
+
end
|
3406
|
+
|
3407
|
+
# Rich Business Messaging (RBM) suggested client-side action that the user
|
3408
|
+
# can choose from the card.
|
3409
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
|
3410
|
+
include Google::Apis::Core::Hashable
|
3411
|
+
|
3412
|
+
# Opens the user's default dialer app with the specified phone number
|
3413
|
+
# but does not dial automatically (https://goo.gl/ergbB2).
|
3414
|
+
# Corresponds to the JSON property `dial`
|
3415
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
|
3416
|
+
attr_accessor :dial
|
3417
|
+
|
3418
|
+
# Opens the user's default web browser app to the specified uri
|
3419
|
+
# (https://goo.gl/6GLJD2). If the user has an app installed that is
|
3420
|
+
# registered as the default handler for the URL, then this app will be
|
3421
|
+
# opened instead, and its icon will be used in the suggested action UI.
|
3422
|
+
# Corresponds to the JSON property `openUrl`
|
3423
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]
|
3424
|
+
attr_accessor :open_url
|
3425
|
+
|
3426
|
+
# Opaque payload that the Dialogflow receives in a user event
|
3427
|
+
# when the user taps the suggested action. This data will be also
|
3428
|
+
# forwarded to webhook to allow performing custom business logic.
|
3429
|
+
# Corresponds to the JSON property `postbackData`
|
3430
|
+
# @return [String]
|
3431
|
+
attr_accessor :postback_data
|
3432
|
+
|
3433
|
+
# Opens the device's location chooser so the user can pick a location
|
3434
|
+
# to send back to the agent (https://goo.gl/GXotJW).
|
3435
|
+
# Corresponds to the JSON property `shareLocation`
|
3436
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
|
3437
|
+
attr_accessor :share_location
|
3438
|
+
|
3439
|
+
# Text to display alongside the action.
|
3440
|
+
# Corresponds to the JSON property `text`
|
3441
|
+
# @return [String]
|
3442
|
+
attr_accessor :text
|
3443
|
+
|
3444
|
+
def initialize(**args)
|
3445
|
+
update!(**args)
|
3446
|
+
end
|
3447
|
+
|
3448
|
+
# Update properties of this object
|
3449
|
+
def update!(**args)
|
3450
|
+
@dial = args[:dial] if args.key?(:dial)
|
3451
|
+
@open_url = args[:open_url] if args.key?(:open_url)
|
3452
|
+
@postback_data = args[:postback_data] if args.key?(:postback_data)
|
3453
|
+
@share_location = args[:share_location] if args.key?(:share_location)
|
3454
|
+
@text = args[:text] if args.key?(:text)
|
3455
|
+
end
|
3456
|
+
end
|
3457
|
+
|
3458
|
+
# Opens the user's default dialer app with the specified phone number
|
3459
|
+
# but does not dial automatically (https://goo.gl/ergbB2).
|
3460
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
3461
|
+
include Google::Apis::Core::Hashable
|
3462
|
+
|
3463
|
+
# Required. The phone number to fill in the default dialer app.
|
3464
|
+
# This field should be in [E.164](https://en.wikipedia.org/wiki/E.164)
|
3465
|
+
# format. An example of a correctly formatted phone number:
|
3466
|
+
# +15556767888.
|
3467
|
+
# Corresponds to the JSON property `phoneNumber`
|
3468
|
+
# @return [String]
|
3469
|
+
attr_accessor :phone_number
|
3470
|
+
|
3471
|
+
def initialize(**args)
|
3472
|
+
update!(**args)
|
3473
|
+
end
|
3474
|
+
|
3475
|
+
# Update properties of this object
|
3476
|
+
def update!(**args)
|
3477
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
3478
|
+
end
|
3479
|
+
end
|
3480
|
+
|
3481
|
+
# Opens the user's default web browser app to the specified uri
|
3482
|
+
# (https://goo.gl/6GLJD2). If the user has an app installed that is
|
3483
|
+
# registered as the default handler for the URL, then this app will be
|
3484
|
+
# opened instead, and its icon will be used in the suggested action UI.
|
3485
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
3486
|
+
include Google::Apis::Core::Hashable
|
3487
|
+
|
3488
|
+
# Required. The uri to open on the user device
|
3489
|
+
# Corresponds to the JSON property `uri`
|
3490
|
+
# @return [String]
|
3491
|
+
attr_accessor :uri
|
3492
|
+
|
3493
|
+
def initialize(**args)
|
3494
|
+
update!(**args)
|
3495
|
+
end
|
3496
|
+
|
3497
|
+
# Update properties of this object
|
3498
|
+
def update!(**args)
|
3499
|
+
@uri = args[:uri] if args.key?(:uri)
|
3500
|
+
end
|
3501
|
+
end
|
3502
|
+
|
3503
|
+
# Opens the device's location chooser so the user can pick a location
|
3504
|
+
# to send back to the agent (https://goo.gl/GXotJW).
|
3505
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
3506
|
+
include Google::Apis::Core::Hashable
|
3507
|
+
|
3508
|
+
def initialize(**args)
|
3509
|
+
update!(**args)
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
# Update properties of this object
|
3513
|
+
def update!(**args)
|
3514
|
+
end
|
3515
|
+
end
|
3516
|
+
|
3517
|
+
# Rich Business Messaging (RBM) suggested reply that the user can click
|
3518
|
+
# instead of typing in their own response.
|
3519
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
|
3520
|
+
include Google::Apis::Core::Hashable
|
3521
|
+
|
3522
|
+
# Opaque payload that the Dialogflow receives in a user event
|
3523
|
+
# when the user taps the suggested reply. This data will be also
|
3524
|
+
# forwarded to webhook to allow performing custom business logic.
|
3525
|
+
# Corresponds to the JSON property `postbackData`
|
3526
|
+
# @return [String]
|
3527
|
+
attr_accessor :postback_data
|
3528
|
+
|
3529
|
+
# Suggested reply text.
|
3530
|
+
# Corresponds to the JSON property `text`
|
3531
|
+
# @return [String]
|
3532
|
+
attr_accessor :text
|
3533
|
+
|
3534
|
+
def initialize(**args)
|
3535
|
+
update!(**args)
|
3536
|
+
end
|
3537
|
+
|
3538
|
+
# Update properties of this object
|
3539
|
+
def update!(**args)
|
3540
|
+
@postback_data = args[:postback_data] if args.key?(:postback_data)
|
3541
|
+
@text = args[:text] if args.key?(:text)
|
3542
|
+
end
|
3543
|
+
end
|
3544
|
+
|
3545
|
+
# Rich Business Messaging (RBM) suggestion. Suggestions allow user to
|
3546
|
+
# easily select/click a predefined response or perform an action (like
|
3547
|
+
# opening a web uri).
|
3548
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
|
3549
|
+
include Google::Apis::Core::Hashable
|
3550
|
+
|
3551
|
+
# Rich Business Messaging (RBM) suggested client-side action that the user
|
3552
|
+
# can choose from the card.
|
3553
|
+
# Corresponds to the JSON property `action`
|
3554
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]
|
3555
|
+
attr_accessor :action
|
3556
|
+
|
3557
|
+
# Rich Business Messaging (RBM) suggested reply that the user can click
|
3558
|
+
# instead of typing in their own response.
|
3559
|
+
# Corresponds to the JSON property `reply`
|
3560
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]
|
3561
|
+
attr_accessor :reply
|
3562
|
+
|
3563
|
+
def initialize(**args)
|
3564
|
+
update!(**args)
|
3565
|
+
end
|
3566
|
+
|
3567
|
+
# Update properties of this object
|
3568
|
+
def update!(**args)
|
3569
|
+
@action = args[:action] if args.key?(:action)
|
3570
|
+
@reply = args[:reply] if args.key?(:reply)
|
3571
|
+
end
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
# Rich Business Messaging (RBM) text response with suggestions.
|
3575
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmText
|
3576
|
+
include Google::Apis::Core::Hashable
|
3577
|
+
|
3578
|
+
# Optional. One or more suggestions to show to the user.
|
3579
|
+
# Corresponds to the JSON property `rbmSuggestion`
|
3580
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]
|
3581
|
+
attr_accessor :rbm_suggestion
|
3582
|
+
|
3583
|
+
# Required. Text sent and displayed to the user.
|
3584
|
+
# Corresponds to the JSON property `text`
|
3585
|
+
# @return [String]
|
3586
|
+
attr_accessor :text
|
3587
|
+
|
3588
|
+
def initialize(**args)
|
3589
|
+
update!(**args)
|
3590
|
+
end
|
3591
|
+
|
3592
|
+
# Update properties of this object
|
3593
|
+
def update!(**args)
|
3594
|
+
@rbm_suggestion = args[:rbm_suggestion] if args.key?(:rbm_suggestion)
|
3595
|
+
@text = args[:text] if args.key?(:text)
|
3596
|
+
end
|
3597
|
+
end
|
3598
|
+
|
3197
3599
|
# Additional info about the select item for when it is triggered in a
|
3198
3600
|
# dialog.
|
3199
3601
|
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
@@ -472,6 +472,72 @@ module Google
|
|
472
472
|
include Google::Apis::Core::JsonObjectSupport
|
473
473
|
end
|
474
474
|
|
475
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
505
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
517
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
529
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
535
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmText
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
475
541
|
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
476
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
543
|
|
@@ -1425,6 +1491,12 @@ module Google
|
|
1425
1491
|
property :platform, as: 'platform'
|
1426
1492
|
property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::Representation
|
1427
1493
|
|
1494
|
+
property :rbm_carousel_rich_card, as: 'rbmCarouselRichCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard::Representation
|
1495
|
+
|
1496
|
+
property :rbm_standalone_rich_card, as: 'rbmStandaloneRichCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard::Representation
|
1497
|
+
|
1498
|
+
property :rbm_text, as: 'rbmText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText::Representation
|
1499
|
+
|
1428
1500
|
property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses::Representation
|
1429
1501
|
|
1430
1502
|
property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation
|
@@ -1553,6 +1625,107 @@ module Google
|
|
1553
1625
|
end
|
1554
1626
|
end
|
1555
1627
|
|
1628
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
|
1629
|
+
# @private
|
1630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1631
|
+
property :description, as: 'description'
|
1632
|
+
property :media, as: 'media', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia::Representation
|
1633
|
+
|
1634
|
+
collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion::Representation
|
1635
|
+
|
1636
|
+
property :title, as: 'title'
|
1637
|
+
end
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
|
1641
|
+
# @private
|
1642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1643
|
+
property :file_uri, as: 'fileUri'
|
1644
|
+
property :height, as: 'height'
|
1645
|
+
property :thumbnail_uri, as: 'thumbnailUri'
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
1650
|
+
# @private
|
1651
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1652
|
+
collection :card_contents, as: 'cardContents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent::Representation
|
1653
|
+
|
1654
|
+
property :card_width, as: 'cardWidth'
|
1655
|
+
end
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
1659
|
+
# @private
|
1660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1661
|
+
property :card_content, as: 'cardContent', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent::Representation
|
1662
|
+
|
1663
|
+
property :card_orientation, as: 'cardOrientation'
|
1664
|
+
property :thumbnail_image_alignment, as: 'thumbnailImageAlignment'
|
1665
|
+
end
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
|
1669
|
+
# @private
|
1670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1671
|
+
property :dial, as: 'dial', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial::Representation
|
1672
|
+
|
1673
|
+
property :open_url, as: 'openUrl', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri::Representation
|
1674
|
+
|
1675
|
+
property :postback_data, as: 'postbackData'
|
1676
|
+
property :share_location, as: 'shareLocation', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation::Representation
|
1677
|
+
|
1678
|
+
property :text, as: 'text'
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
1683
|
+
# @private
|
1684
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1685
|
+
property :phone_number, as: 'phoneNumber'
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
|
1689
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
1690
|
+
# @private
|
1691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1692
|
+
property :uri, as: 'uri'
|
1693
|
+
end
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
1697
|
+
# @private
|
1698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
|
1703
|
+
# @private
|
1704
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1705
|
+
property :postback_data, as: 'postbackData'
|
1706
|
+
property :text, as: 'text'
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
|
1711
|
+
# @private
|
1712
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1713
|
+
property :action, as: 'action', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction::Representation
|
1714
|
+
|
1715
|
+
property :reply, as: 'reply', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply::Representation
|
1716
|
+
|
1717
|
+
end
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
class GoogleCloudDialogflowV2beta1IntentMessageRbmText
|
1721
|
+
# @private
|
1722
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1723
|
+
collection :rbm_suggestion, as: 'rbmSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion::Representation
|
1724
|
+
|
1725
|
+
property :text, as: 'text'
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
|
1556
1729
|
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
1557
1730
|
# @private
|
1558
1731
|
class Representation < Google::Apis::Core::JsonRepresentation
|