From 0794f6273825c22bcdae0ab49e1f01142b77628a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 13 Sep 2022 07:19:59 +0000 Subject: [PATCH] feat(cloudsearch): update the api #### cloudsearch:v1 The following keys were deleted: - schemas.AppsDynamiteSharedActivityFeedAnnotationData.properties.activityFeedMessageId.type (Total Keys: 1) The following keys were added: - schemas.AppsDynamiteSharedActivityFeedAnnotationData.properties.activityFeedMessageId.$ref (Total Keys: 1) - schemas.AppsDynamiteSharedMessageInfo.properties.messageType.type (Total Keys: 1) - schemas.AppsDynamiteSharedSegmentedMembershipCount (Total Keys: 10) - schemas.GoogleDocsMetadata.properties.numSubscribers (Total Keys: 2) - schemas.GoogleDocsMetadata.properties.numViewers (Total Keys: 2) - schemas.Message.properties.isContentPurged.type (Total Keys: 1) - schemas.Roster.properties.segmentedMembershipCounts.$ref (Total Keys: 1) - schemas.UserInfo.properties.updaterToShowName.type (Total Keys: 1) --- docs/dyn/cloudsearch_v1.query.html | 4 +- docs/dyn/cloudsearch_v1.query.sources.html | 2 +- .../documents/cloudsearch.v1.json | 130 +++++++++++++++--- 3 files changed, 114 insertions(+), 22 deletions(-) diff --git a/docs/dyn/cloudsearch_v1.query.html b/docs/dyn/cloudsearch_v1.query.html index 5a9eea264d2..f0f03c9da3c 100644 --- a/docs/dyn/cloudsearch_v1.query.html +++ b/docs/dyn/cloudsearch_v1.query.html @@ -166,7 +166,7 @@

Method Details

"debugOptions": { # Shared request debug options for all cloudsearch RPC methods. # Debug options of the request "enableDebugging": True or False, # If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. }, - "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the query. + "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting. "searchApplicationId": "A String", # The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922). "timeZone": "A String", # Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used. }, @@ -512,7 +512,7 @@

Method Details

"debugOptions": { # Shared request debug options for all cloudsearch RPC methods. # Debug options of the request "enableDebugging": True or False, # If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. }, - "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the query. + "languageCode": "A String", # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting. "searchApplicationId": "A String", # The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922). "timeZone": "A String", # Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used. }, diff --git a/docs/dyn/cloudsearch_v1.query.sources.html b/docs/dyn/cloudsearch_v1.query.sources.html index 149dc015bdc..93184767c04 100644 --- a/docs/dyn/cloudsearch_v1.query.sources.html +++ b/docs/dyn/cloudsearch_v1.query.sources.html @@ -96,7 +96,7 @@

Method Details

Args: pageToken: string, Number of sources to return in the response. requestOptions_debugOptions_enableDebugging: boolean, If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. - requestOptions_languageCode: string, The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the query. + requestOptions_languageCode: string, The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting. requestOptions_searchApplicationId: string, The ID generated when you create a search application using the [admin console](https://support.google.com/a/answer/9043922). requestOptions_timeZone: string, Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/) project, and currently available in the file [timezone.xml](http://unicode.org/repos/cldr/trunk/common/bcp47/timezone.xml). This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used. x__xgafv: string, V1 error format. diff --git a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json index cbc7adaec80..d5ffd6e88af 100644 --- a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json +++ b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json @@ -997,7 +997,7 @@ "type": "boolean" }, "requestOptions.languageCode": { - "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the query.", + "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting.", "location": "query", "type": "string" }, @@ -2059,7 +2059,7 @@ } } }, - "revision": "20220823", + "revision": "20220904", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "AbuseReportingConfig": { @@ -2500,7 +2500,8 @@ "ASSISTIVE_SUGGESTION_APP", "CONTACTS_APP", "ACTIVITY_FEED_APP", - "DRIVE_APP" + "DRIVE_APP", + "CHAT_IN_MEET_APP" ], "enumDescriptions": [ "", @@ -2513,6 +2514,7 @@ "Powered by Bullseye", "", "", + "", "" ], "type": "string" @@ -2581,12 +2583,12 @@ "type": "object" }, "AppsDynamiteSharedActivityFeedAnnotationData": { - "description": "Next Id: 5", + "description": "Next Id: 6", "id": "AppsDynamiteSharedActivityFeedAnnotationData", "properties": { "activityFeedMessageId": { - "description": "Unique id of the Activity Feed message. This will be in the form of \"space-id/message-id\" or \"dm-id/message-id\", where the space-/dm-id and message-id components are extracted from the top-level MessageId in message.proto (http://shortn/_SulV51DNfF). This is copied into annotations so that no client changes are needed to access this value. Clients will need a unique id for every Activity Feed message to implement click-to-source.", - "type": "string" + "$ref": "MessageId", + "description": "Unique id of the Activity Feed message used by clients to implement click-to-source. This is the same messageId as the top-level id field for the Activity Feed item." }, "chatItem": { "$ref": "AppsDynamiteSharedChatItem" @@ -4152,13 +4154,25 @@ "type": "object" }, "AppsDynamiteSharedMessageInfo": { - "description": "Information that references a Dynamite chat message.", + "description": "Information that references a Dynamite chat message. This is only used for Activity Feed messages.", "id": "AppsDynamiteSharedMessageInfo", "properties": { "messageId": { "$ref": "MessageId", "description": "Id of the source chat message. This is kept here because the top-level message ID to refers the AF message ID." }, + "messageType": { + "description": "The type of the source chat message.", + "enum": [ + "MESSAGE_TYPE_UNSPECIFIED", + "INLINE_REPLY" + ], + "enumDescriptions": [ + "Default value where type is not specified.", + "The source chat message is a threaded reply to another message." + ], + "type": "string" + }, "topicReadTimeUsec": { "description": "Timestamp of when the topic containing the message has been read by the user. This is populated if the message references an inline reply, in which case the space may be marked as read but the topic still has unread messages.", "format": "int64", @@ -4404,6 +4418,60 @@ }, "type": "object" }, + "AppsDynamiteSharedSegmentedMembershipCount": { + "description": "Contains info on membership count for member types: HUMAN_USER, BOT_USER & ROSTER_MEMBER different states: INVITED, JOINED", + "id": "AppsDynamiteSharedSegmentedMembershipCount", + "properties": { + "memberType": { + "enum": [ + "MEMBER_TYPE_UNSPECIFIED", + "HUMAN_USER", + "ROSTER_MEMBER" + ], + "enumDescriptions": [ + "default value", + "member is a human user", + "member is a roster" + ], + "type": "string" + }, + "membershipCount": { + "description": "count of members with given type and state", + "format": "int32", + "type": "integer" + }, + "membershipState": { + "enum": [ + "MEMBER_UNKNOWN", + "MEMBER_INVITED", + "MEMBER_JOINED", + "MEMBER_NOT_A_MEMBER", + "MEMBER_FAILED" + ], + "enumDescriptions": [ + "Default state, do not use", + "An invitation to the space has been sent", + "User has joined the space", + "User is not a member", + "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." + ], + "type": "string" + } + }, + "type": "object" + }, + "AppsDynamiteSharedSegmentedMembershipCounts": { + "id": "AppsDynamiteSharedSegmentedMembershipCounts", + "properties": { + "value": { + "items": { + "$ref": "AppsDynamiteSharedSegmentedMembershipCount" + }, + "type": "array" + } + }, + "type": "object" + }, "AppsDynamiteSharedSelectionInput": { "description": "A widget that creates a UI item (for example, a drop-down list) with options for users to select.", "id": "AppsDynamiteSharedSelectionInput", @@ -5512,7 +5580,7 @@ "type": "boolean" }, "moderationEnabled": { - "description": "Indicates whether the current call is moderated. go/meet-multimod-dd", + "description": "Indicates whether the current call is moderated.", "type": "boolean" }, "presentLock": { @@ -9054,7 +9122,7 @@ "type": "object" }, "GoogleDocsMetadata": { - "description": "The corpus specific metadata for office-type documents, from Google Docs and other sources. This message is passed to the scorer and beyond. Next tag: 7", + "description": "The corpus specific metadata for office-type documents, from Google Docs and other sources. This message is passed to the scorer and beyond. Next tag: 9", "id": "GoogleDocsMetadata", "properties": { "aclInfo": { @@ -9112,6 +9180,16 @@ "format": "int64", "type": "string" }, + "numSubscribers": { + "description": "Contains number of subscribers for the document.", + "format": "int32", + "type": "integer" + }, + "numViewers": { + "description": "Size of untruncated viewers list.", + "format": "int32", + "type": "integer" + }, "resultInfo": { "$ref": "GoogleDocsResultInfo", "description": "Additional per-result information, akin to Gmail's SingleThreadResponse. Note: GWS no longer seems to use this field, but there's still one reference to it for Scribe, so we can't remove it." @@ -10865,7 +10943,7 @@ "type": "array" }, "meetingAlias": { - "description": "An optional alias for the meeting space. The alias can in some cases be resolved to the meeting space, similar to the meeting code. The limitation is that the user needs to be in the same meeting domain as the meeting space. See go/thor-backend/meeting-alias for more details.", + "description": "An optional alias for the meeting space. The alias can in some cases be resolved to the meeting space, similar to the meeting code. The limitation is that the user needs to be in the same meeting domain as the meeting space.", "type": "string" }, "meetingCode": { @@ -10881,7 +10959,7 @@ "type": "string" }, "moreJoinUrl": { - "description": "Output only. A URL that clients (e.g. Calendar) can use to show the web page with all join methods available for this meeting space. This link is also used in iOS universal links and Android intents, used for opening the \"More ways to join\" view in the Thor mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, \"pin\" is the universal phone PIN. We include it explicitly to better support the offline case on the mobile. This is set when the meeting space has either a universal PIN or an interop PIN and clients who can show a \"more ways to join\" button should show it whenever this field is set.", + "description": "Output only. A URL that clients (e.g. Calendar) can use to show the web page with all join methods available for this meeting space. This link is also used in iOS universal links and Android intents, used for opening the \"More ways to join\" view in the Meet mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, \"pin\" is the universal phone PIN. We include it explicitly to better support the offline case on the mobile. This is set when the meeting space has either a universal PIN or an interop PIN and clients who can show a \"more ways to join\" button should show it whenever this field is set.", "readOnly": true, "type": "string" }, @@ -11239,6 +11317,10 @@ "$ref": "MessageId", "description": "ID of the resource." }, + "isContentPurged": { + "description": "Whether the message is content purged. Content purged messages contain only data required for tombstone (see go/chat-infinite-tombstone). This field is only used by Vault to display tombstone and should only be set to true if the message is a tombstone.", + "type": "boolean" + }, "isInlineReply": { "description": "Output only. Indicates if the message is an inline reply. Set to true only if the message's ParentPath is non-NULL. Currently, only inline replies have non-NULL ParentPath. See go/chat-be-inline-reply-indicator.", "readOnly": true, @@ -12996,8 +13078,8 @@ "enumDescriptions": [ "This is never used.", "A meeting recording saved to a video file in Google Drive.", - "A *Google Live* managed stream. See go/thor-managed-streaming.", - "A meeting broadcast. See go/thor-streaming-prd." + "A *Google Live* managed stream.", + "A meeting broadcast." ], "type": "string" }, @@ -13108,7 +13190,7 @@ "description": "Debug options of the request" }, "languageCode": { - "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the query.", + "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. From Suggest API perspective, for 3p suggest this is used as a hint while making predictions to add language boosting.", "type": "string" }, "searchApplicationId": { @@ -13130,9 +13212,11 @@ "items": { "enum": [ "REQUIRED_FEATURE_UNSPECIFIED", - "REQUIRED_FEATURE_MESSAGE_QUOTING" + "REQUIRED_FEATURE_MESSAGE_QUOTING", + "REQUIRED_FEATURE_TOMBSTONES_IN_DMS_AND_UFRS" ], "enumDescriptions": [ + "", "", "" ], @@ -13402,6 +13486,10 @@ "Roster deleted" ], "type": "string" + }, + "segmentedMembershipCounts": { + "$ref": "AppsDynamiteSharedSegmentedMembershipCounts", + "description": "Roster membership count. May contain counts based on member type and membership state." } }, "type": "object" @@ -14048,7 +14136,7 @@ "type": "boolean" }, "moderationEnabled": { - "description": "Indicates whether the meeting space is moderated. go/meet-multimod-dd", + "description": "Indicates whether the meeting space is moderated.", "type": "boolean" }, "presentLock": { @@ -14515,8 +14603,8 @@ "enumDescriptions": [ "This is never used.", "A meeting recording saved to a video file in Google Drive.", - "A *Google Live* managed stream. See go/thor-managed-streaming.", - "A meeting broadcast. See go/thor-streaming-prd." + "A *Google Live* managed stream.", + "A meeting broadcast." ], "type": "string" }, @@ -15428,7 +15516,7 @@ "type": "object" }, "UserInfo": { - "description": "Contains info regarding the updater of an Activity Feed item. Next Id: 6", + "description": "Contains info regarding the updater of an Activity Feed item. Next Id: 7", "id": "UserInfo", "properties": { "updaterCountDisplayType": { @@ -15459,6 +15547,10 @@ "format": "int64", "type": "string" }, + "updaterToShowName": { + "description": "The display name of the updater for clients to show used for Gmail items. This (along with the updater fields above) will be populated in the thread pipeline (http://shortn/_rPS0GCp94Y) when converting Activity Feed message attributes into client-renderable Activity Feed items.", + "type": "string" + }, "updaterToShowUserId": { "$ref": "UserId", "description": "The updater for clients to show used for Dynamite Chat items."