google-apis-chat_v1 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fda8c21ecadba60cd25818a41ef5e85da5839c3562f71eac5e4ff19c986508b
4
- data.tar.gz: 42e8c0d4642dc9447e677a27d025edf0a8847ed7e74d96a53c70fe99535f3ec1
3
+ metadata.gz: 4d25dc2ecb47c46f03bbe2da36ec94b628e884e3a7a2c8b46de33d699ecbf927
4
+ data.tar.gz: d9138189f1f1c4c3fb2ec5137589605c8a4702931b9e691e1e3dd5760a77d6e3
5
5
  SHA512:
6
- metadata.gz: c241506f20845bafdf1a19f717b11a05566b25c2ba528bf75f821e316850a267bcae6d8f1a5011f4e95e47d45f3f9a2c6c4014294f6ffd0f2cc6c41bfd53584c
7
- data.tar.gz: e5d3dcfe66d73a9ca6cb6eb5f9f4bbc85405f215cabaf1446803319b156d567e33718f8071b0f475233a647457a17e7ea5466bbdd4bb98ea47cd7a798c2ee50f
6
+ metadata.gz: 59b64fa0469dc0e5dda480d2de717ed6e8b67ddf5bb79052334d683a9d68dac225ea449056ff9813d0274b08d2d5065c30034562c96f59b159188bce57753374
7
+ data.tar.gz: 4517c2c5b18b1096eeee3a5f8f527a3040ebbcd77bcaa3b52be00ad2d7187163ee89fbc92a3724df26a88d3f81aeffb8eac7699a9b726e5095c6f586faea5ca7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.19.0 (2021-12-01)
4
+
5
+ * Regenerated from discovery document revision 20211125
6
+
3
7
  ### v0.18.0 (2021-11-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20211106
@@ -756,6 +756,46 @@ module Google
756
756
  end
757
757
  end
758
758
 
759
+ # JSON payload of error messages. If the Cloud Logging API is enabled, these
760
+ # error messages are logged to [Google Cloud Logging](https://cloud.google.com/
761
+ # logging/docs).
762
+ class DynamiteIntegrationLogEntry
763
+ include Google::Apis::Core::Hashable
764
+
765
+ # The deployment that caused the error. For Chat bots built in Apps Script, this
766
+ # is the deployment ID defined by Apps Script.
767
+ # Corresponds to the JSON property `deployment`
768
+ # @return [String]
769
+ attr_accessor :deployment
770
+
771
+ # The unencrypted `callback_method` name that was running when the error was
772
+ # encountered.
773
+ # Corresponds to the JSON property `deploymentFunction`
774
+ # @return [String]
775
+ attr_accessor :deployment_function
776
+
777
+ # The `Status` type defines a logical error model that is suitable for different
778
+ # programming environments, including REST APIs and RPC APIs. It is used by [
779
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
780
+ # data: error code, error message, and error details. You can find out more
781
+ # about this error model and how to work with it in the [API Design Guide](https:
782
+ # //cloud.google.com/apis/design/errors).
783
+ # Corresponds to the JSON property `error`
784
+ # @return [Google::Apis::ChatV1::Status]
785
+ attr_accessor :error
786
+
787
+ def initialize(**args)
788
+ update!(**args)
789
+ end
790
+
791
+ # Update properties of this object
792
+ def update!(**args)
793
+ @deployment = args[:deployment] if args.key?(:deployment)
794
+ @deployment_function = args[:deployment_function] if args.key?(:deployment_function)
795
+ @error = args[:error] if args.key?(:error)
796
+ end
797
+ end
798
+
759
799
  # A generic empty message that you can re-use to avoid defining duplicated empty
760
800
  # messages in your APIs. A typical example is to use it as the request or the
761
801
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2333,8 +2373,8 @@ module Google
2333
2373
  class Membership
2334
2374
  include Google::Apis::Core::Hashable
2335
2375
 
2336
- # The creation time of the membership a.k.a. the time at which the member joined
2337
- # the space, if applicable.
2376
+ # Output only. The creation time of the membership a.k.a. the time at which the
2377
+ # member joined the space, if applicable.
2338
2378
  # Corresponds to the JSON property `createTime`
2339
2379
  # @return [String]
2340
2380
  attr_accessor :create_time
@@ -2349,7 +2389,8 @@ module Google
2349
2389
  # @return [String]
2350
2390
  attr_accessor :name
2351
2391
 
2352
- # State of the membership.
2392
+ # State of the membership. Required for `CreateMembership`. Read-only for other
2393
+ # usage.
2353
2394
  # Corresponds to the JSON property `state`
2354
2395
  # @return [String]
2355
2396
  attr_accessor :state
@@ -2416,8 +2457,8 @@ module Google
2416
2457
  # @return [String]
2417
2458
  attr_accessor :last_update_time
2418
2459
 
2419
- # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/
2420
- # messages/UMxbHmzDlr4.UMxbHmzDlr4`
2460
+ # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
2461
+ # messages/BBBBBBBBBBB.BBBBBBBBBBB`
2421
2462
  # Corresponds to the JSON property `name`
2422
2463
  # @return [String]
2423
2464
  attr_accessor :name
@@ -2619,8 +2660,8 @@ module Google
2619
2660
  class Space
2620
2661
  include Google::Apis::Core::Hashable
2621
2662
 
2622
- # The display name (only if the space is of type `ROOM`). Please note that this
2623
- # field might not be populated in direct messages between humans.
2663
+ # The space's display name. For direct messages between humans, this field might
2664
+ # be empty.
2624
2665
  # Corresponds to the JSON property `displayName`
2625
2666
  # @return [String]
2626
2667
  attr_accessor :display_name
@@ -2631,20 +2672,19 @@ module Google
2631
2672
  # @return [String]
2632
2673
  attr_accessor :name
2633
2674
 
2634
- # Whether the space is a DM between a bot and a single human.
2675
+ # Output only. Whether the space is a DM between a bot and a single human.
2635
2676
  # Corresponds to the JSON property `singleUserBotDm`
2636
2677
  # @return [Boolean]
2637
2678
  attr_accessor :single_user_bot_dm
2638
2679
  alias_method :single_user_bot_dm?, :single_user_bot_dm
2639
2680
 
2640
- # Whether the messages are threaded in this space.
2681
+ # Output only. Whether the messages are threaded in this space.
2641
2682
  # Corresponds to the JSON property `threaded`
2642
2683
  # @return [Boolean]
2643
2684
  attr_accessor :threaded
2644
2685
  alias_method :threaded?, :threaded
2645
2686
 
2646
- # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm`
2647
- # instead.
2687
+ # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
2648
2688
  # Corresponds to the JSON property `type`
2649
2689
  # @return [String]
2650
2690
  attr_accessor :type
@@ -2663,6 +2703,45 @@ module Google
2663
2703
  end
2664
2704
  end
2665
2705
 
2706
+ # The `Status` type defines a logical error model that is suitable for different
2707
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2708
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2709
+ # data: error code, error message, and error details. You can find out more
2710
+ # about this error model and how to work with it in the [API Design Guide](https:
2711
+ # //cloud.google.com/apis/design/errors).
2712
+ class Status
2713
+ include Google::Apis::Core::Hashable
2714
+
2715
+ # The status code, which should be an enum value of google.rpc.Code.
2716
+ # Corresponds to the JSON property `code`
2717
+ # @return [Fixnum]
2718
+ attr_accessor :code
2719
+
2720
+ # A list of messages that carry the error details. There is a common set of
2721
+ # message types for APIs to use.
2722
+ # Corresponds to the JSON property `details`
2723
+ # @return [Array<Hash<String,Object>>]
2724
+ attr_accessor :details
2725
+
2726
+ # A developer-facing error message, which should be in English. Any user-facing
2727
+ # error message should be localized and sent in the google.rpc.Status.details
2728
+ # field, or localized by the client.
2729
+ # Corresponds to the JSON property `message`
2730
+ # @return [String]
2731
+ attr_accessor :message
2732
+
2733
+ def initialize(**args)
2734
+ update!(**args)
2735
+ end
2736
+
2737
+ # Update properties of this object
2738
+ def update!(**args)
2739
+ @code = args[:code] if args.key?(:code)
2740
+ @details = args[:details] if args.key?(:details)
2741
+ @message = args[:message] if args.key?(:message)
2742
+ end
2743
+ end
2744
+
2666
2745
  # Input parameter for regular widgets. For single-valued widgets, it will be a
2667
2746
  # single value list; for multi-valued widgets, such as checkbox, all the values
2668
2747
  # are presented.
@@ -2732,8 +2811,8 @@ module Google
2732
2811
  class Thread
2733
2812
  include Google::Apis::Core::Hashable
2734
2813
 
2735
- # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAMpdlehY/
2736
- # threads/UMxbHmzDlr4
2814
+ # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAAAAAAAA/
2815
+ # threads/TTTTTTTTTTT
2737
2816
  # Corresponds to the JSON property `name`
2738
2817
  # @return [String]
2739
2818
  attr_accessor :name
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211106"
25
+ REVISION = "20211125"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class DynamiteIntegrationLogEntry
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class Empty
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -406,6 +412,12 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
415
+ class Status
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class StringInputs
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -653,6 +665,16 @@ module Google
653
665
  end
654
666
  end
655
667
 
668
+ class DynamiteIntegrationLogEntry
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :deployment, as: 'deployment'
672
+ property :deployment_function, as: 'deploymentFunction'
673
+ property :error, as: 'error', class: Google::Apis::ChatV1::Status, decorator: Google::Apis::ChatV1::Status::Representation
674
+
675
+ end
676
+ end
677
+
656
678
  class Empty
657
679
  # @private
658
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1180,6 +1202,15 @@ module Google
1180
1202
  end
1181
1203
  end
1182
1204
 
1205
+ class Status
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ property :code, as: 'code'
1209
+ collection :details, as: 'details'
1210
+ property :message, as: 'message'
1211
+ end
1212
+ end
1213
+
1183
1214
  class StringInputs
1184
1215
  # @private
1185
1216
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -55,7 +55,7 @@ module Google
55
55
  # response.
56
56
  # @param [String] parent
57
57
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
58
- # AAAAMpdlehY
58
+ # AAAAAAAAAAA
59
59
  # @param [Google::Apis::ChatV1::Message] message_object
60
60
  # @param [String] request_id
61
61
  # Optional. A unique request ID for this message. If a message has already been
@@ -104,7 +104,7 @@ module Google
104
104
  # response.
105
105
  # @param [String] parent
106
106
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
107
- # AAAAMpdlehY
107
+ # AAAAAAAAAAA
108
108
  # @param [Google::Apis::ChatV1::Message] message_object
109
109
  # @param [String] request_id
110
110
  # Optional. A unique request ID for this message. If a message has already been
@@ -153,7 +153,7 @@ module Google
153
153
  # response.
154
154
  # @param [String] parent
155
155
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
156
- # AAAAMpdlehY
156
+ # AAAAAAAAAAA
157
157
  # @param [Google::Apis::ChatV1::Message] message_object
158
158
  # @param [String] request_id
159
159
  # Optional. A unique request ID for this message. If a message has already been
@@ -240,7 +240,7 @@ module Google
240
240
  # response.
241
241
  # @param [String] parent
242
242
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
243
- # AAAAMpdlehY
243
+ # AAAAAAAAAAA
244
244
  # @param [Google::Apis::ChatV1::Message] message_object
245
245
  # @param [String] request_id
246
246
  # Optional. A unique request ID for this message. If a message has already been
@@ -289,7 +289,7 @@ module Google
289
289
  # response.
290
290
  # @param [String] parent
291
291
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
292
- # AAAAMpdlehY
292
+ # AAAAAAAAAAA
293
293
  # @param [Google::Apis::ChatV1::Message] message_object
294
294
  # @param [String] request_id
295
295
  # Optional. A unique request ID for this message. If a message has already been
@@ -338,7 +338,7 @@ module Google
338
338
  # response.
339
339
  # @param [String] parent
340
340
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
341
- # AAAAMpdlehY
341
+ # AAAAAAAAAAA
342
342
  # @param [Google::Apis::ChatV1::Message] message_object
343
343
  # @param [String] request_id
344
344
  # Optional. A unique request ID for this message. If a message has already been
@@ -452,7 +452,7 @@ module Google
452
452
  # response.
453
453
  # @param [String] parent
454
454
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
455
- # AAAAMpdlehY
455
+ # AAAAAAAAAAA
456
456
  # @param [Google::Apis::ChatV1::Message] message_object
457
457
  # @param [String] request_id
458
458
  # Optional. A unique request ID for this message. If a message has already been
@@ -569,7 +569,7 @@ module Google
569
569
  # Creates a message.
570
570
  # @param [String] parent
571
571
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
572
- # AAAAMpdlehY
572
+ # AAAAAAAAAAA
573
573
  # @param [Google::Apis::ChatV1::Message] message_object
574
574
  # @param [String] request_id
575
575
  # Optional. A unique request ID for this message. If a message has already been
@@ -617,7 +617,7 @@ module Google
617
617
  # Deletes a message.
618
618
  # @param [String] name
619
619
  # Required. Resource name of the message to be deleted, in the form "spaces/*/
620
- # messages/*" Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
620
+ # messages/*" Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
621
621
  # @param [String] fields
622
622
  # Selector specifying which fields to include in a partial response.
623
623
  # @param [String] quota_user
@@ -648,7 +648,7 @@ module Google
648
648
  # Returns a message.
649
649
  # @param [String] name
650
650
  # Required. Resource name of the message to be retrieved, in the form "spaces/*/
651
- # messages/*". Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
651
+ # messages/*". Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
652
652
  # @param [String] fields
653
653
  # Selector specifying which fields to include in a partial response.
654
654
  # @param [String] quota_user
@@ -678,8 +678,8 @@ module Google
678
678
 
679
679
  # Updates a message.
680
680
  # @param [String] name
681
- # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/
682
- # messages/UMxbHmzDlr4.UMxbHmzDlr4`
681
+ # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
682
+ # messages/BBBBBBBBBBB.BBBBBBBBBBB`
683
683
  # @param [Google::Apis::ChatV1::Message] message_object
684
684
  # @param [String] update_mask
685
685
  # Required. The field paths to be updated, comma separated if there are multiple.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2021-12-06 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.19.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: []