google-apps-chat-v1 0.1.2 → 0.3.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/lib/google/apps/chat/v1/chat_service/client.rb +334 -10
- data/lib/google/apps/chat/v1/chat_service/credentials.rb +5 -0
- data/lib/google/apps/chat/v1/chat_service/paths.rb +17 -0
- data/lib/google/apps/chat/v1/chat_service/rest/client.rb +320 -10
- data/lib/google/apps/chat/v1/chat_service/rest/service_stub.rb +118 -0
- data/lib/google/apps/chat/v1/version.rb +1 -1
- data/lib/google/chat/v1/chat_service_pb.rb +2 -1
- data/lib/google/chat/v1/chat_service_services_pb.rb +33 -0
- data/lib/google/chat/v1/event_payload_pb.rb +69 -0
- data/lib/google/chat/v1/space_event_pb.rb +52 -0
- data/lib/google/chat/v1/space_pb.rb +3 -1
- data/proto_docs/google/api/client.rb +14 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/chat/v1/attachment.rb +2 -2
- data/proto_docs/google/chat/v1/event_payload.rb +225 -0
- data/proto_docs/google/chat/v1/membership.rb +8 -2
- data/proto_docs/google/chat/v1/space.rb +66 -6
- data/proto_docs/google/chat/v1/space_event.rb +285 -0
- metadata +6 -2
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/chat/v1/event_payload.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/chat/v1/membership_pb'
|
9
|
+
require 'google/chat/v1/message_pb'
|
10
|
+
require 'google/chat/v1/reaction_pb'
|
11
|
+
require 'google/chat/v1/space_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n\"google/chat/v1/event_payload.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1agoogle/chat/v1/space.proto\"L\n\x1aMembershipCreatedEventData\x12.\n\nmembership\x18\x01 \x01(\x0b\x32\x1a.google.chat.v1.Membership\"L\n\x1aMembershipDeletedEventData\x12.\n\nmembership\x18\x01 \x01(\x0b\x32\x1a.google.chat.v1.Membership\"L\n\x1aMembershipUpdatedEventData\x12.\n\nmembership\x18\x01 \x01(\x0b\x32\x1a.google.chat.v1.Membership\"b\n\x1fMembershipBatchCreatedEventData\x12?\n\x0bmemberships\x18\x01 \x03(\x0b\x32*.google.chat.v1.MembershipCreatedEventData\"b\n\x1fMembershipBatchUpdatedEventData\x12?\n\x0bmemberships\x18\x01 \x03(\x0b\x32*.google.chat.v1.MembershipUpdatedEventData\"b\n\x1fMembershipBatchDeletedEventData\x12?\n\x0bmemberships\x18\x01 \x03(\x0b\x32*.google.chat.v1.MembershipDeletedEventData\"C\n\x17MessageCreatedEventData\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\"C\n\x17MessageUpdatedEventData\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\"C\n\x17MessageDeletedEventData\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\"Y\n\x1cMessageBatchCreatedEventData\x12\x39\n\x08messages\x18\x01 \x03(\x0b\x32\'.google.chat.v1.MessageCreatedEventData\"Y\n\x1cMessageBatchUpdatedEventData\x12\x39\n\x08messages\x18\x01 \x03(\x0b\x32\'.google.chat.v1.MessageUpdatedEventData\"Y\n\x1cMessageBatchDeletedEventData\x12\x39\n\x08messages\x18\x01 \x03(\x0b\x32\'.google.chat.v1.MessageDeletedEventData\"=\n\x15SpaceUpdatedEventData\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.Space\"S\n\x1aSpaceBatchUpdatedEventData\x12\x35\n\x06spaces\x18\x01 \x03(\x0b\x32%.google.chat.v1.SpaceUpdatedEventData\"F\n\x18ReactionCreatedEventData\x12*\n\x08reaction\x18\x01 \x01(\x0b\x32\x18.google.chat.v1.Reaction\"F\n\x18ReactionDeletedEventData\x12*\n\x08reaction\x18\x01 \x01(\x0b\x32\x18.google.chat.v1.Reaction\"\\\n\x1dReactionBatchCreatedEventData\x12;\n\treactions\x18\x01 \x03(\x0b\x32(.google.chat.v1.ReactionCreatedEventData\"\\\n\x1dReactionBatchDeletedEventData\x12;\n\treactions\x18\x01 \x03(\x0b\x32(.google.chat.v1.ReactionDeletedEventDataB\xaa\x01\n\x12\x63om.google.chat.v1B\x11\x45ventPayloadProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.chat.v1.Membership", "google/chat/v1/membership.proto"],
|
30
|
+
["google.chat.v1.Message", "google/chat/v1/message.proto"],
|
31
|
+
["google.chat.v1.Space", "google/chat/v1/space.proto"],
|
32
|
+
["google.chat.v1.Reaction", "google/chat/v1/reaction.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
42
|
+
end
|
43
|
+
|
44
|
+
module Google
|
45
|
+
module Apps
|
46
|
+
module Chat
|
47
|
+
module V1
|
48
|
+
MembershipCreatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MembershipCreatedEventData").msgclass
|
49
|
+
MembershipDeletedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MembershipDeletedEventData").msgclass
|
50
|
+
MembershipUpdatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MembershipUpdatedEventData").msgclass
|
51
|
+
MembershipBatchCreatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MembershipBatchCreatedEventData").msgclass
|
52
|
+
MembershipBatchUpdatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MembershipBatchUpdatedEventData").msgclass
|
53
|
+
MembershipBatchDeletedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MembershipBatchDeletedEventData").msgclass
|
54
|
+
MessageCreatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MessageCreatedEventData").msgclass
|
55
|
+
MessageUpdatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MessageUpdatedEventData").msgclass
|
56
|
+
MessageDeletedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MessageDeletedEventData").msgclass
|
57
|
+
MessageBatchCreatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MessageBatchCreatedEventData").msgclass
|
58
|
+
MessageBatchUpdatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MessageBatchUpdatedEventData").msgclass
|
59
|
+
MessageBatchDeletedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.MessageBatchDeletedEventData").msgclass
|
60
|
+
SpaceUpdatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SpaceUpdatedEventData").msgclass
|
61
|
+
SpaceBatchUpdatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SpaceBatchUpdatedEventData").msgclass
|
62
|
+
ReactionCreatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ReactionCreatedEventData").msgclass
|
63
|
+
ReactionDeletedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ReactionDeletedEventData").msgclass
|
64
|
+
ReactionBatchCreatedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ReactionBatchCreatedEventData").msgclass
|
65
|
+
ReactionBatchDeletedEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ReactionBatchDeletedEventData").msgclass
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/chat/v1/space_event.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/chat/v1/event_payload_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n google/chat/v1/space_event.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/event_payload.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\r\n\nSpaceEvent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nevent_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nevent_type\x18\x06 \x01(\t\x12M\n\x1amessage_created_event_data\x18\x0c \x01(\x0b\x32\'.google.chat.v1.MessageCreatedEventDataH\x00\x12M\n\x1amessage_updated_event_data\x18\r \x01(\x0b\x32\'.google.chat.v1.MessageUpdatedEventDataH\x00\x12M\n\x1amessage_deleted_event_data\x18\x0e \x01(\x0b\x32\'.google.chat.v1.MessageDeletedEventDataH\x00\x12X\n message_batch_created_event_data\x18\x1a \x01(\x0b\x32,.google.chat.v1.MessageBatchCreatedEventDataH\x00\x12X\n message_batch_updated_event_data\x18\x1b \x01(\x0b\x32,.google.chat.v1.MessageBatchUpdatedEventDataH\x00\x12X\n message_batch_deleted_event_data\x18\x1c \x01(\x0b\x32,.google.chat.v1.MessageBatchDeletedEventDataH\x00\x12I\n\x18space_updated_event_data\x18\x0f \x01(\x0b\x32%.google.chat.v1.SpaceUpdatedEventDataH\x00\x12T\n\x1espace_batch_updated_event_data\x18\x1d \x01(\x0b\x32*.google.chat.v1.SpaceBatchUpdatedEventDataH\x00\x12S\n\x1dmembership_created_event_data\x18\x11 \x01(\x0b\x32*.google.chat.v1.MembershipCreatedEventDataH\x00\x12S\n\x1dmembership_updated_event_data\x18\x12 \x01(\x0b\x32*.google.chat.v1.MembershipUpdatedEventDataH\x00\x12T\n\x1dmembership_deleted_event_data\x18\xdb\x01 \x01(\x0b\x32*.google.chat.v1.MembershipDeletedEventDataH\x00\x12^\n#membership_batch_created_event_data\x18\x1f \x01(\x0b\x32/.google.chat.v1.MembershipBatchCreatedEventDataH\x00\x12^\n#membership_batch_updated_event_data\x18 \x01(\x0b\x32/.google.chat.v1.MembershipBatchUpdatedEventDataH\x00\x12^\n#membership_batch_deleted_event_data\x18! \x01(\x0b\x32/.google.chat.v1.MembershipBatchDeletedEventDataH\x00\x12O\n\x1breaction_created_event_data\x18\x15 \x01(\x0b\x32(.google.chat.v1.ReactionCreatedEventDataH\x00\x12O\n\x1breaction_deleted_event_data\x18\x16 \x01(\x0b\x32(.google.chat.v1.ReactionDeletedEventDataH\x00\x12Z\n!reaction_batch_created_event_data\x18\" \x01(\x0b\x32-.google.chat.v1.ReactionBatchCreatedEventDataH\x00\x12Z\n!reaction_batch_deleted_event_data\x18# \x01(\x0b\x32-.google.chat.v1.ReactionBatchDeletedEventDataH\x00:M\xea\x41J\n\x1e\x63hat.googleapis.com/SpaceEvent\x12(spaces/{space}/spaceEvents/{space_event}B\t\n\x07payload\"L\n\x14GetSpaceEventRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/SpaceEvent\"\x8c\x01\n\x16ListSpaceEventsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/SpaceEvent\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x13\n\x06\x66ilter\x18\x08 \x01(\tB\x03\xe0\x41\x02\"d\n\x17ListSpaceEventsResponse\x12\x30\n\x0cspace_events\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.SpaceEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\tB\x9a\x01\n\x12\x63om.google.chat.v1B\x0fSpaceEventProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.chat.v1.MessageCreatedEventData", "google/chat/v1/event_payload.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Apps
|
43
|
+
module Chat
|
44
|
+
module V1
|
45
|
+
SpaceEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SpaceEvent").msgclass
|
46
|
+
GetSpaceEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.GetSpaceEventRequest").msgclass
|
47
|
+
ListSpaceEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListSpaceEventsRequest").msgclass
|
48
|
+
ListSpaceEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListSpaceEventsResponse").msgclass
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
14
|
+
descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\t\n\x05Space\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x33\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceType\x12\x1f\n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\x08threaded\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\"\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x03\xe0\x41\x05\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12\x39\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetails\x12\x39\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryState\x12\x18\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x1c\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x42\n\x0f\x61\x63\x63\x65ss_settings\x18\x17 \x01(\x0b\x32$.google.chat.v1.Space.AccessSettingsB\x03\xe0\x41\x01\x12\x16\n\tspace_uri\x18\x19 \x01(\tB\x03\xe0\x41\x03\x1a\x37\n\x0cSpaceDetails\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x12\n\nguidelines\x18\x02 \x01(\t\x1a\xc0\x01\n\x0e\x41\x63\x63\x65ssSettings\x12K\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32\x30.google.chat.v1.Space.AccessSettings.AccessStateB\x03\xe0\x41\x03\x12\x15\n\x08\x61udience\x18\x03 \x01(\tB\x03\xe0\x41\x01\"J\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\x10\n\x0c\x44ISCOVERABLE\x10\x02\".\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ROOM\x10\x01\x12\x06\n\x02\x44M\x10\x02\"V\n\tSpaceType\x12\x1a\n\x16SPACE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nGROUP_CHAT\x10\x02\x12\x12\n\x0e\x44IRECT_MESSAGE\x10\x03\"\x82\x01\n\x13SpaceThreadingState\x12%\n!SPACE_THREADING_STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11THREADED_MESSAGES\x10\x02\x12\x14\n\x10GROUPED_MESSAGES\x10\x03\x12\x17\n\x13UNTHREADED_MESSAGES\x10\x04:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}\"X\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpacesRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x12ListSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"B\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"p\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"E\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"M\n\x1a\x43ompleteImportSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"C\n\x1b\x43ompleteImportSpaceResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\xa3\x01\n\x12\x63om.google.chat.v1B\nSpaceProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -45,6 +45,8 @@ module Google
|
|
45
45
|
module V1
|
46
46
|
Space = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space").msgclass
|
47
47
|
Space::SpaceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.SpaceDetails").msgclass
|
48
|
+
Space::AccessSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.AccessSettings").msgclass
|
49
|
+
Space::AccessSettings::AccessState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.AccessSettings.AccessState").enummodule
|
48
50
|
Space::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.Type").enummodule
|
49
51
|
Space::SpaceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.SpaceType").enummodule
|
50
52
|
Space::SpaceThreadingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.SpaceThreadingState").enummodule
|
@@ -290,6 +290,13 @@ module Google
|
|
290
290
|
# @return [::String]
|
291
291
|
# The fully qualified name of the method, for which the options below apply.
|
292
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
293
300
|
# @!attribute [rw] long_running
|
294
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
302
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +305,14 @@ module Google
|
|
298
305
|
#
|
299
306
|
# Example of a YAML configuration::
|
300
307
|
#
|
301
|
-
#
|
302
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
303
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
311
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
307
313
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
316
|
# @!attribute [rw] auto_populated_fields
|
313
317
|
# @return [::Array<::String>]
|
314
318
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +321,8 @@ module Google
|
|
317
321
|
#
|
318
322
|
# Example of a YAML configuration:
|
319
323
|
#
|
320
|
-
#
|
321
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
322
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
327
|
# auto_populated_fields:
|
324
328
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
27
|
# Resource name of the attachment, in the form
|
28
|
-
# `spaces
|
28
|
+
# `spaces/{space}/messages/{message}/attachments/{attachment}`.
|
29
29
|
# @!attribute [r] content_name
|
30
30
|
# @return [::String]
|
31
31
|
# Output only. The original file name for the content, not the full path.
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
# @!attribute [rw] name
|
99
99
|
# @return [::String]
|
100
100
|
# Required. Resource name of the attachment, in the form
|
101
|
-
# `spaces
|
101
|
+
# `spaces/{space}/messages/{message}/attachments/{attachment}`.
|
102
102
|
class GetAttachmentRequest
|
103
103
|
include ::Google::Protobuf::MessageExts
|
104
104
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,225 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apps
|
22
|
+
module Chat
|
23
|
+
module V1
|
24
|
+
# Event payload for a new membership.
|
25
|
+
#
|
26
|
+
# Event type: `google.workspace.chat.membership.v1.created`.
|
27
|
+
# @!attribute [rw] membership
|
28
|
+
# @return [::Google::Apps::Chat::V1::Membership]
|
29
|
+
# The new membership.
|
30
|
+
class MembershipCreatedEventData
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Event payload for a deleted membership.
|
36
|
+
#
|
37
|
+
# Event type: `google.workspace.chat.membership.v1.deleted`
|
38
|
+
# @!attribute [rw] membership
|
39
|
+
# @return [::Google::Apps::Chat::V1::Membership]
|
40
|
+
# The deleted membership. Only the `name` and `state` fields are populated.
|
41
|
+
class MembershipDeletedEventData
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
|
46
|
+
# Event payload for an updated membership.
|
47
|
+
#
|
48
|
+
# Event type: `google.workspace.chat.membership.v1.updated`
|
49
|
+
# @!attribute [rw] membership
|
50
|
+
# @return [::Google::Apps::Chat::V1::Membership]
|
51
|
+
# The updated membership.
|
52
|
+
class MembershipUpdatedEventData
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
|
57
|
+
# Event payload for multiple new memberships.
|
58
|
+
#
|
59
|
+
# Event type: `google.workspace.chat.membership.v1.batchCreated`
|
60
|
+
# @!attribute [rw] memberships
|
61
|
+
# @return [::Array<::Google::Apps::Chat::V1::MembershipCreatedEventData>]
|
62
|
+
# A list of new memberships.
|
63
|
+
class MembershipBatchCreatedEventData
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
end
|
67
|
+
|
68
|
+
# Event payload for multiple updated memberships.
|
69
|
+
#
|
70
|
+
# Event type: `google.workspace.chat.membership.v1.batchUpdated`
|
71
|
+
# @!attribute [rw] memberships
|
72
|
+
# @return [::Array<::Google::Apps::Chat::V1::MembershipUpdatedEventData>]
|
73
|
+
# A list of updated memberships.
|
74
|
+
class MembershipBatchUpdatedEventData
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
|
79
|
+
# Event payload for multiple deleted memberships.
|
80
|
+
#
|
81
|
+
# Event type: `google.workspace.chat.membership.v1.batchDeleted`
|
82
|
+
# @!attribute [rw] memberships
|
83
|
+
# @return [::Array<::Google::Apps::Chat::V1::MembershipDeletedEventData>]
|
84
|
+
# A list of deleted memberships.
|
85
|
+
class MembershipBatchDeletedEventData
|
86
|
+
include ::Google::Protobuf::MessageExts
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
|
+
end
|
89
|
+
|
90
|
+
# Event payload for a new message.
|
91
|
+
#
|
92
|
+
# Event type: `google.workspace.chat.message.v1.created`
|
93
|
+
# @!attribute [rw] message
|
94
|
+
# @return [::Google::Apps::Chat::V1::Message]
|
95
|
+
# The new message.
|
96
|
+
class MessageCreatedEventData
|
97
|
+
include ::Google::Protobuf::MessageExts
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
99
|
+
end
|
100
|
+
|
101
|
+
# Event payload for an updated message.
|
102
|
+
#
|
103
|
+
# Event type: `google.workspace.chat.message.v1.updated`
|
104
|
+
# @!attribute [rw] message
|
105
|
+
# @return [::Google::Apps::Chat::V1::Message]
|
106
|
+
# The updated message.
|
107
|
+
class MessageUpdatedEventData
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# Event payload for a deleted message.
|
113
|
+
#
|
114
|
+
# Event type: `google.workspace.chat.message.v1.deleted`
|
115
|
+
# @!attribute [rw] message
|
116
|
+
# @return [::Google::Apps::Chat::V1::Message]
|
117
|
+
# The deleted message. Only the `name`, `createTime`, `deleteTime`, and
|
118
|
+
# `deletionMetadata` fields are populated.
|
119
|
+
class MessageDeletedEventData
|
120
|
+
include ::Google::Protobuf::MessageExts
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
end
|
123
|
+
|
124
|
+
# Event payload for multiple new messages.
|
125
|
+
#
|
126
|
+
# Event type: `google.workspace.chat.message.v1.batchCreated`
|
127
|
+
# @!attribute [rw] messages
|
128
|
+
# @return [::Array<::Google::Apps::Chat::V1::MessageCreatedEventData>]
|
129
|
+
# A list of new messages.
|
130
|
+
class MessageBatchCreatedEventData
|
131
|
+
include ::Google::Protobuf::MessageExts
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
133
|
+
end
|
134
|
+
|
135
|
+
# Event payload for multiple updated messages.
|
136
|
+
#
|
137
|
+
# Event type: `google.workspace.chat.message.v1.batchUpdated`
|
138
|
+
# @!attribute [rw] messages
|
139
|
+
# @return [::Array<::Google::Apps::Chat::V1::MessageUpdatedEventData>]
|
140
|
+
# A list of updated messages.
|
141
|
+
class MessageBatchUpdatedEventData
|
142
|
+
include ::Google::Protobuf::MessageExts
|
143
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
144
|
+
end
|
145
|
+
|
146
|
+
# Event payload for multiple deleted messages.
|
147
|
+
#
|
148
|
+
# Event type: `google.workspace.chat.message.v1.batchDeleted`
|
149
|
+
# @!attribute [rw] messages
|
150
|
+
# @return [::Array<::Google::Apps::Chat::V1::MessageDeletedEventData>]
|
151
|
+
# A list of deleted messages.
|
152
|
+
class MessageBatchDeletedEventData
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
end
|
156
|
+
|
157
|
+
# Event payload for an updated space.
|
158
|
+
#
|
159
|
+
# Event type: `google.workspace.chat.space.v1.updated`
|
160
|
+
# @!attribute [rw] space
|
161
|
+
# @return [::Google::Apps::Chat::V1::Space]
|
162
|
+
# The updated space.
|
163
|
+
class SpaceUpdatedEventData
|
164
|
+
include ::Google::Protobuf::MessageExts
|
165
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
166
|
+
end
|
167
|
+
|
168
|
+
# Event payload for multiple updates to a space.
|
169
|
+
#
|
170
|
+
# Event type: `google.workspace.chat.space.v1.batchUpdated`
|
171
|
+
# @!attribute [rw] spaces
|
172
|
+
# @return [::Array<::Google::Apps::Chat::V1::SpaceUpdatedEventData>]
|
173
|
+
# A list of updated spaces.
|
174
|
+
class SpaceBatchUpdatedEventData
|
175
|
+
include ::Google::Protobuf::MessageExts
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
177
|
+
end
|
178
|
+
|
179
|
+
# Event payload for a new reaction.
|
180
|
+
#
|
181
|
+
# Event type: `google.workspace.chat.reaction.v1.created`
|
182
|
+
# @!attribute [rw] reaction
|
183
|
+
# @return [::Google::Apps::Chat::V1::Reaction]
|
184
|
+
# The new reaction.
|
185
|
+
class ReactionCreatedEventData
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
end
|
189
|
+
|
190
|
+
# Event payload for a deleted reaction.
|
191
|
+
#
|
192
|
+
# Type: `google.workspace.chat.reaction.v1.deleted`
|
193
|
+
# @!attribute [rw] reaction
|
194
|
+
# @return [::Google::Apps::Chat::V1::Reaction]
|
195
|
+
# The deleted reaction.
|
196
|
+
class ReactionDeletedEventData
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Event payload for multiple new reactions.
|
202
|
+
#
|
203
|
+
# Event type: `google.workspace.chat.reaction.v1.batchCreated`
|
204
|
+
# @!attribute [rw] reactions
|
205
|
+
# @return [::Array<::Google::Apps::Chat::V1::ReactionCreatedEventData>]
|
206
|
+
# A list of new reactions.
|
207
|
+
class ReactionBatchCreatedEventData
|
208
|
+
include ::Google::Protobuf::MessageExts
|
209
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
210
|
+
end
|
211
|
+
|
212
|
+
# Event payload for multiple deleted reactions.
|
213
|
+
#
|
214
|
+
# Event type: `google.workspace.chat.reaction.v1.batchDeleted`
|
215
|
+
# @!attribute [rw] reactions
|
216
|
+
# @return [::Array<::Google::Apps::Chat::V1::ReactionDeletedEventData>]
|
217
|
+
# A list of deleted reactions.
|
218
|
+
class ReactionBatchDeletedEventData
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
@@ -186,16 +186,23 @@ module Google
|
|
186
186
|
#
|
187
187
|
# To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`.
|
188
188
|
#
|
189
|
-
# To filter by type, set `member.type` to `HUMAN` or `BOT`.
|
189
|
+
# To filter by type, set `member.type` to `HUMAN` or `BOT`. Developer
|
190
|
+
# Preview: You can also filter for `member.type` using the `!=` operator.
|
190
191
|
#
|
191
192
|
# To filter by both role and type, use the `AND` operator. To filter by
|
192
193
|
# either role or type, use the `OR` operator.
|
193
194
|
#
|
195
|
+
# Either `member.type = "HUMAN"` or `member.type != "BOT"` is required
|
196
|
+
# when `use_admin_access` is set to true. Other member type filters will be
|
197
|
+
# rejected.
|
198
|
+
#
|
194
199
|
# For example, the following queries are valid:
|
195
200
|
#
|
196
201
|
# ```
|
197
202
|
# role = "ROLE_MANAGER" OR role = "ROLE_MEMBER"
|
198
203
|
# member.type = "HUMAN" AND role = "ROLE_MANAGER"
|
204
|
+
#
|
205
|
+
# member.type != "BOT"
|
199
206
|
# ```
|
200
207
|
#
|
201
208
|
# The following queries are invalid:
|
@@ -205,7 +212,6 @@ module Google
|
|
205
212
|
# role = "ROLE_MANAGER" AND role = "ROLE_MEMBER"
|
206
213
|
# ```
|
207
214
|
#
|
208
|
-
#
|
209
215
|
# Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
|
210
216
|
# error.
|
211
217
|
# @!attribute [rw] show_groups
|
@@ -110,6 +110,14 @@ module Google
|
|
110
110
|
# their organization.
|
111
111
|
#
|
112
112
|
# To support admin install, your Chat app must feature direct messaging.
|
113
|
+
# @!attribute [rw] access_settings
|
114
|
+
# @return [::Google::Apps::Chat::V1::Space::AccessSettings]
|
115
|
+
# Optional. Specifies the [access
|
116
|
+
# setting](https://support.google.com/chat/answer/11971020) of the space.
|
117
|
+
# Only populated when the `space_type` is `SPACE`.
|
118
|
+
# @!attribute [r] space_uri
|
119
|
+
# @return [::String]
|
120
|
+
# Output only. The URI for a user to access the space.
|
113
121
|
class Space
|
114
122
|
include ::Google::Protobuf::MessageExts
|
115
123
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -131,6 +139,42 @@ module Google
|
|
131
139
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
140
|
end
|
133
141
|
|
142
|
+
# Represents the [access
|
143
|
+
# setting](https://support.google.com/chat/answer/11971020) of the space.
|
144
|
+
# @!attribute [r] access_state
|
145
|
+
# @return [::Google::Apps::Chat::V1::Space::AccessSettings::AccessState]
|
146
|
+
# Output only. Indicates the access state of the space.
|
147
|
+
# @!attribute [rw] audience
|
148
|
+
# @return [::String]
|
149
|
+
# Optional. The resource name of the [target
|
150
|
+
# audience](https://support.google.com/a/answer/9934697) who can discover
|
151
|
+
# the space, join the space, and preview the messages in the space. For
|
152
|
+
# details, see [Make a space discoverable to a target
|
153
|
+
# audience](https://developers.google.com/workspace/chat/space-target-audience).
|
154
|
+
#
|
155
|
+
# Format: `audiences/{audience}`
|
156
|
+
#
|
157
|
+
# To use the default target audience for the Google Workspace organization,
|
158
|
+
# set to `audiences/default`.
|
159
|
+
class AccessSettings
|
160
|
+
include ::Google::Protobuf::MessageExts
|
161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
162
|
+
|
163
|
+
# Represents the access state of the space.
|
164
|
+
module AccessState
|
165
|
+
# Access state is unknown or not supported in this API.
|
166
|
+
ACCESS_STATE_UNSPECIFIED = 0
|
167
|
+
|
168
|
+
# Space is discoverable by added or invited members or groups.
|
169
|
+
PRIVATE = 1
|
170
|
+
|
171
|
+
# Space is discoverable by the selected [target
|
172
|
+
# audience](https://support.google.com/a/answer/9934697), as well as
|
173
|
+
# added or invited members or groups.
|
174
|
+
DISCOVERABLE = 2
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
134
178
|
# Deprecated: Use `SpaceType` instead.
|
135
179
|
module Type
|
136
180
|
# Reserved.
|
@@ -268,7 +312,7 @@ module Google
|
|
268
312
|
# A request to return a single space.
|
269
313
|
# @!attribute [rw] name
|
270
314
|
# @return [::String]
|
271
|
-
# Required. Resource name of the space, in the form
|
315
|
+
# Required. Resource name of the space, in the form `spaces/{space}`.
|
272
316
|
#
|
273
317
|
# Format: `spaces/{space}`
|
274
318
|
class GetSpaceRequest
|
@@ -326,6 +370,7 @@ module Google
|
|
326
370
|
# the display name is optional if the existing space already has the `SPACE`
|
327
371
|
# type. Trying to update the space type in other ways results in an invalid
|
328
372
|
# argument error).
|
373
|
+
# `space_type` is not supported with admin access.
|
329
374
|
#
|
330
375
|
# - `space_details`
|
331
376
|
#
|
@@ -334,12 +379,27 @@ module Google
|
|
334
379
|
# allows users to change their history
|
335
380
|
# setting](https://support.google.com/a/answer/7664184).
|
336
381
|
# Warning: mutually exclusive with all other field paths.)
|
382
|
+
# `space_history_state` is not supported with admin access.
|
383
|
+
#
|
384
|
+
# - `access_settings.audience` (Supports changing the [access
|
385
|
+
# setting](https://support.google.com/chat/answer/11971020) of who can
|
386
|
+
# discover the space, join the space, and preview the messages in space. If
|
387
|
+
# no audience is specified in the access setting, the space's access setting
|
388
|
+
# is updated to private. Warning: mutually exclusive with all other field
|
389
|
+
# paths.)
|
390
|
+
# `access_settings.audience` is not supported with admin access.
|
337
391
|
#
|
338
|
-
# - Developer Preview:
|
339
|
-
#
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
392
|
+
# - Developer Preview: Supports changing the [permission
|
393
|
+
# settings](https://support.google.com/chat/answer/13340792) of a space,
|
394
|
+
# supported field paths
|
395
|
+
# include: `permission_settings.manage_members_and_groups`,
|
396
|
+
# `permission_settings.modify_space_details`,
|
397
|
+
# `permission_settings.toggle_history`,
|
398
|
+
# `permission_settings.use_at_mention_all`,
|
399
|
+
# `permission_settings.manage_apps`, `permission_settings.manage_webhooks`,
|
400
|
+
# `permission_settings.reply_messages`
|
401
|
+
# (Warning: mutually exclusive with all other non-permission settings field
|
402
|
+
# paths). `permission_settings` is not supported with admin access.
|
343
403
|
class UpdateSpaceRequest
|
344
404
|
include ::Google::Protobuf::MessageExts
|
345
405
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|