google-api-client 0.30.4 → 0.30.5

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.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  4. data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
  5. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
  6. data/generated/google/apis/bigquery_v2.rb +1 -1
  7. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  8. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  9. data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
  10. data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
  11. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  12. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
  13. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  14. data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
  15. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  16. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
  17. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
  18. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
  20. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
  21. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  22. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
  23. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
  24. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  25. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
  26. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
  27. data/generated/google/apis/content_v2.rb +1 -1
  28. data/generated/google/apis/content_v2/classes.rb +41 -2
  29. data/generated/google/apis/content_v2/representations.rb +18 -0
  30. data/generated/google/apis/content_v2/service.rb +4 -5
  31. data/generated/google/apis/content_v2_1.rb +1 -1
  32. data/generated/google/apis/content_v2_1/classes.rb +41 -2
  33. data/generated/google/apis/content_v2_1/representations.rb +18 -0
  34. data/generated/google/apis/content_v2_1/service.rb +12 -7
  35. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  36. data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
  37. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  38. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  39. data/generated/google/apis/dfareporting_v3_2.rb +1 -1
  40. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  41. data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
  42. data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
  43. data/generated/google/apis/dialogflow_v2.rb +1 -1
  44. data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
  45. data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
  46. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  47. data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
  48. data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
  49. data/generated/google/apis/dlp_v2.rb +1 -1
  50. data/generated/google/apis/dlp_v2/classes.rb +44 -0
  51. data/generated/google/apis/dlp_v2/representations.rb +15 -0
  52. data/generated/google/apis/dlp_v2/service.rb +43 -0
  53. data/generated/google/apis/docs_v1.rb +1 -1
  54. data/generated/google/apis/docs_v1/classes.rb +17 -16
  55. data/generated/google/apis/file_v1.rb +1 -1
  56. data/generated/google/apis/file_v1/classes.rb +11 -10
  57. data/generated/google/apis/file_v1/representations.rb +1 -0
  58. data/generated/google/apis/file_v1/service.rb +1 -2
  59. data/generated/google/apis/file_v1beta1.rb +1 -1
  60. data/generated/google/apis/file_v1beta1/classes.rb +11 -10
  61. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  62. data/generated/google/apis/file_v1beta1/service.rb +1 -2
  63. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  64. data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
  65. data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
  66. data/generated/google/apis/fitness_v1.rb +1 -1
  67. data/generated/google/apis/fitness_v1/classes.rb +1 -3
  68. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  69. data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
  70. data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
  71. data/generated/google/apis/iam_v1.rb +1 -1
  72. data/generated/google/apis/iam_v1/classes.rb +1 -1
  73. data/generated/google/apis/iam_v1/service.rb +306 -51
  74. data/generated/google/apis/iap_v1.rb +1 -1
  75. data/generated/google/apis/iap_v1/classes.rb +28 -0
  76. data/generated/google/apis/iap_v1/representations.rb +15 -0
  77. data/generated/google/apis/iap_v1beta1.rb +1 -1
  78. data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
  79. data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
  80. data/generated/google/apis/ml_v1.rb +1 -1
  81. data/generated/google/apis/ml_v1/classes.rb +8 -0
  82. data/generated/google/apis/ml_v1/representations.rb +1 -0
  83. data/generated/google/apis/ml_v1/service.rb +0 -33
  84. data/generated/google/apis/securitycenter_v1.rb +1 -1
  85. data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
  86. data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
  87. data/generated/google/apis/securitycenter_v1/service.rb +4 -4
  88. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  89. data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
  90. data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
  91. data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
  92. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  93. data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
  94. data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
  95. data/generated/google/apis/slides_v1.rb +1 -1
  96. data/generated/google/apis/speech_v1.rb +1 -1
  97. data/generated/google/apis/speech_v1/classes.rb +2 -8
  98. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  99. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
  100. data/generated/google/apis/tasks_v1.rb +1 -1
  101. data/generated/google/apis/tasks_v1/classes.rb +4 -1
  102. data/generated/google/apis/texttospeech_v1.rb +1 -1
  103. data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
  104. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  105. data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
  106. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  107. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
  108. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  109. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  110. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
  111. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
  112. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  113. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
  114. data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
  115. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  116. data/lib/google/apis/version.rb +1 -1
  117. metadata +2 -2
@@ -1960,6 +1960,7 @@ module Google
1960
1960
  property :gclid, as: 'gclid'
1961
1961
  property :kind, as: 'kind'
1962
1962
  property :limit_ad_tracking, as: 'limitAdTracking'
1963
+ property :match_id, as: 'matchId'
1963
1964
  property :mobile_device_id, as: 'mobileDeviceId'
1964
1965
  property :non_personalized_ad, as: 'nonPersonalizedAd'
1965
1966
  property :ordinal, as: 'ordinal'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190626'
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'
@@ -3182,6 +3182,35 @@ module Google
3182
3182
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]
3183
3183
  attr_accessor :quick_replies
3184
3184
 
3185
+ # Carousel Rich Business Messaging (RBM) rich card.
3186
+ # Rich cards allow you to respond to users with more vivid content, e.g.
3187
+ # with media and suggestions.
3188
+ # For more details about RBM rich cards, please see:
3189
+ # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3190
+ # messages#rich-cards.
3191
+ # If you want to show a single card with more control over the layout,
3192
+ # please use RbmStandaloneCard instead.
3193
+ # Corresponds to the JSON property `rbmCarouselRichCard`
3194
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]
3195
+ attr_accessor :rbm_carousel_rich_card
3196
+
3197
+ # Standalone Rich Business Messaging (RBM) rich card.
3198
+ # Rich cards allow you to respond to users with more vivid content, e.g.
3199
+ # with media and suggestions.
3200
+ # For more details about RBM rich cards, please see:
3201
+ # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3202
+ # messages#rich-cards.
3203
+ # You can group multiple rich cards into one using RbmCarouselCard but
3204
+ # carousel cards will give you less control over the card layout.
3205
+ # Corresponds to the JSON property `rbmStandaloneRichCard`
3206
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]
3207
+ attr_accessor :rbm_standalone_rich_card
3208
+
3209
+ # Rich Business Messaging (RBM) text response with suggestions.
3210
+ # Corresponds to the JSON property `rbmText`
3211
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmText]
3212
+ attr_accessor :rbm_text
3213
+
3185
3214
  # The collection of simple response candidates.
3186
3215
  # This message in `QueryResult.fulfillment_messages` and
3187
3216
  # `WebhookResponse.fulfillment_messages` should contain only one
@@ -3234,6 +3263,9 @@ module Google
3234
3263
  @payload = args[:payload] if args.key?(:payload)
3235
3264
  @platform = args[:platform] if args.key?(:platform)
3236
3265
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
3266
+ @rbm_carousel_rich_card = args[:rbm_carousel_rich_card] if args.key?(:rbm_carousel_rich_card)
3267
+ @rbm_standalone_rich_card = args[:rbm_standalone_rich_card] if args.key?(:rbm_standalone_rich_card)
3268
+ @rbm_text = args[:rbm_text] if args.key?(:rbm_text)
3237
3269
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
3238
3270
  @suggestions = args[:suggestions] if args.key?(:suggestions)
3239
3271
  @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
@@ -3591,6 +3623,376 @@ module Google
3591
3623
  end
3592
3624
  end
3593
3625
 
3626
+ # Rich Business Messaging (RBM) Card content
3627
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
3628
+ include Google::Apis::Core::Hashable
3629
+
3630
+ # Optional. Description of the card (at most 2000 bytes).
3631
+ # At least one of the title, description or media must be set.
3632
+ # Corresponds to the JSON property `description`
3633
+ # @return [String]
3634
+ attr_accessor :description
3635
+
3636
+ # Rich Business Messaging (RBM) Media displayed in Cards
3637
+ # The following media-types are currently supported:
3638
+ # ## Image Types
3639
+ # image/jpeg
3640
+ # image/jpg'
3641
+ # image/gif
3642
+ # image/png
3643
+ # ## Video Types
3644
+ # video/h263
3645
+ # video/m4v
3646
+ # video/mp4
3647
+ # video/mpeg
3648
+ # video/mpeg4
3649
+ # video/webm
3650
+ # Corresponds to the JSON property `media`
3651
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]
3652
+ attr_accessor :media
3653
+
3654
+ # Optional. List of suggestions to include in the card.
3655
+ # Corresponds to the JSON property `suggestions`
3656
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]
3657
+ attr_accessor :suggestions
3658
+
3659
+ # Optional. Title of the card (at most 200 bytes).
3660
+ # At least one of the title, description or media must be set.
3661
+ # Corresponds to the JSON property `title`
3662
+ # @return [String]
3663
+ attr_accessor :title
3664
+
3665
+ def initialize(**args)
3666
+ update!(**args)
3667
+ end
3668
+
3669
+ # Update properties of this object
3670
+ def update!(**args)
3671
+ @description = args[:description] if args.key?(:description)
3672
+ @media = args[:media] if args.key?(:media)
3673
+ @suggestions = args[:suggestions] if args.key?(:suggestions)
3674
+ @title = args[:title] if args.key?(:title)
3675
+ end
3676
+ end
3677
+
3678
+ # Rich Business Messaging (RBM) Media displayed in Cards
3679
+ # The following media-types are currently supported:
3680
+ # ## Image Types
3681
+ # image/jpeg
3682
+ # image/jpg'
3683
+ # image/gif
3684
+ # image/png
3685
+ # ## Video Types
3686
+ # video/h263
3687
+ # video/m4v
3688
+ # video/mp4
3689
+ # video/mpeg
3690
+ # video/mpeg4
3691
+ # video/webm
3692
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
3693
+ include Google::Apis::Core::Hashable
3694
+
3695
+ # Required. Publicly reachable URI of the file. The RBM platform
3696
+ # determines the MIME type of the file from the content-type field in
3697
+ # the HTTP headers when the platform fetches the file. The content-type
3698
+ # field must be present and accurate in the HTTP response from the URL.
3699
+ # Corresponds to the JSON property `fileUri`
3700
+ # @return [String]
3701
+ attr_accessor :file_uri
3702
+
3703
+ # Required for cards with vertical orientation. The height of the media
3704
+ # within a rich card with a vertical layout. (https://goo.gl/NeFCjz).
3705
+ # For a standalone card with horizontal layout, height is not
3706
+ # customizable, and this field is ignored.
3707
+ # Corresponds to the JSON property `height`
3708
+ # @return [String]
3709
+ attr_accessor :height
3710
+
3711
+ # Optional. Publicly reachable URI of the thumbnail.If you don't
3712
+ # provide a thumbnail URI, the RBM platform displays a blank
3713
+ # placeholder thumbnail until the user's device downloads the file.
3714
+ # Depending on the user's setting, the file may not download
3715
+ # automatically and may require the user to tap a download button.
3716
+ # Corresponds to the JSON property `thumbnailUri`
3717
+ # @return [String]
3718
+ attr_accessor :thumbnail_uri
3719
+
3720
+ def initialize(**args)
3721
+ update!(**args)
3722
+ end
3723
+
3724
+ # Update properties of this object
3725
+ def update!(**args)
3726
+ @file_uri = args[:file_uri] if args.key?(:file_uri)
3727
+ @height = args[:height] if args.key?(:height)
3728
+ @thumbnail_uri = args[:thumbnail_uri] if args.key?(:thumbnail_uri)
3729
+ end
3730
+ end
3731
+
3732
+ # Carousel Rich Business Messaging (RBM) rich card.
3733
+ # Rich cards allow you to respond to users with more vivid content, e.g.
3734
+ # with media and suggestions.
3735
+ # For more details about RBM rich cards, please see:
3736
+ # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3737
+ # messages#rich-cards.
3738
+ # If you want to show a single card with more control over the layout,
3739
+ # please use RbmStandaloneCard instead.
3740
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
3741
+ include Google::Apis::Core::Hashable
3742
+
3743
+ # Required. The cards in the carousel. A carousel must have at least
3744
+ # 2 cards and at most 10.
3745
+ # Corresponds to the JSON property `cardContents`
3746
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>]
3747
+ attr_accessor :card_contents
3748
+
3749
+ # Required. The width of the cards in the carousel.
3750
+ # Corresponds to the JSON property `cardWidth`
3751
+ # @return [String]
3752
+ attr_accessor :card_width
3753
+
3754
+ def initialize(**args)
3755
+ update!(**args)
3756
+ end
3757
+
3758
+ # Update properties of this object
3759
+ def update!(**args)
3760
+ @card_contents = args[:card_contents] if args.key?(:card_contents)
3761
+ @card_width = args[:card_width] if args.key?(:card_width)
3762
+ end
3763
+ end
3764
+
3765
+ # Standalone Rich Business Messaging (RBM) rich card.
3766
+ # Rich cards allow you to respond to users with more vivid content, e.g.
3767
+ # with media and suggestions.
3768
+ # For more details about RBM rich cards, please see:
3769
+ # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3770
+ # messages#rich-cards.
3771
+ # You can group multiple rich cards into one using RbmCarouselCard but
3772
+ # carousel cards will give you less control over the card layout.
3773
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
3774
+ include Google::Apis::Core::Hashable
3775
+
3776
+ # Rich Business Messaging (RBM) Card content
3777
+ # Corresponds to the JSON property `cardContent`
3778
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]
3779
+ attr_accessor :card_content
3780
+
3781
+ # Required. Orientation of the card.
3782
+ # Corresponds to the JSON property `cardOrientation`
3783
+ # @return [String]
3784
+ attr_accessor :card_orientation
3785
+
3786
+ # Required if orientation is horizontal.
3787
+ # Image preview alignment for standalone cards with horizontal layout.
3788
+ # Corresponds to the JSON property `thumbnailImageAlignment`
3789
+ # @return [String]
3790
+ attr_accessor :thumbnail_image_alignment
3791
+
3792
+ def initialize(**args)
3793
+ update!(**args)
3794
+ end
3795
+
3796
+ # Update properties of this object
3797
+ def update!(**args)
3798
+ @card_content = args[:card_content] if args.key?(:card_content)
3799
+ @card_orientation = args[:card_orientation] if args.key?(:card_orientation)
3800
+ @thumbnail_image_alignment = args[:thumbnail_image_alignment] if args.key?(:thumbnail_image_alignment)
3801
+ end
3802
+ end
3803
+
3804
+ # Rich Business Messaging (RBM) suggested client-side action that the user
3805
+ # can choose from the card.
3806
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
3807
+ include Google::Apis::Core::Hashable
3808
+
3809
+ # Opens the user's default dialer app with the specified phone number
3810
+ # but does not dial automatically (https://goo.gl/ergbB2).
3811
+ # Corresponds to the JSON property `dial`
3812
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
3813
+ attr_accessor :dial
3814
+
3815
+ # Opens the user's default web browser app to the specified uri
3816
+ # (https://goo.gl/6GLJD2). If the user has an app installed that is
3817
+ # registered as the default handler for the URL, then this app will be
3818
+ # opened instead, and its icon will be used in the suggested action UI.
3819
+ # Corresponds to the JSON property `openUrl`
3820
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]
3821
+ attr_accessor :open_url
3822
+
3823
+ # Opaque payload that the Dialogflow receives in a user event
3824
+ # when the user taps the suggested action. This data will be also
3825
+ # forwarded to webhook to allow performing custom business logic.
3826
+ # Corresponds to the JSON property `postbackData`
3827
+ # @return [String]
3828
+ attr_accessor :postback_data
3829
+
3830
+ # Opens the device's location chooser so the user can pick a location
3831
+ # to send back to the agent (https://goo.gl/GXotJW).
3832
+ # Corresponds to the JSON property `shareLocation`
3833
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
3834
+ attr_accessor :share_location
3835
+
3836
+ # Text to display alongside the action.
3837
+ # Corresponds to the JSON property `text`
3838
+ # @return [String]
3839
+ attr_accessor :text
3840
+
3841
+ def initialize(**args)
3842
+ update!(**args)
3843
+ end
3844
+
3845
+ # Update properties of this object
3846
+ def update!(**args)
3847
+ @dial = args[:dial] if args.key?(:dial)
3848
+ @open_url = args[:open_url] if args.key?(:open_url)
3849
+ @postback_data = args[:postback_data] if args.key?(:postback_data)
3850
+ @share_location = args[:share_location] if args.key?(:share_location)
3851
+ @text = args[:text] if args.key?(:text)
3852
+ end
3853
+ end
3854
+
3855
+ # Opens the user's default dialer app with the specified phone number
3856
+ # but does not dial automatically (https://goo.gl/ergbB2).
3857
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
3858
+ include Google::Apis::Core::Hashable
3859
+
3860
+ # Required. The phone number to fill in the default dialer app.
3861
+ # This field should be in [E.164](https://en.wikipedia.org/wiki/E.164)
3862
+ # format. An example of a correctly formatted phone number:
3863
+ # +15556767888.
3864
+ # Corresponds to the JSON property `phoneNumber`
3865
+ # @return [String]
3866
+ attr_accessor :phone_number
3867
+
3868
+ def initialize(**args)
3869
+ update!(**args)
3870
+ end
3871
+
3872
+ # Update properties of this object
3873
+ def update!(**args)
3874
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
3875
+ end
3876
+ end
3877
+
3878
+ # Opens the user's default web browser app to the specified uri
3879
+ # (https://goo.gl/6GLJD2). If the user has an app installed that is
3880
+ # registered as the default handler for the URL, then this app will be
3881
+ # opened instead, and its icon will be used in the suggested action UI.
3882
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
3883
+ include Google::Apis::Core::Hashable
3884
+
3885
+ # Required. The uri to open on the user device
3886
+ # Corresponds to the JSON property `uri`
3887
+ # @return [String]
3888
+ attr_accessor :uri
3889
+
3890
+ def initialize(**args)
3891
+ update!(**args)
3892
+ end
3893
+
3894
+ # Update properties of this object
3895
+ def update!(**args)
3896
+ @uri = args[:uri] if args.key?(:uri)
3897
+ end
3898
+ end
3899
+
3900
+ # Opens the device's location chooser so the user can pick a location
3901
+ # to send back to the agent (https://goo.gl/GXotJW).
3902
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
3903
+ include Google::Apis::Core::Hashable
3904
+
3905
+ def initialize(**args)
3906
+ update!(**args)
3907
+ end
3908
+
3909
+ # Update properties of this object
3910
+ def update!(**args)
3911
+ end
3912
+ end
3913
+
3914
+ # Rich Business Messaging (RBM) suggested reply that the user can click
3915
+ # instead of typing in their own response.
3916
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
3917
+ include Google::Apis::Core::Hashable
3918
+
3919
+ # Opaque payload that the Dialogflow receives in a user event
3920
+ # when the user taps the suggested reply. This data will be also
3921
+ # forwarded to webhook to allow performing custom business logic.
3922
+ # Corresponds to the JSON property `postbackData`
3923
+ # @return [String]
3924
+ attr_accessor :postback_data
3925
+
3926
+ # Suggested reply text.
3927
+ # Corresponds to the JSON property `text`
3928
+ # @return [String]
3929
+ attr_accessor :text
3930
+
3931
+ def initialize(**args)
3932
+ update!(**args)
3933
+ end
3934
+
3935
+ # Update properties of this object
3936
+ def update!(**args)
3937
+ @postback_data = args[:postback_data] if args.key?(:postback_data)
3938
+ @text = args[:text] if args.key?(:text)
3939
+ end
3940
+ end
3941
+
3942
+ # Rich Business Messaging (RBM) suggestion. Suggestions allow user to
3943
+ # easily select/click a predefined response or perform an action (like
3944
+ # opening a web uri).
3945
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
3946
+ include Google::Apis::Core::Hashable
3947
+
3948
+ # Rich Business Messaging (RBM) suggested client-side action that the user
3949
+ # can choose from the card.
3950
+ # Corresponds to the JSON property `action`
3951
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]
3952
+ attr_accessor :action
3953
+
3954
+ # Rich Business Messaging (RBM) suggested reply that the user can click
3955
+ # instead of typing in their own response.
3956
+ # Corresponds to the JSON property `reply`
3957
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]
3958
+ attr_accessor :reply
3959
+
3960
+ def initialize(**args)
3961
+ update!(**args)
3962
+ end
3963
+
3964
+ # Update properties of this object
3965
+ def update!(**args)
3966
+ @action = args[:action] if args.key?(:action)
3967
+ @reply = args[:reply] if args.key?(:reply)
3968
+ end
3969
+ end
3970
+
3971
+ # Rich Business Messaging (RBM) text response with suggestions.
3972
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmText
3973
+ include Google::Apis::Core::Hashable
3974
+
3975
+ # Optional. One or more suggestions to show to the user.
3976
+ # Corresponds to the JSON property `rbmSuggestion`
3977
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]
3978
+ attr_accessor :rbm_suggestion
3979
+
3980
+ # Required. Text sent and displayed to the user.
3981
+ # Corresponds to the JSON property `text`
3982
+ # @return [String]
3983
+ attr_accessor :text
3984
+
3985
+ def initialize(**args)
3986
+ update!(**args)
3987
+ end
3988
+
3989
+ # Update properties of this object
3990
+ def update!(**args)
3991
+ @rbm_suggestion = args[:rbm_suggestion] if args.key?(:rbm_suggestion)
3992
+ @text = args[:text] if args.key?(:text)
3993
+ end
3994
+ end
3995
+
3594
3996
  # Additional info about the select item for when it is triggered in a
3595
3997
  # dialog.
3596
3998
  class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
@@ -556,6 +556,72 @@ module Google
556
556
  include Google::Apis::Core::JsonObjectSupport
557
557
  end
558
558
 
559
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmText
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
559
625
  class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
560
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
627
 
@@ -1521,6 +1587,12 @@ module Google
1521
1587
  property :platform, as: 'platform'
1522
1588
  property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::Representation
1523
1589
 
1590
+ property :rbm_carousel_rich_card, as: 'rbmCarouselRichCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard::Representation
1591
+
1592
+ property :rbm_standalone_rich_card, as: 'rbmStandaloneRichCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard::Representation
1593
+
1594
+ property :rbm_text, as: 'rbmText', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmText::Representation
1595
+
1524
1596
  property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses::Representation
1525
1597
 
1526
1598
  property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation
@@ -1649,6 +1721,107 @@ module Google
1649
1721
  end
1650
1722
  end
1651
1723
 
1724
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
1725
+ # @private
1726
+ class Representation < Google::Apis::Core::JsonRepresentation
1727
+ property :description, as: 'description'
1728
+ property :media, as: 'media', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia::Representation
1729
+
1730
+ collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion::Representation
1731
+
1732
+ property :title, as: 'title'
1733
+ end
1734
+ end
1735
+
1736
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
1737
+ # @private
1738
+ class Representation < Google::Apis::Core::JsonRepresentation
1739
+ property :file_uri, as: 'fileUri'
1740
+ property :height, as: 'height'
1741
+ property :thumbnail_uri, as: 'thumbnailUri'
1742
+ end
1743
+ end
1744
+
1745
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
1746
+ # @private
1747
+ class Representation < Google::Apis::Core::JsonRepresentation
1748
+ collection :card_contents, as: 'cardContents', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent::Representation
1749
+
1750
+ property :card_width, as: 'cardWidth'
1751
+ end
1752
+ end
1753
+
1754
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
1755
+ # @private
1756
+ class Representation < Google::Apis::Core::JsonRepresentation
1757
+ property :card_content, as: 'cardContent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent::Representation
1758
+
1759
+ property :card_orientation, as: 'cardOrientation'
1760
+ property :thumbnail_image_alignment, as: 'thumbnailImageAlignment'
1761
+ end
1762
+ end
1763
+
1764
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
1765
+ # @private
1766
+ class Representation < Google::Apis::Core::JsonRepresentation
1767
+ property :dial, as: 'dial', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial::Representation
1768
+
1769
+ property :open_url, as: 'openUrl', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri::Representation
1770
+
1771
+ property :postback_data, as: 'postbackData'
1772
+ property :share_location, as: 'shareLocation', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation::Representation
1773
+
1774
+ property :text, as: 'text'
1775
+ end
1776
+ end
1777
+
1778
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
1779
+ # @private
1780
+ class Representation < Google::Apis::Core::JsonRepresentation
1781
+ property :phone_number, as: 'phoneNumber'
1782
+ end
1783
+ end
1784
+
1785
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
1786
+ # @private
1787
+ class Representation < Google::Apis::Core::JsonRepresentation
1788
+ property :uri, as: 'uri'
1789
+ end
1790
+ end
1791
+
1792
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
1793
+ # @private
1794
+ class Representation < Google::Apis::Core::JsonRepresentation
1795
+ end
1796
+ end
1797
+
1798
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
1799
+ # @private
1800
+ class Representation < Google::Apis::Core::JsonRepresentation
1801
+ property :postback_data, as: 'postbackData'
1802
+ property :text, as: 'text'
1803
+ end
1804
+ end
1805
+
1806
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
1807
+ # @private
1808
+ class Representation < Google::Apis::Core::JsonRepresentation
1809
+ property :action, as: 'action', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction::Representation
1810
+
1811
+ property :reply, as: 'reply', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply::Representation
1812
+
1813
+ end
1814
+ end
1815
+
1816
+ class GoogleCloudDialogflowV2beta1IntentMessageRbmText
1817
+ # @private
1818
+ class Representation < Google::Apis::Core::JsonRepresentation
1819
+ collection :rbm_suggestion, as: 'rbmSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion::Representation
1820
+
1821
+ property :text, as: 'text'
1822
+ end
1823
+ end
1824
+
1652
1825
  class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
1653
1826
  # @private
1654
1827
  class Representation < Google::Apis::Core::JsonRepresentation