google-apps-chat-v1 0.12.0 → 0.14.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.
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\x15\n\x05Space\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x38\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceTypeB\x03\xe0\x41\x01\x12\x1f\n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\x08threaded\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12%\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x06\xe0\x41\x05\xe0\x41\x01\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12>\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetailsB\x03\xe0\x41\x01\x12>\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryStateB\x03\xe0\x41\x01\x12\x18\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_active_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x10membership_count\x18\x14 \x01(\x0b\x32%.google.chat.v1.Space.MembershipCountB\x03\xe0\x41\x03\x12\x42\n\x0f\x61\x63\x63\x65ss_settings\x18\x17 \x01(\x0b\x32$.google.chat.v1.Space.AccessSettingsB\x03\xe0\x41\x01\x12\x16\n\tspace_uri\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1epredefined_permission_settings\x18\x1a \x01(\x0e\x32\x32.google.chat.v1.Space.PredefinedPermissionSettingsB\x06\xe0\x41\x04\xe0\x41\x01H\x00\x12L\n\x13permission_settings\x18\x1b \x01(\x0b\x32(.google.chat.v1.Space.PermissionSettingsB\x03\xe0\x41\x01H\x00\x12@\n\x17import_mode_expire_time\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x41\n\x0cSpaceDetails\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nguidelines\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a_\n\x0fMembershipCount\x12+\n\x1ejoined_direct_human_user_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12joined_group_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\xc0\x01\n\x0e\x41\x63\x63\x65ssSettings\x12K\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32\x30.google.chat.v1.Space.AccessSettings.AccessStateB\x03\xe0\x41\x03\x12\x15\n\x08\x61udience\x18\x03 \x01(\tB\x03\xe0\x41\x01\"J\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\x10\n\x0c\x44ISCOVERABLE\x10\x02\x1a\xa8\x06\n\x12PermissionSettings\x12T\n\x19manage_members_and_groups\x18\x01 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12O\n\x14modify_space_details\x18\x02 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12I\n\x0etoggle_history\x18\x03 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12M\n\x12use_at_mention_all\x18\x04 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x46\n\x0bmanage_apps\x18\x05 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12J\n\x0fmanage_webhooks\x18\x06 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12H\n\rpost_messages\x18\x07 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x03H\x06\x88\x01\x01\x12I\n\x0ereply_messages\x18\x08 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x07\x88\x01\x01\x42\x1c\n\x1a_manage_members_and_groupsB\x17\n\x15_modify_space_detailsB\x11\n\x0f_toggle_historyB\x15\n\x13_use_at_mention_allB\x0e\n\x0c_manage_appsB\x12\n\x10_manage_webhooksB\x10\n\x0e_post_messagesB\x11\n\x0f_reply_messages\x1aP\n\x11PermissionSetting\x12\x1d\n\x10managers_allowed\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fmembers_allowed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\".\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ROOM\x10\x01\x12\x06\n\x02\x44M\x10\x02\"V\n\tSpaceType\x12\x1a\n\x16SPACE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nGROUP_CHAT\x10\x02\x12\x12\n\x0e\x44IRECT_MESSAGE\x10\x03\"\x82\x01\n\x13SpaceThreadingState\x12%\n!SPACE_THREADING_STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11THREADED_MESSAGES\x10\x02\x12\x14\n\x10GROUPED_MESSAGES\x10\x03\x12\x17\n\x13UNTHREADED_MESSAGES\x10\x04\"\x7f\n\x1cPredefinedPermissionSettings\x12.\n*PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OLLABORATION_SPACE\x10\x01\x12\x16\n\x12\x41NNOUNCEMENT_SPACE\x10\x02:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}B\x1b\n\x19space_permission_settings\"X\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpacesRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x12ListSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x81\x01\n\x13SearchSpacesRequest\x12\x18\n\x10use_admin_access\x18\x01 \x01(\x08\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x12\n\x05query\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"j\n\x14SearchSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"d\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x1a\x43ompleteImportSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"C\n\x1b\x43ompleteImportSpaceResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\xa3\x01\n\x12\x63om.google.chat.v1B\nSpaceProtoP\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
+ descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xff\x15\n\x05Space\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x38\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceTypeB\x03\xe0\x41\x01\x12\x1f\n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\x08threaded\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12%\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x06\xe0\x41\x05\xe0\x41\x01\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12>\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetailsB\x03\xe0\x41\x01\x12>\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryStateB\x03\xe0\x41\x01\x12\x18\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_active_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1c\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x44\n\x10membership_count\x18\x14 \x01(\x0b\x32%.google.chat.v1.Space.MembershipCountB\x03\xe0\x41\x03\x12\x42\n\x0f\x61\x63\x63\x65ss_settings\x18\x17 \x01(\x0b\x32$.google.chat.v1.Space.AccessSettingsB\x03\xe0\x41\x01\x12\x1d\n\x08\x63ustomer\x18\x18 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x01H\x01\x88\x01\x01\x12\x16\n\tspace_uri\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x1epredefined_permission_settings\x18\x1a \x01(\x0e\x32\x32.google.chat.v1.Space.PredefinedPermissionSettingsB\x06\xe0\x41\x04\xe0\x41\x01H\x00\x12L\n\x13permission_settings\x18\x1b \x01(\x0b\x32(.google.chat.v1.Space.PermissionSettingsB\x03\xe0\x41\x01H\x00\x12@\n\x17import_mode_expire_time\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\x41\n\x0cSpaceDetails\x12\x18\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nguidelines\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a_\n\x0fMembershipCount\x12+\n\x1ejoined_direct_human_user_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12joined_group_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x1a\xc0\x01\n\x0e\x41\x63\x63\x65ssSettings\x12K\n\x0c\x61\x63\x63\x65ss_state\x18\x01 \x01(\x0e\x32\x30.google.chat.v1.Space.AccessSettings.AccessStateB\x03\xe0\x41\x03\x12\x15\n\x08\x61udience\x18\x03 \x01(\tB\x03\xe0\x41\x01\"J\n\x0b\x41\x63\x63\x65ssState\x12\x1c\n\x18\x41\x43\x43\x45SS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\x10\n\x0c\x44ISCOVERABLE\x10\x02\x1a\xa8\x06\n\x12PermissionSettings\x12T\n\x19manage_members_and_groups\x18\x01 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12O\n\x14modify_space_details\x18\x02 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12I\n\x0etoggle_history\x18\x03 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12M\n\x12use_at_mention_all\x18\x04 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x46\n\x0bmanage_apps\x18\x05 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12J\n\x0fmanage_webhooks\x18\x06 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12H\n\rpost_messages\x18\x07 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x03H\x06\x88\x01\x01\x12I\n\x0ereply_messages\x18\x08 \x01(\x0b\x32\'.google.chat.v1.Space.PermissionSettingB\x03\xe0\x41\x01H\x07\x88\x01\x01\x42\x1c\n\x1a_manage_members_and_groupsB\x17\n\x15_modify_space_detailsB\x11\n\x0f_toggle_historyB\x15\n\x13_use_at_mention_allB\x0e\n\x0c_manage_appsB\x12\n\x10_manage_webhooksB\x10\n\x0e_post_messagesB\x11\n\x0f_reply_messages\x1aP\n\x11PermissionSetting\x12\x1d\n\x10managers_allowed\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0fmembers_allowed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\".\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ROOM\x10\x01\x12\x06\n\x02\x44M\x10\x02\"V\n\tSpaceType\x12\x1a\n\x16SPACE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nGROUP_CHAT\x10\x02\x12\x12\n\x0e\x44IRECT_MESSAGE\x10\x03\"\x82\x01\n\x13SpaceThreadingState\x12%\n!SPACE_THREADING_STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11THREADED_MESSAGES\x10\x02\x12\x14\n\x10GROUPED_MESSAGES\x10\x03\x12\x17\n\x13UNTHREADED_MESSAGES\x10\x04\"\x7f\n\x1cPredefinedPermissionSettings\x12.\n*PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43OLLABORATION_SPACE\x10\x01\x12\x16\n\x12\x41NNOUNCEMENT_SPACE\x10\x02:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}B\x1b\n\x19space_permission_settingsB\x0b\n\t_customer\"X\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpacesRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x12ListSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1d\n\x10use_admin_access\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x81\x01\n\x13SearchSpacesRequest\x12\x18\n\x10use_admin_access\x18\x01 \x01(\x08\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x12\n\x05query\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"j\n\x14SearchSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"d\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1d\n\x10use_admin_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"M\n\x1a\x43ompleteImportSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"C\n\x1b\x43ompleteImportSpaceResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\xa3\x01\n\x12\x63om.google.chat.v1B\nSpaceProtoP\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"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -5,10 +5,9 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
- require 'google/api/resource_pb'
9
8
 
10
9
 
11
- descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xb8\x01\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\tdomain_id\x18\x06 \x01(\t\x12\'\n\x04type\x18\x05 \x01(\x0e\x32\x19.google.chat.v1.User.Type\x12\x19\n\x0cis_anonymous\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\x07\n\x03\x42OT\x10\x02\x42\xa2\x01\n\x12\x63om.google.chat.v1B\tUserProtoP\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"
10
+ descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb8\x01\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\tdomain_id\x18\x06 \x01(\t\x12\'\n\x04type\x18\x05 \x01(\x0e\x32\x19.google.chat.v1.User.Type\x12\x19\n\x0cis_anonymous\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\x07\n\x03\x42OT\x10\x02\x42\xa2\x01\n\x12\x63om.google.chat.v1B\tUserProtoP\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"
12
11
 
13
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
13
 
@@ -21,9 +21,10 @@ module Google
21
21
  module Apps
22
22
  module Chat
23
23
  module V1
24
- # Output only. Annotations associated with the plain-text body of the message.
25
- # To add basic formatting to a text message, see
26
- # [Format text
24
+ # Output only. Annotations can be associated with the plain-text body of the
25
+ # message or with chips that link to Google Workspace resources like Google
26
+ # Docs or Sheets with `start_index` and `length` of 0. To add basic formatting
27
+ # to a text message, see [Format text
27
28
  # messages](https://developers.google.com/workspace/chat/format-messages).
28
29
  #
29
30
  # Example plain-text message body:
@@ -58,7 +59,7 @@ module Google
58
59
  # @!attribute [rw] length
59
60
  # @return [::Integer]
60
61
  # Length of the substring in the plain-text message body this annotation
61
- # corresponds to.
62
+ # corresponds to. If not present, indicates a length of 0.
62
63
  # @!attribute [rw] user_mention
63
64
  # @return [::Google::Apps::Chat::V1::UserMentionMetadata]
64
65
  # The metadata of user mention.
@@ -139,7 +140,10 @@ module Google
139
140
  end
140
141
  end
141
142
 
142
- # A rich link to a resource.
143
+ # A rich link to a resource. Rich links can be associated with the plain-text
144
+ # body of the message or represent chips that link to Google Workspace
145
+ # resources like Google Docs or Sheets with `start_index` and `length`
146
+ # of 0.
143
147
  # @!attribute [rw] uri
144
148
  # @return [::String]
145
149
  # The URI of this link.
@@ -150,12 +154,22 @@ module Google
150
154
  # @return [::Google::Apps::Chat::V1::DriveLinkData]
151
155
  # Data for a drive link.
152
156
  #
153
- # Note: The following fields are mutually exclusive: `drive_link_data`, `chat_space_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
157
+ # Note: The following fields are mutually exclusive: `drive_link_data`, `chat_space_link_data`, `meet_space_link_data`, `calendar_event_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
154
158
  # @!attribute [rw] chat_space_link_data
155
159
  # @return [::Google::Apps::Chat::V1::ChatSpaceLinkData]
156
160
  # Data for a chat space link.
157
161
  #
158
- # Note: The following fields are mutually exclusive: `chat_space_link_data`, `drive_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
162
+ # Note: The following fields are mutually exclusive: `chat_space_link_data`, `drive_link_data`, `meet_space_link_data`, `calendar_event_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
163
+ # @!attribute [rw] meet_space_link_data
164
+ # @return [::Google::Apps::Chat::V1::MeetSpaceLinkData]
165
+ # Data for a Meet space link.
166
+ #
167
+ # Note: The following fields are mutually exclusive: `meet_space_link_data`, `drive_link_data`, `chat_space_link_data`, `calendar_event_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
168
+ # @!attribute [rw] calendar_event_link_data
169
+ # @return [::Google::Apps::Chat::V1::CalendarEventLinkData]
170
+ # Data for a Calendar event link.
171
+ #
172
+ # Note: The following fields are mutually exclusive: `calendar_event_link_data`, `drive_link_data`, `chat_space_link_data`, `meet_space_link_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
159
173
  class RichLinkMetadata
160
174
  include ::Google::Protobuf::MessageExts
161
175
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -170,6 +184,12 @@ module Google
170
184
 
171
185
  # A Chat space rich link type. For example, a space smart chip.
172
186
  CHAT_SPACE = 2
187
+
188
+ # A Meet message rich link type. For example, a Meet chip.
189
+ MEET_SPACE = 4
190
+
191
+ # A Calendar message rich link type. For example, a Calendar chip.
192
+ CALENDAR_EVENT = 5
173
193
  end
174
194
  end
175
195
 
@@ -217,6 +237,67 @@ module Google
217
237
  extend ::Google::Protobuf::MessageExts::ClassMethods
218
238
  end
219
239
 
240
+ # Data for Meet space links.
241
+ # @!attribute [rw] meeting_code
242
+ # @return [::String]
243
+ # Meeting code of the linked Meet space.
244
+ # @!attribute [rw] type
245
+ # @return [::Google::Apps::Chat::V1::MeetSpaceLinkData::Type]
246
+ # Indicates the type of the Meet space.
247
+ # @!attribute [r] huddle_status
248
+ # @return [::Google::Apps::Chat::V1::MeetSpaceLinkData::HuddleStatus]
249
+ # Optional. Output only. If the Meet is a Huddle, indicates the status of the
250
+ # huddle. Otherwise, this is unset.
251
+ class MeetSpaceLinkData
252
+ include ::Google::Protobuf::MessageExts
253
+ extend ::Google::Protobuf::MessageExts::ClassMethods
254
+
255
+ # The type of the Meet space.
256
+ module Type
257
+ # Default value for the enum. Don't use.
258
+ TYPE_UNSPECIFIED = 0
259
+
260
+ # The Meet space is a meeting.
261
+ MEETING = 1
262
+
263
+ # The Meet space is a huddle.
264
+ HUDDLE = 2
265
+ end
266
+
267
+ # The status of the huddle
268
+ module HuddleStatus
269
+ # Default value for the enum. Don't use.
270
+ HUDDLE_STATUS_UNSPECIFIED = 0
271
+
272
+ # The huddle has started.
273
+ STARTED = 1
274
+
275
+ # The huddle has ended. In this case the Meet space URI and identifiers
276
+ # will no longer be valid.
277
+ ENDED = 2
278
+
279
+ # The huddle has been missed. In this case the Meet space URI and
280
+ # identifiers will no longer be valid.
281
+ MISSED = 3
282
+ end
283
+ end
284
+
285
+ # Data for Calendar event links.
286
+ # @!attribute [rw] calendar_id
287
+ # @return [::String]
288
+ # The [Calendar
289
+ # identifier](https://developers.google.com/workspace/calendar/api/v3/reference/calendars)
290
+ # of the linked Calendar.
291
+ # @!attribute [rw] event_id
292
+ # @return [::String]
293
+ # The [Event
294
+ # identifier](https://developers.google.com/workspace/calendar/api/v3/reference/events)
295
+ # of the linked Calendar event.
296
+ class CalendarEventLinkData
297
+ include ::Google::Protobuf::MessageExts
298
+ extend ::Google::Protobuf::MessageExts::ClassMethods
299
+ end
300
+
220
301
  # Type of the annotation.
221
302
  module AnnotationType
222
303
  # Default value for the enum. Don't use.
@@ -31,7 +31,9 @@ module Google
31
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
32
32
 
33
33
  # Who deleted the message and how it was deleted. More values may be added in
34
- # the future.
34
+ # the future. See [Edit or delete a message in Google
35
+ # Chat](https://support.google.com/chat/answer/7653281) for details on when
36
+ # messages can be deleted.
35
37
  module DeletionType
36
38
  # This value is unused.
37
39
  DELETION_TYPE_UNSPECIFIED = 0
@@ -39,23 +41,27 @@ module Google
39
41
  # User deleted their own message.
40
42
  CREATOR = 1
41
43
 
42
- # The space owner deleted the message.
44
+ # A space manager deleted the message.
43
45
  SPACE_OWNER = 2
44
46
 
45
- # A Google Workspace admin deleted the message.
47
+ # A Google Workspace administrator deleted the message. Administrators can
48
+ # delete any message in the space, including messages sent by any space
49
+ # member or Chat app.
46
50
  ADMIN = 3
47
51
 
48
52
  # A Chat app deleted its own message when it expired.
49
53
  APP_MESSAGE_EXPIRY = 4
50
54
 
51
- # A Chat app deleted the message on behalf of the user.
55
+ # A Chat app deleted the message on behalf of the creator (using user
56
+ # authentication).
52
57
  CREATOR_VIA_APP = 5
53
58
 
54
- # A Chat app deleted the message on behalf of the space owner.
59
+ # A Chat app deleted the message on behalf of a space manager (using user
60
+ # authentication).
55
61
  SPACE_OWNER_VIA_APP = 6
56
62
 
57
- # A member of the space deleted the message. Human users can delete
58
- # messages sent by apps.
63
+ # A member of the space deleted the message. Users can delete messages sent
64
+ # by apps.
59
65
  SPACE_MEMBER = 7
60
66
  end
61
67
  end
@@ -133,8 +133,6 @@ module Google
133
133
  # - When [authenticating as an
134
134
  # app](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app),
135
135
  # the `chat.app.memberships` authorization scope is required.
136
- # Authenticating as an app is available in [Developer
137
- # Preview](https://developers.google.com/workspace/preview).
138
136
  #
139
137
  # - Set `user.type` to `HUMAN`, and set `user.name` with format
140
138
  # `users/{user}`, where `{user}` can be the email address for the user. For
@@ -359,9 +357,13 @@ module Google
359
357
  # human users' or their own memberships. Chat apps can't delete other apps'
360
358
  # memberships.
361
359
  #
362
- # When deleting a human membership, requires the `chat.memberships` scope and
363
- # `spaces/{space}/members/{member}` format. You can use the email as an
364
- # alias for `{member}`. For example,
360
+ # When deleting a human membership, requires the `chat.memberships` scope
361
+ # with [user
362
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
363
+ # or the `chat.memberships.app` scope with [app
364
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
365
+ # and the `spaces/{space}/members/{member}` format.
366
+ # You can use the email as an alias for `{member}`. For example,
365
367
  # `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the
366
368
  # email of the Google Chat user.
367
369
  #
@@ -124,7 +124,9 @@ module Google
124
124
  # [Card builder](https://addons.gsuite.google.com/uikit/builder)
125
125
  # @!attribute [r] annotations
126
126
  # @return [::Array<::Google::Apps::Chat::V1::Annotation>]
127
- # Output only. Annotations associated with the `text` in this message.
127
+ # Output only. Annotations can be associated with the plain-text body of the
128
+ # message or with chips that link to Google Workspace resources like Google
129
+ # Docs or Sheets with `start_index` and `length` of 0.
128
130
  # @!attribute [rw] thread
129
131
  # @return [::Google::Apps::Chat::V1::Thread]
130
132
  # The thread the message belongs to. For example usage, see
@@ -21,12 +21,12 @@ module Google
21
21
  module Apps
22
22
  module Chat
23
23
  module V1
24
- # A [slash
24
+ # Metadata about a [slash
25
25
  # command](https://developers.google.com/workspace/chat/commands) in
26
26
  # Google Chat.
27
27
  # @!attribute [rw] command_id
28
28
  # @return [::Integer]
29
- # The ID of the slash command invoked.
29
+ # The ID of the slash command.
30
30
  class SlashCommand
31
31
  include ::Google::Protobuf::MessageExts
32
32
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -124,6 +124,20 @@ module Google
124
124
  # Optional. Specifies the [access
125
125
  # setting](https://support.google.com/chat/answer/11971020) of the space.
126
126
  # Only populated when the `space_type` is `SPACE`.
127
+ # @!attribute [rw] customer
128
+ # @return [::String]
129
+ # Optional. Immutable. The customer id of the domain of the space.
130
+ # Required only when creating a space with [app
131
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
132
+ # and `SpaceType` is `SPACE`, otherwise should not be set.
133
+ #
134
+ # In the format `customers/{customer}`, where `customer` is the `id` from the
135
+ # [Admin SDK customer resource](
136
+ # https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers).
137
+ # Private apps can also use the `customers/my_customer` alias to create
138
+ # the space in the same Google Workspace organization as the app.
139
+ #
140
+ # For DMs, this field isn't populated.
127
141
  # @!attribute [r] space_uri
128
142
  # @return [::String]
129
143
  # Output only. The URI for a user to access the space.
@@ -134,6 +148,17 @@ module Google
134
148
  # created. After you create the space, settings are populated in the
135
149
  # `PermissionSettings` field.
136
150
  #
151
+ # Setting predefined permission settings supports:
152
+ #
153
+ # - [App
154
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
155
+ # with [administrator
156
+ # approval](https://support.google.com/a?p=chat-app-auth) with the
157
+ # `chat.app.spaces` or `chat.app.spaces.create` scopes.
158
+ #
159
+ # - [User
160
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
161
+ #
137
162
  # Note: The following fields are mutually exclusive: `predefined_permission_settings`, `permission_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
138
163
  # @!attribute [rw] permission_settings
139
164
  # @return [::Google::Apps::Chat::V1::Space::PermissionSettings]
@@ -141,6 +166,18 @@ module Google
141
166
  # updating exact space permission settings, where existing permission
142
167
  # settings are replaced. Output lists current permission settings.
143
168
  #
169
+ # Reading and updating permission settings supports:
170
+ #
171
+ # - [App
172
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
173
+ # with [administrator
174
+ # approval](https://support.google.com/a?p=chat-app-auth) with the
175
+ # `chat.app.spaces` scope. Only populated and settable when the Chat app
176
+ # created the space.
177
+ #
178
+ # - [User
179
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
180
+ #
144
181
  # Note: The following fields are mutually exclusive: `permission_settings`, `predefined_permission_settings`. If a field in that set is populated, all other fields in the set will automatically be cleared.
145
182
  # @!attribute [r] import_mode_expire_time
146
183
  # @return [::Google::Protobuf::Timestamp]
@@ -214,8 +251,7 @@ module Google
214
251
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
215
252
  # with [administrator
216
253
  # approval](https://support.google.com/a?p=chat-app-auth)
217
- # with the `chat.app.spaces` scope in [Developer
218
- # Preview](https://developers.google.com/workspace/preview).
254
+ # with the `chat.app.spaces` scope.
219
255
  #
220
256
  # This field is not populated when using the `chat.bot` scope with [app
221
257
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
@@ -60,7 +60,7 @@ module Google
60
60
  # Optional. The Google Chat users or groups to invite to join the space. Omit
61
61
  # the calling user, as they are added automatically.
62
62
  #
63
- # The set currently allows up to 20 memberships (in addition to the caller).
63
+ # The set currently allows up to 49 memberships (in addition to the caller).
64
64
  #
65
65
  # For human membership, the `Membership.member` field must contain a `user`
66
66
  # with `name` populated (format: `users/{user}`) and `type` set to
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.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.6.8
161
+ rubygems_version: 3.6.9
162
162
  specification_version: 4
163
163
  summary: The Google Chat API lets you build Chat apps to integrate your services with
164
164
  Google Chat and manage Chat resources such as spaces, members, and messages.