google-apis-chat_v1 0.19.0 → 0.20.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 +27 -0
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +15 -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: 8b74b66a9180d3058132bac0e17068717c92e22fee73284a3595afaac6eca287
|
|
4
|
+
data.tar.gz: 5da787e12f948d2643e3e660d66c51d17c0f0b6074e508e504167799c560342a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0c4f4e32dae46d2c76ccc58883ac549154bbb3107839124cada1e482d326d174b9f3f7e0eaae14f0c6e967faf09f57c7393a3c98df255df7e32f377ff3cd8f0
|
|
7
|
+
data.tar.gz: 6447254a767e14ad2d60aa6f98b57d003d5bc96bdec80b53c5665797e0feed45b9957c6788383e489a4b9405ca2988f45052ae3d61bc8fbecfe645d33970f990
|
data/CHANGELOG.md
CHANGED
|
@@ -2350,6 +2350,26 @@ module Google
|
|
|
2350
2350
|
end
|
|
2351
2351
|
end
|
|
2352
2352
|
|
|
2353
|
+
# A matched url in a Chat message. Chat bots can unfurl matched URLs. For more
|
|
2354
|
+
# information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
|
|
2355
|
+
class MatchedUrl
|
|
2356
|
+
include Google::Apis::Core::Hashable
|
|
2357
|
+
|
|
2358
|
+
# The url that was matched.
|
|
2359
|
+
# Corresponds to the JSON property `url`
|
|
2360
|
+
# @return [String]
|
|
2361
|
+
attr_accessor :url
|
|
2362
|
+
|
|
2363
|
+
def initialize(**args)
|
|
2364
|
+
update!(**args)
|
|
2365
|
+
end
|
|
2366
|
+
|
|
2367
|
+
# Update properties of this object
|
|
2368
|
+
def update!(**args)
|
|
2369
|
+
@url = args[:url] if args.key?(:url)
|
|
2370
|
+
end
|
|
2371
|
+
end
|
|
2372
|
+
|
|
2353
2373
|
# Media resource.
|
|
2354
2374
|
class Media
|
|
2355
2375
|
include Google::Apis::Core::Hashable
|
|
@@ -2457,6 +2477,12 @@ module Google
|
|
|
2457
2477
|
# @return [String]
|
|
2458
2478
|
attr_accessor :last_update_time
|
|
2459
2479
|
|
|
2480
|
+
# A matched url in a Chat message. Chat bots can unfurl matched URLs. For more
|
|
2481
|
+
# information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
|
|
2482
|
+
# Corresponds to the JSON property `matchedUrl`
|
|
2483
|
+
# @return [Google::Apis::ChatV1::MatchedUrl]
|
|
2484
|
+
attr_accessor :matched_url
|
|
2485
|
+
|
|
2460
2486
|
# Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
|
|
2461
2487
|
# messages/BBBBBBBBBBB.BBBBBBBBBBB`
|
|
2462
2488
|
# Corresponds to the JSON property `name`
|
|
@@ -2510,6 +2536,7 @@ module Google
|
|
|
2510
2536
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2511
2537
|
@fallback_text = args[:fallback_text] if args.key?(:fallback_text)
|
|
2512
2538
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
|
2539
|
+
@matched_url = args[:matched_url] if args.key?(:matched_url)
|
|
2513
2540
|
@name = args[:name] if args.key?(:name)
|
|
2514
2541
|
@preview_text = args[:preview_text] if args.key?(:preview_text)
|
|
2515
2542
|
@sender = args[:sender] if args.key?(:sender)
|
|
@@ -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.20.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20211204"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -358,6 +358,12 @@ module Google
|
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
359
|
end
|
|
360
360
|
|
|
361
|
+
class MatchedUrl
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
361
367
|
class Media
|
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
369
|
|
|
@@ -1099,6 +1105,13 @@ module Google
|
|
|
1099
1105
|
end
|
|
1100
1106
|
end
|
|
1101
1107
|
|
|
1108
|
+
class MatchedUrl
|
|
1109
|
+
# @private
|
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1111
|
+
property :url, as: 'url'
|
|
1112
|
+
end
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1102
1115
|
class Media
|
|
1103
1116
|
# @private
|
|
1104
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1132,6 +1145,8 @@ module Google
|
|
|
1132
1145
|
property :create_time, as: 'createTime'
|
|
1133
1146
|
property :fallback_text, as: 'fallbackText'
|
|
1134
1147
|
property :last_update_time, as: 'lastUpdateTime'
|
|
1148
|
+
property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
|
|
1149
|
+
|
|
1135
1150
|
property :name, as: 'name'
|
|
1136
1151
|
property :preview_text, as: 'previewText'
|
|
1137
1152
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
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.20.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: 2021-12-
|
|
11
|
+
date: 2021-12-13 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.20.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: []
|