google-apis-chat_v1 0.124.0 → 0.125.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: 249ba7ba80d13d2075f3f38d462a996884a6c67f9c5c0a8d69a64d6439135425
4
- data.tar.gz: 72d86337513a24348700c4bb36dfda0d3a5c880e1b9a7dfbdfa1d88343495dc0
3
+ metadata.gz: 1eccb57565043eb0f6fe17629a115cb611f33830ac00d25da949a14486c56421
4
+ data.tar.gz: 9295881ce981751ccbe383464f28aa4248aa7f4cb3d357bcae83c830eb5d5f1e
5
5
  SHA512:
6
- metadata.gz: a09adab9eae160849e998f99de027b61ac548b49d5ba32a74f0945e5e10a5f381cc31996b738974e9011dd4ead83475482f6acc40b0557463b30e5b4c65214a5
7
- data.tar.gz: 8d1901dd257e9ca6da0c7bf94716c18c2c6109d89e79634f299373ddcfd2b06a1cef8041fa5fa827f76ad316f6a5cbfda882de680862f5309828f393e02ac041
6
+ metadata.gz: bbf749f82b291c3d2e24a5fb1f2435091210a6c9afd0b364a18baa63c4b3243e07545e8e444cc42a7f4c39588356a42c2995638d9da57c5262646b32749bb897
7
+ data.tar.gz: 7a06597619e56fd2079fe9059d1a05b950bf4a604850f241d3115c9ad312c75dbb7f93ea3f011933002258b81a7fdfb06f0eebc20181183467fe3828eb9e9207
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.125.0 (2025-07-20)
4
+
5
+ * Regenerated from discovery document revision 20250710
6
+
3
7
  ### v0.124.0 (2025-07-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20250706
@@ -756,23 +756,60 @@ module Google
756
756
  end
757
757
  end
758
758
 
759
- # Represents information about the user's client, such as locale, host app, and
760
- # platform. For Chat apps, `CommonEventObject` includes data submitted by users
761
- # interacting with cards, like data entered in [dialogs](https://developers.
762
- # google.com/chat/how-tos/dialogs).
759
+ # The common event object is the portion of the overall event object that
760
+ # carries general, host-independent information to the add-on from the user's
761
+ # client. This information includes details such as the user's locale, host app,
762
+ # and platform. In addition to homepage and contextual triggers, add-ons
763
+ # construct and pass event objects to [action callback functions](https://
764
+ # developers.google.com/workspace/add-ons/concepts/actions#callback_functions)
765
+ # when the user interacts with widgets. Your add-on's callback function can
766
+ # query the common event object to determine the contents of open widgets in the
767
+ # user's client. For example, your add-on can locate the text a user has entered
768
+ # into a [TextInput](https://developers.google.com/apps-script/reference/card-
769
+ # service/text-input) widget in the `eventObject.commentEventObject.formInputs`
770
+ # object. For Chat apps, the name of the function that the user invoked when
771
+ # interacting with a widget.
763
772
  class CommonEventObject
764
773
  include Google::Apis::Core::Hashable
765
774
 
766
- # A map containing the values that a user inputs in a widget from a card or
767
- # dialog. The map keys are the string IDs assigned to each widget, and the
768
- # values represent inputs to the widget. For details, see [Process information
769
- # inputted by users](https://developers.google.com/chat/ui/read-form-data).
775
+ # A map containing the current values of the widgets in the displayed card. The
776
+ # map keys are the string IDs assigned with each widget. The structure of the
777
+ # map value object is dependent on the widget type: **Note**: The following
778
+ # examples are formatted for Apps Script's V8 runtime. If you're using Rhino
779
+ # runtime, you must add `[""]` after the value. For example, instead of `e.
780
+ # commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format the
781
+ # event object as `e.commonEventObject.formInputs.employeeName[""].stringInputs.
782
+ # value[0]`. To learn more about runtimes in Apps Script, see the [V8 Runtime
783
+ # Overview](https://developers.google.com/apps-script/guides/v8-runtime). *
784
+ # Single-valued widgets (for example, a text box): a list of strings (only one
785
+ # element). **Example**: for a text input widget with `employeeName` as its ID,
786
+ # access the text input value with: `e.commonEventObject.formInputs.employeeName.
787
+ # stringInputs.value[0]`. * Multi-valued widgets (for example, checkbox groups):
788
+ # a list of strings. **Example**: for a multi-value widget with `participants`
789
+ # as its ID, access the value array with: `e.commonEventObject.formInputs.
790
+ # participants.stringInputs.value`. * **A date-time picker**: a [`DateTimeInput
791
+ # object`](https://developers.google.com/workspace/add-ons/concepts/event-
792
+ # objects#date-time-input). **Example**: For a picker with an ID of `myDTPicker`,
793
+ # access the [`DateTimeInput`](https://developers.google.com/workspace/add-ons/
794
+ # concepts/event-objects#date-time-input) object using `e.commonEventObject.
795
+ # formInputs.myDTPicker.dateTimeInput`. * **A date-only picker**: a [`DateInput
796
+ # object`](https://developers.google.com/workspace/add-ons/concepts/event-
797
+ # objects#date-input). **Example**: For a picker with an ID of `myDatePicker`,
798
+ # access the [`DateInput`](https://developers.google.com/workspace/add-ons/
799
+ # concepts/event-objects#date-input) object using `e.commonEventObject.
800
+ # formInputs.myDatePicker.dateInput`. * **A time-only picker**: a [`TimeInput
801
+ # object`](https://developers.google.com/workspace/add-ons/concepts/event-
802
+ # objects#time-input). **Example**: For a picker with an ID of `myTimePicker`,
803
+ # access the [`TimeInput`](https://developers.google.com/workspace/add-ons/
804
+ # concepts/event-objects#time-input) object using `e.commonEventObject.
805
+ # formInputs.myTimePicker.timeInput`.
770
806
  # Corresponds to the JSON property `formInputs`
771
807
  # @return [Hash<String,Google::Apis::ChatV1::Inputs>]
772
808
  attr_accessor :form_inputs
773
809
 
774
- # The hostApp enum which indicates the app the add-on is invoked from. Always `
775
- # CHAT` for Chat apps.
810
+ # Indicates the host app the add-on is active in when the event object is
811
+ # generated. Possible values include the following: * `GMAIL` * `CALENDAR` * `
812
+ # DRIVE` * `DOCS` * `SHEETS` * `SLIDES` * `CHAT`
776
813
  # Corresponds to the JSON property `hostApp`
777
814
  # @return [String]
778
815
  attr_accessor :host_app
@@ -783,8 +820,18 @@ module Google
783
820
  # @return [String]
784
821
  attr_accessor :invoked_function
785
822
 
786
- # Custom [parameters](/chat/api/reference/rest/v1/cards#ActionParameter) passed
787
- # to the invoked function. Both keys and values must be strings.
823
+ # Any additional parameters you supply to an action using [`actionParameters`](
824
+ # https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.
825
+ # v1#google.apps.card.v1.Action.ActionParameter) or [`Action.setParameters()`](
826
+ # https://developers.google.com/apps-script/reference/card-service/action#
827
+ # setparametersparameters). **Developer Preview:** For [add-ons that extend
828
+ # Google Chat](https://developers.google.com/workspace/add-ons/chat), to suggest
829
+ # items based on what the users type in multiselect menus, use the value of the `
830
+ # "autocomplete_widget_query"` key (`event.commonEventObject.parameters["
831
+ # autocomplete_widget_query"]`). You can use this value to query a database and
832
+ # suggest selectable items to users as they type. For details, see [Collect and
833
+ # process information from Google Chat users](https://developers.google.com/
834
+ # workspace/add-ons/chat/collect-information).
788
835
  # Corresponds to the JSON property `parameters`
789
836
  # @return [Hash<String,String>]
790
837
  attr_accessor :parameters
@@ -804,8 +851,14 @@ module Google
804
851
  # @return [Google::Apis::ChatV1::TimeZone]
805
852
  attr_accessor :time_zone
806
853
 
807
- # The full `locale.displayName` in the format of [ISO 639 language code]-[ISO
808
- # 3166 country/region code] such as "en-US".
854
+ # **Disabled by default.** The user's language and country/region identifier in
855
+ # the format of [ISO 639](https://wikipedia.org/wiki/ISO_639_macrolanguage)
856
+ # language code-[ISO 3166](https://wikipedia.org/wiki/ISO_3166) country/region
857
+ # code. For example, `en-US`. To turn on this field, you must set `addOns.common.
858
+ # useLocaleFromApp` to `true` in your add-on's manifest. Your add-on's scope
859
+ # list must also include `https://www.googleapis.com/auth/script.locale`. See [
860
+ # Accessing user locale and timezone](https://developers.google.com/workspace/
861
+ # add-ons/how-tos/access-user-locale) for more details.
809
862
  # Corresponds to the JSON property `userLocale`
810
863
  # @return [String]
811
864
  attr_accessor :user_locale
@@ -1058,10 +1111,19 @@ module Google
1058
1111
  # @return [Google::Apis::ChatV1::AppCommandMetadata]
1059
1112
  attr_accessor :app_command_metadata
1060
1113
 
1061
- # Represents information about the user's client, such as locale, host app, and
1062
- # platform. For Chat apps, `CommonEventObject` includes data submitted by users
1063
- # interacting with cards, like data entered in [dialogs](https://developers.
1064
- # google.com/chat/how-tos/dialogs).
1114
+ # The common event object is the portion of the overall event object that
1115
+ # carries general, host-independent information to the add-on from the user's
1116
+ # client. This information includes details such as the user's locale, host app,
1117
+ # and platform. In addition to homepage and contextual triggers, add-ons
1118
+ # construct and pass event objects to [action callback functions](https://
1119
+ # developers.google.com/workspace/add-ons/concepts/actions#callback_functions)
1120
+ # when the user interacts with widgets. Your add-on's callback function can
1121
+ # query the common event object to determine the contents of open widgets in the
1122
+ # user's client. For example, your add-on can locate the text a user has entered
1123
+ # into a [TextInput](https://developers.google.com/apps-script/reference/card-
1124
+ # service/text-input) widget in the `eventObject.commentEventObject.formInputs`
1125
+ # object. For Chat apps, the name of the function that the user invoked when
1126
+ # interacting with a widget.
1065
1127
  # Corresponds to the JSON property `common`
1066
1128
  # @return [Google::Apis::ChatV1::CommonEventObject]
1067
1129
  attr_accessor :common
@@ -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.124.0"
19
+ GEM_VERSION = "0.125.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 = "20250706"
25
+ REVISION = "20250710"
26
26
  end
27
27
  end
28
28
  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.124.0
4
+ version: 0.125.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.124.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.125.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: