google-apps-chat-v1 0.31.0 → 0.33.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 +117 -0
- data/lib/google/apps/chat/v1/chat_service/rest/client.rb +110 -0
- data/lib/google/apps/chat/v1/chat_service/rest/service_stub.rb +62 -0
- data/lib/google/apps/chat/v1/version.rb +1 -1
- data/lib/google/chat/v1/annotation_pb.rb +1 -1
- data/lib/google/chat/v1/attachment_pb.rb +1 -1
- data/lib/google/chat/v1/availability_pb.rb +1 -1
- data/lib/google/chat/v1/chat_service_pb.rb +1 -1
- data/lib/google/chat/v1/chat_service_services_pb.rb +14 -0
- data/lib/google/chat/v1/matched_url_pb.rb +1 -1
- data/lib/google/chat/v1/membership_pb.rb +1 -1
- data/lib/google/chat/v1/message_pb.rb +3 -1
- data/lib/google/chat/v1/message_pin_pb.rb +1 -1
- data/lib/google/chat/v1/reaction_pb.rb +1 -1
- data/lib/google/chat/v1/section_pb.rb +1 -1
- data/lib/google/chat/v1/space_event_pb.rb +1 -1
- data/lib/google/chat/v1/space_notification_setting_pb.rb +1 -1
- data/lib/google/chat/v1/space_pb.rb +1 -1
- data/lib/google/chat/v1/space_read_state_pb.rb +1 -1
- data/lib/google/chat/v1/space_setup_pb.rb +1 -1
- data/lib/google/chat/v1/thread_read_state_pb.rb +1 -1
- data/lib/google/chat/v1/user_pb.rb +1 -1
- data/proto_docs/google/chat/v1/message.rb +27 -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: 773e0654292976a434b6ee5745e7b8712ec5671ef5ebbd07d99a073acc895744
|
|
4
|
+
data.tar.gz: c0cff8946ce8cc6158fb516d5d5a1d065eb2dd51865cc06477770392f45e20d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77aa3864ef93def9a4632d962aab296e81a35f18539716ee54aa55f3509590b9b448b83330bb2b0294b12e9b7ece1e0311116b43ff60a792aaa0e08baf625ecb
|
|
7
|
+
data.tar.gz: 15695d6576535507c8949258bb93c0f30e50987fbf1f58aa2a3277f75dab902fd8c8032fcad372f7be547ea50a1642417490b1e79a4de17a72c36187e92e4c99
|
|
@@ -316,6 +316,11 @@ module Google
|
|
|
316
316
|
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
+
default_config.rpcs.replace_message_cards.timeout = 30.0
|
|
320
|
+
default_config.rpcs.replace_message_cards.retry_policy = {
|
|
321
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
|
322
|
+
}
|
|
323
|
+
|
|
319
324
|
default_config
|
|
320
325
|
end
|
|
321
326
|
yield @configure if block_given?
|
|
@@ -7332,6 +7337,111 @@ module Google
|
|
|
7332
7337
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7333
7338
|
end
|
|
7334
7339
|
|
|
7340
|
+
##
|
|
7341
|
+
# Replaces the cards included in a message.
|
|
7342
|
+
#
|
|
7343
|
+
# A Chat app can only replace cards on a human-created message if the message
|
|
7344
|
+
# already contains cards, and the cards were created by the app.
|
|
7345
|
+
#
|
|
7346
|
+
# If the app replaces the cards with an empty list, the cards are removed.
|
|
7347
|
+
# After removing the cards, the app cannot add cards back to the message.
|
|
7348
|
+
#
|
|
7349
|
+
# Requires [app
|
|
7350
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
7351
|
+
# with the [authorization
|
|
7352
|
+
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
|
|
7353
|
+
# - `https://www.googleapis.com/auth/chat.bot`
|
|
7354
|
+
#
|
|
7355
|
+
# @overload replace_message_cards(request, options = nil)
|
|
7356
|
+
# Pass arguments to `replace_message_cards` via a request object, either of type
|
|
7357
|
+
# {::Google::Apps::Chat::V1::ReplaceMessageCardsRequest} or an equivalent Hash.
|
|
7358
|
+
#
|
|
7359
|
+
# @param request [::Google::Apps::Chat::V1::ReplaceMessageCardsRequest, ::Hash]
|
|
7360
|
+
# A request object representing the call parameters. Required. To specify no
|
|
7361
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7362
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7363
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
7364
|
+
#
|
|
7365
|
+
# @overload replace_message_cards(name: nil, cards_v2: nil)
|
|
7366
|
+
# Pass arguments to `replace_message_cards` via keyword arguments. Note that at
|
|
7367
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7368
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7369
|
+
#
|
|
7370
|
+
# @param name [::String]
|
|
7371
|
+
# Required. The resource name of the message.
|
|
7372
|
+
#
|
|
7373
|
+
# Format: `spaces/{space}/messages/{message}`
|
|
7374
|
+
# @param cards_v2 [::Array<::Google::Apps::Chat::V1::CardWithId, ::Hash>]
|
|
7375
|
+
# Optional. An array of
|
|
7376
|
+
# [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards)
|
|
7377
|
+
# to be included in the message. These cards will replace the existing cards
|
|
7378
|
+
# of the message. If empty, the original cards included in the message will
|
|
7379
|
+
# be cleared.
|
|
7380
|
+
#
|
|
7381
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
7382
|
+
# @yieldparam response [::Google::Apps::Chat::V1::ReplaceMessageCardsResponse]
|
|
7383
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
7384
|
+
#
|
|
7385
|
+
# @return [::Google::Apps::Chat::V1::ReplaceMessageCardsResponse]
|
|
7386
|
+
#
|
|
7387
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
7388
|
+
#
|
|
7389
|
+
# @example Basic example
|
|
7390
|
+
# require "google/apps/chat/v1"
|
|
7391
|
+
#
|
|
7392
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
7393
|
+
# client = Google::Apps::Chat::V1::ChatService::Client.new
|
|
7394
|
+
#
|
|
7395
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7396
|
+
# request = Google::Apps::Chat::V1::ReplaceMessageCardsRequest.new
|
|
7397
|
+
#
|
|
7398
|
+
# # Call the replace_message_cards method.
|
|
7399
|
+
# result = client.replace_message_cards request
|
|
7400
|
+
#
|
|
7401
|
+
# # The returned object is of type Google::Apps::Chat::V1::ReplaceMessageCardsResponse.
|
|
7402
|
+
# p result
|
|
7403
|
+
#
|
|
7404
|
+
def replace_message_cards request, options = nil
|
|
7405
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7406
|
+
|
|
7407
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Chat::V1::ReplaceMessageCardsRequest
|
|
7408
|
+
|
|
7409
|
+
# Converts hash and nil to an options object
|
|
7410
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7411
|
+
|
|
7412
|
+
# Customize the options with defaults
|
|
7413
|
+
metadata = @config.rpcs.replace_message_cards.metadata.to_h
|
|
7414
|
+
|
|
7415
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7416
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7417
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7418
|
+
gapic_version: ::Google::Apps::Chat::V1::VERSION
|
|
7419
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7420
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7421
|
+
|
|
7422
|
+
header_params = {}
|
|
7423
|
+
if request.name
|
|
7424
|
+
header_params["name"] = request.name
|
|
7425
|
+
end
|
|
7426
|
+
|
|
7427
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
7428
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
7429
|
+
|
|
7430
|
+
options.apply_defaults timeout: @config.rpcs.replace_message_cards.timeout,
|
|
7431
|
+
metadata: metadata,
|
|
7432
|
+
retry_policy: @config.rpcs.replace_message_cards.retry_policy
|
|
7433
|
+
|
|
7434
|
+
options.apply_defaults timeout: @config.timeout,
|
|
7435
|
+
metadata: @config.metadata,
|
|
7436
|
+
retry_policy: @config.retry_policy
|
|
7437
|
+
|
|
7438
|
+
@chat_service_stub.call_rpc :replace_message_cards, request, options: options do |response, operation|
|
|
7439
|
+
yield response, operation if block_given?
|
|
7440
|
+
end
|
|
7441
|
+
rescue ::GRPC::BadStatus => e
|
|
7442
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
7443
|
+
end
|
|
7444
|
+
|
|
7335
7445
|
##
|
|
7336
7446
|
# Configuration class for the ChatService API.
|
|
7337
7447
|
#
|
|
@@ -7777,6 +7887,11 @@ module Google
|
|
|
7777
7887
|
# @return [::Gapic::Config::Method]
|
|
7778
7888
|
#
|
|
7779
7889
|
attr_reader :move_section_item
|
|
7890
|
+
##
|
|
7891
|
+
# RPC-specific configuration for `replace_message_cards`
|
|
7892
|
+
# @return [::Gapic::Config::Method]
|
|
7893
|
+
#
|
|
7894
|
+
attr_reader :replace_message_cards
|
|
7780
7895
|
|
|
7781
7896
|
# @private
|
|
7782
7897
|
def initialize parent_rpcs = nil
|
|
@@ -7884,6 +7999,8 @@ module Google
|
|
|
7884
7999
|
@list_section_items = ::Gapic::Config::Method.new list_section_items_config
|
|
7885
8000
|
move_section_item_config = parent_rpcs.move_section_item if parent_rpcs.respond_to? :move_section_item
|
|
7886
8001
|
@move_section_item = ::Gapic::Config::Method.new move_section_item_config
|
|
8002
|
+
replace_message_cards_config = parent_rpcs.replace_message_cards if parent_rpcs.respond_to? :replace_message_cards
|
|
8003
|
+
@replace_message_cards = ::Gapic::Config::Method.new replace_message_cards_config
|
|
7887
8004
|
|
|
7888
8005
|
yield self if block_given?
|
|
7889
8006
|
end
|
|
@@ -318,6 +318,11 @@ module Google
|
|
|
318
318
|
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
+
default_config.rpcs.replace_message_cards.timeout = 30.0
|
|
322
|
+
default_config.rpcs.replace_message_cards.retry_policy = {
|
|
323
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
|
|
324
|
+
}
|
|
325
|
+
|
|
321
326
|
default_config
|
|
322
327
|
end
|
|
323
328
|
yield @configure if block_given?
|
|
@@ -7025,6 +7030,104 @@ module Google
|
|
|
7025
7030
|
raise ::Google::Cloud::Error.from_error(e)
|
|
7026
7031
|
end
|
|
7027
7032
|
|
|
7033
|
+
##
|
|
7034
|
+
# Replaces the cards included in a message.
|
|
7035
|
+
#
|
|
7036
|
+
# A Chat app can only replace cards on a human-created message if the message
|
|
7037
|
+
# already contains cards, and the cards were created by the app.
|
|
7038
|
+
#
|
|
7039
|
+
# If the app replaces the cards with an empty list, the cards are removed.
|
|
7040
|
+
# After removing the cards, the app cannot add cards back to the message.
|
|
7041
|
+
#
|
|
7042
|
+
# Requires [app
|
|
7043
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
7044
|
+
# with the [authorization
|
|
7045
|
+
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
|
|
7046
|
+
# - `https://www.googleapis.com/auth/chat.bot`
|
|
7047
|
+
#
|
|
7048
|
+
# @overload replace_message_cards(request, options = nil)
|
|
7049
|
+
# Pass arguments to `replace_message_cards` via a request object, either of type
|
|
7050
|
+
# {::Google::Apps::Chat::V1::ReplaceMessageCardsRequest} or an equivalent Hash.
|
|
7051
|
+
#
|
|
7052
|
+
# @param request [::Google::Apps::Chat::V1::ReplaceMessageCardsRequest, ::Hash]
|
|
7053
|
+
# A request object representing the call parameters. Required. To specify no
|
|
7054
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
7055
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
7056
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
7057
|
+
#
|
|
7058
|
+
# @overload replace_message_cards(name: nil, cards_v2: nil)
|
|
7059
|
+
# Pass arguments to `replace_message_cards` via keyword arguments. Note that at
|
|
7060
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
7061
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
7062
|
+
#
|
|
7063
|
+
# @param name [::String]
|
|
7064
|
+
# Required. The resource name of the message.
|
|
7065
|
+
#
|
|
7066
|
+
# Format: `spaces/{space}/messages/{message}`
|
|
7067
|
+
# @param cards_v2 [::Array<::Google::Apps::Chat::V1::CardWithId, ::Hash>]
|
|
7068
|
+
# Optional. An array of
|
|
7069
|
+
# [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards)
|
|
7070
|
+
# to be included in the message. These cards will replace the existing cards
|
|
7071
|
+
# of the message. If empty, the original cards included in the message will
|
|
7072
|
+
# be cleared.
|
|
7073
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
7074
|
+
# @yieldparam result [::Google::Apps::Chat::V1::ReplaceMessageCardsResponse]
|
|
7075
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
7076
|
+
#
|
|
7077
|
+
# @return [::Google::Apps::Chat::V1::ReplaceMessageCardsResponse]
|
|
7078
|
+
#
|
|
7079
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
7080
|
+
#
|
|
7081
|
+
# @example Basic example
|
|
7082
|
+
# require "google/apps/chat/v1"
|
|
7083
|
+
#
|
|
7084
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
7085
|
+
# client = Google::Apps::Chat::V1::ChatService::Rest::Client.new
|
|
7086
|
+
#
|
|
7087
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
7088
|
+
# request = Google::Apps::Chat::V1::ReplaceMessageCardsRequest.new
|
|
7089
|
+
#
|
|
7090
|
+
# # Call the replace_message_cards method.
|
|
7091
|
+
# result = client.replace_message_cards request
|
|
7092
|
+
#
|
|
7093
|
+
# # The returned object is of type Google::Apps::Chat::V1::ReplaceMessageCardsResponse.
|
|
7094
|
+
# p result
|
|
7095
|
+
#
|
|
7096
|
+
def replace_message_cards request, options = nil
|
|
7097
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
7098
|
+
|
|
7099
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Apps::Chat::V1::ReplaceMessageCardsRequest
|
|
7100
|
+
|
|
7101
|
+
# Converts hash and nil to an options object
|
|
7102
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
7103
|
+
|
|
7104
|
+
# Customize the options with defaults
|
|
7105
|
+
call_metadata = @config.rpcs.replace_message_cards.metadata.to_h
|
|
7106
|
+
|
|
7107
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
7108
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
7109
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
7110
|
+
gapic_version: ::Google::Apps::Chat::V1::VERSION,
|
|
7111
|
+
transports_version_send: [:rest]
|
|
7112
|
+
|
|
7113
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
7114
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
7115
|
+
|
|
7116
|
+
options.apply_defaults timeout: @config.rpcs.replace_message_cards.timeout,
|
|
7117
|
+
metadata: call_metadata,
|
|
7118
|
+
retry_policy: @config.rpcs.replace_message_cards.retry_policy
|
|
7119
|
+
|
|
7120
|
+
options.apply_defaults timeout: @config.timeout,
|
|
7121
|
+
metadata: @config.metadata,
|
|
7122
|
+
retry_policy: @config.retry_policy
|
|
7123
|
+
|
|
7124
|
+
@chat_service_stub.replace_message_cards request, options do |result, operation|
|
|
7125
|
+
yield result, operation if block_given?
|
|
7126
|
+
end
|
|
7127
|
+
rescue ::Gapic::Rest::Error => e
|
|
7128
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
7129
|
+
end
|
|
7130
|
+
|
|
7028
7131
|
##
|
|
7029
7132
|
# Configuration class for the ChatService REST API.
|
|
7030
7133
|
#
|
|
@@ -7433,6 +7536,11 @@ module Google
|
|
|
7433
7536
|
# @return [::Gapic::Config::Method]
|
|
7434
7537
|
#
|
|
7435
7538
|
attr_reader :move_section_item
|
|
7539
|
+
##
|
|
7540
|
+
# RPC-specific configuration for `replace_message_cards`
|
|
7541
|
+
# @return [::Gapic::Config::Method]
|
|
7542
|
+
#
|
|
7543
|
+
attr_reader :replace_message_cards
|
|
7436
7544
|
|
|
7437
7545
|
# @private
|
|
7438
7546
|
def initialize parent_rpcs = nil
|
|
@@ -7540,6 +7648,8 @@ module Google
|
|
|
7540
7648
|
@list_section_items = ::Gapic::Config::Method.new list_section_items_config
|
|
7541
7649
|
move_section_item_config = parent_rpcs.move_section_item if parent_rpcs.respond_to? :move_section_item
|
|
7542
7650
|
@move_section_item = ::Gapic::Config::Method.new move_section_item_config
|
|
7651
|
+
replace_message_cards_config = parent_rpcs.replace_message_cards if parent_rpcs.respond_to? :replace_message_cards
|
|
7652
|
+
@replace_message_cards = ::Gapic::Config::Method.new replace_message_cards_config
|
|
7543
7653
|
|
|
7544
7654
|
yield self if block_given?
|
|
7545
7655
|
end
|
|
@@ -2153,6 +2153,46 @@ module Google
|
|
|
2153
2153
|
end
|
|
2154
2154
|
end
|
|
2155
2155
|
|
|
2156
|
+
##
|
|
2157
|
+
# Baseline implementation for the replace_message_cards REST call
|
|
2158
|
+
#
|
|
2159
|
+
# @param request_pb [::Google::Apps::Chat::V1::ReplaceMessageCardsRequest]
|
|
2160
|
+
# A request object representing the call parameters. Required.
|
|
2161
|
+
# @param options [::Gapic::CallOptions]
|
|
2162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2163
|
+
#
|
|
2164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2165
|
+
# @yieldparam result [::Google::Apps::Chat::V1::ReplaceMessageCardsResponse]
|
|
2166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2167
|
+
#
|
|
2168
|
+
# @return [::Google::Apps::Chat::V1::ReplaceMessageCardsResponse]
|
|
2169
|
+
# A result object deserialized from the server's reply
|
|
2170
|
+
def replace_message_cards request_pb, options = nil
|
|
2171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
2172
|
+
|
|
2173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_replace_message_cards_request request_pb
|
|
2174
|
+
query_string_params = if query_string_params.any?
|
|
2175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
2176
|
+
else
|
|
2177
|
+
{}
|
|
2178
|
+
end
|
|
2179
|
+
|
|
2180
|
+
response = @client_stub.make_http_request(
|
|
2181
|
+
verb,
|
|
2182
|
+
uri: uri,
|
|
2183
|
+
body: body || "",
|
|
2184
|
+
params: query_string_params,
|
|
2185
|
+
method_name: "replace_message_cards",
|
|
2186
|
+
options: options
|
|
2187
|
+
)
|
|
2188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
2189
|
+
result = ::Google::Apps::Chat::V1::ReplaceMessageCardsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
2190
|
+
catch :response do
|
|
2191
|
+
yield result, operation if block_given?
|
|
2192
|
+
result
|
|
2193
|
+
end
|
|
2194
|
+
end
|
|
2195
|
+
|
|
2156
2196
|
##
|
|
2157
2197
|
# @private
|
|
2158
2198
|
#
|
|
@@ -3259,6 +3299,28 @@ module Google
|
|
|
3259
3299
|
)
|
|
3260
3300
|
transcoder.transcode request_pb
|
|
3261
3301
|
end
|
|
3302
|
+
|
|
3303
|
+
##
|
|
3304
|
+
# @private
|
|
3305
|
+
#
|
|
3306
|
+
# GRPC transcoding helper method for the replace_message_cards REST call
|
|
3307
|
+
#
|
|
3308
|
+
# @param request_pb [::Google::Apps::Chat::V1::ReplaceMessageCardsRequest]
|
|
3309
|
+
# A request object representing the call parameters. Required.
|
|
3310
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3311
|
+
# Uri, Body, Query string parameters
|
|
3312
|
+
def self.transcode_replace_message_cards_request request_pb
|
|
3313
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3314
|
+
.with_bindings(
|
|
3315
|
+
uri_method: :post,
|
|
3316
|
+
uri_template: "/v1/{name}:replaceCards",
|
|
3317
|
+
body: "*",
|
|
3318
|
+
matches: [
|
|
3319
|
+
["name", %r{^spaces/[^/]+/messages/[^/]+/?$}, false]
|
|
3320
|
+
]
|
|
3321
|
+
)
|
|
3322
|
+
transcoder.transcode request_pb
|
|
3323
|
+
end
|
|
3262
3324
|
end
|
|
3263
3325
|
end
|
|
3264
3326
|
end
|
|
@@ -11,7 +11,7 @@ require 'google/chat/v1/reaction_pb'
|
|
|
11
11
|
require 'google/chat/v1/user_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\x81\x04\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\x12\x41\n\x14meet_space_link_data\x18\x05 \x01(\x0b\x32!.google.chat.v1.MeetSpaceLinkDataH\x00\x12I\n\x18\x63\x61lendar_event_link_data\x18\x06 \x01(\x0b\x32%.google.chat.v1.CalendarEventLinkDataH\x00\"\x85\x01\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x12\x11\n\rGMAIL_MESSAGE\x10\x03\x12\x0e\n\nMEET_SPACE\x10\x04\x12\x12\n\x0e\x43\x41LENDAR_EVENT\x10\x05\x42\x06\n\x04\x64\x61ta\"H\n\x13\x43ustomEmojiMetadata\x12\x31\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmoji\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"\
|
|
14
|
+
descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\x81\x04\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\x12\x41\n\x14meet_space_link_data\x18\x05 \x01(\x0b\x32!.google.chat.v1.MeetSpaceLinkDataH\x00\x12I\n\x18\x63\x61lendar_event_link_data\x18\x06 \x01(\x0b\x32%.google.chat.v1.CalendarEventLinkDataH\x00\"\x85\x01\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x12\x11\n\rGMAIL_MESSAGE\x10\x03\x12\x0e\n\nMEET_SPACE\x10\x04\x12\x12\n\x0e\x43\x41LENDAR_EVENT\x10\x05\x42\x06\n\x04\x64\x61ta\"H\n\x13\x43ustomEmojiMetadata\x12\x31\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmoji\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"\xb7\x02\n\x11MeetSpaceLinkData\x12\x14\n\x0cmeeting_code\x18\x01 \x01(\t\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.google.chat.v1.MeetSpaceLinkData.Type\x12L\n\rhuddle_status\x18\x03 \x01(\x0e\x32..google.chat.v1.MeetSpaceLinkData.HuddleStatusB\x05\xe2\x41\x02\x01\x03\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MEETING\x10\x01\x12\n\n\x06HUDDLE\x10\x02\"Q\n\x0cHuddleStatus\x12\x1d\n\x19HUDDLE_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x45NDED\x10\x02\x12\n\n\x06MISSED\x10\x03\">\n\x15\x43\x61lendarEventLinkData\x12\x13\n\x0b\x63\x61lendar_id\x18\x01 \x01(\t\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\t*w\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_MENTION\x10\x01\x12\x11\n\rSLASH_COMMAND\x10\x02\x12\r\n\tRICH_LINK\x10\x03\x12\x10\n\x0c\x43USTOM_EMOJI\x10\x04\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41nnotationProtoP\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
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\x1fgoogle/chat/v1/attachment.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\
|
|
11
|
+
descriptor_data = "\n\x1fgoogle/chat/v1/attachment.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x85\x04\n\nAttachment\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1a\n\x0c\x63ontent_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x63ontent_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\x13\x61ttachment_data_ref\x18\x04 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\x04\xe2\x41\x01\x01H\x00\x12<\n\x0e\x64rive_data_ref\x18\x07 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRefB\x04\xe2\x41\x01\x03H\x00\x12\x1b\n\rthumbnail_uri\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64ownload_uri\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x37\n\x06source\x18\t \x01(\x0e\x32!.google.chat.v1.Attachment.SourceB\x04\xe2\x41\x01\x03\"F\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x14\n\x10UPLOADED_CONTENT\x10\x02:_\xea\x41\\\n\x1e\x63hat.googleapis.com/Attachment\x12:spaces/{space}/messages/{message}/attachments/{attachment}B\n\n\x08\x64\x61ta_ref\"%\n\x0c\x44riveDataRef\x12\x15\n\rdrive_file_id\x18\x02 \x01(\t\"W\n\x11\x41ttachmentDataRef\x12\x1b\n\rresource_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12%\n\x17\x61ttachment_upload_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"M\n\x14GetAttachmentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Attachment\"g\n\x17UploadAttachmentRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x16\n\x08\x66ilename\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\"Z\n\x18UploadAttachmentResponse\x12>\n\x13\x61ttachment_data_ref\x18\x01 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41ttachmentProtoP\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"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
descriptor_data = "\n!google/chat/v1/availability.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
15
|
+
descriptor_data = "\n!google/chat/v1/availability.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x03\n\x0c\x41vailability\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x37\n\x05state\x18\x02 \x01(\x0e\x32\".google.chat.v1.Availability.StateB\x04\xe2\x41\x01\x03\x12M\n\x17\x64o_not_disturb_metadata\x18\x03 \x01(\x0b\x32$.google.chat.v1.DoNotDisturbMetadataB\x04\xe2\x41\x01\x03H\x00\x12\x39\n\rcustom_status\x18\x04 \x01(\x0b\x32\x1c.google.chat.v1.CustomStatusB\x04\xe2\x41\x01\x01\"R\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x08\n\x04IDLE\x10\x02\x12\x08\n\x04\x41WAY\x10\x03\x12\x12\n\x0e\x44O_NOT_DISTURB\x10\x04:^\xea\x41[\n chat.googleapis.com/Availability\x12\x19users/{user}/availability*\x0e\x61vailabilities2\x0c\x61vailabilityB\x10\n\x0estate_metadata\"\xbf\x01\n\x0c\x43ustomStatus\x12\x12\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12*\n\x05\x65moji\x18\x02 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x04\xe2\x41\x01\x02\x12\x31\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12.\n\x03ttl\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x04H\x00\x42\x0c\n\nexpiration\"Q\n\x14\x44oNotDisturbMetadata\x12\x39\n\x0f\x65xpiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"Q\n\x16GetAvailabilityRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n chat.googleapis.com/Availability\"\x8c\x01\n\x19UpdateAvailabilityRequest\x12\x38\n\x0c\x61vailability\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.AvailabilityB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"\xb9\x01\n\x13MarkAsActiveRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n chat.googleapis.com/Availability\x12\x31\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12(\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x0c\n\nexpiration\"L\n\x11MarkAsAwayRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n chat.googleapis.com/Availability\"\xbf\x01\n\x19MarkAsDoNotDisturbRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n chat.googleapis.com/Availability\x12\x31\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12(\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x0c\n\nexpirationB\xaa\x01\n\x12\x63om.google.chat.v1B\x11\x41vailabilityProtoP\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"
|
|
16
16
|
|
|
17
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -22,7 +22,7 @@ require 'google/chat/v1/thread_read_state_pb'
|
|
|
22
22
|
require 'google/protobuf/empty_pb'
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
descriptor_data = "\n!google/chat/v1/chat_service.proto\x12\x0egoogle.chat.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a!google/chat/v1/availability.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a google/chat/v1/message_pin.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1cgoogle/chat/v1/section.proto\x1a\x1agoogle/chat/v1/space.proto\x1a google/chat/v1/space_event.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a%google/chat/v1/space_read_state.proto\x1a google/chat/v1/space_setup.proto\x1a&google/chat/v1/thread_read_state.proto\x1a\x1bgoogle/protobuf/empty.proto2\xdbN\n\x0b\x43hatService\x12\x9b\x01\n\rCreateMessage\x12$.google.chat.v1.CreateMessageRequest\x1a\x17.google.chat.v1.Message\"K\xda\x41\x19parent,message,message_id\x82\xd3\xe4\x93\x02)\"\x1e/v1/{parent=spaces/*}/messages:\x07message\x12\x8a\x01\n\x0cListMessages\x12#.google.chat.v1.ListMessagesRequest\x1a$.google.chat.v1.ListMessagesResponse\"/\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=spaces/*}/messages\x12\x92\x01\n\x0fListMemberships\x12&.google.chat.v1.ListMembershipsRequest\x1a\'.google.chat.v1.ListMembershipsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=spaces/*}/members\x12\x7f\n\rGetMembership\x12$.google.chat.v1.GetMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=spaces/*/members/*}\x12w\n\nGetMessage\x12!.google.chat.v1.GetMessageRequest\x1a\x17.google.chat.v1.Message\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=spaces/*/messages/*}\x12\xd1\x01\n\rUpdateMessage\x12$.google.chat.v1.UpdateMessageRequest\x1a\x17.google.chat.v1.Message\"\x80\x01\xda\x41\x13message,update_mask\x82\xd3\xe4\x93\x02\x64\x1a&/v1/{message.name=spaces/*/messages/*}:\x07messageZ12&/v1/{message.name=spaces/*/messages/*}:\x07message\x12|\n\rDeleteMessage\x12$.google.chat.v1.DeleteMessageRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=spaces/*/messages/*}\x12\xa1\x01\n\x0eSearchMessages\x12%.google.chat.v1.SearchMessagesRequest\x1a&.google.chat.v1.SearchMessagesResponse\"@\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02*\"%/v1/{parent=spaces/*}/messages:search:\x01*\x12\x8e\x01\n\rGetAttachment\x12$.google.chat.v1.GetAttachmentRequest\x1a\x1a.google.chat.v1.Attachment\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=spaces/*/messages/*/attachments/*}\x12\x9a\x01\n\x10UploadAttachment\x12\'.google.chat.v1.UploadAttachmentRequest\x1a(.google.chat.v1.UploadAttachmentResponse\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=spaces/*}/attachments:upload:\x01*\x12j\n\nListSpaces\x12!.google.chat.v1.ListSpacesRequest\x1a\".google.chat.v1.ListSpacesResponse\"\x15\xda\x41\x00\x82\xd3\xe4\x93\x02\x0c\x12\n/v1/spaces\x12w\n\x0cSearchSpaces\x12#.google.chat.v1.SearchSpacesRequest\x1a$.google.chat.v1.SearchSpacesResponse\"\x1c\xda\x41\x00\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/spaces:search\x12\x66\n\x08GetSpace\x12\x1f.google.chat.v1.GetSpaceRequest\x1a\x15.google.chat.v1.Space\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/{name=spaces/*}\x12k\n\x0b\x43reateSpace\x12\".google.chat.v1.CreateSpaceRequest\x1a\x15.google.chat.v1.Space\"!\xda\x41\x05space\x82\xd3\xe4\x93\x02\x13\"\n/v1/spaces:\x05space\x12\x63\n\nSetUpSpace\x12!.google.chat.v1.SetUpSpaceRequest\x1a\x15.google.chat.v1.Space\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/spaces:setup:\x01*\x12\x86\x01\n\x0bUpdateSpace\x12\".google.chat.v1.UpdateSpaceRequest\x1a\x15.google.chat.v1.Space\"<\xda\x41\x11space,update_mask\x82\xd3\xe4\x93\x02\"2\x19/v1/{space.name=spaces/*}:\x05space\x12m\n\x0b\x44\x65leteSpace\x12\".google.chat.v1.DeleteSpaceRequest\x1a\x16.google.protobuf.Empty\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15*\x13/v1/{name=spaces/*}\x12\x9d\x01\n\x13\x43ompleteImportSpace\x12*.google.chat.v1.CompleteImportSpaceRequest\x1a+.google.chat.v1.CompleteImportSpaceResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/v1/{name=spaces/*}:completeImport:\x01*\x12z\n\x11\x46indDirectMessage\x12(.google.chat.v1.FindDirectMessageRequest\x1a\x15.google.chat.v1.Space\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/spaces:findDirectMessage\x12\x82\x01\n\x0e\x46indGroupChats\x12%.google.chat.v1.FindGroupChatsRequest\x1a&.google.chat.v1.FindGroupChatsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/spaces:findGroupChats\x12\x9e\x01\n\x10\x43reateMembership\x12\'.google.chat.v1.CreateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"E\xda\x41\x11parent,membership\x82\xd3\xe4\x93\x02+\"\x1d/v1/{parent=spaces/*}/members:\nmembership\x12\xae\x01\n\x10UpdateMembership\x12\'.google.chat.v1.UpdateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"U\xda\x41\x16membership,update_mask\x82\xd3\xe4\x93\x02\x36\x32(/v1/{membership.name=spaces/*/members/*}:\nmembership\x12\x85\x01\n\x10\x44\x65leteMembership\x12\'.google.chat.v1.DeleteMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=spaces/*/members/*}\x12\xa1\x01\n\x0e\x43reateReaction\x12%.google.chat.v1.CreateReactionRequest\x1a\x18.google.chat.v1.Reaction\"N\xda\x41\x0fparent,reaction\x82\xd3\xe4\x93\x02\x36\"*/v1/{parent=spaces/*/messages/*}/reactions:\x08reaction\x12\x99\x01\n\rListReactions\x12$.google.chat.v1.ListReactionsRequest\x1a%.google.chat.v1.ListReactionsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=spaces/*/messages/*}/reactions\x12\x8a\x01\n\x0e\x44\x65leteReaction\x12%.google.chat.v1.DeleteReactionRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=spaces/*/messages/*/reactions/*}\x12\x96\x01\n\x0fListMessagePins\x12&.google.chat.v1.ListMessagePinsRequest\x1a\'.google.chat.v1.ListMessagePinsResponse\"2\xda\x41\x06parent\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/messagePins\x12\xa4\x01\n\x10\x43reateMessagePin\x12\'.google.chat.v1.CreateMessagePinRequest\x1a\x1a.google.chat.v1.MessagePin\"K\xda\x41\x12parent,message_pin\x82\xd3\xe4\x93\x02\x30\"!/v1/{parent=spaces/*}/messagePins:\x0bmessage_pin\x12\x85\x01\n\x10\x44\x65leteMessagePin\x12\'.google.chat.v1.DeleteMessagePinRequest\x1a\x16.google.protobuf.Empty\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#*!/v1/{name=spaces/*/messagePins/*}\x12\x91\x01\n\x11\x43reateCustomEmoji\x12(.google.chat.v1.CreateCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"5\xda\x41\x0c\x63ustom_emoji\x82\xd3\xe4\x93\x02 \"\x10/v1/customEmojis:\x0c\x63ustom_emoji\x12~\n\x0eGetCustomEmoji\x12%.google.chat.v1.GetCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=customEmojis/*}\x12\x82\x01\n\x10ListCustomEmojis\x12\'.google.chat.v1.ListCustomEmojisRequest\x1a(.google.chat.v1.ListCustomEmojisResponse\"\x1b\xda\x41\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/customEmojis\x12\x7f\n\x11\x44\x65leteCustomEmoji\x12(.google.chat.v1.DeleteCustomEmojiRequest\x1a\x16.google.protobuf.Empty\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b*\x19/v1/{name=customEmojis/*}\x12\x98\x01\n\x11GetSpaceReadState\x12(.google.chat.v1.GetSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=users/*/spaces/*/spaceReadState}\x12\xd9\x01\n\x14UpdateSpaceReadState\x12+.google.chat.v1.UpdateSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"t\xda\x41\x1cspace_read_state,update_mask\x82\xd3\xe4\x93\x02O2;/v1/{space_read_state.name=users/*/spaces/*/spaceReadState}:\x10space_read_state\x12\xa6\x01\n\x12GetThreadReadState\x12).google.chat.v1.GetThreadReadStateRequest\x1a\x1f.google.chat.v1.ThreadReadState\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=users/*/spaces/*/threads/*/threadReadState}\x12\x87\x01\n\x0fGetAvailability\x12&.google.chat.v1.GetAvailabilityRequest\x1a\x1c.google.chat.v1.Availability\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=users/*/availability}\x12\x8a\x01\n\x0cMarkAsActive\x12#.google.chat.v1.MarkAsActiveRequest\x1a\x1c.google.chat.v1.Availability\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{name=users/*/availability}:markAsActive:\x01*\x12\x84\x01\n\nMarkAsAway\x12!.google.chat.v1.MarkAsAwayRequest\x1a\x1c.google.chat.v1.Availability\"5\x82\xd3\xe4\x93\x02/\"*/v1/{name=users/*/availability}:markAsAway:\x01*\x12\x9c\x01\n\x12MarkAsDoNotDisturb\x12).google.chat.v1.MarkAsDoNotDisturbRequest\x1a\x1c.google.chat.v1.Availability\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=users/*/availability}:markAsDoNotDisturb:\x01*\x12\xbc\x01\n\x12UpdateAvailability\x12).google.chat.v1.UpdateAvailabilityRequest\x1a\x1c.google.chat.v1.Availability\"]\xda\x41\x18\x61vailability,update_mask\x82\xd3\xe4\x93\x02<2,/v1/{availability.name=users/*/availability}:\x0c\x61vailability\x12\x83\x01\n\rGetSpaceEvent\x12$.google.chat.v1.GetSpaceEventRequest\x1a\x1a.google.chat.v1.SpaceEvent\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=spaces/*/spaceEvents/*}\x12\x9d\x01\n\x0fListSpaceEvents\x12&.google.chat.v1.ListSpaceEventsRequest\x1a\'.google.chat.v1.ListSpaceEventsResponse\"9\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/spaceEvents\x12\xc0\x01\n\x1bGetSpaceNotificationSetting\x12\x32.google.chat.v1.GetSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=users/*/spaces/*/spaceNotificationSetting}\x12\xa0\x02\n\x1eUpdateSpaceNotificationSetting\x12\x35.google.chat.v1.UpdateSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"\x9c\x01\xda\x41&space_notification_setting,update_mask\x82\xd3\xe4\x93\x02m2O/v1/{space_notification_setting.name=users/*/spaces/*/spaceNotificationSetting}:\x1aspace_notification_setting\x12\x8f\x01\n\rCreateSection\x12$.google.chat.v1.CreateSectionRequest\x1a\x17.google.chat.v1.Section\"?\xda\x41\x0eparent,section\x82\xd3\xe4\x93\x02(\"\x1d/v1/{parent=users/*}/sections:\x07section\x12{\n\rDeleteSection\x12$.google.chat.v1.DeleteSectionRequest\x1a\x16.google.protobuf.Empty\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=users/*/sections/*}\x12\x9c\x01\n\rUpdateSection\x12$.google.chat.v1.UpdateSectionRequest\x1a\x17.google.chat.v1.Section\"L\xda\x41\x13section,update_mask\x82\xd3\xe4\x93\x02\x30\x32%/v1/{section.name=users/*/sections/*}:\x07section\x12\x89\x01\n\x0cListSections\x12#.google.chat.v1.ListSectionsRequest\x1a$.google.chat.v1.ListSectionsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=users/*}/sections\x12\x95\x01\n\x0fPositionSection\x12&.google.chat.v1.PositionSectionRequest\x1a\'.google.chat.v1.PositionSectionResponse\"1\x82\xd3\xe4\x93\x02+\"&/v1/{name=users/*/sections/*}:position:\x01*\x12\x9d\x01\n\x10ListSectionItems\x12\'.google.chat.v1.ListSectionItemsRequest\x1a(.google.chat.v1.ListSectionItemsResponse\"6\xda\x41\x06parent\x82\xd3\xe4\x93\x02\'\x12%/v1/{parent=users/*/sections/*}/items\x12\xaf\x01\n\x0fMoveSectionItem\x12&.google.chat.v1.MoveSectionItemRequest\x1a\'.google.chat.v1.MoveSectionItemResponse\"K\xda\x41\x13name,target_section\x82\xd3\xe4\x93\x02/\"*/v1/{name=users/*/sections/*/items/*}:move:\x01*\x1a\xe0\x11\xca\x41\x13\x63hat.googleapis.com\xd2\x41\xc6\x11https://www.googleapis.com/auth/chat.admin.delete,https://www.googleapis.com/auth/chat.admin.memberships,https://www.googleapis.com/auth/chat.admin.memberships.readonly,https://www.googleapis.com/auth/chat.admin.spaces,https://www.googleapis.com/auth/chat.admin.spaces.readonly,https://www.googleapis.com/auth/chat.app.all.memberships.readonly,https://www.googleapis.com/auth/chat.app.all.messages.readonly,https://www.googleapis.com/auth/chat.app.all.spaces.readonly,https://www.googleapis.com/auth/chat.app.delete,https://www.googleapis.com/auth/chat.app.memberships,https://www.googleapis.com/auth/chat.app.memberships.readonly,https://www.googleapis.com/auth/chat.app.messages.readonly,https://www.googleapis.com/auth/chat.app.spaces,https://www.googleapis.com/auth/chat.app.spaces.create,https://www.googleapis.com/auth/chat.app.spaces.readonly,https://www.googleapis.com/auth/chat.bot,https://www.googleapis.com/auth/chat.customemojis,https://www.googleapis.com/auth/chat.customemojis.readonly,https://www.googleapis.com/auth/chat.delete,https://www.googleapis.com/auth/chat.import,https://www.googleapis.com/auth/chat.memberships,https://www.googleapis.com/auth/chat.memberships.app,https://www.googleapis.com/auth/chat.memberships.readonly,https://www.googleapis.com/auth/chat.messages,https://www.googleapis.com/auth/chat.messages.create,https://www.googleapis.com/auth/chat.messages.reactions,https://www.googleapis.com/auth/chat.messages.reactions.create,https://www.googleapis.com/auth/chat.messages.reactions.readonly,https://www.googleapis.com/auth/chat.messages.readonly,https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.spaces.create,https://www.googleapis.com/auth/chat.spaces.pins,https://www.googleapis.com/auth/chat.spaces.pins.readonly,https://www.googleapis.com/auth/chat.spaces.readonly,https://www.googleapis.com/auth/chat.users.availability,https://www.googleapis.com/auth/chat.users.availability.readonly,https://www.googleapis.com/auth/chat.users.readstate,https://www.googleapis.com/auth/chat.users.readstate.readonly,https://www.googleapis.com/auth/chat.users.sections,https://www.googleapis.com/auth/chat.users.sections.readonly,https://www.googleapis.com/auth/chat.users.spacesettingsB\xa9\x01\n\x12\x63om.google.chat.v1B\x10\x43hatServiceProtoP\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"
|
|
25
|
+
descriptor_data = "\n!google/chat/v1/chat_service.proto\x12\x0egoogle.chat.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a!google/chat/v1/availability.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a google/chat/v1/message_pin.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1cgoogle/chat/v1/section.proto\x1a\x1agoogle/chat/v1/space.proto\x1a google/chat/v1/space_event.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a%google/chat/v1/space_read_state.proto\x1a google/chat/v1/space_setup.proto\x1a&google/chat/v1/thread_read_state.proto\x1a\x1bgoogle/protobuf/empty.proto2\x84P\n\x0b\x43hatService\x12\x9b\x01\n\rCreateMessage\x12$.google.chat.v1.CreateMessageRequest\x1a\x17.google.chat.v1.Message\"K\xda\x41\x19parent,message,message_id\x82\xd3\xe4\x93\x02)\"\x1e/v1/{parent=spaces/*}/messages:\x07message\x12\x8a\x01\n\x0cListMessages\x12#.google.chat.v1.ListMessagesRequest\x1a$.google.chat.v1.ListMessagesResponse\"/\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=spaces/*}/messages\x12\x92\x01\n\x0fListMemberships\x12&.google.chat.v1.ListMembershipsRequest\x1a\'.google.chat.v1.ListMembershipsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=spaces/*}/members\x12\x7f\n\rGetMembership\x12$.google.chat.v1.GetMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=spaces/*/members/*}\x12w\n\nGetMessage\x12!.google.chat.v1.GetMessageRequest\x1a\x17.google.chat.v1.Message\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=spaces/*/messages/*}\x12\xd1\x01\n\rUpdateMessage\x12$.google.chat.v1.UpdateMessageRequest\x1a\x17.google.chat.v1.Message\"\x80\x01\xda\x41\x13message,update_mask\x82\xd3\xe4\x93\x02\x64\x1a&/v1/{message.name=spaces/*/messages/*}:\x07messageZ12&/v1/{message.name=spaces/*/messages/*}:\x07message\x12|\n\rDeleteMessage\x12$.google.chat.v1.DeleteMessageRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=spaces/*/messages/*}\x12\xa1\x01\n\x0eSearchMessages\x12%.google.chat.v1.SearchMessagesRequest\x1a&.google.chat.v1.SearchMessagesResponse\"@\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02*\"%/v1/{parent=spaces/*}/messages:search:\x01*\x12\x8e\x01\n\rGetAttachment\x12$.google.chat.v1.GetAttachmentRequest\x1a\x1a.google.chat.v1.Attachment\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=spaces/*/messages/*/attachments/*}\x12\x9a\x01\n\x10UploadAttachment\x12\'.google.chat.v1.UploadAttachmentRequest\x1a(.google.chat.v1.UploadAttachmentResponse\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=spaces/*}/attachments:upload:\x01*\x12j\n\nListSpaces\x12!.google.chat.v1.ListSpacesRequest\x1a\".google.chat.v1.ListSpacesResponse\"\x15\xda\x41\x00\x82\xd3\xe4\x93\x02\x0c\x12\n/v1/spaces\x12w\n\x0cSearchSpaces\x12#.google.chat.v1.SearchSpacesRequest\x1a$.google.chat.v1.SearchSpacesResponse\"\x1c\xda\x41\x00\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/spaces:search\x12\x66\n\x08GetSpace\x12\x1f.google.chat.v1.GetSpaceRequest\x1a\x15.google.chat.v1.Space\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/{name=spaces/*}\x12k\n\x0b\x43reateSpace\x12\".google.chat.v1.CreateSpaceRequest\x1a\x15.google.chat.v1.Space\"!\xda\x41\x05space\x82\xd3\xe4\x93\x02\x13\"\n/v1/spaces:\x05space\x12\x63\n\nSetUpSpace\x12!.google.chat.v1.SetUpSpaceRequest\x1a\x15.google.chat.v1.Space\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/spaces:setup:\x01*\x12\x86\x01\n\x0bUpdateSpace\x12\".google.chat.v1.UpdateSpaceRequest\x1a\x15.google.chat.v1.Space\"<\xda\x41\x11space,update_mask\x82\xd3\xe4\x93\x02\"2\x19/v1/{space.name=spaces/*}:\x05space\x12m\n\x0b\x44\x65leteSpace\x12\".google.chat.v1.DeleteSpaceRequest\x1a\x16.google.protobuf.Empty\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15*\x13/v1/{name=spaces/*}\x12\x9d\x01\n\x13\x43ompleteImportSpace\x12*.google.chat.v1.CompleteImportSpaceRequest\x1a+.google.chat.v1.CompleteImportSpaceResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/v1/{name=spaces/*}:completeImport:\x01*\x12z\n\x11\x46indDirectMessage\x12(.google.chat.v1.FindDirectMessageRequest\x1a\x15.google.chat.v1.Space\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/spaces:findDirectMessage\x12\x82\x01\n\x0e\x46indGroupChats\x12%.google.chat.v1.FindGroupChatsRequest\x1a&.google.chat.v1.FindGroupChatsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/spaces:findGroupChats\x12\x9e\x01\n\x10\x43reateMembership\x12\'.google.chat.v1.CreateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"E\xda\x41\x11parent,membership\x82\xd3\xe4\x93\x02+\"\x1d/v1/{parent=spaces/*}/members:\nmembership\x12\xae\x01\n\x10UpdateMembership\x12\'.google.chat.v1.UpdateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"U\xda\x41\x16membership,update_mask\x82\xd3\xe4\x93\x02\x36\x32(/v1/{membership.name=spaces/*/members/*}:\nmembership\x12\x85\x01\n\x10\x44\x65leteMembership\x12\'.google.chat.v1.DeleteMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=spaces/*/members/*}\x12\xa1\x01\n\x0e\x43reateReaction\x12%.google.chat.v1.CreateReactionRequest\x1a\x18.google.chat.v1.Reaction\"N\xda\x41\x0fparent,reaction\x82\xd3\xe4\x93\x02\x36\"*/v1/{parent=spaces/*/messages/*}/reactions:\x08reaction\x12\x99\x01\n\rListReactions\x12$.google.chat.v1.ListReactionsRequest\x1a%.google.chat.v1.ListReactionsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=spaces/*/messages/*}/reactions\x12\x8a\x01\n\x0e\x44\x65leteReaction\x12%.google.chat.v1.DeleteReactionRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=spaces/*/messages/*/reactions/*}\x12\x96\x01\n\x0fListMessagePins\x12&.google.chat.v1.ListMessagePinsRequest\x1a\'.google.chat.v1.ListMessagePinsResponse\"2\xda\x41\x06parent\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/messagePins\x12\xa4\x01\n\x10\x43reateMessagePin\x12\'.google.chat.v1.CreateMessagePinRequest\x1a\x1a.google.chat.v1.MessagePin\"K\xda\x41\x12parent,message_pin\x82\xd3\xe4\x93\x02\x30\"!/v1/{parent=spaces/*}/messagePins:\x0bmessage_pin\x12\x85\x01\n\x10\x44\x65leteMessagePin\x12\'.google.chat.v1.DeleteMessagePinRequest\x1a\x16.google.protobuf.Empty\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#*!/v1/{name=spaces/*/messagePins/*}\x12\x91\x01\n\x11\x43reateCustomEmoji\x12(.google.chat.v1.CreateCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"5\xda\x41\x0c\x63ustom_emoji\x82\xd3\xe4\x93\x02 \"\x10/v1/customEmojis:\x0c\x63ustom_emoji\x12~\n\x0eGetCustomEmoji\x12%.google.chat.v1.GetCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=customEmojis/*}\x12\x82\x01\n\x10ListCustomEmojis\x12\'.google.chat.v1.ListCustomEmojisRequest\x1a(.google.chat.v1.ListCustomEmojisResponse\"\x1b\xda\x41\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/customEmojis\x12\x7f\n\x11\x44\x65leteCustomEmoji\x12(.google.chat.v1.DeleteCustomEmojiRequest\x1a\x16.google.protobuf.Empty\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b*\x19/v1/{name=customEmojis/*}\x12\x98\x01\n\x11GetSpaceReadState\x12(.google.chat.v1.GetSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=users/*/spaces/*/spaceReadState}\x12\xd9\x01\n\x14UpdateSpaceReadState\x12+.google.chat.v1.UpdateSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"t\xda\x41\x1cspace_read_state,update_mask\x82\xd3\xe4\x93\x02O2;/v1/{space_read_state.name=users/*/spaces/*/spaceReadState}:\x10space_read_state\x12\xa6\x01\n\x12GetThreadReadState\x12).google.chat.v1.GetThreadReadStateRequest\x1a\x1f.google.chat.v1.ThreadReadState\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=users/*/spaces/*/threads/*/threadReadState}\x12\x87\x01\n\x0fGetAvailability\x12&.google.chat.v1.GetAvailabilityRequest\x1a\x1c.google.chat.v1.Availability\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=users/*/availability}\x12\x8a\x01\n\x0cMarkAsActive\x12#.google.chat.v1.MarkAsActiveRequest\x1a\x1c.google.chat.v1.Availability\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{name=users/*/availability}:markAsActive:\x01*\x12\x84\x01\n\nMarkAsAway\x12!.google.chat.v1.MarkAsAwayRequest\x1a\x1c.google.chat.v1.Availability\"5\x82\xd3\xe4\x93\x02/\"*/v1/{name=users/*/availability}:markAsAway:\x01*\x12\x9c\x01\n\x12MarkAsDoNotDisturb\x12).google.chat.v1.MarkAsDoNotDisturbRequest\x1a\x1c.google.chat.v1.Availability\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=users/*/availability}:markAsDoNotDisturb:\x01*\x12\xbc\x01\n\x12UpdateAvailability\x12).google.chat.v1.UpdateAvailabilityRequest\x1a\x1c.google.chat.v1.Availability\"]\xda\x41\x18\x61vailability,update_mask\x82\xd3\xe4\x93\x02<2,/v1/{availability.name=users/*/availability}:\x0c\x61vailability\x12\x83\x01\n\rGetSpaceEvent\x12$.google.chat.v1.GetSpaceEventRequest\x1a\x1a.google.chat.v1.SpaceEvent\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=spaces/*/spaceEvents/*}\x12\x9d\x01\n\x0fListSpaceEvents\x12&.google.chat.v1.ListSpaceEventsRequest\x1a\'.google.chat.v1.ListSpaceEventsResponse\"9\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/spaceEvents\x12\xc0\x01\n\x1bGetSpaceNotificationSetting\x12\x32.google.chat.v1.GetSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=users/*/spaces/*/spaceNotificationSetting}\x12\xa0\x02\n\x1eUpdateSpaceNotificationSetting\x12\x35.google.chat.v1.UpdateSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"\x9c\x01\xda\x41&space_notification_setting,update_mask\x82\xd3\xe4\x93\x02m2O/v1/{space_notification_setting.name=users/*/spaces/*/spaceNotificationSetting}:\x1aspace_notification_setting\x12\x8f\x01\n\rCreateSection\x12$.google.chat.v1.CreateSectionRequest\x1a\x17.google.chat.v1.Section\"?\xda\x41\x0eparent,section\x82\xd3\xe4\x93\x02(\"\x1d/v1/{parent=users/*}/sections:\x07section\x12{\n\rDeleteSection\x12$.google.chat.v1.DeleteSectionRequest\x1a\x16.google.protobuf.Empty\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=users/*/sections/*}\x12\x9c\x01\n\rUpdateSection\x12$.google.chat.v1.UpdateSectionRequest\x1a\x17.google.chat.v1.Section\"L\xda\x41\x13section,update_mask\x82\xd3\xe4\x93\x02\x30\x32%/v1/{section.name=users/*/sections/*}:\x07section\x12\x89\x01\n\x0cListSections\x12#.google.chat.v1.ListSectionsRequest\x1a$.google.chat.v1.ListSectionsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=users/*}/sections\x12\x95\x01\n\x0fPositionSection\x12&.google.chat.v1.PositionSectionRequest\x1a\'.google.chat.v1.PositionSectionResponse\"1\x82\xd3\xe4\x93\x02+\"&/v1/{name=users/*/sections/*}:position:\x01*\x12\x9d\x01\n\x10ListSectionItems\x12\'.google.chat.v1.ListSectionItemsRequest\x1a(.google.chat.v1.ListSectionItemsResponse\"6\xda\x41\x06parent\x82\xd3\xe4\x93\x02\'\x12%/v1/{parent=users/*/sections/*}/items\x12\xaf\x01\n\x0fMoveSectionItem\x12&.google.chat.v1.MoveSectionItemRequest\x1a\'.google.chat.v1.MoveSectionItemResponse\"K\xda\x41\x13name,target_section\x82\xd3\xe4\x93\x02/\"*/v1/{name=users/*/sections/*/items/*}:move:\x01*\x12\xa6\x01\n\x13ReplaceMessageCards\x12*.google.chat.v1.ReplaceMessageCardsRequest\x1a+.google.chat.v1.ReplaceMessageCardsResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/v1/{name=spaces/*/messages/*}:replaceCards:\x01*\x1a\xe0\x11\xca\x41\x13\x63hat.googleapis.com\xd2\x41\xc6\x11https://www.googleapis.com/auth/chat.admin.delete,https://www.googleapis.com/auth/chat.admin.memberships,https://www.googleapis.com/auth/chat.admin.memberships.readonly,https://www.googleapis.com/auth/chat.admin.spaces,https://www.googleapis.com/auth/chat.admin.spaces.readonly,https://www.googleapis.com/auth/chat.app.all.memberships.readonly,https://www.googleapis.com/auth/chat.app.all.messages.readonly,https://www.googleapis.com/auth/chat.app.all.spaces.readonly,https://www.googleapis.com/auth/chat.app.delete,https://www.googleapis.com/auth/chat.app.memberships,https://www.googleapis.com/auth/chat.app.memberships.readonly,https://www.googleapis.com/auth/chat.app.messages.readonly,https://www.googleapis.com/auth/chat.app.spaces,https://www.googleapis.com/auth/chat.app.spaces.create,https://www.googleapis.com/auth/chat.app.spaces.readonly,https://www.googleapis.com/auth/chat.bot,https://www.googleapis.com/auth/chat.customemojis,https://www.googleapis.com/auth/chat.customemojis.readonly,https://www.googleapis.com/auth/chat.delete,https://www.googleapis.com/auth/chat.import,https://www.googleapis.com/auth/chat.memberships,https://www.googleapis.com/auth/chat.memberships.app,https://www.googleapis.com/auth/chat.memberships.readonly,https://www.googleapis.com/auth/chat.messages,https://www.googleapis.com/auth/chat.messages.create,https://www.googleapis.com/auth/chat.messages.reactions,https://www.googleapis.com/auth/chat.messages.reactions.create,https://www.googleapis.com/auth/chat.messages.reactions.readonly,https://www.googleapis.com/auth/chat.messages.readonly,https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.spaces.create,https://www.googleapis.com/auth/chat.spaces.pins,https://www.googleapis.com/auth/chat.spaces.pins.readonly,https://www.googleapis.com/auth/chat.spaces.readonly,https://www.googleapis.com/auth/chat.users.availability,https://www.googleapis.com/auth/chat.users.availability.readonly,https://www.googleapis.com/auth/chat.users.readstate,https://www.googleapis.com/auth/chat.users.readstate.readonly,https://www.googleapis.com/auth/chat.users.sections,https://www.googleapis.com/auth/chat.users.sections.readonly,https://www.googleapis.com/auth/chat.users.spacesettingsB\xa9\x01\n\x12\x63om.google.chat.v1B\x10\x43hatServiceProtoP\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"
|
|
26
26
|
|
|
27
27
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
28
28
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -1170,6 +1170,20 @@ module Google
|
|
|
1170
1170
|
#
|
|
1171
1171
|
# - `https://www.googleapis.com/auth/chat.users.sections`
|
|
1172
1172
|
rpc :MoveSectionItem, ::Google::Apps::Chat::V1::MoveSectionItemRequest, ::Google::Apps::Chat::V1::MoveSectionItemResponse
|
|
1173
|
+
# Replaces the cards included in a message.
|
|
1174
|
+
#
|
|
1175
|
+
# A Chat app can only replace cards on a human-created message if the message
|
|
1176
|
+
# already contains cards, and the cards were created by the app.
|
|
1177
|
+
#
|
|
1178
|
+
# If the app replaces the cards with an empty list, the cards are removed.
|
|
1179
|
+
# After removing the cards, the app cannot add cards back to the message.
|
|
1180
|
+
#
|
|
1181
|
+
# Requires [app
|
|
1182
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
|
1183
|
+
# with the [authorization
|
|
1184
|
+
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
|
|
1185
|
+
# - `https://www.googleapis.com/auth/chat.bot`
|
|
1186
|
+
rpc :ReplaceMessageCards, ::Google::Apps::Chat::V1::ReplaceMessageCardsRequest, ::Google::Apps::Chat::V1::ReplaceMessageCardsResponse
|
|
1173
1187
|
end
|
|
1174
1188
|
|
|
1175
1189
|
Stub = Service.rpc_stub_class
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n google/chat/v1/matched_url.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
10
|
+
descriptor_data = "\n google/chat/v1/matched_url.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x1f\n\nMatchedUrl\x12\x11\n\x03url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0fMatchedUrlProtoP\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"
|
|
11
11
|
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
descriptor_data = "\n\x1fgoogle/chat/v1/membership.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1agoogle/chat/v1/group.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
15
|
+
descriptor_data = "\n\x1fgoogle/chat/v1/membership.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1agoogle/chat/v1/group.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x06\n\nMembership\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12?\n\x05state\x18\x02 \x01(\x0e\x32*.google.chat.v1.Membership.MembershipStateB\x04\xe2\x41\x01\x03\x12=\n\x04role\x18\x07 \x01(\x0e\x32).google.chat.v1.Membership.MembershipRoleB\x04\xe2\x41\x01\x01\x12,\n\x06member\x18\x03 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x01H\x00\x12\x33\n\x0cgroup_member\x18\x05 \x01(\x0b\x32\x15.google.chat.v1.GroupB\x04\xe2\x41\x01\x01H\x00\x12\x36\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x05\x01\x12\x36\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x05\x01\x12\x41\n\x0b\x61\x66\x66iliation\x18\t \x01(\x0e\x32&.google.chat.v1.Membership.AffiliationB\x04\xe2\x41\x01\x03\"^\n\x0fMembershipState\x12 \n\x1cMEMBERSHIP_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06JOINED\x10\x01\x12\x0b\n\x07INVITED\x10\x02\x12\x10\n\x0cNOT_A_MEMBER\x10\x03\"p\n\x0eMembershipRole\x12\x1f\n\x1bMEMBERSHIP_ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bROLE_MEMBER\x10\x01\x12\x10\n\x0cROLE_MANAGER\x10\x02\x12\x1a\n\x16ROLE_ASSISTANT_MANAGER\x10\x04\"\\\n\x0b\x41\x66\x66iliation\x12\x1b\n\x17\x41\x46\x46ILIATION_UNSPECIFIED\x10\x00\x12\x0c\n\x08INTERNAL\x10\x01\x12\x0c\n\x08\x45XTERNAL\x10\x02\x12\x14\n\x10MANAGED_EXTERNAL\x10\x03:D\xea\x41\x41\n\x1e\x63hat.googleapis.com/Membership\x12\x1fspaces/{space}/members/{member}B\x0c\n\nmemberType\"\xa8\x01\n\x17\x43reateMembershipRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/Membership\x12\x34\n\nmembership\x18\x02 \x01(\x0b\x32\x1a.google.chat.v1.MembershipB\x04\xe2\x41\x01\x02\x12\x1e\n\x10use_admin_access\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xa6\x01\n\x17UpdateMembershipRequest\x12\x34\n\nmembership\x18\x01 \x01(\x0b\x32\x1a.google.chat.v1.MembershipB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x1e\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xf1\x01\n\x16ListMembershipsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/Membership\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0bshow_groups\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_invited\x18\x07 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1e\n\x10use_admin_access\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01\"i\n\x17ListMembershipsResponse\x12\x35\n\x0bmemberships\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.MembershipB\x04\xe2\x41\x01\x06\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"m\n\x14GetMembershipRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x1e\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"p\n\x17\x44\x65leteMembershipRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Membership\x12\x1e\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0fMembershipProtoP\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"
|
|
16
16
|
|
|
17
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -23,7 +23,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
23
23
|
require 'google/protobuf/timestamp_pb'
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a\"google/chat/v1/markup_syntax.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa3\x0b\n\x07Message\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12)\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12\x37\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x66ormatted_text\x18+ \x01(\tB\x03\xe0\x41\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x31\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x03\xe0\x41\x01\x12\x34\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12)\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x03\x12\x1a\n\rfallback_text\x18\r \x01(\tB\x03\xe0\x41\x01\x12<\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x03\xe0\x41\x04\x12\x1a\n\rargument_text\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x38\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x03\xe0\x41\x03\x12\x33\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x03\xe0\x41\x01\x12\x34\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x03\xe0\x41\x03\x12\x19\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x03\xe0\x41\x03\x12\x13\n\x06silent\x18. \x01(\x08\x42\x03\xe0\x41\x03\x12\'\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x03\xe0\x41\x01\x12K\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x03\xe0\x41\x03\x12<\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x06\xe0\x41\x05\xe0\x41\x01\x12@\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x03\xe0\x41\x03\x12K\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x03\xe0\x41\x01\x12\x37\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x03\xe0\x41\x03\x12?\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x03\xe0\x41\x01\x12\x38\n\rmarkup_syntax\x18/ \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x03\xe0\x41\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\"\x1f\n\x0b\x41ttachedGif\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\xa5\x04\n\x15QuotedMessageMetadata\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12H\n\nquote_type\x18\x04 \x01(\x0e\x32/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\x03\xe0\x41\x01\x12K\n\x17quoted_message_snapshot\x18\x05 \x01(\x0b\x32%.google.chat.v1.QuotedMessageSnapshotB\x03\xe0\x41\x03\x12\x42\n\x12\x66orwarded_metadata\x18\x06 \x01(\x0b\x32!.google.chat.v1.ForwardedMetadataB\x03\xe0\x41\x03\"?\n\tQuoteType\x12\x1a\n\x16QUOTE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05REPLY\x10\x01\x12\x0b\n\x07\x46ORWARD\x10\x02:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\xc8\x01\n\x15QuotedMessageSnapshot\x12\x13\n\x06sender\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66ormatted_text\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12\x34\n\x0b\x61ttachments\x18\x05 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x03\xe0\x41\x03\"f\n\x11\x46orwardedMetadata\x12\x30\n\x05space\x18\x01 \x01(\tB!\xe0\x41\x03\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1f\n\x12space_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x87\x01\n\x06Thread\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x17\n\nthread_key\x18\x03 \x01(\tB\x03\xe0\x41\x01:Q\xea\x41N\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}*\x07threads2\x06thread\"\xd2\x04\n\x0e\x41\x63tionResponse\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x03\xe0\x41\x04\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x38\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x03\xe0\x41\x04\x12I\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x03\xe0\x41\x04\x1aR\n\x0eSelectionItems\x12@\n\x05items\x18\x01 \x03(\x0b\x32\x31.google.apps.card.v1.SelectionInput.SelectionItem\x1aw\n\rUpdatedWidget\x12\x44\n\x0bsuggestions\x18\x01 \x01(\x0b\x32-.google.chat.v1.ActionResponse.SelectionItemsH\x00\x12\x0e\n\x06widget\x18\x02 \x01(\tB\x10\n\x0eupdated_widget\"\x9b\x01\n\x0cResponseType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEW_MESSAGE\x10\x01\x12\x12\n\x0eUPDATE_MESSAGE\x10\x02\x12\x1d\n\x19UPDATE_USER_MESSAGE_CARDS\x10\x06\x12\x12\n\x0eREQUEST_CONFIG\x10\x03\x12\n\n\x06\x44IALOG\x10\x04\x12\x11\n\rUPDATE_WIDGET\x10\x07\"S\n\x0f\x41\x63\x63\x65ssoryWidget\x12\x36\n\x0b\x62utton_list\x18\x01 \x01(\x0b\x32\x1f.google.apps.card.v1.ButtonListH\x00\x42\x08\n\x06\x61\x63tion\"\x80\x01\n\x11GetMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x38\n\rmarkup_syntax\x18\x03 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x03\xe0\x41\x01\"]\n\x14\x44\x65leteMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x97\x01\n\x14UpdateMessageRequest\x12-\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x88\x04\n\x14\x43reateMessageRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12-\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x19\n\nthread_key\x18\x06 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x03\xe0\x41\x01\x12\x17\n\nmessage_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x62\n#create_message_notification_options\x18\n \x01(\x0b\x32\x30.google.chat.v1.CreateMessageNotificationOptionsB\x03\xe0\x41\x01\"\x7f\n\x12MessageReplyOption\x12$\n MESSAGE_REPLY_OPTION_UNSPECIFIED\x10\x00\x12(\n$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\x10\x01\x12\x19\n\x15REPLY_MESSAGE_OR_FAIL\x10\x02\"\xf2\x01\n CreateMessageNotificationOptions\x12\\\n\x11notification_type\x18\x01 \x01(\x0e\x32\x41.google.chat.v1.CreateMessageNotificationOptions.NotificationType\"p\n\x10NotificationType\x12\x1a\n\x16NOTIFICATION_TYPE_NONE\x10\x00\x12\"\n\x1eNOTIFICATION_TYPE_FORCE_NOTIFY\x10\x02\x12\x1c\n\x18NOTIFICATION_TYPE_SILENT\x10\x03\"\xfc\x01\n\x13ListMessagesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x38\n\rmarkup_syntax\x18\t \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x03\xe0\x41\x01\"Z\n\x14ListMessagesResponse\x12)\n\x08messages\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Message\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x81\x01\n\x0c\x44ialogAction\x12-\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x03\xe0\x41\x04H\x00\x12\x38\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x03\xe0\x41\x04\x42\x08\n\x06\x61\x63tion\"6\n\x06\x44ialog\x12,\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x03\xe0\x41\x04\"F\n\nCardWithId\x12\x0f\n\x07\x63\x61rd_id\x18\x01 \x01(\t\x12\'\n\x04\x63\x61rd\x18\x02 \x01(\x0b\x32\x19.google.apps.card.v1.Card\"\xa9\x03\n\x15SearchMessagesRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x38\n\rmarkup_syntax\x18\x06 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x03\xe0\x41\x01\x12K\n\x04view\x18\x07 \x01(\x0e\x32\x38.google.chat.v1.SearchMessagesRequest.SearchMessagesViewB\x03\xe0\x41\x01\"y\n\x12SearchMessagesView\x12$\n SEARCH_MESSAGES_VIEW_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_MESSAGES_VIEW_BASIC\x10\x01\x12\x1d\n\x19SEARCH_MESSAGES_VIEW_FULL\x10\x02\"g\n\x16SearchMessagesResponse\x12\x34\n\x07results\x18\x01 \x03(\x0b\x32#.google.chat.v1.SearchMessageResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x01\n\x13SearchMessageResult\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\x12\x11\n\x04read\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12P\n\x12space_mute_setting\x18\x04 \x01(\x0e\x32\x34.google.chat.v1.SpaceNotificationSetting.MuteSettingB\x07\n\x05_readB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\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"
|
|
26
|
+
descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a\"google/chat/v1/markup_syntax.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x0b\n\x07Message\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12*\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\x12\x36\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x05\x01\x12:\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x12\n\x04text\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x66ormatted_text\x18+ \x01(\tB\x04\xe2\x41\x01\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x32\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x04\xe2\x41\x01\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12*\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x04\xe2\x41\x01\x03\x12\x1b\n\rfallback_text\x18\r \x01(\tB\x04\xe2\x41\x01\x01\x12=\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x04\xe2\x41\x01\x04\x12\x1b\n\rargument_text\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03\x12\x39\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x04\xe2\x41\x01\x03\x12\x34\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x04\xe2\x41\x01\x01\x12\x35\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x14\n\x06silent\x18. \x01(\x08\x42\x04\xe2\x41\x01\x03\x12(\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x04\xe2\x41\x01\x03\x12;\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x05\xe2\x41\x02\x05\x01\x12\x41\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x04\xe2\x41\x01\x03\x12L\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x04\xe2\x41\x01\x01\x12\x38\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x04\xe2\x41\x01\x03\x12@\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18/ \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\" \n\x0b\x41ttachedGif\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"\xaa\x04\n\x15QuotedMessageMetadata\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12:\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12I\n\nquote_type\x18\x04 \x01(\x0e\x32/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\x04\xe2\x41\x01\x01\x12L\n\x17quoted_message_snapshot\x18\x05 \x01(\x0b\x32%.google.chat.v1.QuotedMessageSnapshotB\x04\xe2\x41\x01\x03\x12\x43\n\x12\x66orwarded_metadata\x18\x06 \x01(\x0b\x32!.google.chat.v1.ForwardedMetadataB\x04\xe2\x41\x01\x03\"?\n\tQuoteType\x12\x1a\n\x16QUOTE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05REPLY\x10\x01\x12\x0b\n\x07\x46ORWARD\x10\x02:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\xcd\x01\n\x15QuotedMessageSnapshot\x12\x14\n\x06sender\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04text\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x66ormatted_text\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x61ttachments\x18\x05 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x04\xe2\x41\x01\x03\"h\n\x11\x46orwardedMetadata\x12\x31\n\x05space\x18\x01 \x01(\tB\"\xe2\x41\x01\x03\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12 \n\x12space_display_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\x89\x01\n\x06Thread\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x18\n\nthread_key\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01:Q\xea\x41N\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}*\x07threads2\x06thread\"\xd6\x04\n\x0e\x41\x63tionResponse\x12?\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x04\xe2\x41\x01\x04\x12\x11\n\x03url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x04\x12\x39\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x04\xe2\x41\x01\x04\x12J\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x04\xe2\x41\x01\x04\x1aR\n\x0eSelectionItems\x12@\n\x05items\x18\x01 \x03(\x0b\x32\x31.google.apps.card.v1.SelectionInput.SelectionItem\x1aw\n\rUpdatedWidget\x12\x44\n\x0bsuggestions\x18\x01 \x01(\x0b\x32-.google.chat.v1.ActionResponse.SelectionItemsH\x00\x12\x0e\n\x06widget\x18\x02 \x01(\tB\x10\n\x0eupdated_widget\"\x9b\x01\n\x0cResponseType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEW_MESSAGE\x10\x01\x12\x12\n\x0eUPDATE_MESSAGE\x10\x02\x12\x1d\n\x19UPDATE_USER_MESSAGE_CARDS\x10\x06\x12\x12\n\x0eREQUEST_CONFIG\x10\x03\x12\n\n\x06\x44IALOG\x10\x04\x12\x11\n\rUPDATE_WIDGET\x10\x07\"S\n\x0f\x41\x63\x63\x65ssoryWidget\x12\x36\n\x0b\x62utton_list\x18\x01 \x01(\x0b\x32\x1f.google.apps.card.v1.ButtonListH\x00\x42\x08\n\x06\x61\x63tion\"\x82\x01\n\x11GetMessageRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\rmarkup_syntax\x18\x03 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\"_\n\x14\x44\x65leteMessageRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x13\n\x05\x66orce\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x9a\x01\n\x14UpdateMessageRequest\x12.\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x8f\x04\n\x14\x43reateMessageRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12.\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x04\xe2\x41\x01\x02\x12\x1a\n\nthread_key\x18\x06 \x01(\tB\x06\x18\x01\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12[\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x04\xe2\x41\x01\x01\x12\x18\n\nmessage_id\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x63\n#create_message_notification_options\x18\n \x01(\x0b\x32\x30.google.chat.v1.CreateMessageNotificationOptionsB\x04\xe2\x41\x01\x01\"\x7f\n\x12MessageReplyOption\x12$\n MESSAGE_REPLY_OPTION_UNSPECIFIED\x10\x00\x12(\n$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\x10\x01\x12\x19\n\x15REPLY_MESSAGE_OR_FAIL\x10\x02\"\xf2\x01\n CreateMessageNotificationOptions\x12\\\n\x11notification_type\x18\x01 \x01(\x0e\x32\x41.google.chat.v1.CreateMessageNotificationOptions.NotificationType\"p\n\x10NotificationType\x12\x1a\n\x16NOTIFICATION_TYPE_NONE\x10\x00\x12\"\n\x1eNOTIFICATION_TYPE_FORCE_NOTIFY\x10\x02\x12\x1c\n\x18NOTIFICATION_TYPE_SILENT\x10\x03\"\x83\x02\n\x13ListMessagesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18\t \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\"Z\n\x14ListMessagesResponse\x12)\n\x08messages\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Message\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x83\x01\n\x0c\x44ialogAction\x12.\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x04\xe2\x41\x01\x04H\x00\x12\x39\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x04\xe2\x41\x01\x04\x42\x08\n\x06\x61\x63tion\"7\n\x06\x44ialog\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x04\xe2\x41\x01\x04\"v\n\nCardWithId\x12\x0f\n\x07\x63\x61rd_id\x18\x01 \x01(\t\x12\'\n\x04\x63\x61rd\x18\x02 \x01(\x0b\x32\x19.google.apps.card.v1.Card\x12.\n\nowner_user\x18\x03 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\"\x84\x01\n\x1aReplaceMessageCardsRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x32\n\x08\x63\x61rds_v2\x18\x02 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x04\xe2\x41\x01\x01\"\x1d\n\x1bReplaceMessageCardsResponse\"\xb0\x03\n\x15SearchMessagesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x14\n\x06\x66ilter\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x17\n\tpage_size\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18\x06 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\x12L\n\x04view\x18\x07 \x01(\x0e\x32\x38.google.chat.v1.SearchMessagesRequest.SearchMessagesViewB\x04\xe2\x41\x01\x01\"y\n\x12SearchMessagesView\x12$\n SEARCH_MESSAGES_VIEW_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_MESSAGES_VIEW_BASIC\x10\x01\x12\x1d\n\x19SEARCH_MESSAGES_VIEW_FULL\x10\x02\"g\n\x16SearchMessagesResponse\x12\x34\n\x07results\x18\x01 \x03(\x0b\x32#.google.chat.v1.SearchMessageResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x01\n\x13SearchMessageResult\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\x12\x11\n\x04read\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12P\n\x12space_mute_setting\x18\x04 \x01(\x0e\x32\x34.google.chat.v1.SpaceNotificationSetting.MuteSettingB\x07\n\x05_readB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\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"
|
|
27
27
|
|
|
28
28
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
29
29
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -56,6 +56,8 @@ module Google
|
|
|
56
56
|
DialogAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DialogAction").msgclass
|
|
57
57
|
Dialog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Dialog").msgclass
|
|
58
58
|
CardWithId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CardWithId").msgclass
|
|
59
|
+
ReplaceMessageCardsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ReplaceMessageCardsRequest").msgclass
|
|
60
|
+
ReplaceMessageCardsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ReplaceMessageCardsResponse").msgclass
|
|
59
61
|
SearchMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SearchMessagesRequest").msgclass
|
|
60
62
|
SearchMessagesRequest::SearchMessagesView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SearchMessagesRequest.SearchMessagesView").enummodule
|
|
61
63
|
SearchMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SearchMessagesResponse").msgclass
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n google/chat/v1/message_pin.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc0\x01\n\nMessagePin\x12\
|
|
11
|
+
descriptor_data = "\n google/chat/v1/message_pin.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc0\x01\n\nMessagePin\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x36\n\x07message\x18\x02 \x01(\tB%\xe2\x41\x02\x05\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message:f\xea\x41\x63\n\x1e\x63hat.googleapis.com/MessagePin\x12(spaces/{space}/messagePins/{message_pin}*\x0bmessagePins2\nmessagePin\"\x84\x01\n\x16ListMessagePinsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/MessagePin\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"d\n\x17ListMessagePinsResponse\x12\x30\n\x0cmessage_pins\x18\x01 \x03(\x0b\x32\x1a.google.chat.v1.MessagePin\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x84\x01\n\x17\x43reateMessagePinRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x35\n\x0bmessage_pin\x18\x02 \x01(\x0b\x32\x1a.google.chat.v1.MessagePinB\x04\xe2\x41\x01\x02\"P\n\x17\x44\x65leteMessagePinRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/MessagePinB\xa8\x01\n\x12\x63om.google.chat.v1B\x0fMessagePinProtoP\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"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -10,7 +10,7 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
require 'google/chat/v1/user_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\
|
|
13
|
+
descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xcf\x01\n\x08Reaction\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12(\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\x12*\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x04\xe2\x41\x01\x02:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"`\n\x05\x45moji\x12\x17\n\x07unicode\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x33\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiH\x00\x42\t\n\x07\x63ontent\"\xec\x02\n\x0b\x43ustomEmoji\x12\x12\n\x04name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x08\x12\x19\n\x03uid\x18\x01 \x01(\tB\x0c\xe2\x41\x01\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x19\n\nemoji_name\x18\x03 \x01(\tB\x05\xe2\x41\x02\x01\x05\x12!\n\x13temporary_image_uri\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\x07payload\x18\x05 \x01(\x0b\x32..google.chat.v1.CustomEmoji.CustomEmojiPayloadB\x05\xe2\x41\x02\x04\x01\x1aJ\n\x12\x43ustomEmojiPayload\x12\x1b\n\x0c\x66ile_content\x18\x01 \x01(\x0c\x42\x05\xe2\x41\x02\x04\x02\x12\x17\n\x08\x66ilename\x18\x02 \x01(\tB\x05\xe2\x41\x02\x04\x02:\\\xea\x41Y\n\x1f\x63hat.googleapis.com/CustomEmoji\x12\x1b\x63ustomEmojis/{custom_emoji}*\x0c\x63ustomEmojis2\x0b\x63ustomEmoji\"x\n\x14\x45mojiReactionSummary\x12*\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x04\xe2\x41\x01\x03\x12!\n\x0ereaction_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"\x80\x01\n\x15\x43reateReactionRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12\x30\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x04\xe2\x41\x01\x02\"\x96\x01\n\x14ListReactionsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x15\x44\x65leteReactionRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/Reaction\"S\n\x18\x43reateCustomEmojiRequest\x12\x37\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x04\xe2\x41\x01\x02\"O\n\x15GetCustomEmojiRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63hat.googleapis.com/CustomEmoji\"b\n\x17ListCustomEmojisRequest\x12\x17\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"m\n\x18ListCustomEmojisResponse\x12\x38\n\rcustom_emojis\x18\x01 \x03(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x04\xe2\x41\x01\x06\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x18\x44\x65leteCustomEmojiRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63hat.googleapis.com/CustomEmojiB\xa6\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\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"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
|
9
9
|
require 'google/protobuf/field_mask_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n\x1cgoogle/chat/v1/section.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\
|
|
12
|
+
descriptor_data = "\n\x1cgoogle/chat/v1/section.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\xe1\x02\n\x07Section\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\nsort_order\x18\x03 \x01(\x05\x12\x37\n\x04type\x18\x04 \x01(\x0e\x32#.google.chat.v1.Section.SectionTypeB\x04\xe2\x41\x01\x02\"\x82\x01\n\x0bSectionType\x12\x1c\n\x18SECTION_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43USTOM_SECTION\x10\x01\x12\x1b\n\x17\x44\x45\x46\x41ULT_DIRECT_MESSAGES\x10\x02\x12\x12\n\x0e\x44\x45\x46\x41ULT_SPACES\x10\x03\x12\x10\n\x0c\x44\x45\x46\x41ULT_APPS\x10\x06:T\xea\x41Q\n\x1b\x63hat.googleapis.com/Section\x12\x1fusers/{user}/sections/{section}*\x08sections2\x07section\"\xcd\x01\n\x0bSectionItem\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x33\n\x05space\x18\x02 \x01(\tB\"\xe2\x41\x01\x01\xfa\x41\x1b\n\x19\x63hat.googleapis.com/SpaceH\x00:m\xea\x41j\n\x1f\x63hat.googleapis.com/SectionItem\x12,users/{user}/sections/{section}/items/{item}*\x0csectionItems2\x0bsectionItemB\x06\n\x04item\"y\n\x14\x43reateSectionRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe2\x41\x01\x02\xfa\x41\x1a\n\x18\x63hat.googleapis.com/User\x12.\n\x07section\x18\x02 \x01(\x0b\x32\x17.google.chat.v1.SectionB\x04\xe2\x41\x01\x02\"J\n\x14\x44\x65leteSectionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Section\"}\n\x14UpdateSectionRequest\x12.\n\x07section\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.SectionB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"{\n\x13ListSectionsRequest\x12\x31\n\x06parent\x18\x01 \x01(\tB!\xe2\x41\x01\x02\xfa\x41\x1a\n\x18\x63hat.googleapis.com/User\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"Z\n\x14ListSectionsResponse\x12)\n\x08sections\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Section\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x82\x02\n\x16PositionSectionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Section\x12\x1a\n\nsort_order\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00\x12R\n\x11relative_position\x18\x03 \x01(\x0e\x32/.google.chat.v1.PositionSectionRequest.PositionB\x04\xe2\x41\x01\x01H\x00\"8\n\x08Position\x12\x18\n\x14POSITION_UNSPECIFIED\x10\x00\x12\t\n\x05START\x10\x01\x12\x07\n\x03\x45ND\x10\x02\x42\n\n\x08position\"C\n\x17PositionSectionResponse\x12(\n\x07section\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Section\"\x98\x01\n\x17ListSectionItemsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Section\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"g\n\x18ListSectionItemsResponse\x12\x32\n\rsection_items\x18\x01 \x03(\x0b\x32\x1b.google.chat.v1.SectionItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8e\x01\n\x16MoveSectionItemRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63hat.googleapis.com/SectionItem\x12<\n\x0etarget_section\x18\x02 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Section\"L\n\x17MoveSectionItemResponse\x12\x31\n\x0csection_item\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.SectionItemB\xd0\x01\n\x12\x63om.google.chat.v1B\x0cSectionProtoP\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::V1\xea\x41(\n\x18\x63hat.googleapis.com/User\x12\x0cusers/{user}b\x06proto3"
|
|
13
13
|
|
|
14
14
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -10,7 +10,7 @@ require 'google/chat/v1/event_payload_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
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\"
|
|
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\"M\n\x14GetSpaceEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/SpaceEvent\"\x9a\x01\n\x16ListSpaceEventsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63hat.googleapis.com/SpaceEvent\x12\x17\n\tpage_size\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x08 \x01(\tB\x04\xe2\x41\x01\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
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
|
9
9
|
require 'google/protobuf/field_mask_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n/google/chat/v1/space_notification_setting.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\
|
|
12
|
+
descriptor_data = "\n/google/chat/v1/space_notification_setting.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\xc7\x04\n\x18SpaceNotificationSetting\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12_\n\x14notification_setting\x18\x02 \x01(\x0e\x32<.google.chat.v1.SpaceNotificationSetting.NotificationSettingH\x00\x88\x01\x01\x12O\n\x0cmute_setting\x18\x03 \x01(\x0e\x32\x34.google.chat.v1.SpaceNotificationSetting.MuteSettingH\x01\x88\x01\x01\"r\n\x13NotificationSetting\x12$\n NOTIFICATION_SETTING_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12\x16\n\x12MAIN_CONVERSATIONS\x10\x02\x12\x0b\n\x07\x46OR_YOU\x10\x03\x12\x07\n\x03OFF\x10\x04\"C\n\x0bMuteSetting\x12\x1c\n\x18MUTE_SETTING_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNMUTED\x10\x01\x12\t\n\x05MUTED\x10\x02:\x81\x01\xea\x41~\n,chat.googleapis.com/SpaceNotificationSetting\x12\x34users/{user}/spaces/{space}/spaceNotificationSetting2\x18spaceNotificationSettingB\x17\n\x15_notification_settingB\x0f\n\r_mute_setting\"i\n\"GetSpaceNotificationSettingRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe2\x41\x01\x02\xfa\x41.\n,chat.googleapis.com/SpaceNotificationSetting\"\xb2\x01\n%UpdateSpaceNotificationSettingRequest\x12R\n\x1aspace_notification_setting\x18\x01 \x01(\x0b\x32(.google.chat.v1.SpaceNotificationSettingB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x42\xb6\x01\n\x12\x63om.google.chat.v1B\x1dSpaceNotificationSettingProtoP\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"
|
|
13
13
|
|
|
14
14
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1dgoogle/chat/v1/audience.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
15
|
+
descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1dgoogle/chat/v1/audience.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf5\x1b\n\x05Space\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x06\x18\x01\xe2\x41\x01\x03\x12\x39\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceTypeB\x04\xe2\x41\x01\x01\x12 \n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x18\n\x08threaded\x18\x05 \x01(\x08\x42\x06\x18\x01\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12$\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x05\xe2\x41\x02\x05\x01\x12N\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x04\xe2\x41\x01\x03\x12?\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetailsB\x04\xe2\x41\x01\x01\x12?\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryStateB\x04\xe2\x41\x01\x01\x12\x19\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x36\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x05\x01\x12:\n\x10last_active_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x1d\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x45\n\x10membership_count\x18\x14 \x01(\x0b\x32%.google.chat.v1.Space.MembershipCountB\x04\xe2\x41\x01\x03\x12\x43\n\x0f\x61\x63\x63\x65ss_settings\x18\x17 \x01(\x0b\x32$.google.chat.v1.Space.AccessSettingsB\x04\xe2\x41\x01\x01\x12\x1c\n\x08\x63ustomer\x18\x18 \x01(\tB\x05\xe2\x41\x02\x05\x01H\x01\x88\x01\x01\x12\x17\n\tspace_uri\x18\x19 \x01(\tB\x04\xe2\x41\x01\x03\x12\x63\n\x1epredefined_permission_settings\x18\x1a \x01(\x0e\x32\x32.google.chat.v1.Space.PredefinedPermissionSettingsB\x05\xe2\x41\x02\x04\x01H\x00\x12M\n\x13permission_settings\x18\x1b \x01(\x0b\x32(.google.chat.v1.Space.PermissionSettingsB\x04\xe2\x41\x01\x01H\x00\x12\x41\n\x17import_mode_expire_time\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x1a\x43\n\x0cSpaceDetails\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nguidelines\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x1a\x61\n\x0fMembershipCount\x12,\n\x1ejoined_direct_human_user_count\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12 \n\x12joined_group_count\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x1a\x9c\x02\n\x0e\x41\x63\x63\x65ssSettings\x12L\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32\x30.google.chat.v1.Space.AccessSettings.AccessStateB\x04\xe2\x41\x01\x03\x12\x16\n\x08\x61udience\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12X\n\x1a\x61\x63\x63\x65ss_permission_settings\x18\x05 \x01(\x0b\x32..google.chat.v1.Space.AccessPermissionSettingsB\x04\xe2\x41\x01\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\x1a\x9c\x02\n\x18\x41\x63\x63\x65ssPermissionSettings\x12S\n\x16\x64iscover_space_setting\x18\x01 \x01(\x0b\x32-.google.chat.v1.Space.AccessPermissionSettingB\x04\xe2\x41\x01\x01\x12O\n\x12join_space_setting\x18\x02 \x01(\x0b\x32-.google.chat.v1.Space.AccessPermissionSettingB\x04\xe2\x41\x01\x01\x12Z\n\x1dview_space_membership_setting\x18\x03 \x01(\x0b\x32-.google.chat.v1.Space.AccessPermissionSettingB\x04\xe2\x41\x01\x01\x1aU\n\x17\x41\x63\x63\x65ssPermissionSetting\x12:\n\nprincipals\x18\x01 \x03(\x0b\x32\x1f.google.chat.v1.Space.PrincipalB\x05\xe2\x41\x02\x01\x06\x1aK\n\tPrincipal\x12,\n\x08\x61udience\x18\x01 \x01(\x0b\x32\x18.google.chat.v1.AudienceH\x00\x42\x10\n\x0eprincipal_type\x1a\x9d\x07\n\x12PermissionSettings\x12U\n\x19manage_members_and_groups\x18\x01 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12P\n\x14modify_space_details\x18\x02 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12J\n\x0etoggle_history\x18\x03 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x02\x88\x01\x01\x12N\n\x12use_at_mention_all\x18\x04 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x03\x88\x01\x01\x12G\n\x0bmanage_apps\x18\x05 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x04\x88\x01\x01\x12K\n\x0fmanage_webhooks\x18\x06 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x05\x88\x01\x01\x12I\n\rpost_messages\x18\x07 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x03H\x06\x88\x01\x01\x12J\n\x0ereply_messages\x18\x08 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x07\x88\x01\x01\x12Q\n\x15view_space_membership\x18\t \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x04\xe2\x41\x01\x01H\x08\x88\x01\x01\x42\x1c\n\x1a_manage_members_and_groupsB\x17\n\x15_modify_space_detailsB\x11\n\x0f_toggle_historyB\x15\n\x13_use_at_mention_allB\x0e\n\x0c_manage_appsB\x12\n\x10_manage_webhooksB\x10\n\x0e_post_messagesB\x11\n\x0f_reply_messagesB\x18\n\x16_view_space_membership\x1a\xa0\x01\n\x11PermissionSetting\x12\x1e\n\x10managers_allowed\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12-\n\x1a\x61ssistant_managers_allowed\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x1d\n\x0fmembers_allowed\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42\x1d\n\x1b_assistant_managers_allowed\".\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\"\x7f\n\x1cPredefinedPermissionSettings\x12.\n*PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OLLABORATION_SPACE\x10\x01\x12\x16\n\x12\x41NNOUNCEMENT_SPACE\x10\x02:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}B\x1b\n\x19space_permission_settingsB\x0b\n\t_customer\"Z\n\x12\x43reateSpaceRequest\x12*\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\\\n\x11ListSpacesRequest\x12\x17\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x03 \x01(\tB\x04\xe2\x41\x01\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\"c\n\x0fGetSpaceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1e\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\".\n\x18\x46indDirectMessageRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\x8e\x01\n\x15\x46indGroupChatsRequest\x12\x13\n\x05users\x18\x05 \x03(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12-\n\nspace_view\x18\x04 \x01(\x0e\x32\x19.google.chat.v1.SpaceView\"X\n\x16\x46indGroupChatsResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x97\x01\n\x12UpdateSpaceRequest\x12*\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x1e\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x83\x01\n\x13SearchSpacesRequest\x12\x18\n\x10use_admin_access\x18\x01 \x01(\x08\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x05query\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\xfe\x01\n\x14SearchSpacesResponse\x12)\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.SpaceB\x02\x18\x01\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\x12M\n\x07results\x18\x04 \x03(\x0b\x32\x36.google.chat.v1.SearchSpacesResponse.SearchSpaceResultB\x04\xe2\x41\x01\x03\x1a?\n\x11SearchSpaceResult\x12*\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x04\xe2\x41\x01\x03\"f\n\x12\x44\x65leteSpaceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1e\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"N\n\x1a\x43ompleteImportSpaceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe2\x41\x01\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.Space*c\n\tSpaceView\x12\x1a\n\x16SPACE_VIEW_UNSPECIFIED\x10\x00\x12!\n\x1dSPACE_VIEW_RESOURCE_NAME_ONLY\x10\x03\x12\x17\n\x13SPACE_VIEW_EXPANDED\x10\x04\x42\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"
|
|
16
16
|
|
|
17
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -10,7 +10,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n%google/chat/v1/space_read_state.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
13
|
+
descriptor_data = "\n%google/chat/v1/space_read_state.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x01\n\x0eSpaceReadState\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x0elast_read_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01:c\xea\x41`\n\"chat.googleapis.com/SpaceReadState\x12*users/{user}/spaces/{space}/spaceReadState2\x0espaceReadState\"U\n\x18GetSpaceReadStateRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"chat.googleapis.com/SpaceReadState\"\x94\x01\n\x1bUpdateSpaceReadStateRequest\x12>\n\x10space_read_state\x18\x01 \x01(\x0b\x32\x1e.google.chat.v1.SpaceReadStateB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x42\xac\x01\n\x12\x63om.google.chat.v1B\x13SpaceReadStateProtoP\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"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -9,7 +9,7 @@ require 'google/chat/v1/membership_pb'
|
|
|
9
9
|
require 'google/chat/v1/space_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n google/chat/v1/space_setup.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1agoogle/chat/v1/space.proto\"\
|
|
12
|
+
descriptor_data = "\n google/chat/v1/space_setup.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1agoogle/chat/v1/space.proto\"\x90\x01\n\x11SetUpSpaceRequest\x12*\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x35\n\x0bmemberships\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.MembershipB\x04\xe2\x41\x01\x01\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0fSpaceSetupProtoP\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"
|
|
13
13
|
|
|
14
14
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n&google/chat/v1/thread_read_state.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x01\n\x0fThreadReadState\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x0elast_read_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:w\xea\x41t\n#chat.googleapis.com/ThreadReadState\x12<users/{user}/spaces/{space}/threads/{thread}/threadReadState2\x0fthreadReadState\"
|
|
12
|
+
descriptor_data = "\n&google/chat/v1/thread_read_state.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x01\n\x0fThreadReadState\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x0elast_read_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:w\xea\x41t\n#chat.googleapis.com/ThreadReadState\x12<users/{user}/spaces/{space}/threads/{thread}/threadReadState2\x0fthreadReadState\"W\n\x19GetThreadReadStateRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#chat.googleapis.com/ThreadReadStateB\xad\x01\n\x12\x63om.google.chat.v1B\x14ThreadReadStateProtoP\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"
|
|
13
13
|
|
|
14
14
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
10
|
+
descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xe9\x01\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\navatar_url\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x13\n\x05\x65mail\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x11\n\tdomain_id\x18\x06 \x01(\t\x12\'\n\x04type\x18\x05 \x01(\x0e\x32\x19.google.chat.v1.User.Type\x12\x1a\n\x0cis_anonymous\x18\x07 \x01(\x08\x42\x04\xe2\x41\x01\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\x07\n\x03\x42OT\x10\x02\x42\xa2\x01\n\x12\x63om.google.chat.v1B\tUserProtoP\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"
|
|
11
11
|
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -839,11 +839,38 @@ module Google
|
|
|
839
839
|
# @!attribute [rw] card
|
|
840
840
|
# @return [::Google::Apps::Card::V1::Card]
|
|
841
841
|
# A card. Maximum size is 32 KB.
|
|
842
|
+
# @!attribute [r] owner_user
|
|
843
|
+
# @return [::Google::Apps::Chat::V1::User]
|
|
844
|
+
# Output only. The app that owns the card.
|
|
842
845
|
class CardWithId
|
|
843
846
|
include ::Google::Protobuf::MessageExts
|
|
844
847
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
845
848
|
end
|
|
846
849
|
|
|
850
|
+
# Request message for ReplaceMessageCards API method.
|
|
851
|
+
# @!attribute [rw] name
|
|
852
|
+
# @return [::String]
|
|
853
|
+
# Required. The resource name of the message.
|
|
854
|
+
#
|
|
855
|
+
# Format: `spaces/{space}/messages/{message}`
|
|
856
|
+
# @!attribute [rw] cards_v2
|
|
857
|
+
# @return [::Array<::Google::Apps::Chat::V1::CardWithId>]
|
|
858
|
+
# Optional. An array of
|
|
859
|
+
# [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards)
|
|
860
|
+
# to be included in the message. These cards will replace the existing cards
|
|
861
|
+
# of the message. If empty, the original cards included in the message will
|
|
862
|
+
# be cleared.
|
|
863
|
+
class ReplaceMessageCardsRequest
|
|
864
|
+
include ::Google::Protobuf::MessageExts
|
|
865
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# Response message for ReplaceMessageCards API.
|
|
869
|
+
class ReplaceMessageCardsResponse
|
|
870
|
+
include ::Google::Protobuf::MessageExts
|
|
871
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
872
|
+
end
|
|
873
|
+
|
|
847
874
|
# Request message for searching messages.
|
|
848
875
|
# @!attribute [rw] parent
|
|
849
876
|
# @return [::String]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apps-chat-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.33.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-apps-card-v1
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|