google-apis-chat_v1 0.52.0 → 0.54.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: 3714de06f7773230e1276d95b2f3b9178839f76f9699b51d21b167a8746c652e
4
- data.tar.gz: '0091eb9417f31be71f25ebc0f8cf7b26f0ac8a3779d4d1c520c52a8d37c68a45'
3
+ metadata.gz: 750cd6fe8814da3e221420eb575777442ead854ae65e32ed617e87870b3d04a6
4
+ data.tar.gz: fd9c14a165ba7a633cd5d691b48ee890306a3f5dbe433738a794fffcef04f374
5
5
  SHA512:
6
- metadata.gz: 18b6594c979c43267ce4a47ce6ca9264e9e1149c1f8d9a341a133b665a864a340de23d7fc06cb743dadb2c278a180ebedd4201d8e7a54f388f111f55c47931a2
7
- data.tar.gz: d80d0e05c3bae4a160fccc1d1f685eba502fda6beb4d8b9ca6580be1f205a268b0ee2ba713b5129973093d1ca95c3a3e7005d321c3f7b818010e0a9a4e7a73e8
6
+ metadata.gz: 912ea2e46d55f8ccda8e98714939cb2e3c8a98367c4279506ac623d91d10dce736b1fa98511d9eef7fa1095049b52a718e326e034a1181224edb8ac6464313df
7
+ data.tar.gz: 2f2f9a07d0b527cfa124b7847f7c1fcdaef6a511e0d413b1a6d7fc037d9cc30e58ab9ec86874b5f4ee33364145796e54473930e64bd52bdf0e17abf5060d89a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.53.0 (2023-02-12)
9
+
10
+ * Regenerated from discovery document revision 20230205
11
+
3
12
  ### v0.52.0 (2023-02-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20230131
@@ -693,9 +693,9 @@ module Google
693
693
  attr_accessor :common
694
694
 
695
695
  # The URL the Chat app should redirect the user to after they have completed an
696
- # authorization or configuration flow outside of Google Chat. See the [
697
- # Authorizing access to 3p services guide](/chat/how-tos/auth-3p) for more
698
- # information.
696
+ # authorization or configuration flow outside of Google Chat. For more
697
+ # information, see [Connect a Chat app with other services & tools](https://
698
+ # developers.google.com/chat/how-tos/connect-web-services-tools).
699
699
  # Corresponds to the JSON property `configCompleteRedirectUrl`
700
700
  # @return [String]
701
701
  attr_accessor :config_complete_redirect_url
@@ -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]
@@ -2695,7 +2693,8 @@ module Google
2695
2693
  # @return [Google::Apis::ChatV1::User]
2696
2694
  attr_accessor :member
2697
2695
 
2698
- # Resource name of the membership. Format: spaces/`space`/members/`member`
2696
+ # Resource name of the membership, assigned by the server. Format: spaces/`space`
2697
+ # /members/`member`
2699
2698
  # Corresponds to the JSON property `name`
2700
2699
  # @return [String]
2701
2700
  attr_accessor :name
@@ -3013,9 +3012,19 @@ module Google
3013
3012
  class Space
3014
3013
  include Google::Apis::Core::Hashable
3015
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
+
3016
3025
  # The space's display name. Required when [creating a space](https://developers.
3017
3026
  # google.com/chat/api/reference/rest/v1/spaces/create). For direct messages,
3018
- # this field may be empty.
3027
+ # this field may be empty. Supports up to 128 characters.
3019
3028
  # Corresponds to the JSON property `displayName`
3020
3029
  # @return [String]
3021
3030
  attr_accessor :display_name
@@ -3060,6 +3069,7 @@ module Google
3060
3069
 
3061
3070
  # Update properties of this object
3062
3071
  def update!(**args)
3072
+ @admin_installed = args[:admin_installed] if args.key?(:admin_installed)
3063
3073
  @display_name = args[:display_name] if args.key?(:display_name)
3064
3074
  @name = args[:name] if args.key?(:name)
3065
3075
  @single_user_bot_dm = args[:single_user_bot_dm] if args.key?(:single_user_bot_dm)
@@ -3075,12 +3085,13 @@ module Google
3075
3085
  include Google::Apis::Core::Hashable
3076
3086
 
3077
3087
  # Optional. A description of the space. It could describe the space's discussion
3078
- # topic, functional purpose, or participants.
3088
+ # topic, functional purpose, or participants. Supports up to 150 characters.
3079
3089
  # Corresponds to the JSON property `description`
3080
3090
  # @return [String]
3081
3091
  attr_accessor :description
3082
3092
 
3083
- # Optional. The space's rules, expectations, and etiquette.
3093
+ # Optional. The space's rules, expectations, and etiquette. Supports up to 5,000
3094
+ # characters.
3084
3095
  # Corresponds to the JSON property `guidelines`
3085
3096
  # @return [String]
3086
3097
  attr_accessor :guidelines
@@ -3302,8 +3313,14 @@ module Google
3302
3313
  attr_accessor :is_anonymous
3303
3314
  alias_method :is_anonymous?, :is_anonymous
3304
3315
 
3305
- # Resource name for a Google Chat user. For human users, represents a person in
3306
- # the People API or a user in the Admin SDK Directory API. Format: `users/`user``
3316
+ # Resource name for a Google Chat user. Format: `users/`user``. `users/app` can
3317
+ # be used as an alias for the calling app bot user. For human users, ``user`` is
3318
+ # the same user identifier as: - the ``person_id`` for the [Person](https://
3319
+ # developers.google.com/people/api/rest/v1/people) in the People API, where the
3320
+ # Person `resource_name` is `people/`person_id``. For example, `users/123456789`
3321
+ # in Chat API represents the same person as `people/123456789` in People API. -
3322
+ # the `id` for a [user](https://developers.google.com/admin-sdk/directory/
3323
+ # reference/rest/v1/users) in the Admin SDK Directory API.
3307
3324
  # Corresponds to the JSON property `name`
3308
3325
  # @return [String]
3309
3326
  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.52.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 = "20230131"
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.52.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-05 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.52.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: []