|
1994 | 1994 | }
|
1995 | 1995 | }
|
1996 | 1996 | },
|
1997 |
| - "revision": "20220201", |
| 1997 | + "revision": "20220207", |
1998 | 1998 | "rootUrl": "https://cloudsearch.googleapis.com/",
|
1999 | 1999 | "schemas": {
|
2000 | 2000 | "AclInfo": {
|
|
2034 | 2034 | },
|
2035 | 2035 | "type": "object"
|
2036 | 2036 | },
|
| 2037 | + "AppId": { |
| 2038 | + "description": "Identifier of an App.", |
| 2039 | + "id": "AppId", |
| 2040 | + "properties": { |
| 2041 | + "appType": { |
| 2042 | + "description": "Enum indicating the type of App this is.", |
| 2043 | + "enum": [ |
| 2044 | + "APP_TYPE_UNSPECIFIED", |
| 2045 | + "APP", |
| 2046 | + "GSUITE_APP", |
| 2047 | + "INCOMING_WEBHOOK" |
| 2048 | + ], |
| 2049 | + "enumDescriptions": [ |
| 2050 | + "", |
| 2051 | + "3P APP eg. external Bots(Asana Bot), 1P Bots(Drive Bot).", |
| 2052 | + "1P APP eg. Tasks, Meet, Docs, Calendar..", |
| 2053 | + "Asynchronous messages via an incoming webhook." |
| 2054 | + ], |
| 2055 | + "type": "string" |
| 2056 | + }, |
| 2057 | + "gsuiteAppType": { |
| 2058 | + "description": "Enum indicating which 1P App this is when app_type is GSUITE_APP. Determined & set by the 1P API as a convenience for all users of this identifier(Eg. clients, chime, backend etc.) to map to 1P properties.", |
| 2059 | + "enum": [ |
| 2060 | + "GSUITE_APP_TYPE_UNSPECIFIED", |
| 2061 | + "TASKS_APP", |
| 2062 | + "CALENDAR_APP", |
| 2063 | + "DOCS_APP", |
| 2064 | + "SHEETS_APP", |
| 2065 | + "SLIDES_APP", |
| 2066 | + "MEET_APP", |
| 2067 | + "FILE_SUGGESTION_APP", |
| 2068 | + "CONTACTS_APP", |
| 2069 | + "ACTIVITY_FEED_APP", |
| 2070 | + "DRIVE_APP" |
| 2071 | + ], |
| 2072 | + "enumDescriptions": [ |
| 2073 | + "", |
| 2074 | + "", |
| 2075 | + "", |
| 2076 | + "", |
| 2077 | + "", |
| 2078 | + "", |
| 2079 | + "", |
| 2080 | + "Powered by Bullseye", |
| 2081 | + "", |
| 2082 | + "", |
| 2083 | + "" |
| 2084 | + ], |
| 2085 | + "type": "string" |
| 2086 | + }, |
| 2087 | + "id": { |
| 2088 | + "description": "Numeric identifier of the App. Set to Project number for 1/3P Apps. For Webhook, this is WebhookId. Determined & set by the 1P API from App credentials on the side channel.", |
| 2089 | + "format": "int64", |
| 2090 | + "type": "string" |
| 2091 | + } |
| 2092 | + }, |
| 2093 | + "type": "object" |
| 2094 | + }, |
2037 | 2095 | "AuditLoggingSettings": {
|
2038 | 2096 | "description": "Represents the settings for Cloud audit logging",
|
2039 | 2097 | "id": "AuditLoggingSettings",
|
|
2057 | 2115 | },
|
2058 | 2116 | "type": "object"
|
2059 | 2117 | },
|
| 2118 | + "AvatarInfo": { |
| 2119 | + "id": "AvatarInfo", |
| 2120 | + "properties": { |
| 2121 | + "emoji": { |
| 2122 | + "$ref": "Emoji" |
| 2123 | + } |
| 2124 | + }, |
| 2125 | + "type": "object" |
| 2126 | + }, |
2060 | 2127 | "BooleanOperatorOptions": {
|
2061 | 2128 | "description": "Used to provide a search operator for boolean properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
|
2062 | 2129 | "id": "BooleanOperatorOptions",
|
|
2134 | 2201 | },
|
2135 | 2202 | "type": "object"
|
2136 | 2203 | },
|
| 2204 | + "CustomEmoji": { |
| 2205 | + "description": "Proto representation of a custom emoji. May be used in both APIs and in Spanner, but certain fields should be restricted to one or the other. See the per-field documentation for details. NEXT_TAG: 11", |
| 2206 | + "id": "CustomEmoji", |
| 2207 | + "properties": { |
| 2208 | + "blobId": { |
| 2209 | + "description": "ID for the underlying image data in Blobstore. This field should *only* be present in Spanner or within the server, but should not be exposed in public APIs.", |
| 2210 | + "type": "string" |
| 2211 | + }, |
| 2212 | + "createTimeMicros": { |
| 2213 | + "description": "Time when the Emoji was created, in microseconds. This field may be present in Spanner, within the server, or in public APIs.", |
| 2214 | + "format": "int64", |
| 2215 | + "type": "string" |
| 2216 | + }, |
| 2217 | + "creatorUserId": { |
| 2218 | + "$ref": "UserId", |
| 2219 | + "description": "This field should *never* be persisted to Spanner." |
| 2220 | + }, |
| 2221 | + "ownerCustomerId": { |
| 2222 | + "$ref": "CustomerId", |
| 2223 | + "description": "This field should *never* be persisted to Spanner." |
| 2224 | + }, |
| 2225 | + "readToken": { |
| 2226 | + "description": "Opaque token that clients use to construct the URL for accessing the custom emoji\u2019s image data. This field is intended for API consumption, and should *never* be persisted to Spanner.", |
| 2227 | + "type": "string" |
| 2228 | + }, |
| 2229 | + "shortcode": { |
| 2230 | + "description": "User-provided, human-readable ID for the custom emoji. Users are expected to observe this field in the UI instead of the UUID. This shortcode should be unique within an organization, but has no global uniqueness guarantees, unlike the UUID. This field should *never* be persisted to Spanner.", |
| 2231 | + "type": "string" |
| 2232 | + }, |
| 2233 | + "state": { |
| 2234 | + "description": "Snapshot of the current state of the emoji, which may differ from the source-of-truth in the CustomEmojis table. This field should *never* be persisted to Spanner.", |
| 2235 | + "enum": [ |
| 2236 | + "EMOJI_STATE_UNSPECIFIED", |
| 2237 | + "EMOJI_ENABLED", |
| 2238 | + "EMOJI_SYSTEM_DISABLED", |
| 2239 | + "EMOJI_HIDDEN", |
| 2240 | + "EMOJI_DELETED" |
| 2241 | + ], |
| 2242 | + "enumDescriptions": [ |
| 2243 | + "", |
| 2244 | + "Emoji is visible and available to be used, subject to access control requirements.", |
| 2245 | + "Emoji can no longer be used (e.g. due to a shortcode conflict), but is not removed from existing embeddings.", |
| 2246 | + "Emoji is hidden from pickers, so new usages are not allowed, but is not removed from existing embeddings.", |
| 2247 | + "Emoji is removed everywhere and is not available to end-users." |
| 2248 | + ], |
| 2249 | + "type": "string" |
| 2250 | + }, |
| 2251 | + "updateTimeMicros": { |
| 2252 | + "format": "int64", |
| 2253 | + "type": "string" |
| 2254 | + }, |
| 2255 | + "uuid": { |
| 2256 | + "description": "Unique key for a custom emoji resource. Required. This field is *always* populated.", |
| 2257 | + "type": "string" |
| 2258 | + } |
| 2259 | + }, |
| 2260 | + "type": "object" |
| 2261 | + }, |
| 2262 | + "CustomerId": { |
| 2263 | + "description": "Represents a GSuite customer ID. Obfuscated with CustomerIdObfuscator.", |
| 2264 | + "id": "CustomerId", |
| 2265 | + "properties": { |
| 2266 | + "customerId": { |
| 2267 | + "type": "string" |
| 2268 | + } |
| 2269 | + }, |
| 2270 | + "type": "object" |
| 2271 | + }, |
2137 | 2272 | "CustomerIndexStats": {
|
2138 | 2273 | "description": "Aggregation of items by status code as of the specified date.",
|
2139 | 2274 | "id": "CustomerIndexStats",
|
|
2432 | 2567 | },
|
2433 | 2568 | "type": "object"
|
2434 | 2569 | },
|
| 2570 | + "DmId": { |
| 2571 | + "id": "DmId", |
| 2572 | + "properties": { |
| 2573 | + "dmId": { |
| 2574 | + "description": "Unique server assigned Id, per Direct Message Space.", |
| 2575 | + "type": "string" |
| 2576 | + } |
| 2577 | + }, |
| 2578 | + "type": "object" |
| 2579 | + }, |
2435 | 2580 | "DoubleOperatorOptions": {
|
2436 | 2581 | "description": "Used to provide a search operator for double properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
|
2437 | 2582 | "id": "DoubleOperatorOptions",
|
|
2589 | 2734 | },
|
2590 | 2735 | "type": "object"
|
2591 | 2736 | },
|
| 2737 | + "Emoji": { |
| 2738 | + "id": "Emoji", |
| 2739 | + "properties": { |
| 2740 | + "customEmoji": { |
| 2741 | + "$ref": "CustomEmoji", |
| 2742 | + "description": "A custom emoji." |
| 2743 | + }, |
| 2744 | + "unicode": { |
| 2745 | + "description": "A basic emoji represented by a unicode string.", |
| 2746 | + "type": "string" |
| 2747 | + } |
| 2748 | + }, |
| 2749 | + "type": "object" |
| 2750 | + }, |
2592 | 2751 | "EnumOperatorOptions": {
|
2593 | 2752 | "description": "Used to provide a search operator for enum properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. For example, if you provide no operator for a *priority* enum property with possible values *p0* and *p1*, a query that contains the term *p0* returns items that have *p0* as the value of the *priority* property, as well as any items that contain the string *p0* in other fields. If you provide an operator name for the enum, such as *priority*, then search users can use that operator to refine results to only items that have *p0* as this property's value, with the query *priority:p0*.",
|
2594 | 2753 | "id": "EnumOperatorOptions",
|
|
3075 | 3234 | },
|
3076 | 3235 | "type": "object"
|
3077 | 3236 | },
|
| 3237 | + "GroupId": { |
| 3238 | + "description": "Id representing a group that could be a space, a chat, or a direct message space. Which ID is set here will determine which group", |
| 3239 | + "id": "GroupId", |
| 3240 | + "properties": { |
| 3241 | + "dmId": { |
| 3242 | + "$ref": "DmId", |
| 3243 | + "description": "Unique, immutable ID of the Direct Message Space" |
| 3244 | + }, |
| 3245 | + "spaceId": { |
| 3246 | + "$ref": "SpaceId", |
| 3247 | + "description": "Unique, immutable ID of the Space" |
| 3248 | + } |
| 3249 | + }, |
| 3250 | + "type": "object" |
| 3251 | + }, |
3078 | 3252 | "HtmlOperatorOptions": {
|
3079 | 3253 | "description": "Used to provide a search operator for html properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched.",
|
3080 | 3254 | "id": "HtmlOperatorOptions",
|
|
4923 | 5097 | "type": "integer"
|
4924 | 5098 | },
|
4925 | 5099 | "query": {
|
4926 |
| - "description": "The raw query string. See supported search operators in the [Cloud search Cheat Sheet](https://support.google.com/a/users/answer/9299929)", |
| 5100 | + "description": "The raw query string. See supported search operators in the [Narrow your search with operators](https://support.google.com/cloudsearch/answer/6172299)", |
4927 | 5101 | "type": "string"
|
4928 | 5102 | },
|
4929 | 5103 | "queryInterpretationOptions": {
|
|
5234 | 5408 | },
|
5235 | 5409 | "type": "object"
|
5236 | 5410 | },
|
| 5411 | + "SpaceId": { |
| 5412 | + "description": "Primary key for Space resource.", |
| 5413 | + "id": "SpaceId", |
| 5414 | + "properties": { |
| 5415 | + "spaceId": { |
| 5416 | + "description": "Unique, immutable ID of the Space", |
| 5417 | + "type": "string" |
| 5418 | + } |
| 5419 | + }, |
| 5420 | + "type": "object" |
| 5421 | + }, |
| 5422 | + "SpaceInfo": { |
| 5423 | + "description": "Defines the representation of a single matching space.", |
| 5424 | + "id": "SpaceInfo", |
| 5425 | + "properties": { |
| 5426 | + "avatarInfo": { |
| 5427 | + "$ref": "AvatarInfo" |
| 5428 | + }, |
| 5429 | + "description": { |
| 5430 | + "type": "string" |
| 5431 | + }, |
| 5432 | + "groupId": { |
| 5433 | + "$ref": "GroupId" |
| 5434 | + }, |
| 5435 | + "name": { |
| 5436 | + "type": "string" |
| 5437 | + }, |
| 5438 | + "numMembers": { |
| 5439 | + "format": "int32", |
| 5440 | + "type": "integer" |
| 5441 | + }, |
| 5442 | + "userMembershipState": { |
| 5443 | + "description": "searching user's membership state in this space", |
| 5444 | + "enum": [ |
| 5445 | + "MEMBER_UNKNOWN", |
| 5446 | + "MEMBER_INVITED", |
| 5447 | + "MEMBER_JOINED", |
| 5448 | + "MEMBER_NOT_A_MEMBER", |
| 5449 | + "MEMBER_FAILED" |
| 5450 | + ], |
| 5451 | + "enumDescriptions": [ |
| 5452 | + "Default state, do not use", |
| 5453 | + "An invitation to the space has been sent", |
| 5454 | + "User has joined the space", |
| 5455 | + "User is not a member", |
| 5456 | + "This state should never be stored in Spanner. It is a state for responses to the clients to indicate that membership mutations have failed and the member is in its previous state." |
| 5457 | + ], |
| 5458 | + "type": "string" |
| 5459 | + } |
| 5460 | + }, |
| 5461 | + "type": "object" |
| 5462 | + }, |
5237 | 5463 | "SpellResult": {
|
5238 | 5464 | "id": "SpellResult",
|
5239 | 5465 | "properties": {
|
|
5559 | 5785 | },
|
5560 | 5786 | "type": "object"
|
5561 | 5787 | },
|
| 5788 | + "UserId": { |
| 5789 | + "description": "Primary key for User resource.", |
| 5790 | + "id": "UserId", |
| 5791 | + "properties": { |
| 5792 | + "id": { |
| 5793 | + "description": "Opaque, server-assigned ID of the User.", |
| 5794 | + "type": "string" |
| 5795 | + }, |
| 5796 | + "originAppId": { |
| 5797 | + "$ref": "AppId", |
| 5798 | + "description": "Optional. Identifier of the App involved (directly or on behalf of a human creator) in creating this message. This is not set if the user posted a message directly, but is used in the case of, for example, a message being generated by a 1P integration based on a user action (creating an event, creating a task etc). This should only be used on the BE. For clients, please use the field in the FE message proto instead (google3/apps/dynamite/v1/frontend/api/message.proto?q=origin_app_id)." |
| 5799 | + }, |
| 5800 | + "type": { |
| 5801 | + "description": "Clients do not need to send UserType to Backend, but Backend will always send this field to clients per the following rule: 1. For HUMAN Ids, the field is empty but by default .getType() will return HUMAN. 2. For BOT Ids, the field is ALWAYS set to BOT.", |
| 5802 | + "enum": [ |
| 5803 | + "HUMAN", |
| 5804 | + "BOT" |
| 5805 | + ], |
| 5806 | + "enumDescriptions": [ |
| 5807 | + "Notes on HUMAN type: 1) Leaving UserId.UserType field empty will return HUMAN as default value. This is expected because all the existing UserIds are without explicitly setting UserType, most of which are HUMAN Ids. For Bot Ids we will always set BOT in UserType field. 2) DO NOT explicitly set HUMAN as type. This is a proto2 issue, that a UserId with explicitly set default value HUMAN as type is NOT equal to an id without setting the field. aka. UserId id1 = UserId.newBuilder() .setId(\"dummy\").setType(UserType.HUMAN).build(); UserId id2 = UserId.newBuilder().setId(\"dummy\").build(); AssertThat(id1).isNotEqual(id2); AssertThat(id2.getType()).isEqualTo(UserType.HUMAN);", |
| 5808 | + "" |
| 5809 | + ], |
| 5810 | + "type": "string" |
| 5811 | + } |
| 5812 | + }, |
| 5813 | + "type": "object" |
| 5814 | + }, |
5562 | 5815 | "VPCSettings": {
|
5563 | 5816 | "id": "VPCSettings",
|
5564 | 5817 | "properties": {
|
|
0 commit comments