google-apis-chat_v1 0.128.0 → 0.129.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1435ce2e7cb6dde3d3fdb7e180a3e069e059bf7ab951d0e8115b7451cac9cb0a
4
- data.tar.gz: ae50e3ae5ec5d7c1b70329c6d4b1b294a853a20ad6762b1bdae06883b208ecac
3
+ metadata.gz: 98b7ca435a981b1c8e303dab284e28166f2f6955f2d43998b67696a9fdf80db5
4
+ data.tar.gz: 7f753a5c25235c9decd1011bf7e444fa5fec46da7a8f17274006fb76bca5fc1a
5
5
  SHA512:
6
- metadata.gz: 17373c613d445c26ed297d015a9f58bbd675efab3ecb0600526eed014e7f8b3cbd3f4f740587d0f7b26896f7176749b50f5ea7d39838b5d927cb013b6eac53b6
7
- data.tar.gz: 21b01ae31bb03e5e681c014085f55b23fc2cfd4602714ca1452e3630ccd9f5900e9e0b0b20c0ceb3a6cb66ca853172dc1bf8f32524573ad20212f6f2d09a9392
6
+ metadata.gz: 7a3bb5788b9045819bcf0ff8264e7444abc960a6595d21d07f5df7d297564e3200c594e15fed8e80909b578a42156b4d90a515090096cecb950997365ee11863
7
+ data.tar.gz: f3fd24a73731e07dc3744ff8dd840d3d3d646717195cd9568e7c8b30f501ab9189252a65081bbbffbcb17ddbf671b82dbbb4ced39d3614c1e6470117f7df624d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.129.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250812
6
+
3
7
  ### v0.128.0 (2025-08-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20250731
@@ -1863,6 +1863,12 @@ module Google
1863
1863
  # @return [String]
1864
1864
  attr_accessor :display_style
1865
1865
 
1866
+ # The expression data for the card. Only supported by Google Workspace Workflow,
1867
+ # but not Google Chat apps or Google Workspace add-ons.
1868
+ # Corresponds to the JSON property `expressionData`
1869
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1ExpressionData>]
1870
+ attr_accessor :expression_data
1871
+
1866
1872
  # A persistent (sticky) footer that that appears at the bottom of the card.
1867
1873
  # Setting `fixedFooter` without specifying a `primaryButton` or a `
1868
1874
  # secondaryButton` causes an error. For Chat apps, you can use fixed footers in [
@@ -1919,6 +1925,7 @@ module Google
1919
1925
  def update!(**args)
1920
1926
  @card_actions = args[:card_actions] if args.key?(:card_actions)
1921
1927
  @display_style = args[:display_style] if args.key?(:display_style)
1928
+ @expression_data = args[:expression_data] if args.key?(:expression_data)
1922
1929
  @fixed_footer = args[:fixed_footer] if args.key?(:fixed_footer)
1923
1930
  @header = args[:header] if args.key?(:header)
1924
1931
  @name = args[:name] if args.key?(:name)
@@ -2319,6 +2326,89 @@ module Google
2319
2326
  end
2320
2327
  end
2321
2328
 
2329
+ # Represents an action that is not specific to a widget. Only supported by
2330
+ # Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
2331
+ # ons.
2332
+ class GoogleAppsCardV1CommonWidgetAction
2333
+ include Google::Apis::Core::Hashable
2334
+
2335
+ # Represents an action that updates the visibility of a widget. Only supported
2336
+ # by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
2337
+ # ons.
2338
+ # Corresponds to the JSON property `updateVisibilityAction`
2339
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1UpdateVisibilityAction]
2340
+ attr_accessor :update_visibility_action
2341
+
2342
+ def initialize(**args)
2343
+ update!(**args)
2344
+ end
2345
+
2346
+ # Update properties of this object
2347
+ def update!(**args)
2348
+ @update_visibility_action = args[:update_visibility_action] if args.key?(:update_visibility_action)
2349
+ end
2350
+ end
2351
+
2352
+ # Represents a condition that can be used to trigger an action. Only supported
2353
+ # by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
2354
+ # ons.
2355
+ class GoogleAppsCardV1Condition
2356
+ include Google::Apis::Core::Hashable
2357
+
2358
+ # The unique identifier of the ActionRule.
2359
+ # Corresponds to the JSON property `actionRuleId`
2360
+ # @return [String]
2361
+ attr_accessor :action_rule_id
2362
+
2363
+ # Represents a condition that is evaluated using CEL. Only supported by Google
2364
+ # Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.
2365
+ # Corresponds to the JSON property `expressionDataCondition`
2366
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition]
2367
+ attr_accessor :expression_data_condition
2368
+
2369
+ def initialize(**args)
2370
+ update!(**args)
2371
+ end
2372
+
2373
+ # Update properties of this object
2374
+ def update!(**args)
2375
+ @action_rule_id = args[:action_rule_id] if args.key?(:action_rule_id)
2376
+ @expression_data_condition = args[:expression_data_condition] if args.key?(:expression_data_condition)
2377
+ end
2378
+ end
2379
+
2380
+ # A configuration object that helps configure the data sources for a widget.
2381
+ # Only supported by Google Workspace Workflow, but not Google Chat apps or
2382
+ # Google Workspace add-ons.
2383
+ class GoogleAppsCardV1DataSourceConfig
2384
+ include Google::Apis::Core::Hashable
2385
+
2386
+ # For a `SelectionInput` widget that uses a multiselect menu, a data source from
2387
+ # Google Workspace. Used to populate items in a multiselect menu. [Google Chat
2388
+ # apps](https://developers.google.com/workspace/chat):
2389
+ # Corresponds to the JSON property `platformDataSource`
2390
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource]
2391
+ attr_accessor :platform_data_source
2392
+
2393
+ # An action that describes the behavior when the form is submitted. For example,
2394
+ # you can invoke an Apps Script script to handle the form. If the action is
2395
+ # triggered, the form values are sent to the server. [Google Workspace add-ons
2396
+ # and Chat apps](https://developers.google.com/workspace/extend):
2397
+ # Corresponds to the JSON property `remoteDataSource`
2398
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
2399
+ attr_accessor :remote_data_source
2400
+
2401
+ def initialize(**args)
2402
+ update!(**args)
2403
+ end
2404
+
2405
+ # Update properties of this object
2406
+ def update!(**args)
2407
+ @platform_data_source = args[:platform_data_source] if args.key?(:platform_data_source)
2408
+ @remote_data_source = args[:remote_data_source] if args.key?(:remote_data_source)
2409
+ end
2410
+ end
2411
+
2322
2412
  # Lets users input a date, a time, or both a date and a time. Supports form
2323
2413
  # submission validation. When `Action.all_widgets_are_required` is set to `true`
2324
2414
  # or this widget is specified in `Action.required_widgets`, the submission
@@ -2332,6 +2422,12 @@ module Google
2332
2422
  class GoogleAppsCardV1DateTimePicker
2333
2423
  include Google::Apis::Core::Hashable
2334
2424
 
2425
+ # A data source from a Google Workspace application. The data source populates
2426
+ # available items for a widget.
2427
+ # Corresponds to the JSON property `hostAppDataSource`
2428
+ # @return [Google::Apis::ChatV1::HostAppDataSourceMarkup]
2429
+ attr_accessor :host_app_data_source
2430
+
2335
2431
  # The text that prompts users to input a date, a time, or a date and time. For
2336
2432
  # example, if users are scheduling an appointment, use a label such as `
2337
2433
  # Appointment date` or `Appointment date and time`.
@@ -2384,6 +2480,7 @@ module Google
2384
2480
 
2385
2481
  # Update properties of this object
2386
2482
  def update!(**args)
2483
+ @host_app_data_source = args[:host_app_data_source] if args.key?(:host_app_data_source)
2387
2484
  @label = args[:label] if args.key?(:label)
2388
2485
  @name = args[:name] if args.key?(:name)
2389
2486
  @on_change_action = args[:on_change_action] if args.key?(:on_change_action)
@@ -2523,6 +2620,100 @@ module Google
2523
2620
  end
2524
2621
  end
2525
2622
 
2623
+ # Represents an actionthat can be performed on an ui element. Only supported by
2624
+ # Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
2625
+ # ons.
2626
+ class GoogleAppsCardV1EventAction
2627
+ include Google::Apis::Core::Hashable
2628
+
2629
+ # The unique identifier of the ActionRule.
2630
+ # Corresponds to the JSON property `actionRuleId`
2631
+ # @return [String]
2632
+ attr_accessor :action_rule_id
2633
+
2634
+ # Represents an action that is not specific to a widget. Only supported by
2635
+ # Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
2636
+ # ons.
2637
+ # Corresponds to the JSON property `commonWidgetAction`
2638
+ # @return [Google::Apis::ChatV1::GoogleAppsCardV1CommonWidgetAction]
2639
+ attr_accessor :common_widget_action
2640
+
2641
+ # The list of triggers that will be triggered after the EventAction is executed.
2642
+ # Corresponds to the JSON property `postEventTriggers`
2643
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1Trigger>]
2644
+ attr_accessor :post_event_triggers
2645
+
2646
+ def initialize(**args)
2647
+ update!(**args)
2648
+ end
2649
+
2650
+ # Update properties of this object
2651
+ def update!(**args)
2652
+ @action_rule_id = args[:action_rule_id] if args.key?(:action_rule_id)
2653
+ @common_widget_action = args[:common_widget_action] if args.key?(:common_widget_action)
2654
+ @post_event_triggers = args[:post_event_triggers] if args.key?(:post_event_triggers)
2655
+ end
2656
+ end
2657
+
2658
+ # Represents the data that is used to evaluate an expression. Only supported by
2659
+ # Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
2660
+ # ons.
2661
+ class GoogleAppsCardV1ExpressionData
2662
+ include Google::Apis::Core::Hashable
2663
+
2664
+ # The list of conditions that are determined by the expression evaluation result.
2665
+ # Corresponds to the JSON property `conditions`
2666
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1Condition>]
2667
+ attr_accessor :conditions
2668
+
2669
+ # The list of actions that the ExpressionData can be used.
2670
+ # Corresponds to the JSON property `eventActions`
2671
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1EventAction>]
2672
+ attr_accessor :event_actions
2673
+
2674
+ # The uncompiled expression.
2675
+ # Corresponds to the JSON property `expression`
2676
+ # @return [String]
2677
+ attr_accessor :expression
2678
+
2679
+ # The unique identifier of the ExpressionData.
2680
+ # Corresponds to the JSON property `id`
2681
+ # @return [String]
2682
+ attr_accessor :id
2683
+
2684
+ def initialize(**args)
2685
+ update!(**args)
2686
+ end
2687
+
2688
+ # Update properties of this object
2689
+ def update!(**args)
2690
+ @conditions = args[:conditions] if args.key?(:conditions)
2691
+ @event_actions = args[:event_actions] if args.key?(:event_actions)
2692
+ @expression = args[:expression] if args.key?(:expression)
2693
+ @id = args[:id] if args.key?(:id)
2694
+ end
2695
+ end
2696
+
2697
+ # Represents a condition that is evaluated using CEL. Only supported by Google
2698
+ # Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.
2699
+ class GoogleAppsCardV1ExpressionDataCondition
2700
+ include Google::Apis::Core::Hashable
2701
+
2702
+ # The type of the condition.
2703
+ # Corresponds to the JSON property `conditionType`
2704
+ # @return [String]
2705
+ attr_accessor :condition_type
2706
+
2707
+ def initialize(**args)
2708
+ update!(**args)
2709
+ end
2710
+
2711
+ # Update properties of this object
2712
+ def update!(**args)
2713
+ @condition_type = args[:condition_type] if args.key?(:condition_type)
2714
+ end
2715
+ end
2716
+
2526
2717
  # Displays a grid with a collection of items. Items can only include text or
2527
2718
  # images. For responsive columns, or to include more than text or images, use `
2528
2719
  # Columns`. For an example in Google Chat apps, see [Display a Grid with a
@@ -3114,10 +3305,8 @@ module Google
3114
3305
  # @return [String]
3115
3306
  attr_accessor :common_data_source
3116
3307
 
3117
- # For a `SelectionInput` widget that uses a multiselect menu, a data source from
3118
- # a Google Workspace application. The data source populates selection items for
3119
- # the multiselect menu. [Google Chat apps](https://developers.google.com/
3120
- # workspace/chat):
3308
+ # A data source from a Google Workspace application. The data source populates
3309
+ # available items for a widget.
3121
3310
  # Corresponds to the JSON property `hostAppDataSource`
3122
3311
  # @return [Google::Apis::ChatV1::HostAppDataSourceMarkup]
3123
3312
  attr_accessor :host_app_data_source
@@ -3164,6 +3353,14 @@ module Google
3164
3353
  # @return [String]
3165
3354
  attr_accessor :header
3166
3355
 
3356
+ # A unique ID assigned to the section that's used to identify the section to be
3357
+ # mutated. The ID has a character limit of 64 characters and should be in the
3358
+ # format of `[a-zA-Z0-9-]+`. Only supported by Google Workspace Workflow, but
3359
+ # not Google Chat apps or Google Workspace add-ons.
3360
+ # Corresponds to the JSON property `id`
3361
+ # @return [String]
3362
+ attr_accessor :id
3363
+
3167
3364
  # The number of uncollapsible widgets which remain visible even when a section
3168
3365
  # is collapsed. For example, when a section contains five widgets and the `
3169
3366
  # uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always
@@ -3188,6 +3385,7 @@ module Google
3188
3385
  @collapse_control = args[:collapse_control] if args.key?(:collapse_control)
3189
3386
  @collapsible = args[:collapsible] if args.key?(:collapsible)
3190
3387
  @header = args[:header] if args.key?(:header)
3388
+ @id = args[:id] if args.key?(:id)
3191
3389
  @uncollapsible_widgets_count = args[:uncollapsible_widgets_count] if args.key?(:uncollapsible_widgets_count)
3192
3390
  @widgets = args[:widgets] if args.key?(:widgets)
3193
3391
  end
@@ -3209,6 +3407,16 @@ module Google
3209
3407
  class GoogleAppsCardV1SelectionInput
3210
3408
  include Google::Apis::Core::Hashable
3211
3409
 
3410
+ # Optional. The data source configs for the selection control. This field
3411
+ # provides more fine-grained control over the data source. If specified, the `
3412
+ # multi_select_max_selected_items` field, `multi_select_min_query_length` field,
3413
+ # `external_data_source` field and `platform_data_source` field are ignored.
3414
+ # Only supported by Google Workspace Workflow, but not Google Chat apps or
3415
+ # Google Workspace add-ons.
3416
+ # Corresponds to the JSON property `dataSourceConfigs`
3417
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1DataSourceConfig>]
3418
+ attr_accessor :data_source_configs
3419
+
3212
3420
  # An action that describes the behavior when the form is submitted. For example,
3213
3421
  # you can invoke an Apps Script script to handle the form. If the action is
3214
3422
  # triggered, the form values are sent to the server. [Google Workspace add-ons
@@ -3292,6 +3500,7 @@ module Google
3292
3500
 
3293
3501
  # Update properties of this object
3294
3502
  def update!(**args)
3503
+ @data_source_configs = args[:data_source_configs] if args.key?(:data_source_configs)
3295
3504
  @external_data_source = args[:external_data_source] if args.key?(:external_data_source)
3296
3505
  @hint_text = args[:hint_text] if args.key?(:hint_text)
3297
3506
  @items = args[:items] if args.key?(:items)
@@ -3493,6 +3702,12 @@ module Google
3493
3702
  # @return [String]
3494
3703
  attr_accessor :hint_text
3495
3704
 
3705
+ # A data source from a Google Workspace application. The data source populates
3706
+ # available items for a widget.
3707
+ # Corresponds to the JSON property `hostAppDataSource`
3708
+ # @return [Google::Apis::ChatV1::HostAppDataSourceMarkup]
3709
+ attr_accessor :host_app_data_source
3710
+
3496
3711
  # Suggested values that users can enter. These values appear when users click
3497
3712
  # inside the text input field. As users type, the suggested values dynamically
3498
3713
  # filter to match what the users have typed. For example, a text input field for
@@ -3567,6 +3782,7 @@ module Google
3567
3782
  def update!(**args)
3568
3783
  @auto_complete_action = args[:auto_complete_action] if args.key?(:auto_complete_action)
3569
3784
  @hint_text = args[:hint_text] if args.key?(:hint_text)
3785
+ @host_app_data_source = args[:host_app_data_source] if args.key?(:host_app_data_source)
3570
3786
  @initial_suggestions = args[:initial_suggestions] if args.key?(:initial_suggestions)
3571
3787
  @label = args[:label] if args.key?(:label)
3572
3788
  @name = args[:name] if args.key?(:name)
@@ -3616,6 +3832,47 @@ module Google
3616
3832
  end
3617
3833
  end
3618
3834
 
3835
+ # Represents a trigger. Only supported by Google Workspace Workflow, but not
3836
+ # Google Chat apps or Google Workspace add-ons.
3837
+ class GoogleAppsCardV1Trigger
3838
+ include Google::Apis::Core::Hashable
3839
+
3840
+ # The unique identifier of the ActionRule.
3841
+ # Corresponds to the JSON property `actionRuleId`
3842
+ # @return [String]
3843
+ attr_accessor :action_rule_id
3844
+
3845
+ def initialize(**args)
3846
+ update!(**args)
3847
+ end
3848
+
3849
+ # Update properties of this object
3850
+ def update!(**args)
3851
+ @action_rule_id = args[:action_rule_id] if args.key?(:action_rule_id)
3852
+ end
3853
+ end
3854
+
3855
+ # Represents an action that updates the visibility of a widget. Only supported
3856
+ # by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-
3857
+ # ons.
3858
+ class GoogleAppsCardV1UpdateVisibilityAction
3859
+ include Google::Apis::Core::Hashable
3860
+
3861
+ # The new visibility.
3862
+ # Corresponds to the JSON property `visibility`
3863
+ # @return [String]
3864
+ attr_accessor :visibility
3865
+
3866
+ def initialize(**args)
3867
+ update!(**args)
3868
+ end
3869
+
3870
+ # Update properties of this object
3871
+ def update!(**args)
3872
+ @visibility = args[:visibility] if args.key?(:visibility)
3873
+ end
3874
+ end
3875
+
3619
3876
  # Represents the necessary data for validating the widget it's attached to. [
3620
3877
  # Google Workspace add-ons and Chat apps](https://developers.google.com/
3621
3878
  # workspace/extend):
@@ -3738,6 +3995,13 @@ module Google
3738
3995
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Divider]
3739
3996
  attr_accessor :divider
3740
3997
 
3998
+ # Specifies the event actions that can be performed on the widget. Only
3999
+ # supported by Google Workspace Workflow, but not Google Chat apps or Google
4000
+ # Workspace add-ons.
4001
+ # Corresponds to the JSON property `eventActions`
4002
+ # @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1EventAction>]
4003
+ attr_accessor :event_actions
4004
+
3741
4005
  # Displays a grid with a collection of items. Items can only include text or
3742
4006
  # images. For responsive columns, or to include more than text or images, use `
3743
4007
  # Columns`. For an example in Google Chat apps, see [Display a Grid with a
@@ -3762,6 +4026,14 @@ module Google
3762
4026
  # @return [String]
3763
4027
  attr_accessor :horizontal_alignment
3764
4028
 
4029
+ # A unique ID assigned to the widget that's used to identify the widget to be
4030
+ # mutated. The ID has a character limit of 64 characters and should be in the
4031
+ # format of `[a-zA-Z0-9-]+` and. Only supported by Google Workspace Workflow,
4032
+ # but not Google Chat apps or Google Workspace add-ons.
4033
+ # Corresponds to the JSON property `id`
4034
+ # @return [String]
4035
+ attr_accessor :id
4036
+
3765
4037
  # An image that is specified by a URL and can have an `onClick` action. For an
3766
4038
  # example, see [Add an image](https://developers.google.com/workspace/chat/add-
3767
4039
  # text-image-card-dialog#add_an_image). [Google Workspace add-ons and Chat apps](
@@ -3817,6 +4089,13 @@ module Google
3817
4089
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
3818
4090
  attr_accessor :text_paragraph
3819
4091
 
4092
+ # Specifies whether the widget is visible or hidden. The default value is `
4093
+ # VISIBLE`. Only supported by Google Workspace Workflow, but not Google Chat
4094
+ # apps or Google Workspace add-ons.
4095
+ # Corresponds to the JSON property `visibility`
4096
+ # @return [String]
4097
+ attr_accessor :visibility
4098
+
3820
4099
  def initialize(**args)
3821
4100
  update!(**args)
3822
4101
  end
@@ -3830,12 +4109,15 @@ module Google
3830
4109
  @date_time_picker = args[:date_time_picker] if args.key?(:date_time_picker)
3831
4110
  @decorated_text = args[:decorated_text] if args.key?(:decorated_text)
3832
4111
  @divider = args[:divider] if args.key?(:divider)
4112
+ @event_actions = args[:event_actions] if args.key?(:event_actions)
3833
4113
  @grid = args[:grid] if args.key?(:grid)
3834
4114
  @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
4115
+ @id = args[:id] if args.key?(:id)
3835
4116
  @image = args[:image] if args.key?(:image)
3836
4117
  @selection_input = args[:selection_input] if args.key?(:selection_input)
3837
4118
  @text_input = args[:text_input] if args.key?(:text_input)
3838
4119
  @text_paragraph = args[:text_paragraph] if args.key?(:text_paragraph)
4120
+ @visibility = args[:visibility] if args.key?(:visibility)
3839
4121
  end
3840
4122
  end
3841
4123
 
@@ -3976,10 +4258,8 @@ module Google
3976
4258
  end
3977
4259
  end
3978
4260
 
3979
- # For a `SelectionInput` widget that uses a multiselect menu, a data source from
3980
- # a Google Workspace application. The data source populates selection items for
3981
- # the multiselect menu. [Google Chat apps](https://developers.google.com/
3982
- # workspace/chat):
4261
+ # A data source from a Google Workspace application. The data source populates
4262
+ # available items for a widget.
3983
4263
  class HostAppDataSourceMarkup
3984
4264
  include Google::Apis::Core::Hashable
3985
4265
 
@@ -3991,6 +4271,13 @@ module Google
3991
4271
  # @return [Google::Apis::ChatV1::ChatClientDataSourceMarkup]
3992
4272
  attr_accessor :chat_data_source
3993
4273
 
4274
+ # * Only supported by Google Workspace Workflow, but not Google Chat apps or
4275
+ # Google Workspace add-ons. In a `TextInput` or `SelectionInput` widget with
4276
+ # MULTI_SELECT type or a `DateTimePicker`, provide data source from Google.
4277
+ # Corresponds to the JSON property `workflowDataSource`
4278
+ # @return [Google::Apis::ChatV1::WorkflowDataSourceMarkup]
4279
+ attr_accessor :workflow_data_source
4280
+
3994
4281
  def initialize(**args)
3995
4282
  update!(**args)
3996
4283
  end
@@ -3998,6 +4285,7 @@ module Google
3998
4285
  # Update properties of this object
3999
4286
  def update!(**args)
4000
4287
  @chat_data_source = args[:chat_data_source] if args.key?(:chat_data_source)
4288
+ @workflow_data_source = args[:workflow_data_source] if args.key?(:workflow_data_source)
4001
4289
  end
4002
4290
  end
4003
4291
 
@@ -6490,6 +6778,34 @@ module Google
6490
6778
  @text_paragraph = args[:text_paragraph] if args.key?(:text_paragraph)
6491
6779
  end
6492
6780
  end
6781
+
6782
+ # * Only supported by Google Workspace Workflow, but not Google Chat apps or
6783
+ # Google Workspace add-ons. In a `TextInput` or `SelectionInput` widget with
6784
+ # MULTI_SELECT type or a `DateTimePicker`, provide data source from Google.
6785
+ class WorkflowDataSourceMarkup
6786
+ include Google::Apis::Core::Hashable
6787
+
6788
+ # Whether to include variables from the previous step in the data source.
6789
+ # Corresponds to the JSON property `includeVariables`
6790
+ # @return [Boolean]
6791
+ attr_accessor :include_variables
6792
+ alias_method :include_variables?, :include_variables
6793
+
6794
+ # The type of data source.
6795
+ # Corresponds to the JSON property `type`
6796
+ # @return [String]
6797
+ attr_accessor :type
6798
+
6799
+ def initialize(**args)
6800
+ update!(**args)
6801
+ end
6802
+
6803
+ # Update properties of this object
6804
+ def update!(**args)
6805
+ @include_variables = args[:include_variables] if args.key?(:include_variables)
6806
+ @type = args[:type] if args.key?(:type)
6807
+ end
6808
+ end
6493
6809
  end
6494
6810
  end
6495
6811
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChatV1
18
18
  # Version of the google-apis-chat_v1 gem
19
- GEM_VERSION = "0.128.0"
19
+ GEM_VERSION = "0.129.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250731"
25
+ REVISION = "20250812"
26
26
  end
27
27
  end
28
28
  end
@@ -346,6 +346,24 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class GoogleAppsCardV1CommonWidgetAction
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleAppsCardV1Condition
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleAppsCardV1DataSourceConfig
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
349
367
  class GoogleAppsCardV1DateTimePicker
350
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
369
 
@@ -364,6 +382,24 @@ module Google
364
382
  include Google::Apis::Core::JsonObjectSupport
365
383
  end
366
384
 
385
+ class GoogleAppsCardV1EventAction
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleAppsCardV1ExpressionData
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleAppsCardV1ExpressionDataCondition
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
367
403
  class GoogleAppsCardV1Grid
368
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
405
 
@@ -490,6 +526,18 @@ module Google
490
526
  include Google::Apis::Core::JsonObjectSupport
491
527
  end
492
528
 
529
+ class GoogleAppsCardV1Trigger
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleAppsCardV1UpdateVisibilityAction
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
493
541
  class GoogleAppsCardV1Validation
494
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
543
 
@@ -922,6 +970,12 @@ module Google
922
970
  include Google::Apis::Core::JsonObjectSupport
923
971
  end
924
972
 
973
+ class WorkflowDataSourceMarkup
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
925
979
  class AccessSettings
926
980
  # @private
927
981
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1354,6 +1408,8 @@ module Google
1354
1408
  collection :card_actions, as: 'cardActions', class: Google::Apis::ChatV1::GoogleAppsCardV1CardAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardAction::Representation
1355
1409
 
1356
1410
  property :display_style, as: 'displayStyle'
1411
+ collection :expression_data, as: 'expressionData', class: Google::Apis::ChatV1::GoogleAppsCardV1ExpressionData, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ExpressionData::Representation
1412
+
1357
1413
  property :fixed_footer, as: 'fixedFooter', class: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardFixedFooter::Representation
1358
1414
 
1359
1415
  property :header, as: 'header', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
@@ -1468,9 +1524,38 @@ module Google
1468
1524
  end
1469
1525
  end
1470
1526
 
1527
+ class GoogleAppsCardV1CommonWidgetAction
1528
+ # @private
1529
+ class Representation < Google::Apis::Core::JsonRepresentation
1530
+ property :update_visibility_action, as: 'updateVisibilityAction', class: Google::Apis::ChatV1::GoogleAppsCardV1UpdateVisibilityAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1UpdateVisibilityAction::Representation
1531
+
1532
+ end
1533
+ end
1534
+
1535
+ class GoogleAppsCardV1Condition
1536
+ # @private
1537
+ class Representation < Google::Apis::Core::JsonRepresentation
1538
+ property :action_rule_id, as: 'actionRuleId'
1539
+ property :expression_data_condition, as: 'expressionDataCondition', class: Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition::Representation
1540
+
1541
+ end
1542
+ end
1543
+
1544
+ class GoogleAppsCardV1DataSourceConfig
1545
+ # @private
1546
+ class Representation < Google::Apis::Core::JsonRepresentation
1547
+ property :platform_data_source, as: 'platformDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource, decorator: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource::Representation
1548
+
1549
+ property :remote_data_source, as: 'remoteDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
1550
+
1551
+ end
1552
+ end
1553
+
1471
1554
  class GoogleAppsCardV1DateTimePicker
1472
1555
  # @private
1473
1556
  class Representation < Google::Apis::Core::JsonRepresentation
1557
+ property :host_app_data_source, as: 'hostAppDataSource', class: Google::Apis::ChatV1::HostAppDataSourceMarkup, decorator: Google::Apis::ChatV1::HostAppDataSourceMarkup::Representation
1558
+
1474
1559
  property :label, as: 'label'
1475
1560
  property :name, as: 'name'
1476
1561
  property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
@@ -1509,6 +1594,36 @@ module Google
1509
1594
  end
1510
1595
  end
1511
1596
 
1597
+ class GoogleAppsCardV1EventAction
1598
+ # @private
1599
+ class Representation < Google::Apis::Core::JsonRepresentation
1600
+ property :action_rule_id, as: 'actionRuleId'
1601
+ property :common_widget_action, as: 'commonWidgetAction', class: Google::Apis::ChatV1::GoogleAppsCardV1CommonWidgetAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CommonWidgetAction::Representation
1602
+
1603
+ collection :post_event_triggers, as: 'postEventTriggers', class: Google::Apis::ChatV1::GoogleAppsCardV1Trigger, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Trigger::Representation
1604
+
1605
+ end
1606
+ end
1607
+
1608
+ class GoogleAppsCardV1ExpressionData
1609
+ # @private
1610
+ class Representation < Google::Apis::Core::JsonRepresentation
1611
+ collection :conditions, as: 'conditions', class: Google::Apis::ChatV1::GoogleAppsCardV1Condition, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Condition::Representation
1612
+
1613
+ collection :event_actions, as: 'eventActions', class: Google::Apis::ChatV1::GoogleAppsCardV1EventAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1EventAction::Representation
1614
+
1615
+ property :expression, as: 'expression'
1616
+ property :id, as: 'id'
1617
+ end
1618
+ end
1619
+
1620
+ class GoogleAppsCardV1ExpressionDataCondition
1621
+ # @private
1622
+ class Representation < Google::Apis::Core::JsonRepresentation
1623
+ property :condition_type, as: 'conditionType'
1624
+ end
1625
+ end
1626
+
1512
1627
  class GoogleAppsCardV1Grid
1513
1628
  # @private
1514
1629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1660,6 +1775,7 @@ module Google
1660
1775
 
1661
1776
  property :collapsible, as: 'collapsible'
1662
1777
  property :header, as: 'header'
1778
+ property :id, as: 'id'
1663
1779
  property :uncollapsible_widgets_count, as: 'uncollapsibleWidgetsCount'
1664
1780
  collection :widgets, as: 'widgets', class: Google::Apis::ChatV1::GoogleAppsCardV1Widget, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Widget::Representation
1665
1781
 
@@ -1669,6 +1785,8 @@ module Google
1669
1785
  class GoogleAppsCardV1SelectionInput
1670
1786
  # @private
1671
1787
  class Representation < Google::Apis::Core::JsonRepresentation
1788
+ collection :data_source_configs, as: 'dataSourceConfigs', class: Google::Apis::ChatV1::GoogleAppsCardV1DataSourceConfig, decorator: Google::Apis::ChatV1::GoogleAppsCardV1DataSourceConfig::Representation
1789
+
1672
1790
  property :external_data_source, as: 'externalDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
1673
1791
 
1674
1792
  property :hint_text, as: 'hintText'
@@ -1730,6 +1848,8 @@ module Google
1730
1848
  property :auto_complete_action, as: 'autoCompleteAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
1731
1849
 
1732
1850
  property :hint_text, as: 'hintText'
1851
+ property :host_app_data_source, as: 'hostAppDataSource', class: Google::Apis::ChatV1::HostAppDataSourceMarkup, decorator: Google::Apis::ChatV1::HostAppDataSourceMarkup::Representation
1852
+
1733
1853
  property :initial_suggestions, as: 'initialSuggestions', class: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions::Representation
1734
1854
 
1735
1855
  property :label, as: 'label'
@@ -1752,6 +1872,20 @@ module Google
1752
1872
  end
1753
1873
  end
1754
1874
 
1875
+ class GoogleAppsCardV1Trigger
1876
+ # @private
1877
+ class Representation < Google::Apis::Core::JsonRepresentation
1878
+ property :action_rule_id, as: 'actionRuleId'
1879
+ end
1880
+ end
1881
+
1882
+ class GoogleAppsCardV1UpdateVisibilityAction
1883
+ # @private
1884
+ class Representation < Google::Apis::Core::JsonRepresentation
1885
+ property :visibility, as: 'visibility'
1886
+ end
1887
+ end
1888
+
1755
1889
  class GoogleAppsCardV1Validation
1756
1890
  # @private
1757
1891
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1777,9 +1911,12 @@ module Google
1777
1911
 
1778
1912
  property :divider, as: 'divider', class: Google::Apis::ChatV1::GoogleAppsCardV1Divider, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Divider::Representation
1779
1913
 
1914
+ collection :event_actions, as: 'eventActions', class: Google::Apis::ChatV1::GoogleAppsCardV1EventAction, decorator: Google::Apis::ChatV1::GoogleAppsCardV1EventAction::Representation
1915
+
1780
1916
  property :grid, as: 'grid', class: Google::Apis::ChatV1::GoogleAppsCardV1Grid, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Grid::Representation
1781
1917
 
1782
1918
  property :horizontal_alignment, as: 'horizontalAlignment'
1919
+ property :id, as: 'id'
1783
1920
  property :image, as: 'image', class: Google::Apis::ChatV1::GoogleAppsCardV1Image, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Image::Representation
1784
1921
 
1785
1922
  property :selection_input, as: 'selectionInput', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionInput::Representation
@@ -1788,6 +1925,7 @@ module Google
1788
1925
 
1789
1926
  property :text_paragraph, as: 'textParagraph', class: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph, decorator: Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph::Representation
1790
1927
 
1928
+ property :visibility, as: 'visibility'
1791
1929
  end
1792
1930
  end
1793
1931
 
@@ -1825,6 +1963,8 @@ module Google
1825
1963
  class Representation < Google::Apis::Core::JsonRepresentation
1826
1964
  property :chat_data_source, as: 'chatDataSource', class: Google::Apis::ChatV1::ChatClientDataSourceMarkup, decorator: Google::Apis::ChatV1::ChatClientDataSourceMarkup::Representation
1827
1965
 
1966
+ property :workflow_data_source, as: 'workflowDataSource', class: Google::Apis::ChatV1::WorkflowDataSourceMarkup, decorator: Google::Apis::ChatV1::WorkflowDataSourceMarkup::Representation
1967
+
1828
1968
  end
1829
1969
  end
1830
1970
 
@@ -2539,6 +2679,14 @@ module Google
2539
2679
 
2540
2680
  end
2541
2681
  end
2682
+
2683
+ class WorkflowDataSourceMarkup
2684
+ # @private
2685
+ class Representation < Google::Apis::Core::JsonRepresentation
2686
+ property :include_variables, as: 'includeVariables'
2687
+ property :type, as: 'type'
2688
+ end
2689
+ end
2542
2690
  end
2543
2691
  end
2544
2692
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.128.0
4
+ version: 0.129.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.128.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.129.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
62
62
  rdoc_options: []
63
63
  require_paths: