google-apps-chat-v1 0.28.0 → 0.30.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 +4 -4
- data/README.md +0 -1
- data/lib/google/apps/chat/v1/chat_service/client.rb +485 -51
- data/lib/google/apps/chat/v1/chat_service/credentials.rb +6 -1
- data/lib/google/apps/chat/v1/chat_service/paths.rb +18 -1
- data/lib/google/apps/chat/v1/chat_service/rest/client.rb +464 -51
- data/lib/google/apps/chat/v1/chat_service/rest/service_stub.rb +185 -1
- data/lib/google/apps/chat/v1/chat_service/rest.rb +1 -1
- data/lib/google/apps/chat/v1/chat_service.rb +1 -1
- data/lib/google/apps/chat/v1/rest.rb +1 -1
- data/lib/google/apps/chat/v1/version.rb +1 -1
- data/lib/google/apps/chat/v1.rb +1 -1
- data/lib/google/chat/v1/app_command_metadata_pb.rb +22 -0
- data/lib/google/chat/v1/chat_service_pb.rb +2 -1
- data/lib/google/chat/v1/chat_service_services_pb.rb +53 -8
- data/lib/google/chat/v1/markup_syntax_pb.rb +21 -0
- data/lib/google/chat/v1/message_pb.rb +2 -1
- data/lib/google/chat/v1/message_pin_pb.rb +28 -0
- data/lib/google/chat/v1/space_pb.rb +2 -1
- data/lib/google-apps-chat-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/field_info.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/apps/card/v1/card.rb +2 -2
- data/proto_docs/google/chat/v1/action_status.rb +1 -1
- data/proto_docs/google/chat/v1/annotation.rb +6 -6
- data/proto_docs/google/chat/v1/app_command_metadata.rb +57 -0
- data/proto_docs/google/chat/v1/attachment.rb +1 -1
- data/proto_docs/google/chat/v1/contextual_addon.rb +1 -1
- data/proto_docs/google/chat/v1/deletion_metadata.rb +1 -1
- data/proto_docs/google/chat/v1/event_payload.rb +1 -1
- data/proto_docs/google/chat/v1/group.rb +1 -1
- data/proto_docs/google/chat/v1/history_state.rb +1 -1
- data/proto_docs/google/chat/v1/markup_syntax.rb +47 -0
- data/proto_docs/google/chat/v1/matched_url.rb +1 -1
- data/proto_docs/google/chat/v1/membership.rb +1 -1
- data/proto_docs/google/chat/v1/message.rb +60 -10
- data/proto_docs/google/chat/v1/message_pin.rb +106 -0
- data/proto_docs/google/chat/v1/reaction.rb +13 -13
- data/proto_docs/google/chat/v1/slash_command.rb +1 -1
- data/proto_docs/google/chat/v1/space.rb +117 -20
- data/proto_docs/google/chat/v1/space_event.rb +1 -1
- data/proto_docs/google/chat/v1/space_notification_setting.rb +4 -4
- data/proto_docs/google/chat/v1/space_read_state.rb +1 -1
- data/proto_docs/google/chat/v1/space_setup.rb +19 -7
- data/proto_docs/google/chat/v1/thread_read_state.rb +1 -1
- data/proto_docs/google/chat/v1/user.rb +1 -1
- data/proto_docs/google/chat/v1/widgets.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/protobuf/wrappers.rb +1 -1
- data/proto_docs/google/rpc/code.rb +1 -1
- data/proto_docs/google/type/color.rb +1 -1
- metadata +7 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -298,6 +298,17 @@ module Google
|
|
|
298
298
|
# @!attribute [rw] join_space_setting
|
|
299
299
|
# @return [::Google::Apps::Chat::V1::Space::AccessPermissionSetting]
|
|
300
300
|
# Optional. Access permission setting for joining the space.
|
|
301
|
+
# @!attribute [rw] view_space_membership_setting
|
|
302
|
+
# @return [::Google::Apps::Chat::V1::Space::AccessPermissionSetting]
|
|
303
|
+
# Optional. Access permission setting for viewing space membership.
|
|
304
|
+
# Must be specified together with
|
|
305
|
+
# `PermissionSettings.view_space_membership` in the update mask and request
|
|
306
|
+
# body when updating who can view space membership. When granting view
|
|
307
|
+
# access to a target audience, you must also grant
|
|
308
|
+
# `PermissionSettings.view_space_membership` to all members in the same
|
|
309
|
+
# request. To remove an existing target audience (for example, to restrict
|
|
310
|
+
# view access to space managers or assistant managers only), specify an
|
|
311
|
+
# empty `AccessPermissionSetting` (with no `principals`).
|
|
301
312
|
class AccessPermissionSettings
|
|
302
313
|
include ::Google::Protobuf::MessageExts
|
|
303
314
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -338,7 +349,7 @@ module Google
|
|
|
338
349
|
# Optional. Setting for toggling space history on and off.
|
|
339
350
|
# @!attribute [rw] use_at_mention_all
|
|
340
351
|
# @return [::Google::Apps::Chat::V1::Space::PermissionSetting]
|
|
341
|
-
# Optional. Setting for using
|
|
352
|
+
# Optional. Setting for using `@all` in a space.
|
|
342
353
|
# @!attribute [rw] manage_apps
|
|
343
354
|
# @return [::Google::Apps::Chat::V1::Space::PermissionSetting]
|
|
344
355
|
# Optional. Setting for managing apps in a space.
|
|
@@ -351,6 +362,19 @@ module Google
|
|
|
351
362
|
# @!attribute [rw] reply_messages
|
|
352
363
|
# @return [::Google::Apps::Chat::V1::Space::PermissionSetting]
|
|
353
364
|
# Optional. Setting for replying to messages in a space.
|
|
365
|
+
# @!attribute [rw] view_space_membership
|
|
366
|
+
# @return [::Google::Apps::Chat::V1::Space::PermissionSetting]
|
|
367
|
+
# Optional. Setting for viewing space membership.
|
|
368
|
+
# Must be specified together with
|
|
369
|
+
# `AccessPermissionSettings.view_space_membership_setting` in the update
|
|
370
|
+
# mask and request body when updating who can view space membership.
|
|
371
|
+
# When restricting view access to specific roles (for example, space
|
|
372
|
+
# managers or assistant managers only), specify the desired role
|
|
373
|
+
# permissions here and provide an empty
|
|
374
|
+
# `AccessPermissionSettings.view_space_membership_setting` in the same
|
|
375
|
+
# request. If a target audience is configured in
|
|
376
|
+
# `AccessPermissionSettings.view_space_membership_setting`, this setting
|
|
377
|
+
# must be granted to all members.
|
|
354
378
|
class PermissionSettings
|
|
355
379
|
include ::Google::Protobuf::MessageExts
|
|
356
380
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -464,12 +488,24 @@ module Google
|
|
|
464
488
|
# field will be ignored.
|
|
465
489
|
# @!attribute [rw] request_id
|
|
466
490
|
# @return [::String]
|
|
467
|
-
# Optional. A unique
|
|
468
|
-
#
|
|
469
|
-
#
|
|
470
|
-
#
|
|
471
|
-
#
|
|
472
|
-
#
|
|
491
|
+
# Optional. A unique ID for this request. A random UUID is recommended.
|
|
492
|
+
# Specifying a request ID makes the request idempotent, which ensures that
|
|
493
|
+
# multiple identical requests with the same request ID result in only a
|
|
494
|
+
# single space being created. Subsequent requests with the same request ID
|
|
495
|
+
# return the existing space and do not update the space, even if the
|
|
496
|
+
# requested details differ from the current state.
|
|
497
|
+
#
|
|
498
|
+
# To use this field effectively:
|
|
499
|
+
#
|
|
500
|
+
# - Ensure that subsequent requests are identical and use the same
|
|
501
|
+
# authentication credentials as the original request.
|
|
502
|
+
# - If a space was already created with the provided request ID, the request
|
|
503
|
+
# returns that space. Note that the returned space might not be fully
|
|
504
|
+
# populated; the API echoes the space in your request with the
|
|
505
|
+
# system-assigned resource name populated. To retrieve the latest metadata
|
|
506
|
+
# for the space, call `GetSpace`.
|
|
507
|
+
# - Reusing an existing request ID with a different authenticated user
|
|
508
|
+
# results in an error.
|
|
473
509
|
class CreateSpaceRequest
|
|
474
510
|
include ::Google::Protobuf::MessageExts
|
|
475
511
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -715,6 +751,7 @@ module Google
|
|
|
715
751
|
#
|
|
716
752
|
# - `access_settings.access_permission_settings.discoverSpaceSetting`
|
|
717
753
|
# - `access_settings.access_permission_settings.joinSpaceSetting`
|
|
754
|
+
# - `access_settings.access_permission_settings.viewSpaceMembershipSetting`
|
|
718
755
|
#
|
|
719
756
|
# `permission_settings`: Supports changing the
|
|
720
757
|
# [permission settings](https://support.google.com/chat/answer/13340792)
|
|
@@ -731,6 +768,7 @@ module Google
|
|
|
731
768
|
# - `permission_settings.manageApps`
|
|
732
769
|
# - `permission_settings.manageWebhooks`
|
|
733
770
|
# - `permission_settings.replyMessages`
|
|
771
|
+
# - `permission_settings.viewSpaceMembership`
|
|
734
772
|
# @!attribute [rw] use_admin_access
|
|
735
773
|
# @return [::Boolean]
|
|
736
774
|
# Optional. When `true`, the method runs using the user's Google Workspace
|
|
@@ -763,9 +801,6 @@ module Google
|
|
|
763
801
|
# Requires either the `chat.admin.spaces.readonly` or `chat.admin.spaces`
|
|
764
802
|
# [OAuth 2.0
|
|
765
803
|
# scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
|
|
766
|
-
#
|
|
767
|
-
# This method currently only supports admin access, thus only `true` is
|
|
768
|
-
# accepted for this field.
|
|
769
804
|
# @!attribute [rw] page_size
|
|
770
805
|
# @return [::Integer]
|
|
771
806
|
# The maximum number of spaces to return. The service may return fewer than
|
|
@@ -773,8 +808,9 @@ module Google
|
|
|
773
808
|
#
|
|
774
809
|
# If unspecified, at most 100 spaces are returned.
|
|
775
810
|
#
|
|
776
|
-
# The maximum value is 1000
|
|
777
|
-
#
|
|
811
|
+
# The maximum value is 1000 when `useAdminAccess` is set to `true`.
|
|
812
|
+
# Otherwise, the maximum value is 100. If you use a value more than the
|
|
813
|
+
# maximum value, it's automatically changed to the maximum value.
|
|
778
814
|
# @!attribute [rw] page_token
|
|
779
815
|
# @return [::String]
|
|
780
816
|
# A token, received from the previous search spaces call. Provide this
|
|
@@ -787,7 +823,8 @@ module Google
|
|
|
787
823
|
# @return [::String]
|
|
788
824
|
# Required. A search query.
|
|
789
825
|
#
|
|
790
|
-
# You can search by using the following parameters
|
|
826
|
+
# You can search by using the following parameters when `useAdminAccess`
|
|
827
|
+
# is set to `true`:
|
|
791
828
|
#
|
|
792
829
|
# - `create_time`
|
|
793
830
|
# - `customer`
|
|
@@ -797,18 +834,27 @@ module Google
|
|
|
797
834
|
# - `space_history_state`
|
|
798
835
|
# - `space_type`
|
|
799
836
|
#
|
|
837
|
+
# When `useAdminAccess` is set to `false`:
|
|
838
|
+
#
|
|
839
|
+
# - `display_name`
|
|
840
|
+
# - `external_user_allowed`
|
|
841
|
+
# - `space_type`
|
|
842
|
+
#
|
|
800
843
|
# `create_time` and `last_active_time` accept a timestamp in
|
|
801
844
|
# [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported
|
|
802
845
|
# comparison operators are: `=`, `<`, `>`, `<=`, `>=`.
|
|
803
846
|
#
|
|
804
|
-
# `customer` is required
|
|
805
|
-
# to
|
|
847
|
+
# `customer` is required when `useAdminAccess` is set to `true`, and is
|
|
848
|
+
# used to indicate which customer to fetch spaces from.
|
|
849
|
+
# `customers/my_customer` is the only supported value.
|
|
806
850
|
#
|
|
807
851
|
# `display_name` only accepts the `HAS` (`:`) operator. The text to
|
|
808
852
|
# match is first tokenized into tokens and each token is prefix-matched
|
|
809
853
|
# case-insensitively and independently as a substring anywhere in the space's
|
|
810
854
|
# `display_name`. For example, `Fun Eve` matches `Fun event` or `The
|
|
811
|
-
# evening was fun`, but not `notFun event` or `even`.
|
|
855
|
+
# evening was fun`, but not `notFun event` or `even`. When `useAdminAccess`
|
|
856
|
+
# is set to `false`, `display_name` is required to retrieve meaningful
|
|
857
|
+
# results. Otherwise, the default behavior is to return an empty response.
|
|
812
858
|
#
|
|
813
859
|
# `external_user_allowed` accepts either `true` or `false`.
|
|
814
860
|
#
|
|
@@ -831,7 +877,8 @@ module Google
|
|
|
831
877
|
# < "2022-01-01T00:00:00+00:00" AND last_active_time >
|
|
832
878
|
# "2023-01-01T00:00:00+00:00"`.
|
|
833
879
|
#
|
|
834
|
-
# The following example queries are valid
|
|
880
|
+
# The following example queries are valid when `useAdminAccess` is set to
|
|
881
|
+
# `true`:
|
|
835
882
|
#
|
|
836
883
|
# ```
|
|
837
884
|
# customer = "customers/my_customer" AND space_type = "SPACE"
|
|
@@ -853,6 +900,26 @@ module Google
|
|
|
853
900
|
# "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND
|
|
854
901
|
# (space_history_state = "HISTORY_ON" OR space_history_state = "HISTORY_OFF")
|
|
855
902
|
# ```
|
|
903
|
+
#
|
|
904
|
+
# The following example queries are valid when `useAdminAccess` is set to
|
|
905
|
+
# `false`:
|
|
906
|
+
#
|
|
907
|
+
# ```
|
|
908
|
+
# display_name:"Hello World" AND space_type = "SPACE"
|
|
909
|
+
#
|
|
910
|
+
# (display_name:"Hello" OR display_name:"Fun") AND space_type = "SPACE"
|
|
911
|
+
#
|
|
912
|
+
# (external_user_allowed = "true" AND space_type = "SPACE") // Returns an
|
|
913
|
+
# empty response.
|
|
914
|
+
#
|
|
915
|
+
# (external_user_allowed = "true" AND display_name:"Hello" AND space_type =
|
|
916
|
+
# "SPACE")
|
|
917
|
+
# ```
|
|
918
|
+
#
|
|
919
|
+
# The maximum query length is 1,000 characters.
|
|
920
|
+
#
|
|
921
|
+
# Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
|
|
922
|
+
# error.
|
|
856
923
|
# @!attribute [rw] order_by
|
|
857
924
|
# @return [::String]
|
|
858
925
|
# Optional. How the list of spaces is ordered.
|
|
@@ -865,13 +932,17 @@ module Google
|
|
|
865
932
|
# any topic of this space.
|
|
866
933
|
# - `create_time` — Denotes the time of the space creation.
|
|
867
934
|
#
|
|
935
|
+
# When `useAdminAccess` is `false`, only `create_time` and `relevance` are
|
|
936
|
+
# supported for ordering. Only `DESC` is supported for these fields in
|
|
937
|
+
# non-admin searches.
|
|
938
|
+
#
|
|
868
939
|
# Valid ordering operation values are:
|
|
869
940
|
#
|
|
870
941
|
# - `ASC` for ascending. Default value.
|
|
871
942
|
#
|
|
872
943
|
# - `DESC` for descending.
|
|
873
944
|
#
|
|
874
|
-
# The supported syntax are
|
|
945
|
+
# The supported syntax are when `useAdminAccess` is set to `true`:
|
|
875
946
|
#
|
|
876
947
|
# - `membership_count.joined_direct_human_user_count DESC`
|
|
877
948
|
# - `membership_count.joined_direct_human_user_count ASC`
|
|
@@ -879,6 +950,12 @@ module Google
|
|
|
879
950
|
# - `last_active_time ASC`
|
|
880
951
|
# - `create_time DESC`
|
|
881
952
|
# - `create_time ASC`
|
|
953
|
+
#
|
|
954
|
+
# When `useAdminAccess` is set to `false`:
|
|
955
|
+
#
|
|
956
|
+
# - `create_time DESC`
|
|
957
|
+
# - `relevance DESC`
|
|
958
|
+
# [Developer Preview](https://developers.google.com/workspace/preview).
|
|
882
959
|
class SearchSpacesRequest
|
|
883
960
|
include ::Google::Protobuf::MessageExts
|
|
884
961
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -886,19 +963,39 @@ module Google
|
|
|
886
963
|
|
|
887
964
|
# Response with a list of spaces corresponding to the search spaces request.
|
|
888
965
|
# @!attribute [rw] spaces
|
|
966
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
889
967
|
# @return [::Array<::Google::Apps::Chat::V1::Space>]
|
|
890
|
-
#
|
|
968
|
+
# Deprecated: Please use the new `results` field instead.
|
|
969
|
+
# A page of the requested spaces. This field will be populated only when
|
|
970
|
+
# `useAdminAccess` is set to `true` and deprecated in favor of the new
|
|
971
|
+
# `results` field.
|
|
891
972
|
# @!attribute [rw] next_page_token
|
|
892
973
|
# @return [::String]
|
|
893
974
|
# A token that can be used to retrieve the next page. If this field is empty,
|
|
894
975
|
# there are no subsequent pages.
|
|
976
|
+
#
|
|
977
|
+
# Only populated when `useAdminAccess` is set to `true`.
|
|
895
978
|
# @!attribute [rw] total_size
|
|
896
979
|
# @return [::Integer]
|
|
897
980
|
# The total number of spaces that match the query, across all pages. If the
|
|
898
981
|
# result is over 10,000 spaces, this value is an estimate.
|
|
982
|
+
#
|
|
983
|
+
# Only populated when `useAdminAccess` is set to `true`.
|
|
984
|
+
# @!attribute [r] results
|
|
985
|
+
# @return [::Array<::Google::Apps::Chat::V1::SearchSpacesResponse::SearchSpaceResult>]
|
|
986
|
+
# Output only. The list of search results that matched the query.
|
|
899
987
|
class SearchSpacesResponse
|
|
900
988
|
include ::Google::Protobuf::MessageExts
|
|
901
989
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
990
|
+
|
|
991
|
+
# A single result item from a space search.
|
|
992
|
+
# @!attribute [r] space
|
|
993
|
+
# @return [::Google::Apps::Chat::V1::Space]
|
|
994
|
+
# Output only. The matched space.
|
|
995
|
+
class SearchSpaceResult
|
|
996
|
+
include ::Google::Protobuf::MessageExts
|
|
997
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
998
|
+
end
|
|
902
999
|
end
|
|
903
1000
|
|
|
904
1001
|
# Request for deleting a space.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -42,16 +42,16 @@ module Google
|
|
|
42
42
|
# Reserved.
|
|
43
43
|
NOTIFICATION_SETTING_UNSPECIFIED = 0
|
|
44
44
|
|
|
45
|
-
# Notifications are triggered by
|
|
45
|
+
# Notifications are triggered by `@mentions`, followed threads, first
|
|
46
46
|
# message of new threads. All new threads are automatically followed,
|
|
47
47
|
# unless manually unfollowed by the user.
|
|
48
48
|
ALL = 1
|
|
49
49
|
|
|
50
|
-
# The notification is triggered by
|
|
50
|
+
# The notification is triggered by `@mentions`, followed threads, first
|
|
51
51
|
# message of new threads. Not available for 1:1 direct messages.
|
|
52
52
|
MAIN_CONVERSATIONS = 2
|
|
53
53
|
|
|
54
|
-
# The notification is triggered by
|
|
54
|
+
# The notification is triggered by `@mentions`, followed threads. Not
|
|
55
55
|
# available for 1:1 direct messages.
|
|
56
56
|
FOR_YOU = 3
|
|
57
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -49,12 +49,24 @@ module Google
|
|
|
49
49
|
# of creating a new space.
|
|
50
50
|
# @!attribute [rw] request_id
|
|
51
51
|
# @return [::String]
|
|
52
|
-
# Optional. A unique
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
#
|
|
52
|
+
# Optional. A unique ID for this request. A random UUID is recommended.
|
|
53
|
+
# Specifying a request ID makes the request idempotent, which ensures that
|
|
54
|
+
# multiple identical requests with the same request ID result in only a
|
|
55
|
+
# single space being created. Subsequent requests with the same request ID
|
|
56
|
+
# return the existing space and do not update the space, even if the
|
|
57
|
+
# requested details differ from the current state.
|
|
58
|
+
#
|
|
59
|
+
# To use this field effectively:
|
|
60
|
+
#
|
|
61
|
+
# - Ensure that subsequent requests are identical and use the same
|
|
62
|
+
# authentication credentials as the original request.
|
|
63
|
+
# - If a space was already created with the provided request ID, the request
|
|
64
|
+
# returns that space. Note that the returned space might not be fully
|
|
65
|
+
# populated; the API echoes the space in your request with the
|
|
66
|
+
# system-assigned resource name populated. To retrieve the latest metadata
|
|
67
|
+
# for the space, call `GetSpace`.
|
|
68
|
+
# - Reusing an existing request ID with a different authenticated user
|
|
69
|
+
# results in an error.
|
|
58
70
|
# @!attribute [rw] memberships
|
|
59
71
|
# @return [::Array<::Google::Apps::Chat::V1::Membership>]
|
|
60
72
|
# Optional. The Google Chat users or groups to invite to join the space. Omit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apps-chat-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.30.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -84,6 +84,7 @@ files:
|
|
|
84
84
|
- lib/google/apps/chat/v1/version.rb
|
|
85
85
|
- lib/google/chat/v1/action_status_pb.rb
|
|
86
86
|
- lib/google/chat/v1/annotation_pb.rb
|
|
87
|
+
- lib/google/chat/v1/app_command_metadata_pb.rb
|
|
87
88
|
- lib/google/chat/v1/attachment_pb.rb
|
|
88
89
|
- lib/google/chat/v1/audience_pb.rb
|
|
89
90
|
- lib/google/chat/v1/availability_pb.rb
|
|
@@ -94,9 +95,11 @@ files:
|
|
|
94
95
|
- lib/google/chat/v1/event_payload_pb.rb
|
|
95
96
|
- lib/google/chat/v1/group_pb.rb
|
|
96
97
|
- lib/google/chat/v1/history_state_pb.rb
|
|
98
|
+
- lib/google/chat/v1/markup_syntax_pb.rb
|
|
97
99
|
- lib/google/chat/v1/matched_url_pb.rb
|
|
98
100
|
- lib/google/chat/v1/membership_pb.rb
|
|
99
101
|
- lib/google/chat/v1/message_pb.rb
|
|
102
|
+
- lib/google/chat/v1/message_pin_pb.rb
|
|
100
103
|
- lib/google/chat/v1/reaction_pb.rb
|
|
101
104
|
- lib/google/chat/v1/section_pb.rb
|
|
102
105
|
- lib/google/chat/v1/slash_command_pb.rb
|
|
@@ -117,6 +120,7 @@ files:
|
|
|
117
120
|
- proto_docs/google/apps/card/v1/card.rb
|
|
118
121
|
- proto_docs/google/chat/v1/action_status.rb
|
|
119
122
|
- proto_docs/google/chat/v1/annotation.rb
|
|
123
|
+
- proto_docs/google/chat/v1/app_command_metadata.rb
|
|
120
124
|
- proto_docs/google/chat/v1/attachment.rb
|
|
121
125
|
- proto_docs/google/chat/v1/audience.rb
|
|
122
126
|
- proto_docs/google/chat/v1/availability.rb
|
|
@@ -125,9 +129,11 @@ files:
|
|
|
125
129
|
- proto_docs/google/chat/v1/event_payload.rb
|
|
126
130
|
- proto_docs/google/chat/v1/group.rb
|
|
127
131
|
- proto_docs/google/chat/v1/history_state.rb
|
|
132
|
+
- proto_docs/google/chat/v1/markup_syntax.rb
|
|
128
133
|
- proto_docs/google/chat/v1/matched_url.rb
|
|
129
134
|
- proto_docs/google/chat/v1/membership.rb
|
|
130
135
|
- proto_docs/google/chat/v1/message.rb
|
|
136
|
+
- proto_docs/google/chat/v1/message_pin.rb
|
|
131
137
|
- proto_docs/google/chat/v1/reaction.rb
|
|
132
138
|
- proto_docs/google/chat/v1/section.rb
|
|
133
139
|
- proto_docs/google/chat/v1/slash_command.rb
|