google-apis-chat_v1 0.25.0 → 0.28.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: a1629a0ba48c528e11ef58f0c3e09f99469f5a5c19786a4d1728800fb318dc4b
4
- data.tar.gz: 5f9c6a14603dae0833a9d5dece6ddbaa1c6b5346c6d2e6ba3f21b384334acec8
3
+ metadata.gz: e6e5d69eafe104ce9937a7db92a3218a81f23f4787a0ab7d0fe90a4952b68125
4
+ data.tar.gz: 30c89bff11f980bd97229ea20e59a0a9a02599821404b98d740ae7b60a5cbe76
5
5
  SHA512:
6
- metadata.gz: 768ed968958e7e50a1b0287cf657925f27dbe94751ddd3f02c86dfe0d8e36f88929368608888d1e6c1bdaad0f5478c64e97423dad32573cf5945d28b3cb3d8d6
7
- data.tar.gz: 0f5283fbe69075a9318cc0eb66b1cd3af4e48ac55e8a07d9c3e4d1e2dc2b4318e93e7672b0efa7f394df997bc23ad1352133766e22142aa1ef99e725803b8172
6
+ metadata.gz: 74f8bb269db19b136ef6084e1e4408bedde775575da5f7e947738f4955271ddabe2adbb0d8bf9bbd4f6675660d8a78178ef248ff218f68a82bfdd4cec69a67aa
7
+ data.tar.gz: c01acbae399bcaa234f7eef5b5202da26f3ca44aff11dd4c042e3cb9e865e837db67d77ced1fb4178c5dfb9208a7ab90cb30294680bf8a7b8df5ad5f7c035dbd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.28.0 (2022-03-25)
4
+
5
+ * Regenerated from discovery document revision 20220319
6
+
7
+ ### v0.27.0 (2022-03-09)
8
+
9
+ * Regenerated from discovery document revision 20220308
10
+
11
+ ### v0.26.0 (2022-03-04)
12
+
13
+ * Regenerated from discovery document revision 20220302
14
+
3
15
  ### v0.25.0 (2022-02-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220216
@@ -508,8 +508,8 @@ module Google
508
508
  # @return [Google::Apis::ChatV1::TimeZone]
509
509
  attr_accessor :time_zone
510
510
 
511
- # The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166
512
- # country/region code] such as "en-US". Not supported by Chat apps.
511
+ # The full `locale.displayName` in the format of [ISO 639 language code]-[ISO
512
+ # 3166 country/region code] such as "en-US". Not supported by Chat apps.
513
513
  # Corresponds to the JSON property `userLocale`
514
514
  # @return [String]
515
515
  attr_accessor :user_locale
@@ -690,20 +690,20 @@ module Google
690
690
  # For more information, see Cards . For example, the following JSON creates a
691
691
  # card that has a header with the name, position, icons, and link for a contact,
692
692
  # followed by a section with contact information like email and phone number. ```
693
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
694
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
695
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
696
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
697
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
698
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
699
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
700
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
701
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
702
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
703
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
704
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
705
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
706
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
693
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
694
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
695
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
696
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
697
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
698
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
699
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
700
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
701
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
702
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
703
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
704
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
705
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
706
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
707
707
  # Corresponds to the JSON property `body`
708
708
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
709
709
  attr_accessor :body
@@ -806,8 +806,7 @@ module Google
806
806
  # A generic empty message that you can re-use to avoid defining duplicated empty
807
807
  # messages in your APIs. A typical example is to use it as the request or the
808
808
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
809
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
810
- # `Empty` is empty JSON object ````.
809
+ # protobuf.Empty) returns (google.protobuf.Empty); `
811
810
  class Empty
812
811
  include Google::Apis::Core::Hashable
813
812
 
@@ -1122,20 +1121,20 @@ module Google
1122
1121
  # For more information, see Cards . For example, the following JSON creates a
1123
1122
  # card that has a header with the name, position, icons, and link for a contact,
1124
1123
  # followed by a section with contact information like email and phone number. ```
1125
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
1126
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
1127
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
1128
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
1129
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
1130
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
1131
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
1132
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
1133
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
1134
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
1135
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
1136
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
1137
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
1138
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1124
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
1125
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
1126
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
1127
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
1128
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
1129
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
1130
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
1131
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
1132
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
1133
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
1134
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
1135
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
1136
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
1137
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1139
1138
  class GoogleAppsCardV1Card
1140
1139
  include Google::Apis::Core::Hashable
1141
1140
 
@@ -1682,20 +1681,20 @@ module Google
1682
1681
  # For more information, see Cards . For example, the following JSON creates a
1683
1682
  # card that has a header with the name, position, icons, and link for a contact,
1684
1683
  # followed by a section with contact information like email and phone number. ```
1685
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
1686
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
1687
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
1688
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
1689
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
1690
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
1691
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
1692
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
1693
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
1694
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
1695
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
1696
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
1697
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
1698
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1684
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
1685
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
1686
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
1687
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
1688
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
1689
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
1690
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
1691
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
1692
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
1693
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
1694
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
1695
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
1696
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
1697
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1699
1698
  # Corresponds to the JSON property `card`
1700
1699
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
1701
1700
  attr_accessor :card
@@ -2700,7 +2699,7 @@ module Google
2700
2699
  # @return [String]
2701
2700
  attr_accessor :display_name
2702
2701
 
2703
- # Resource name of the space, in the form "spaces/*". Example: spaces/
2702
+ # Optional. Resource name of the space, in the form "spaces/*". Example: spaces/
2704
2703
  # AAAAAAAAAAAA
2705
2704
  # Corresponds to the JSON property `name`
2706
2705
  # @return [String]
@@ -2928,15 +2927,16 @@ module Google
2928
2927
  # @return [String]
2929
2928
  attr_accessor :domain_id
2930
2929
 
2931
- # True when the user is deleted or the user's profile is not visible.
2930
+ # When `true`, the user is deleted or their profile is not visible.
2932
2931
  # Corresponds to the JSON property `isAnonymous`
2933
2932
  # @return [Boolean]
2934
2933
  attr_accessor :is_anonymous
2935
2934
  alias_method :is_anonymous?, :is_anonymous
2936
2935
 
2937
- # Resource name for a Google Chat user. Formatted as `users/`user``. Represents
2938
- # a [person](https://developers.google.com/people/api/rest/v1/people#Person) in
2939
- # the People API.
2936
+ # Resource name for a Google Chat user. Represents a [person](https://developers.
2937
+ # google.com/people/api/rest/v1/people#Person) in the People API or a [user](
2938
+ # https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in
2939
+ # the Admin SDK Directory API. Formatted as: `users/`user``
2940
2940
  # Corresponds to the JSON property `name`
2941
2941
  # @return [String]
2942
2942
  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.25.0"
19
+ GEM_VERSION = "0.28.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 = "20220216"
25
+ REVISION = "20220319"
26
26
  end
27
27
  end
28
28
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module ChatV1
23
23
  # Google Chat API
24
24
  #
25
- # Enables bots to fetch information and perform actions in Google Chat.
25
+ # Enables apps to fetch information and perform actions in Google Chat.
26
26
  # Authentication using a service account is a prerequisite for using the Google
27
27
  # Chat REST API.
28
28
  #
@@ -58,9 +58,8 @@ module Google
58
58
  # AAAAAAAAAAA
59
59
  # @param [Google::Apis::ChatV1::Message] message_object
60
60
  # @param [String] request_id
61
- # Optional. A unique request ID for this message. If a message has already been
62
- # created in the space with this request ID, the subsequent request will return
63
- # the existing message and no new message will be created.
61
+ # Optional. A unique request ID for this message. Specifying an existing request
62
+ # ID returns the message created with that ID instead of creating a new message.
64
63
  # @param [String] thread_key
65
64
  # Optional. Opaque thread identifier string that can be specified to group
66
65
  # messages into a single thread. If this is the first message with a given
@@ -107,9 +106,8 @@ module Google
107
106
  # AAAAAAAAAAA
108
107
  # @param [Google::Apis::ChatV1::Message] message_object
109
108
  # @param [String] request_id
110
- # Optional. A unique request ID for this message. If a message has already been
111
- # created in the space with this request ID, the subsequent request will return
112
- # the existing message and no new message will be created.
109
+ # Optional. A unique request ID for this message. Specifying an existing request
110
+ # ID returns the message created with that ID instead of creating a new message.
113
111
  # @param [String] thread_key
114
112
  # Optional. Opaque thread identifier string that can be specified to group
115
113
  # messages into a single thread. If this is the first message with a given
@@ -156,9 +154,8 @@ module Google
156
154
  # AAAAAAAAAAA
157
155
  # @param [Google::Apis::ChatV1::Message] message_object
158
156
  # @param [String] request_id
159
- # Optional. A unique request ID for this message. If a message has already been
160
- # created in the space with this request ID, the subsequent request will return
161
- # the existing message and no new message will be created.
157
+ # Optional. A unique request ID for this message. Specifying an existing request
158
+ # ID returns the message created with that ID instead of creating a new message.
162
159
  # @param [String] thread_key
163
160
  # Optional. Opaque thread identifier string that can be specified to group
164
161
  # messages into a single thread. If this is the first message with a given
@@ -243,9 +240,8 @@ module Google
243
240
  # AAAAAAAAAAA
244
241
  # @param [Google::Apis::ChatV1::Message] message_object
245
242
  # @param [String] request_id
246
- # Optional. A unique request ID for this message. If a message has already been
247
- # created in the space with this request ID, the subsequent request will return
248
- # the existing message and no new message will be created.
243
+ # Optional. A unique request ID for this message. Specifying an existing request
244
+ # ID returns the message created with that ID instead of creating a new message.
249
245
  # @param [String] thread_key
250
246
  # Optional. Opaque thread identifier string that can be specified to group
251
247
  # messages into a single thread. If this is the first message with a given
@@ -292,9 +288,8 @@ module Google
292
288
  # AAAAAAAAAAA
293
289
  # @param [Google::Apis::ChatV1::Message] message_object
294
290
  # @param [String] request_id
295
- # Optional. A unique request ID for this message. If a message has already been
296
- # created in the space with this request ID, the subsequent request will return
297
- # the existing message and no new message will be created.
291
+ # Optional. A unique request ID for this message. Specifying an existing request
292
+ # ID returns the message created with that ID instead of creating a new message.
298
293
  # @param [String] thread_key
299
294
  # Optional. Opaque thread identifier string that can be specified to group
300
295
  # messages into a single thread. If this is the first message with a given
@@ -341,9 +336,8 @@ module Google
341
336
  # AAAAAAAAAAA
342
337
  # @param [Google::Apis::ChatV1::Message] message_object
343
338
  # @param [String] request_id
344
- # Optional. A unique request ID for this message. If a message has already been
345
- # created in the space with this request ID, the subsequent request will return
346
- # the existing message and no new message will be created.
339
+ # Optional. A unique request ID for this message. Specifying an existing request
340
+ # ID returns the message created with that ID instead of creating a new message.
347
341
  # @param [String] thread_key
348
342
  # Optional. Opaque thread identifier string that can be specified to group
349
343
  # messages into a single thread. If this is the first message with a given
@@ -455,9 +449,8 @@ module Google
455
449
  # AAAAAAAAAAA
456
450
  # @param [Google::Apis::ChatV1::Message] message_object
457
451
  # @param [String] request_id
458
- # Optional. A unique request ID for this message. If a message has already been
459
- # created in the space with this request ID, the subsequent request will return
460
- # the existing message and no new message will be created.
452
+ # Optional. A unique request ID for this message. Specifying an existing request
453
+ # ID returns the message created with that ID instead of creating a new message.
461
454
  # @param [String] thread_key
462
455
  # Optional. Opaque thread identifier string that can be specified to group
463
456
  # messages into a single thread. If this is the first message with a given
@@ -572,9 +565,8 @@ module Google
572
565
  # AAAAAAAAAAA
573
566
  # @param [Google::Apis::ChatV1::Message] message_object
574
567
  # @param [String] request_id
575
- # Optional. A unique request ID for this message. If a message has already been
576
- # created in the space with this request ID, the subsequent request will return
577
- # the existing message and no new message will be created.
568
+ # Optional. A unique request ID for this message. Specifying an existing request
569
+ # ID returns the message created with that ID instead of creating a new message.
578
570
  # @param [String] thread_key
579
571
  # Optional. Opaque thread identifier string that can be specified to group
580
572
  # messages into a single thread. If this is the first message with a given
@@ -717,8 +709,8 @@ module Google
717
709
  # Gets the metadata of a message attachment. The attachment data is fetched
718
710
  # using the media API.
719
711
  # @param [String] name
720
- # Resource name of the attachment, in the form "spaces/*/messages/*/attachments/*
721
- # ".
712
+ # Required. Resource name of the attachment, in the form "spaces/*/messages/*/
713
+ # attachments/*".
722
714
  # @param [String] fields
723
715
  # Selector specifying which fields to include in a partial response.
724
716
  # @param [String] quota_user
@@ -21,7 +21,7 @@ module Google
21
21
  module Apis
22
22
  # Google Chat API
23
23
  #
24
- # Enables bots to fetch information and perform actions in Google Chat.
24
+ # Enables apps to fetch information and perform actions in Google Chat.
25
25
  # Authentication using a service account is a prerequisite for using the Google
26
26
  # Chat REST API.
27
27
  #
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.25.0
4
+ version: 0.28.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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.28.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: []