google-apis-chat_v1 0.86.0 → 0.87.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chat_v1/classes.rb +62 -0
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cebf69a3f03e20672e011b779b96d1aea3a70f071aba35bddace9345e8608bb
|
4
|
+
data.tar.gz: 343e2223742e9ba55f1b41c6fb9f99b43947027d8a96ffedb1080c90b4878e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c79e8c242841a9f69076f2000a1bdd4b648c42f65988c6c9faadcd4579c6d9fba8b2ab228296f74df44da762ad489c6b54b5cc88fe4bb41e14deb7afb3227700
|
7
|
+
data.tar.gz: 7d23aa23fb62e86c73b1b1d050a6d50ad7eb38b375f29d40018bd0b831fce348bc4009f2f98644686994905b550a95e871f0b90abe8caa23feb6057f8fba95b1
|
data/CHANGELOG.md
CHANGED
@@ -133,6 +133,11 @@ module Google
|
|
133
133
|
# @return [Fixnum]
|
134
134
|
attr_accessor :length
|
135
135
|
|
136
|
+
# A rich link to a resource.
|
137
|
+
# Corresponds to the JSON property `richLinkMetadata`
|
138
|
+
# @return [Google::Apis::ChatV1::RichLinkMetadata]
|
139
|
+
attr_accessor :rich_link_metadata
|
140
|
+
|
136
141
|
# Annotation metadata for slash commands (/).
|
137
142
|
# Corresponds to the JSON property `slashCommand`
|
138
143
|
# @return [Google::Apis::ChatV1::SlashCommandMetadata]
|
@@ -161,6 +166,7 @@ module Google
|
|
161
166
|
# Update properties of this object
|
162
167
|
def update!(**args)
|
163
168
|
@length = args[:length] if args.key?(:length)
|
169
|
+
@rich_link_metadata = args[:rich_link_metadata] if args.key?(:rich_link_metadata)
|
164
170
|
@slash_command = args[:slash_command] if args.key?(:slash_command)
|
165
171
|
@start_index = args[:start_index] if args.key?(:start_index)
|
166
172
|
@type = args[:type] if args.key?(:type)
|
@@ -1011,6 +1017,31 @@ module Google
|
|
1011
1017
|
end
|
1012
1018
|
end
|
1013
1019
|
|
1020
|
+
# Data for Google Drive links.
|
1021
|
+
class DriveLinkData
|
1022
|
+
include Google::Apis::Core::Hashable
|
1023
|
+
|
1024
|
+
# A reference to the data of a drive attachment.
|
1025
|
+
# Corresponds to the JSON property `driveDataRef`
|
1026
|
+
# @return [Google::Apis::ChatV1::DriveDataRef]
|
1027
|
+
attr_accessor :drive_data_ref
|
1028
|
+
|
1029
|
+
# The mime type of the linked Google Drive resource.
|
1030
|
+
# Corresponds to the JSON property `mimeType`
|
1031
|
+
# @return [String]
|
1032
|
+
attr_accessor :mime_type
|
1033
|
+
|
1034
|
+
def initialize(**args)
|
1035
|
+
update!(**args)
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# Update properties of this object
|
1039
|
+
def update!(**args)
|
1040
|
+
@drive_data_ref = args[:drive_data_ref] if args.key?(:drive_data_ref)
|
1041
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
1014
1045
|
# An emoji that is used as a reaction to a message.
|
1015
1046
|
class Emoji
|
1016
1047
|
include Google::Apis::Core::Hashable
|
@@ -3788,6 +3819,37 @@ module Google
|
|
3788
3819
|
end
|
3789
3820
|
end
|
3790
3821
|
|
3822
|
+
# A rich link to a resource.
|
3823
|
+
class RichLinkMetadata
|
3824
|
+
include Google::Apis::Core::Hashable
|
3825
|
+
|
3826
|
+
# Data for Google Drive links.
|
3827
|
+
# Corresponds to the JSON property `driveLinkData`
|
3828
|
+
# @return [Google::Apis::ChatV1::DriveLinkData]
|
3829
|
+
attr_accessor :drive_link_data
|
3830
|
+
|
3831
|
+
# The rich link type.
|
3832
|
+
# Corresponds to the JSON property `richLinkType`
|
3833
|
+
# @return [String]
|
3834
|
+
attr_accessor :rich_link_type
|
3835
|
+
|
3836
|
+
# The URI of this link.
|
3837
|
+
# Corresponds to the JSON property `uri`
|
3838
|
+
# @return [String]
|
3839
|
+
attr_accessor :uri
|
3840
|
+
|
3841
|
+
def initialize(**args)
|
3842
|
+
update!(**args)
|
3843
|
+
end
|
3844
|
+
|
3845
|
+
# Update properties of this object
|
3846
|
+
def update!(**args)
|
3847
|
+
@drive_link_data = args[:drive_link_data] if args.key?(:drive_link_data)
|
3848
|
+
@rich_link_type = args[:rich_link_type] if args.key?(:rich_link_type)
|
3849
|
+
@uri = args[:uri] if args.key?(:uri)
|
3850
|
+
end
|
3851
|
+
end
|
3852
|
+
|
3791
3853
|
# A section contains a collection of widgets that are rendered (vertically) in
|
3792
3854
|
# the order that they are specified. Across all platforms, cards have a narrow
|
3793
3855
|
# fixed width, so there's currently no need for layout properties (for example,
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.87.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240310"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -178,6 +178,12 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
+
class DriveLinkData
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
181
187
|
class Emoji
|
182
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
189
|
|
@@ -508,6 +514,12 @@ module Google
|
|
508
514
|
include Google::Apis::Core::JsonObjectSupport
|
509
515
|
end
|
510
516
|
|
517
|
+
class RichLinkMetadata
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
511
523
|
class Section
|
512
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
525
|
|
@@ -666,6 +678,8 @@ module Google
|
|
666
678
|
# @private
|
667
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
668
680
|
property :length, as: 'length'
|
681
|
+
property :rich_link_metadata, as: 'richLinkMetadata', class: Google::Apis::ChatV1::RichLinkMetadata, decorator: Google::Apis::ChatV1::RichLinkMetadata::Representation
|
682
|
+
|
669
683
|
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommandMetadata, decorator: Google::Apis::ChatV1::SlashCommandMetadata::Representation
|
670
684
|
|
671
685
|
property :start_index, as: 'startIndex'
|
@@ -892,6 +906,15 @@ module Google
|
|
892
906
|
end
|
893
907
|
end
|
894
908
|
|
909
|
+
class DriveLinkData
|
910
|
+
# @private
|
911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
912
|
+
property :drive_data_ref, as: 'driveDataRef', class: Google::Apis::ChatV1::DriveDataRef, decorator: Google::Apis::ChatV1::DriveDataRef::Representation
|
913
|
+
|
914
|
+
property :mime_type, as: 'mimeType'
|
915
|
+
end
|
916
|
+
end
|
917
|
+
|
895
918
|
class Emoji
|
896
919
|
# @private
|
897
920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1538,6 +1561,16 @@ module Google
|
|
1538
1561
|
end
|
1539
1562
|
end
|
1540
1563
|
|
1564
|
+
class RichLinkMetadata
|
1565
|
+
# @private
|
1566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1567
|
+
property :drive_link_data, as: 'driveLinkData', class: Google::Apis::ChatV1::DriveLinkData, decorator: Google::Apis::ChatV1::DriveLinkData::Representation
|
1568
|
+
|
1569
|
+
property :rich_link_type, as: 'richLinkType'
|
1570
|
+
property :uri, as: 'uri'
|
1571
|
+
end
|
1572
|
+
end
|
1573
|
+
|
1541
1574
|
class Section
|
1542
1575
|
# @private
|
1543
1576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chat_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.87.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.87.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|