google-apps-chat-v1 0.8.0 → 0.9.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: 58a830a1a4bf358570b49854321236328ef00056a3266214f2d1e175c0894f56
4
- data.tar.gz: bcdf425fe914a7d961e96b31ceacdf240e1ccb7a0f15627a90a06b45c99a6e76
3
+ metadata.gz: bea3f824fbcc09ce6952ee12a6a59eec8705aa097cb6b1dd446aad8bd3d5263b
4
+ data.tar.gz: be32771224be27d6e77369782b3a69ef2b5ada9e933b8bc4db218f34aa136c98
5
5
  SHA512:
6
- metadata.gz: '048007d5aa7bd8f802b35e812563eb8dbcf67bc5a469694a00ebc9056dee256c77a541c5d6fb9fa5934c204884dc19b3850d9bad4aa565ceb3891c10612a9306'
7
- data.tar.gz: fcdfcdc23bd4da0e8455455cf951be9e9f27181587a938e14fd7488f4401fa3f8548c792a61763164e01344a6140099998c46ccfd4abff3d0cab72597135c556
6
+ metadata.gz: e3db05bb1b509fa280d9962dcc15727662e0e5f210f5147d57030bf41e2cbc57ca84fa329a523ab80f939d04478bad15b30a8a34a73b15bd96bbffa4ed92ee5a
7
+ data.tar.gz: fe1082d4cfdf570add0060e85daffaf6aa5bb92a009ec2c4b4b23c0592a45194107bb5dc60194bccfc1da4cdbf8ff3beda1402280f7718adb70205d3cc947080
@@ -3179,8 +3179,7 @@ module Google
3179
3179
  end
3180
3180
 
3181
3181
  ##
3182
- # Creates a reaction and adds it to a message. Only unicode emojis are
3183
- # supported. For an example, see
3182
+ # Creates a reaction and adds it to a message. For an example, see
3184
3183
  # [Add a reaction to a
3185
3184
  # message](https://developers.google.com/workspace/chat/create-reactions).
3186
3185
  #
@@ -3429,8 +3428,7 @@ module Google
3429
3428
  end
3430
3429
 
3431
3430
  ##
3432
- # Deletes a reaction to a message. Only unicode emojis are supported.
3433
- # For an example, see
3431
+ # Deletes a reaction to a message. For an example, see
3434
3432
  # [Delete a
3435
3433
  # reaction](https://developers.google.com/workspace/chat/delete-reactions).
3436
3434
  #
@@ -3065,8 +3065,7 @@ module Google
3065
3065
  end
3066
3066
 
3067
3067
  ##
3068
- # Creates a reaction and adds it to a message. Only unicode emojis are
3069
- # supported. For an example, see
3068
+ # Creates a reaction and adds it to a message. For an example, see
3070
3069
  # [Add a reaction to a
3071
3070
  # message](https://developers.google.com/workspace/chat/create-reactions).
3072
3071
  #
@@ -3301,8 +3300,7 @@ module Google
3301
3300
  end
3302
3301
 
3303
3302
  ##
3304
- # Deletes a reaction to a message. Only unicode emojis are supported.
3305
- # For an example, see
3303
+ # Deletes a reaction to a message. For an example, see
3306
3304
  # [Delete a
3307
3305
  # reaction](https://developers.google.com/workspace/chat/delete-reactions).
3308
3306
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Apps
22
22
  module Chat
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  end
@@ -6,10 +6,11 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/chat/v1/attachment_pb'
9
+ require 'google/chat/v1/reaction_pb'
9
10
  require 'google/chat/v1/user_pb'
10
11
 
11
12
 
12
- descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x19google/chat/v1/user.proto\"\xbc\x02\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\xbb\x02\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\"N\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x42\x06\n\x04\x64\x61ta\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message*e\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_MENTION\x10\x01\x12\x11\n\rSLASH_COMMAND\x10\x02\x12\r\n\tRICH_LINK\x10\x03\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41nnotationProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
+ descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\xbb\x02\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\"N\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x42\x06\n\x04\x64\x61ta\"H\n\x13\x43ustomEmojiMetadata\x12\x31\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmoji\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message*w\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_MENTION\x10\x01\x12\x11\n\rSLASH_COMMAND\x10\x02\x12\r\n\tRICH_LINK\x10\x03\x12\x10\n\x0c\x43USTOM_EMOJI\x10\x04\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41nnotationProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
14
 
14
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
16
 
@@ -25,6 +26,7 @@ rescue TypeError
25
26
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
27
  imports = [
27
28
  ["google.chat.v1.User", "google/chat/v1/user.proto"],
29
+ ["google.chat.v1.CustomEmoji", "google/chat/v1/reaction.proto"],
28
30
  ["google.chat.v1.DriveDataRef", "google/chat/v1/attachment.proto"],
29
31
  ]
30
32
  imports.each do |type_name, expected_filename|
@@ -48,6 +50,7 @@ module Google
48
50
  SlashCommandMetadata::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SlashCommandMetadata.Type").enummodule
49
51
  RichLinkMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.RichLinkMetadata").msgclass
50
52
  RichLinkMetadata::RichLinkType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.RichLinkMetadata.RichLinkType").enummodule
53
+ CustomEmojiMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CustomEmojiMetadata").msgclass
51
54
  DriveLinkData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DriveLinkData").msgclass
52
55
  ChatSpaceLinkData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ChatSpaceLinkData").msgclass
53
56
  AnnotationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.AnnotationType").enummodule
@@ -441,8 +441,7 @@ module Google
441
441
  # You can authenticate and authorize this method with administrator
442
442
  # privileges by setting the `use_admin_access` field in the request.
443
443
  rpc :DeleteMembership, ::Google::Apps::Chat::V1::DeleteMembershipRequest, ::Google::Apps::Chat::V1::Membership
444
- # Creates a reaction and adds it to a message. Only unicode emojis are
445
- # supported. For an example, see
444
+ # Creates a reaction and adds it to a message. For an example, see
446
445
  # [Add a reaction to a
447
446
  # message](https://developers.google.com/workspace/chat/create-reactions).
448
447
  #
@@ -456,8 +455,7 @@ module Google
456
455
  # Requires [user
457
456
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
458
457
  rpc :ListReactions, ::Google::Apps::Chat::V1::ListReactionsRequest, ::Google::Apps::Chat::V1::ListReactionsResponse
459
- # Deletes a reaction to a message. Only unicode emojis are supported.
460
- # For an example, see
458
+ # Deletes a reaction to a message. For an example, see
461
459
  # [Delete a
462
460
  # reaction](https://developers.google.com/workspace/chat/delete-reactions).
463
461
  #
@@ -10,7 +10,7 @@ require 'google/api/resource_pb'
10
10
  require 'google/chat/v1/user_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xcc\x01\n\x08Reaction\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12)\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x02:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"d\n\x05\x45moji\x12\x16\n\x07unicode\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x38\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x03\xe0\x41\x03H\x00\x42\t\n\x07\x63ontent\"\'\n\x0b\x43ustomEmoji\x12\x18\n\x03uid\x18\x01 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x14\x45mojiReactionSummary\x12)\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x03\x12 \n\x0ereaction_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"~\n\x15\x43reateReactionRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12/\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x03\xe0\x41\x02\"\x92\x01\n\x14ListReactionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x15\x44\x65leteReactionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/ReactionB\xa6\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
+ descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xcc\x01\n\x08Reaction\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12)\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x02:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"_\n\x05\x45moji\x12\x16\n\x07unicode\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x33\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiH\x00\x42\t\n\x07\x63ontent\"\'\n\x0b\x43ustomEmoji\x12\x18\n\x03uid\x18\x01 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"v\n\x14\x45mojiReactionSummary\x12)\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.EmojiB\x03\xe0\x41\x03\x12 \n\x0ereaction_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"~\n\x15\x43reateReactionRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12/\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x03\xe0\x41\x02\"\x92\x01\n\x14ListReactionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x15\x44\x65leteReactionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/ReactionB\xa6\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -63,17 +63,22 @@ module Google
63
63
  # @return [::Google::Apps::Chat::V1::UserMentionMetadata]
64
64
  # The metadata of user mention.
65
65
  #
66
- # Note: The following fields are mutually exclusive: `user_mention`, `slash_command`, `rich_link_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
66
+ # Note: The following fields are mutually exclusive: `user_mention`, `slash_command`, `rich_link_metadata`, `custom_emoji_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
67
67
  # @!attribute [rw] slash_command
68
68
  # @return [::Google::Apps::Chat::V1::SlashCommandMetadata]
69
69
  # The metadata for a slash command.
70
70
  #
71
- # Note: The following fields are mutually exclusive: `slash_command`, `user_mention`, `rich_link_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
+ # Note: The following fields are mutually exclusive: `slash_command`, `user_mention`, `rich_link_metadata`, `custom_emoji_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
72
72
  # @!attribute [rw] rich_link_metadata
73
73
  # @return [::Google::Apps::Chat::V1::RichLinkMetadata]
74
74
  # The metadata for a rich link.
75
75
  #
76
- # Note: The following fields are mutually exclusive: `rich_link_metadata`, `user_mention`, `slash_command`. If a field in that set is populated, all other fields in the set will automatically be cleared.
76
+ # Note: The following fields are mutually exclusive: `rich_link_metadata`, `user_mention`, `slash_command`, `custom_emoji_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
77
+ # @!attribute [rw] custom_emoji_metadata
78
+ # @return [::Google::Apps::Chat::V1::CustomEmojiMetadata]
79
+ # The metadata for a custom emoji.
80
+ #
81
+ # Note: The following fields are mutually exclusive: `custom_emoji_metadata`, `user_mention`, `slash_command`, `rich_link_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
77
82
  class Annotation
78
83
  include ::Google::Protobuf::MessageExts
79
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -168,6 +173,15 @@ module Google
168
173
  end
169
174
  end
170
175
 
176
+ # Annotation metadata for custom emoji.
177
+ # @!attribute [rw] custom_emoji
178
+ # @return [::Google::Apps::Chat::V1::CustomEmoji]
179
+ # The custom emoji.
180
+ class CustomEmojiMetadata
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
+ end
184
+
171
185
  # Data for Google Drive links.
172
186
  # @!attribute [rw] drive_data_ref
173
187
  # @return [::Google::Apps::Chat::V1::DriveDataRef]
@@ -216,6 +230,9 @@ module Google
216
230
 
217
231
  # A rich link annotation.
218
232
  RICH_LINK = 3
233
+
234
+ # A custom emoji annotation.
235
+ CUSTOM_EMOJI = 4
219
236
  end
220
237
  end
221
238
  end
@@ -44,9 +44,9 @@ module Google
44
44
  # Optional. A basic emoji represented by a unicode string.
45
45
  #
46
46
  # Note: The following fields are mutually exclusive: `unicode`, `custom_emoji`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
- # @!attribute [r] custom_emoji
47
+ # @!attribute [rw] custom_emoji
48
48
  # @return [::Google::Apps::Chat::V1::CustomEmoji]
49
- # Output only. A custom emoji.
49
+ # A custom emoji.
50
50
  #
51
51
  # Note: The following fields are mutually exclusive: `custom_emoji`, `unicode`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
52
  class Emoji
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apps-chat-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-01-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common