google-apis-chat_v1 0.103.0 → 0.104.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 +39 -0
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +17 -0
- data/lib/google/apis/chat_v1.rb +12 -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: 7c32fbb1213395c7e5d02011232b69a89654ad7fd4ee4681c959253941e7af5e
|
4
|
+
data.tar.gz: ec42208317a3ebc6fcb74fe1a0615e35a95370e1a6a7848ee118b7f9367557ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97cc23c2e05e2c7feb42ac82b5f8b76ca2386dd70accca18df0d40275ffe6178a66c1447255760ba1d2614a95f44663eda01acbd1105304cce61276f88b7074
|
7
|
+
data.tar.gz: b8d99914b7b9155c8b9fe4456c47d4d32cb1e404b9292a8114374376c881ca460459bb86ba7d5d6c1d63e24f76eaf70969f3f4d415a73aa0fc5c8a03354a2614
|
data/CHANGELOG.md
CHANGED
@@ -590,6 +590,39 @@ module Google
|
|
590
590
|
end
|
591
591
|
end
|
592
592
|
|
593
|
+
# Data for Chat space links.
|
594
|
+
class ChatSpaceLinkData
|
595
|
+
include Google::Apis::Core::Hashable
|
596
|
+
|
597
|
+
# The message of the linked Chat space resource. Format: `spaces/`space`/
|
598
|
+
# messages/`message``
|
599
|
+
# Corresponds to the JSON property `message`
|
600
|
+
# @return [String]
|
601
|
+
attr_accessor :message
|
602
|
+
|
603
|
+
# The space of the linked Chat space resource. Format: `spaces/`space``
|
604
|
+
# Corresponds to the JSON property `space`
|
605
|
+
# @return [String]
|
606
|
+
attr_accessor :space
|
607
|
+
|
608
|
+
# The thread of the linked Chat space resource. Format: `spaces/`space`/threads/`
|
609
|
+
# thread``
|
610
|
+
# Corresponds to the JSON property `thread`
|
611
|
+
# @return [String]
|
612
|
+
attr_accessor :thread
|
613
|
+
|
614
|
+
def initialize(**args)
|
615
|
+
update!(**args)
|
616
|
+
end
|
617
|
+
|
618
|
+
# Update properties of this object
|
619
|
+
def update!(**args)
|
620
|
+
@message = args[:message] if args.key?(:message)
|
621
|
+
@space = args[:space] if args.key?(:space)
|
622
|
+
@thread = args[:thread] if args.key?(:thread)
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
593
626
|
# Represents a color in the RGBA color space. This representation is designed
|
594
627
|
# for simplicity of conversion to and from color representations in various
|
595
628
|
# languages over compactness. For example, the fields of this representation can
|
@@ -4375,6 +4408,11 @@ module Google
|
|
4375
4408
|
class RichLinkMetadata
|
4376
4409
|
include Google::Apis::Core::Hashable
|
4377
4410
|
|
4411
|
+
# Data for Chat space links.
|
4412
|
+
# Corresponds to the JSON property `chatSpaceLinkData`
|
4413
|
+
# @return [Google::Apis::ChatV1::ChatSpaceLinkData]
|
4414
|
+
attr_accessor :chat_space_link_data
|
4415
|
+
|
4378
4416
|
# Data for Google Drive links.
|
4379
4417
|
# Corresponds to the JSON property `driveLinkData`
|
4380
4418
|
# @return [Google::Apis::ChatV1::DriveLinkData]
|
@@ -4396,6 +4434,7 @@ module Google
|
|
4396
4434
|
|
4397
4435
|
# Update properties of this object
|
4398
4436
|
def update!(**args)
|
4437
|
+
@chat_space_link_data = args[:chat_space_link_data] if args.key?(:chat_space_link_data)
|
4399
4438
|
@drive_link_data = args[:drive_link_data] if args.key?(:drive_link_data)
|
4400
4439
|
@rich_link_type = args[:rich_link_type] if args.key?(:rich_link_type)
|
4401
4440
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -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.104.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240908"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class ChatSpaceLinkData
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class Color
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -967,6 +973,15 @@ module Google
|
|
967
973
|
end
|
968
974
|
end
|
969
975
|
|
976
|
+
class ChatSpaceLinkData
|
977
|
+
# @private
|
978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
979
|
+
property :message, as: 'message'
|
980
|
+
property :space, as: 'space'
|
981
|
+
property :thread, as: 'thread'
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|
970
985
|
class Color
|
971
986
|
# @private
|
972
987
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1901,6 +1916,8 @@ module Google
|
|
1901
1916
|
class RichLinkMetadata
|
1902
1917
|
# @private
|
1903
1918
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1919
|
+
property :chat_space_link_data, as: 'chatSpaceLinkData', class: Google::Apis::ChatV1::ChatSpaceLinkData, decorator: Google::Apis::ChatV1::ChatSpaceLinkData::Representation
|
1920
|
+
|
1904
1921
|
property :drive_link_data, as: 'driveLinkData', class: Google::Apis::ChatV1::DriveLinkData, decorator: Google::Apis::ChatV1::DriveLinkData::Representation
|
1905
1922
|
|
1906
1923
|
property :rich_link_type, as: 'richLinkType'
|
data/lib/google/apis/chat_v1.rb
CHANGED
@@ -45,6 +45,18 @@ module Google
|
|
45
45
|
# View display name, description, and other metadata for all Google Chat conversations owned by your organization
|
46
46
|
AUTH_CHAT_ADMIN_SPACES_READONLY = 'https://www.googleapis.com/auth/chat.admin.spaces.readonly'
|
47
47
|
|
48
|
+
# On their own behalf, apps in Google Chat can delete conversations and spaces and remove access to associated files
|
49
|
+
AUTH_CHAT_APP_DELETE = 'https://www.googleapis.com/auth/chat.app.delete'
|
50
|
+
|
51
|
+
# On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces
|
52
|
+
AUTH_CHAT_APP_MEMBERSHIPS = 'https://www.googleapis.com/auth/chat.app.memberships'
|
53
|
+
|
54
|
+
# On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)
|
55
|
+
AUTH_CHAT_APP_SPACES = 'https://www.googleapis.com/auth/chat.app.spaces'
|
56
|
+
|
57
|
+
# On their own behalf, apps in Google Chat can create conversations and spaces
|
58
|
+
AUTH_CHAT_APP_SPACES_CREATE = 'https://www.googleapis.com/auth/chat.app.spaces.create'
|
59
|
+
|
48
60
|
# Private Service: https://www.googleapis.com/auth/chat.bot
|
49
61
|
AUTH_CHAT_BOT = 'https://www.googleapis.com/auth/chat.bot'
|
50
62
|
|
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.104.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-09-
|
11
|
+
date: 2024-09-15 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.104.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: []
|