google-apis-chat_v1 0.53.0 → 0.54.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee6374104804e4583ea1cb59ff35323ac8be8326221022dd0c474037565cc3bf
4
- data.tar.gz: 24041d1a0d2592e226da9fd9b6d7617a061b69de9ec26c29d1d066a90588f85a
3
+ metadata.gz: 750cd6fe8814da3e221420eb575777442ead854ae65e32ed617e87870b3d04a6
4
+ data.tar.gz: fd9c14a165ba7a633cd5d691b48ee890306a3f5dbe433738a794fffcef04f374
5
5
  SHA512:
6
- metadata.gz: e8c88b6ac18a8eb769dde6ab6778be868d41bd1ca867ab322511f29718206b1ff6cd695d255517ef826c361679248ed27be051b0e38ee166d3db82b3d9843469
7
- data.tar.gz: 5ab1e0a41e220868c10ea90020cf970bac58b6cb1c1b2cd5dbbbefa903c097126a003b60b279314350a18595d9f556c227cfd520919ec8af193bac4ac8c1e284
6
+ metadata.gz: 912ea2e46d55f8ccda8e98714939cb2e3c8a98367c4279506ac623d91d10dce736b1fa98511d9eef7fa1095049b52a718e326e034a1181224edb8ac6464313df
7
+ data.tar.gz: 2f2f9a07d0b527cfa124b7847f7c1fcdaef6a511e0d413b1a6d7fc037d9cc30e58ab9ec86874b5f4ee33364145796e54473930e64bd52bdf0e17abf5060d89a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.54.0 (2023-02-19)
4
+
5
+ * Regenerated from discovery document revision 20230216
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.53.0 (2023-02-12)
4
9
 
5
10
  * Regenerated from discovery document revision 20230205
@@ -1485,8 +1485,7 @@ module Google
1485
1485
  class GoogleAppsCardV1DecoratedText
1486
1486
  include Google::Apis::Core::Hashable
1487
1487
 
1488
- # The text that appears below `text`. Always truncates. Supports simple
1489
- # formatting. See Text formatting for formatting details.
1488
+ # The text that appears below `text`. Always truncates.
1490
1489
  # Corresponds to the JSON property `bottomLabel`
1491
1490
  # @return [String]
1492
1491
  attr_accessor :bottom_label
@@ -1546,8 +1545,7 @@ module Google
1546
1545
  # @return [String]
1547
1546
  attr_accessor :text
1548
1547
 
1549
- # The text that appears above `text`. Always truncates. Supports simple
1550
- # formatting. See Text formatting for formatting details.
1548
+ # The text that appears above `text`. Always truncates.
1551
1549
  # Corresponds to the JSON property `topLabel`
1552
1550
  # @return [String]
1553
1551
  attr_accessor :top_label
@@ -1580,7 +1578,7 @@ module Google
1580
1578
  end
1581
1579
 
1582
1580
  # Displays a divider between widgets, a horizontal line. For example, the
1583
- # following JSON creates a divider: ``` "divider": ` ` ```
1581
+ # following JSON creates a divider: ``` "divider": `` ```
1584
1582
  class GoogleAppsCardV1Divider
1585
1583
  include Google::Apis::Core::Hashable
1586
1584
 
@@ -1600,11 +1598,11 @@ module Google
1600
1598
  # google.com/chat/how-tos/dialogs). Support for [card messages](https://
1601
1599
  # developers.google.com/chat/api/guides/message-formats/cards) is coming soon.
1602
1600
  # For example, the following JSON creates a 2 column grid with a single item: ```
1603
- # "grid": ` "title": "A fine collection of items", "numColumns": 2, "
1604
- # borderStyle": ` "type": "STROKE", "cornerRadius": 4.0 `, "items": [ "image": `
1601
+ # "grid": ` "title": "A fine collection of items", "columnCount": 2, "
1602
+ # borderStyle": ` "type": "STROKE", "cornerRadius": 4 `, "items": [ ` "image": `
1605
1603
  # "imageUri": "https://www.example.com/image.png", "cropStyle": ` "type": "
1606
1604
  # SQUARE" `, "borderStyle": ` "type": "STROKE" ` `, "title": "An item", "
1607
- # textAlignment": "CENTER" ], "onClick": ` "openLink": ` "url":"https://www.
1605
+ # textAlignment": "CENTER" ` ], "onClick": ` "openLink": ` "url": "https://www.
1608
1606
  # example.com" ` ` ` ```
1609
1607
  class GoogleAppsCardV1Grid
1610
1608
  include Google::Apis::Core::Hashable
@@ -2333,7 +2331,7 @@ module Google
2333
2331
  attr_accessor :decorated_text
2334
2332
 
2335
2333
  # Displays a divider between widgets, a horizontal line. For example, the
2336
- # following JSON creates a divider: ``` "divider": ` ` ```
2334
+ # following JSON creates a divider: ``` "divider": `` ```
2337
2335
  # Corresponds to the JSON property `divider`
2338
2336
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Divider]
2339
2337
  attr_accessor :divider
@@ -2345,11 +2343,11 @@ module Google
2345
2343
  # google.com/chat/how-tos/dialogs). Support for [card messages](https://
2346
2344
  # developers.google.com/chat/api/guides/message-formats/cards) is coming soon.
2347
2345
  # For example, the following JSON creates a 2 column grid with a single item: ```
2348
- # "grid": ` "title": "A fine collection of items", "numColumns": 2, "
2349
- # borderStyle": ` "type": "STROKE", "cornerRadius": 4.0 `, "items": [ "image": `
2346
+ # "grid": ` "title": "A fine collection of items", "columnCount": 2, "
2347
+ # borderStyle": ` "type": "STROKE", "cornerRadius": 4 `, "items": [ ` "image": `
2350
2348
  # "imageUri": "https://www.example.com/image.png", "cropStyle": ` "type": "
2351
2349
  # SQUARE" `, "borderStyle": ` "type": "STROKE" ` `, "title": "An item", "
2352
- # textAlignment": "CENTER" ], "onClick": ` "openLink": ` "url":"https://www.
2350
+ # textAlignment": "CENTER" ` ], "onClick": ` "openLink": ` "url": "https://www.
2353
2351
  # example.com" ` ` ` ```
2354
2352
  # Corresponds to the JSON property `grid`
2355
2353
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Grid]
@@ -3014,6 +3012,16 @@ module Google
3014
3012
  class Space
3015
3013
  include Google::Apis::Core::Hashable
3016
3014
 
3015
+ # Output only. Whether the Chat app was installed by a Google Workspace
3016
+ # administrator. Administrators can install a Chat app for their domain,
3017
+ # organizational unit, or a group of users. Administrators can only install Chat
3018
+ # apps for direct messaging between users and the app. To support admin install,
3019
+ # your app must feature direct messaging.
3020
+ # Corresponds to the JSON property `adminInstalled`
3021
+ # @return [Boolean]
3022
+ attr_accessor :admin_installed
3023
+ alias_method :admin_installed?, :admin_installed
3024
+
3017
3025
  # The space's display name. Required when [creating a space](https://developers.
3018
3026
  # google.com/chat/api/reference/rest/v1/spaces/create). For direct messages,
3019
3027
  # this field may be empty. Supports up to 128 characters.
@@ -3061,6 +3069,7 @@ module Google
3061
3069
 
3062
3070
  # Update properties of this object
3063
3071
  def update!(**args)
3072
+ @admin_installed = args[:admin_installed] if args.key?(:admin_installed)
3064
3073
  @display_name = args[:display_name] if args.key?(:display_name)
3065
3074
  @name = args[:name] if args.key?(:name)
3066
3075
  @single_user_bot_dm = args[:single_user_bot_dm] if args.key?(:single_user_bot_dm)
@@ -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.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230205"
25
+ REVISION = "20230216"
26
26
  end
27
27
  end
28
28
  end
@@ -1233,6 +1233,7 @@ module Google
1233
1233
  class Space
1234
1234
  # @private
1235
1235
  class Representation < Google::Apis::Core::JsonRepresentation
1236
+ property :admin_installed, as: 'adminInstalled'
1236
1237
  property :display_name, as: 'displayName'
1237
1238
  property :name, as: 'name'
1238
1239
  property :single_user_bot_dm, as: 'singleUserBotDm'
@@ -30,6 +30,9 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
+ # Private Service: https://www.googleapis.com/auth/chat.bot
34
+ AUTH_CHAT_BOT = 'https://www.googleapis.com/auth/chat.bot'
35
+
33
36
  # View, add, and remove members from conversations in Google Chat
34
37
  AUTH_CHAT_MEMBERSHIPS = 'https://www.googleapis.com/auth/chat.memberships'
35
38
 
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.53.0
4
+ version: 0.54.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: 2023-02-12 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.54.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: []