google-apis-chat_v1 0.103.0 → 0.104.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: 9299c746df7364f6dac6b8ce99ca758b252e9dbd8cd5cdebc137ccd53183df52
4
- data.tar.gz: f60c2cc0f9cd13a95ccc5986a5da0761e04ca979097646744f45193ce6858bc0
3
+ metadata.gz: 7c32fbb1213395c7e5d02011232b69a89654ad7fd4ee4681c959253941e7af5e
4
+ data.tar.gz: ec42208317a3ebc6fcb74fe1a0615e35a95370e1a6a7848ee118b7f9367557ee
5
5
  SHA512:
6
- metadata.gz: 293d49333586d6f87b88475c0cd53d31c7d10cce7aa3d5ee0696e7b09de350956c9bd591716b3e37e9ade78cc883b1afc8dffc1ef435f1ff117ab24c8390ee42
7
- data.tar.gz: 9da5a760b2ecabde3cc6c24b2e0080b4e5698007a45fc6b0a4a30435ad4b534388a18ced701b7542c4a92bd0a464ae060326fa7bb18092c1651f47d9dc8d3f41
6
+ metadata.gz: a97cc23c2e05e2c7feb42ac82b5f8b76ca2386dd70accca18df0d40275ffe6178a66c1447255760ba1d2614a95f44663eda01acbd1105304cce61276f88b7074
7
+ data.tar.gz: b8d99914b7b9155c8b9fe4456c47d4d32cb1e404b9292a8114374376c881ca460459bb86ba7d5d6c1d63e24f76eaf70969f3f4d415a73aa0fc5c8a03354a2614
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.104.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240908
6
+
3
7
  ### v0.103.0 (2024-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20240825
@@ -590,6 +590,39 @@ module Google
590
590
  end
591
591
  end
592
592
 
593
+ # Data for Chat space links.
594
+ class ChatSpaceLinkData
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # The message of the linked Chat space resource. Format: `spaces/`space`/
598
+ # messages/`message``
599
+ # Corresponds to the JSON property `message`
600
+ # @return [String]
601
+ attr_accessor :message
602
+
603
+ # The space of the linked Chat space resource. Format: `spaces/`space``
604
+ # Corresponds to the JSON property `space`
605
+ # @return [String]
606
+ attr_accessor :space
607
+
608
+ # The thread of the linked Chat space resource. Format: `spaces/`space`/threads/`
609
+ # thread``
610
+ # Corresponds to the JSON property `thread`
611
+ # @return [String]
612
+ attr_accessor :thread
613
+
614
+ def initialize(**args)
615
+ update!(**args)
616
+ end
617
+
618
+ # Update properties of this object
619
+ def update!(**args)
620
+ @message = args[:message] if args.key?(:message)
621
+ @space = args[:space] if args.key?(:space)
622
+ @thread = args[:thread] if args.key?(:thread)
623
+ end
624
+ end
625
+
593
626
  # Represents a color in the RGBA color space. This representation is designed
594
627
  # for simplicity of conversion to and from color representations in various
595
628
  # languages over compactness. For example, the fields of this representation can
@@ -4375,6 +4408,11 @@ module Google
4375
4408
  class RichLinkMetadata
4376
4409
  include Google::Apis::Core::Hashable
4377
4410
 
4411
+ # Data for Chat space links.
4412
+ # Corresponds to the JSON property `chatSpaceLinkData`
4413
+ # @return [Google::Apis::ChatV1::ChatSpaceLinkData]
4414
+ attr_accessor :chat_space_link_data
4415
+
4378
4416
  # Data for Google Drive links.
4379
4417
  # Corresponds to the JSON property `driveLinkData`
4380
4418
  # @return [Google::Apis::ChatV1::DriveLinkData]
@@ -4396,6 +4434,7 @@ module Google
4396
4434
 
4397
4435
  # Update properties of this object
4398
4436
  def update!(**args)
4437
+ @chat_space_link_data = args[:chat_space_link_data] if args.key?(:chat_space_link_data)
4399
4438
  @drive_link_data = args[:drive_link_data] if args.key?(:drive_link_data)
4400
4439
  @rich_link_type = args[:rich_link_type] if args.key?(:rich_link_type)
4401
4440
  @uri = args[:uri] if args.key?(:uri)
@@ -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.103.0"
19
+ GEM_VERSION = "0.104.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240825"
25
+ REVISION = "20240908"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ChatSpaceLinkData
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Color
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -967,6 +973,15 @@ module Google
967
973
  end
968
974
  end
969
975
 
976
+ class ChatSpaceLinkData
977
+ # @private
978
+ class Representation < Google::Apis::Core::JsonRepresentation
979
+ property :message, as: 'message'
980
+ property :space, as: 'space'
981
+ property :thread, as: 'thread'
982
+ end
983
+ end
984
+
970
985
  class Color
971
986
  # @private
972
987
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1901,6 +1916,8 @@ module Google
1901
1916
  class RichLinkMetadata
1902
1917
  # @private
1903
1918
  class Representation < Google::Apis::Core::JsonRepresentation
1919
+ property :chat_space_link_data, as: 'chatSpaceLinkData', class: Google::Apis::ChatV1::ChatSpaceLinkData, decorator: Google::Apis::ChatV1::ChatSpaceLinkData::Representation
1920
+
1904
1921
  property :drive_link_data, as: 'driveLinkData', class: Google::Apis::ChatV1::DriveLinkData, decorator: Google::Apis::ChatV1::DriveLinkData::Representation
1905
1922
 
1906
1923
  property :rich_link_type, as: 'richLinkType'
@@ -45,6 +45,18 @@ module Google
45
45
  # View display name, description, and other metadata for all Google Chat conversations owned by your organization
46
46
  AUTH_CHAT_ADMIN_SPACES_READONLY = 'https://www.googleapis.com/auth/chat.admin.spaces.readonly'
47
47
 
48
+ # On their own behalf, apps in Google Chat can delete conversations and spaces and remove access to associated files
49
+ AUTH_CHAT_APP_DELETE = 'https://www.googleapis.com/auth/chat.app.delete'
50
+
51
+ # On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces
52
+ AUTH_CHAT_APP_MEMBERSHIPS = 'https://www.googleapis.com/auth/chat.app.memberships'
53
+
54
+ # On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)
55
+ AUTH_CHAT_APP_SPACES = 'https://www.googleapis.com/auth/chat.app.spaces'
56
+
57
+ # On their own behalf, apps in Google Chat can create conversations and spaces
58
+ AUTH_CHAT_APP_SPACES_CREATE = 'https://www.googleapis.com/auth/chat.app.spaces.create'
59
+
48
60
  # Private Service: https://www.googleapis.com/auth/chat.bot
49
61
  AUTH_CHAT_BOT = 'https://www.googleapis.com/auth/chat.bot'
50
62
 
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.103.0
4
+ version: 0.104.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: 2024-09-01 00:00:00.000000000 Z
11
+ date: 2024-09-15 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.103.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.104.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: []