google-apis-chat_v1 0.1.0 → 0.6.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 +22 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/chat_v1.rb +5 -3
- data/lib/google/apis/chat_v1/classes.rb +10 -11
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/service.rb +4 -4
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3521d8311867034de2fb806c77bd3769a454747cef7f7bbe4ce8ace9c9036b5a
|
4
|
+
data.tar.gz: 38a2845a413e2ffc433763c9b54da0695c8ddec2099d07d1f5a39a5f495cb3b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c32c67a80c9da928ecf16b4d5c57c0495c61aa5f798714d8e10c86c085810abdcafe3d5144fafa2cb105fa0a837753d0f62b8df131ea3c13ce2d9c75ed465b4f
|
7
|
+
data.tar.gz: 9dfc21589334a0c654685048631251d8eb84c5de5e5242da22e1c5ce5cb3be666b76936d5f8b9c63f6d7eb208f1ab5cfc963eb93ad831139a55172a3ca55e4d3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210417
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210314
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210307
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-03)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210127
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V1 of the
|
1
|
+
# Simple REST client for version V1 of the Google Chat API
|
2
2
|
|
3
|
-
This is a simple client library for version V1 of the
|
3
|
+
This is a simple client library for version V1 of the Google Chat API. It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Chat service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the
|
68
|
+
For reference information on specific calls in the Google Chat API, see the {Google::Apis::ChatV1::HangoutsChatService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
data/lib/google/apis/chat_v1.rb
CHANGED
@@ -19,13 +19,15 @@ require 'google/apis/chat_v1/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
#
|
22
|
+
# Google Chat API
|
23
23
|
#
|
24
|
-
# Enables bots to fetch information and perform actions in
|
24
|
+
# Enables bots to fetch information and perform actions in Google Chat.
|
25
|
+
# Authentication using a service account is a prerequisite for using the Google
|
26
|
+
# Chat REST API.
|
25
27
|
#
|
26
28
|
# @see https://developers.google.com/hangouts/chat
|
27
29
|
module ChatV1
|
28
|
-
# Version of the
|
30
|
+
# Version of the Google Chat API this client connects to.
|
29
31
|
# This is NOT the gem version.
|
30
32
|
VERSION = 'V1'
|
31
33
|
end
|
@@ -390,7 +390,7 @@ module Google
|
|
390
390
|
# @return [String]
|
391
391
|
attr_accessor :type
|
392
392
|
|
393
|
-
# A user in
|
393
|
+
# A user in Google Chat.
|
394
394
|
# Corresponds to the JSON property `user`
|
395
395
|
# @return [Google::Apis::ChatV1::User]
|
396
396
|
attr_accessor :user
|
@@ -696,7 +696,7 @@ module Google
|
|
696
696
|
# @return [String]
|
697
697
|
attr_accessor :create_time
|
698
698
|
|
699
|
-
# A user in
|
699
|
+
# A user in Google Chat.
|
700
700
|
# Corresponds to the JSON property `member`
|
701
701
|
# @return [Google::Apis::ChatV1::User]
|
702
702
|
attr_accessor :member
|
@@ -766,8 +766,7 @@ module Google
|
|
766
766
|
# @return [String]
|
767
767
|
attr_accessor :fallback_text
|
768
768
|
|
769
|
-
#
|
770
|
-
# messages/UMxbHmzDlr4.UMxbHmzDlr4
|
769
|
+
#
|
771
770
|
# Corresponds to the JSON property `name`
|
772
771
|
# @return [String]
|
773
772
|
attr_accessor :name
|
@@ -779,12 +778,12 @@ module Google
|
|
779
778
|
# @return [String]
|
780
779
|
attr_accessor :preview_text
|
781
780
|
|
782
|
-
# A user in
|
781
|
+
# A user in Google Chat.
|
783
782
|
# Corresponds to the JSON property `sender`
|
784
783
|
# @return [Google::Apis::ChatV1::User]
|
785
784
|
attr_accessor :sender
|
786
785
|
|
787
|
-
# A Slash Command in
|
786
|
+
# A Slash Command in Chat.
|
788
787
|
# Corresponds to the JSON property `slashCommand`
|
789
788
|
# @return [Google::Apis::ChatV1::SlashCommand]
|
790
789
|
attr_accessor :slash_command
|
@@ -899,7 +898,7 @@ module Google
|
|
899
898
|
end
|
900
899
|
end
|
901
900
|
|
902
|
-
# A Slash Command in
|
901
|
+
# A Slash Command in Chat.
|
903
902
|
class SlashCommand
|
904
903
|
include Google::Apis::Core::Hashable
|
905
904
|
|
@@ -922,7 +921,7 @@ module Google
|
|
922
921
|
class SlashCommandMetadata
|
923
922
|
include Google::Apis::Core::Hashable
|
924
923
|
|
925
|
-
# A user in
|
924
|
+
# A user in Google Chat.
|
926
925
|
# Corresponds to the JSON property `bot`
|
927
926
|
# @return [Google::Apis::ChatV1::User]
|
928
927
|
attr_accessor :bot
|
@@ -1074,7 +1073,7 @@ module Google
|
|
1074
1073
|
end
|
1075
1074
|
end
|
1076
1075
|
|
1077
|
-
# A user in
|
1076
|
+
# A user in Google Chat.
|
1078
1077
|
class User
|
1079
1078
|
include Google::Apis::Core::Hashable
|
1080
1079
|
|
@@ -1088,7 +1087,7 @@ module Google
|
|
1088
1087
|
# @return [String]
|
1089
1088
|
attr_accessor :domain_id
|
1090
1089
|
|
1091
|
-
# True when the user is deleted or the user's
|
1090
|
+
# True when the user is deleted or the user's profile is not visible.
|
1092
1091
|
# Corresponds to the JSON property `isAnonymous`
|
1093
1092
|
# @return [Boolean]
|
1094
1093
|
attr_accessor :is_anonymous
|
@@ -1127,7 +1126,7 @@ module Google
|
|
1127
1126
|
# @return [String]
|
1128
1127
|
attr_accessor :type
|
1129
1128
|
|
1130
|
-
# A user in
|
1129
|
+
# A user in Google Chat.
|
1131
1130
|
# Corresponds to the JSON property `user`
|
1132
1131
|
# @return [Google::Apis::ChatV1::User]
|
1133
1132
|
attr_accessor :user
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210417"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -20,9 +20,11 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module ChatV1
|
23
|
-
#
|
23
|
+
# Google Chat API
|
24
24
|
#
|
25
|
-
# Enables bots to fetch information and perform actions in
|
25
|
+
# Enables bots to fetch information and perform actions in Google Chat.
|
26
|
+
# Authentication using a service account is a prerequisite for using the Google
|
27
|
+
# Chat REST API.
|
26
28
|
#
|
27
29
|
# @example
|
28
30
|
# require 'google/apis/chat_v1'
|
@@ -636,8 +638,6 @@ module Google
|
|
636
638
|
|
637
639
|
# Updates a message.
|
638
640
|
# @param [String] name
|
639
|
-
# Resource name, in the form "spaces/*/messages/*". Example: spaces/AAAAMpdlehY/
|
640
|
-
# messages/UMxbHmzDlr4.UMxbHmzDlr4
|
641
641
|
# @param [Google::Apis::ChatV1::Message] message_object
|
642
642
|
# @param [String] update_mask
|
643
643
|
# Required. The field paths to be updated, comma separated if there are multiple.
|
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.6.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-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -24,13 +24,13 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.1'
|
27
|
-
description: This is the simple REST client for
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
description: This is the simple REST client for Google Chat API V1. Simple REST clients
|
28
|
+
are Ruby client libraries that provide access to Google services via their HTTP
|
29
|
+
REST API endpoints. These libraries are generated and updated automatically based
|
30
|
+
on the discovery documents published by the service, and they handle most concerns
|
31
|
+
such as authentication, pagination, retry, timeouts, and logging. You can use this
|
32
|
+
client to access the Google Chat API, but note that some services may provide a
|
33
|
+
separate modern client that is easier to use.
|
34
34
|
email: googleapis-packages@google.com
|
35
35
|
executables: []
|
36
36
|
extensions: []
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,15 +62,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
|
-
summary: Simple REST client for
|
75
|
+
summary: Simple REST client for Google Chat API V1
|
76
76
|
test_files: []
|