google-apis-chat_v1 0.19.0 → 0.23.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: 4d25dc2ecb47c46f03bbe2da36ec94b628e884e3a7a2c8b46de33d699ecbf927
4
- data.tar.gz: d9138189f1f1c4c3fb2ec5137589605c8a4702931b9e691e1e3dd5760a77d6e3
3
+ metadata.gz: f8c9cf1160a26b068543aeb3384b7cc5602310114285e74a29465bd120cdebe2
4
+ data.tar.gz: fcdc73ed9e3b2e858fd874aa3b47e19ca570a0b5651dd4c978be40794cc66b0e
5
5
  SHA512:
6
- metadata.gz: 59b64fa0469dc0e5dda480d2de717ed6e8b67ddf5bb79052334d683a9d68dac225ea449056ff9813d0274b08d2d5065c30034562c96f59b159188bce57753374
7
- data.tar.gz: 4517c2c5b18b1096eeee3a5f8f527a3040ebbcd77bcaa3b52be00ad2d7187163ee89fbc92a3724df26a88d3f81aeffb8eac7699a9b726e5095c6f586faea5ca7
6
+ metadata.gz: 6f8258a06dc31cf3c3fa3ae60afab3287d899dead1674be68bec15252f20a21083d3a10102fcd50bccb47c95a3065467dcf9f1689048e3feb02e3e0daa84971d
7
+ data.tar.gz: 3f794ccc59d7c7e8f6b1eafaaf8bcc763a7bdc21ef6d9e7ec4ebd2b352e4900109cfe8efd70f831615827160e53ca12cbfa72647e7b032208703bb9d2f0372cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.23.0 (2022-02-03)
4
+
5
+ * Regenerated from discovery document revision 20220126
6
+
7
+ ### v0.22.0 (2022-01-28)
8
+
9
+ * Regenerated from discovery document revision 20220125
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.21.0 (2021-12-22)
13
+
14
+ * Regenerated from discovery document revision 20211215
15
+ * Unspecified changes
16
+
17
+ ### v0.20.0 (2021-12-10)
18
+
19
+ * Regenerated from discovery document revision 20211204
20
+
3
21
  ### v0.19.0 (2021-12-01)
4
22
 
5
23
  * Regenerated from discovery document revision 20211125
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/chat_v1"
51
51
  client = Google::Apis::ChatV1::HangoutsChatService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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
@@ -2389,8 +2409,7 @@ module Google
2389
2409
  # @return [String]
2390
2410
  attr_accessor :name
2391
2411
 
2392
- # State of the membership. Required for `CreateMembership`. Read-only for other
2393
- # usage.
2412
+ # Output only. State of the membership.
2394
2413
  # Corresponds to the JSON property `state`
2395
2414
  # @return [String]
2396
2415
  attr_accessor :state
@@ -2457,6 +2476,12 @@ module Google
2457
2476
  # @return [String]
2458
2477
  attr_accessor :last_update_time
2459
2478
 
2479
+ # A matched url in a Chat message. Chat bots can unfurl matched URLs. For more
2480
+ # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2481
+ # Corresponds to the JSON property `matchedUrl`
2482
+ # @return [Google::Apis::ChatV1::MatchedUrl]
2483
+ attr_accessor :matched_url
2484
+
2460
2485
  # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
2461
2486
  # messages/BBBBBBBBBBB.BBBBBBBBBBB`
2462
2487
  # Corresponds to the JSON property `name`
@@ -2510,6 +2535,7 @@ module Google
2510
2535
  @create_time = args[:create_time] if args.key?(:create_time)
2511
2536
  @fallback_text = args[:fallback_text] if args.key?(:fallback_text)
2512
2537
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
2538
+ @matched_url = args[:matched_url] if args.key?(:matched_url)
2513
2539
  @name = args[:name] if args.key?(:name)
2514
2540
  @preview_text = args[:preview_text] if args.key?(:preview_text)
2515
2541
  @sender = args[:sender] if args.key?(:sender)
@@ -2888,7 +2914,7 @@ module Google
2888
2914
  # @return [String]
2889
2915
  attr_accessor :display_name
2890
2916
 
2891
- # Obfuscated domain information.
2917
+ # Unique identifier of the user's Google Workspace domain.
2892
2918
  # Corresponds to the JSON property `domainId`
2893
2919
  # @return [String]
2894
2920
  attr_accessor :domain_id
@@ -2899,7 +2925,9 @@ module Google
2899
2925
  attr_accessor :is_anonymous
2900
2926
  alias_method :is_anonymous?, :is_anonymous
2901
2927
 
2902
- # Resource name, in the format "users/*".
2928
+ # Resource name for a Google Chat user. Formatted as `users/AAAAAAAAAAA`.
2929
+ # Represents a [person](https://developers.google.com/people/api/rest/v1/people#
2930
+ # Person) in the People API.
2903
2931
  # Corresponds to the JSON property `name`
2904
2932
  # @return [String]
2905
2933
  attr_accessor :name
@@ -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.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211125"
25
+ REVISION = "20220126"
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.19.0
4
+ version: 0.23.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-06 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.23.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Chat API V1