google-apis-chat_v1 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chat_v1/classes.rb +41 -41
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +16 -16
- data/lib/google/apis/chat_v1/service.rb +32 -56
- 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: 89fee3a044a69bf90ae6f5a4054a271305f870e10d4c95284afc464f4592de07
|
4
|
+
data.tar.gz: f1c7f57285b867ef847a45955f66665f5def9b9449a7a853b9c8cef425d38f69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d394433ccdcd4e58edb32b19d732b405cbefe76e42b9d9f108c4d2d40c37672f1d2e4330206a9206a1e2287664156a96c3d3d1006360511a2bf54c05c4fffbec
|
7
|
+
data.tar.gz: fbe7edb4c1527077f32454db977c6d30733341ea63e282d1247db69e7cf26658b8a1afb3aa2371696321bb554829b807a2408d482d2a808bf5fc639ef1a1b5d4
|
data/CHANGELOG.md
CHANGED
@@ -374,6 +374,46 @@ module Google
|
|
374
374
|
end
|
375
375
|
end
|
376
376
|
|
377
|
+
# JSON payload of error messages. If the Cloud Logging API is enabled, these
|
378
|
+
# error messages are logged to [Google Cloud Logging](https://cloud.google.com/
|
379
|
+
# logging/docs).
|
380
|
+
class ChatAppLogEntry
|
381
|
+
include Google::Apis::Core::Hashable
|
382
|
+
|
383
|
+
# The deployment that caused the error. For Chat bots built in Apps Script, this
|
384
|
+
# is the deployment ID defined by Apps Script.
|
385
|
+
# Corresponds to the JSON property `deployment`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :deployment
|
388
|
+
|
389
|
+
# The unencrypted `callback_method` name that was running when the error was
|
390
|
+
# encountered.
|
391
|
+
# Corresponds to the JSON property `deploymentFunction`
|
392
|
+
# @return [String]
|
393
|
+
attr_accessor :deployment_function
|
394
|
+
|
395
|
+
# The `Status` type defines a logical error model that is suitable for different
|
396
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
397
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
398
|
+
# data: error code, error message, and error details. You can find out more
|
399
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
400
|
+
# //cloud.google.com/apis/design/errors).
|
401
|
+
# Corresponds to the JSON property `error`
|
402
|
+
# @return [Google::Apis::ChatV1::Status]
|
403
|
+
attr_accessor :error
|
404
|
+
|
405
|
+
def initialize(**args)
|
406
|
+
update!(**args)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Update properties of this object
|
410
|
+
def update!(**args)
|
411
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
412
|
+
@deployment_function = args[:deployment_function] if args.key?(:deployment_function)
|
413
|
+
@error = args[:error] if args.key?(:error)
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
377
417
|
# Represents a color in the RGBA color space. This representation is designed
|
378
418
|
# for simplicity of conversion to/from color representations in various
|
379
419
|
# languages over compactness. For example, the fields of this representation can
|
@@ -770,46 +810,6 @@ module Google
|
|
770
810
|
end
|
771
811
|
end
|
772
812
|
|
773
|
-
# JSON payload of error messages. If the Cloud Logging API is enabled, these
|
774
|
-
# error messages are logged to [Google Cloud Logging](https://cloud.google.com/
|
775
|
-
# logging/docs).
|
776
|
-
class DynamiteIntegrationLogEntry
|
777
|
-
include Google::Apis::Core::Hashable
|
778
|
-
|
779
|
-
# The deployment that caused the error. For Chat bots built in Apps Script, this
|
780
|
-
# is the deployment ID defined by Apps Script.
|
781
|
-
# Corresponds to the JSON property `deployment`
|
782
|
-
# @return [String]
|
783
|
-
attr_accessor :deployment
|
784
|
-
|
785
|
-
# The unencrypted `callback_method` name that was running when the error was
|
786
|
-
# encountered.
|
787
|
-
# Corresponds to the JSON property `deploymentFunction`
|
788
|
-
# @return [String]
|
789
|
-
attr_accessor :deployment_function
|
790
|
-
|
791
|
-
# The `Status` type defines a logical error model that is suitable for different
|
792
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
793
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
794
|
-
# data: error code, error message, and error details. You can find out more
|
795
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
796
|
-
# //cloud.google.com/apis/design/errors).
|
797
|
-
# Corresponds to the JSON property `error`
|
798
|
-
# @return [Google::Apis::ChatV1::Status]
|
799
|
-
attr_accessor :error
|
800
|
-
|
801
|
-
def initialize(**args)
|
802
|
-
update!(**args)
|
803
|
-
end
|
804
|
-
|
805
|
-
# Update properties of this object
|
806
|
-
def update!(**args)
|
807
|
-
@deployment = args[:deployment] if args.key?(:deployment)
|
808
|
-
@deployment_function = args[:deployment_function] if args.key?(:deployment_function)
|
809
|
-
@error = args[:error] if args.key?(:error)
|
810
|
-
end
|
811
|
-
end
|
812
|
-
|
813
813
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
814
814
|
# messages in your APIs. A typical example is to use it as the request or the
|
815
815
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -2701,7 +2701,7 @@ module Google
|
|
2701
2701
|
# @return [String]
|
2702
2702
|
attr_accessor :display_name
|
2703
2703
|
|
2704
|
-
#
|
2704
|
+
# Resource name of the space, in the form "spaces/*". Example: spaces/
|
2705
2705
|
# AAAAAAAAAAAA
|
2706
2706
|
# Corresponds to the JSON property `name`
|
2707
2707
|
# @return [String]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChatV1
|
18
18
|
# Version of the google-apis-chat_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class ChatAppLogEntry
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class Color
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -130,12 +136,6 @@ module Google
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
133
|
-
class DynamiteIntegrationLogEntry
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
-
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
137
|
-
end
|
138
|
-
|
139
139
|
class Empty
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
@@ -582,6 +582,16 @@ module Google
|
|
582
582
|
end
|
583
583
|
end
|
584
584
|
|
585
|
+
class ChatAppLogEntry
|
586
|
+
# @private
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
588
|
+
property :deployment, as: 'deployment'
|
589
|
+
property :deployment_function, as: 'deploymentFunction'
|
590
|
+
property :error, as: 'error', class: Google::Apis::ChatV1::Status, decorator: Google::Apis::ChatV1::Status::Representation
|
591
|
+
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
585
595
|
class Color
|
586
596
|
# @private
|
587
597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -671,16 +681,6 @@ module Google
|
|
671
681
|
end
|
672
682
|
end
|
673
683
|
|
674
|
-
class DynamiteIntegrationLogEntry
|
675
|
-
# @private
|
676
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
-
property :deployment, as: 'deployment'
|
678
|
-
property :deployment_function, as: 'deploymentFunction'
|
679
|
-
property :error, as: 'error', class: Google::Apis::ChatV1::Status, decorator: Google::Apis::ChatV1::Status::Representation
|
680
|
-
|
681
|
-
end
|
682
|
-
end
|
683
|
-
|
684
684
|
class Empty
|
685
685
|
# @private
|
686
686
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -61,13 +61,10 @@ module Google
|
|
61
61
|
# Optional. A unique request ID for this message. Specifying an existing request
|
62
62
|
# ID returns the message created with that ID instead of creating a new message.
|
63
63
|
# @param [String] thread_key
|
64
|
-
# Optional. Opaque thread identifier
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
69
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
70
|
-
# thread field, corresponding to an existing thread, is set in message.
|
64
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
65
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
66
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
67
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
71
68
|
# @param [String] fields
|
72
69
|
# Selector specifying which fields to include in a partial response.
|
73
70
|
# @param [String] quota_user
|
@@ -109,13 +106,10 @@ module Google
|
|
109
106
|
# Optional. A unique request ID for this message. Specifying an existing request
|
110
107
|
# ID returns the message created with that ID instead of creating a new message.
|
111
108
|
# @param [String] thread_key
|
112
|
-
# Optional. Opaque thread identifier
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
117
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
118
|
-
# thread field, corresponding to an existing thread, is set in message.
|
109
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
110
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
111
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
112
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
119
113
|
# @param [String] fields
|
120
114
|
# Selector specifying which fields to include in a partial response.
|
121
115
|
# @param [String] quota_user
|
@@ -157,13 +151,10 @@ module Google
|
|
157
151
|
# Optional. A unique request ID for this message. Specifying an existing request
|
158
152
|
# ID returns the message created with that ID instead of creating a new message.
|
159
153
|
# @param [String] thread_key
|
160
|
-
# Optional. Opaque thread identifier
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
165
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
166
|
-
# thread field, corresponding to an existing thread, is set in message.
|
154
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
155
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
156
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
157
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
167
158
|
# @param [String] fields
|
168
159
|
# Selector specifying which fields to include in a partial response.
|
169
160
|
# @param [String] quota_user
|
@@ -243,13 +234,10 @@ module Google
|
|
243
234
|
# Optional. A unique request ID for this message. Specifying an existing request
|
244
235
|
# ID returns the message created with that ID instead of creating a new message.
|
245
236
|
# @param [String] thread_key
|
246
|
-
# Optional. Opaque thread identifier
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
251
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
252
|
-
# thread field, corresponding to an existing thread, is set in message.
|
237
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
238
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
239
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
240
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
253
241
|
# @param [String] fields
|
254
242
|
# Selector specifying which fields to include in a partial response.
|
255
243
|
# @param [String] quota_user
|
@@ -291,13 +279,10 @@ module Google
|
|
291
279
|
# Optional. A unique request ID for this message. Specifying an existing request
|
292
280
|
# ID returns the message created with that ID instead of creating a new message.
|
293
281
|
# @param [String] thread_key
|
294
|
-
# Optional. Opaque thread identifier
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
298
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
299
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
300
|
-
# thread field, corresponding to an existing thread, is set in message.
|
282
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
283
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
284
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
285
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
301
286
|
# @param [String] fields
|
302
287
|
# Selector specifying which fields to include in a partial response.
|
303
288
|
# @param [String] quota_user
|
@@ -339,13 +324,10 @@ module Google
|
|
339
324
|
# Optional. A unique request ID for this message. Specifying an existing request
|
340
325
|
# ID returns the message created with that ID instead of creating a new message.
|
341
326
|
# @param [String] thread_key
|
342
|
-
# Optional. Opaque thread identifier
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
347
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
348
|
-
# thread field, corresponding to an existing thread, is set in message.
|
327
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
328
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
329
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
330
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
349
331
|
# @param [String] fields
|
350
332
|
# Selector specifying which fields to include in a partial response.
|
351
333
|
# @param [String] quota_user
|
@@ -455,13 +437,10 @@ module Google
|
|
455
437
|
# Optional. A unique request ID for this message. Specifying an existing request
|
456
438
|
# ID returns the message created with that ID instead of creating a new message.
|
457
439
|
# @param [String] thread_key
|
458
|
-
# Optional. Opaque thread identifier
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
463
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
464
|
-
# thread field, corresponding to an existing thread, is set in message.
|
440
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
441
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
442
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
443
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
465
444
|
# @param [String] fields
|
466
445
|
# Selector specifying which fields to include in a partial response.
|
467
446
|
# @param [String] quota_user
|
@@ -574,13 +553,10 @@ module Google
|
|
574
553
|
# Optional. A unique request ID for this message. Specifying an existing request
|
575
554
|
# ID returns the message created with that ID instead of creating a new message.
|
576
555
|
# @param [String] thread_key
|
577
|
-
# Optional. Opaque thread identifier
|
578
|
-
#
|
579
|
-
#
|
580
|
-
#
|
581
|
-
# and webhooks from having to store the Google Chat thread ID of a thread (
|
582
|
-
# created earlier by them) to post further updates to it. Has no effect if
|
583
|
-
# thread field, corresponding to an existing thread, is set in message.
|
556
|
+
# Optional. Opaque thread identifier. To start or add to a thread, create a
|
557
|
+
# message and specify a `threadKey` instead of thread.name. (Setting thread.name
|
558
|
+
# has no effect.) The first message with a given `threadKey` starts a new thread.
|
559
|
+
# Subsequent messages with the same `threadKey` post into the same thread.
|
584
560
|
# @param [String] fields
|
585
561
|
# Selector specifying which fields to include in a partial response.
|
586
562
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chat_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|