Skip to content

Commit 5f482af

Browse files
feat: Automated regeneration of chat v1 client (googleapis#22949)
Auto-created at 2025-05-04 11:35:26 +0000 using the toys pull request generator.
1 parent a27becc commit 5f482af

File tree

7 files changed

+25
-8
lines changed

7 files changed

+25
-8
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56394,6 +56394,7 @@
5639456394
"/chat:v1/GoogleAppsCardV1SelectionInput/type": type
5639556395
"/chat:v1/GoogleAppsCardV1SelectionItem": google_apps_card_v1_selection_item
5639656396
"/chat:v1/GoogleAppsCardV1SelectionItem/bottomText": bottom_text
56397+
"/chat:v1/GoogleAppsCardV1SelectionItem/materialIcon": material_icon
5639756398
"/chat:v1/GoogleAppsCardV1SelectionItem/selected": selected
5639856399
"/chat:v1/GoogleAppsCardV1SelectionItem/startIconUri": start_icon_uri
5639956400
"/chat:v1/GoogleAppsCardV1SelectionItem/text": text

generated/google-apis-chat_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-chat_v1
22

3+
### v0.121.0 (2025-05-04)
4+
5+
* Regenerated from discovery document revision 20250427
6+
* Regenerated using generator version 0.17.0
7+
38
### v0.120.0 (2025-04-13)
49

510
* Regenerated from discovery document revision 20250406

generated/google-apis-chat_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/hangouts/chat) may pro
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 2.7+.
86+
This library is supported on Ruby 3.1+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-chat_v1/google-apis-chat_v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 2.7'
31+
gem.required_ruby_version = '>= 3.1'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

generated/google-apis-chat_v1/lib/google/apis/chat_v1/classes.rb

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,6 +3212,16 @@ class GoogleAppsCardV1SelectionItem
32123212
# @return [String]
32133213
attr_accessor :bottom_text
32143214

3215+
# A [Google Material Icon](https://fonts.google.com/icons), which includes over
3216+
# 2500+ options. For example, to display a [checkbox icon](https://fonts.google.
3217+
# com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%
3218+
# 40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write the
3219+
# following: ``` ` "name": "check_box", "fill": true, "weight": 300, "grade": -
3220+
# 25 ` ``` [Google Chat apps](https://developers.google.com/workspace/chat):
3221+
# Corresponds to the JSON property `materialIcon`
3222+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon]
3223+
attr_accessor :material_icon
3224+
32153225
# Whether the item is selected by default. If the selection input only accepts
32163226
# one value (such as for radio buttons or a dropdown menu), only set this field
32173227
# for one item.
@@ -3220,9 +3230,7 @@ class GoogleAppsCardV1SelectionItem
32203230
attr_accessor :selected
32213231
alias_method :selected?, :selected
32223232

3223-
# For multiselect menus, the URL for the icon displayed next to the item's `text`
3224-
# field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `
3225-
# https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.
3233+
#
32263234
# Corresponds to the JSON property `startIconUri`
32273235
# @return [String]
32283236
attr_accessor :start_icon_uri
@@ -3246,6 +3254,7 @@ def initialize(**args)
32463254
# Update properties of this object
32473255
def update!(**args)
32483256
@bottom_text = args[:bottom_text] if args.key?(:bottom_text)
3257+
@material_icon = args[:material_icon] if args.key?(:material_icon)
32493258
@selected = args[:selected] if args.key?(:selected)
32503259
@start_icon_uri = args[:start_icon_uri] if args.key?(:start_icon_uri)
32513260
@text = args[:text] if args.key?(:text)

generated/google-apis-chat_v1/lib/google/apis/chat_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ChatV1
1818
# Version of the google-apis-chat_v1 gem
19-
GEM_VERSION = "0.120.0"
19+
GEM_VERSION = "0.121.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.16.0"
22+
GENERATOR_VERSION = "0.17.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250406"
25+
REVISION = "20250427"
2626
end
2727
end
2828
end

generated/google-apis-chat_v1/lib/google/apis/chat_v1/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,8 @@ class GoogleAppsCardV1SelectionItem
16691669
# @private
16701670
class Representation < Google::Apis::Core::JsonRepresentation
16711671
property :bottom_text, as: 'bottomText'
1672+
property :material_icon, as: 'materialIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon::Representation
1673+
16721674
property :selected, as: 'selected'
16731675
property :start_icon_uri, as: 'startIconUri'
16741676
property :text, as: 'text'

0 commit comments

Comments
 (0)