Skip to content

Commit

Permalink
feat(cloudsearch): update the api
Browse files Browse the repository at this point in the history
#### cloudsearch:v1

The following keys were deleted:
- schemas.CallInfo.properties.mediaBackendInfo (Total Keys: 2)

The following keys were added:
- schemas.DynamiteMessagesScoringInfo (Total Keys: 12)
- schemas.Message.properties.richTextFormattingType.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Dec 6, 2022
1 parent 27456f0 commit 2ebbbba
Showing 1 changed file with 71 additions and 35 deletions.
106 changes: 71 additions & 35 deletions googleapiclient/discovery_cache/documents/cloudsearch.v1.json
Expand Up @@ -2077,7 +2077,7 @@
}
}
},
"revision": "20221108",
"revision": "20221129",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"AbuseReportingConfig": {
Expand Down Expand Up @@ -2875,6 +2875,7 @@
"SCAN_SUCCEEDED_WARN",
"SCAN_SUCCEEDED_AUDIT_ONLY",
"SCAN_FAILURE_EXCEPTION",
"SCAN_FAILURE_RULE_FETCH_FAILED",
"SCAN_FAILURE_TIMEOUT",
"SCAN_FAILURE_ALL_RULES_FAILED",
"SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS",
Expand Down Expand Up @@ -2902,6 +2903,7 @@
"Violation is detected. The user will be warned, and the violation will be logged to BIP.",
"Violation is detected and will be logged to BIP (no user-facing action performed).",
"Rule fetch and evaluation were attempted but an exception occurred.",
"Rule fetch was attempted but failed, so rule evaluation could not be performed.",
"Rule fetch and evaluation were attempted but the scanning timed out.",
"Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.",
"An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.",
Expand Down Expand Up @@ -5850,11 +5852,6 @@
"readOnly": true,
"type": "integer"
},
"mediaBackendInfo": {
"description": "Output only. Information about the media backend for the currently ongoing conference in the meeting space. The media backend information will only be filled in for clients that are supposed to present the information. The information should be displayed in a debug panel and is only intended for internal debugging purposes. If the string is empty nothing should be displayed about the media backend. Deprecated because media backend is always MEDIA_ROUTER since Dec 2018.",
"readOnly": true,
"type": "string"
},
"organizationName": {
"description": "Output only. The name or description of the organization or domain that the organizer belongs to. The expected use of this in clients is to present messages like \"John Doe (outside of Google.com) is trying to join this call\", where \"Google.com\" is the organization name. The field will be empty if the organization name could not be determined, possibly because of a backend error.",
"readOnly": true,
Expand Down Expand Up @@ -6408,7 +6405,8 @@
"CO_ACTIVITY_APP_HEADSUP",
"CO_ACTIVITY_APP_KAHOOT",
"CO_ACTIVITY_APP_GQUEUES",
"CO_ACTIVITY_APP_YOU_TUBE_MUSIC"
"CO_ACTIVITY_APP_YOU_TUBE_MUSIC",
"CO_ACTIVITY_APP_SAMSUNG_NOTES"
],
"enumDescriptions": [
"Should never be used.",
Expand All @@ -6418,7 +6416,8 @@
"HeadsUp game.",
"Kahoot! educational software.",
"GQueues task manager.",
"YouTube Music"
"YouTube Music",
"Samsung Notes"
],
"type": "string"
}
Expand Down Expand Up @@ -7129,6 +7128,7 @@
"SCAN_SUCCEEDED_WARN",
"SCAN_SUCCEEDED_AUDIT_ONLY",
"SCAN_FAILURE_EXCEPTION",
"SCAN_FAILURE_RULE_FETCH_FAILED",
"SCAN_FAILURE_TIMEOUT",
"SCAN_FAILURE_ALL_RULES_FAILED",
"SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS",
Expand Down Expand Up @@ -7156,6 +7156,7 @@
"Violation is detected. The user will be warned, and the violation will be logged to BIP.",
"Violation is detected and will be logged to BIP (no user-facing action performed).",
"Rule fetch and evaluation were attempted but an exception occurred.",
"Rule fetch was attempted but failed, so rule evaluation could not be performed.",
"Rule fetch and evaluation were attempted but the scanning timed out.",
"Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.",
"An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.",
Expand Down Expand Up @@ -7492,6 +7493,33 @@
},
"type": "object"
},
"DynamiteMessagesScoringInfo": {
"description": "This is the proto for holding message level scoring information. This data is used for logging in query-api server and for testing purposes.",
"id": "DynamiteMessagesScoringInfo",
"properties": {
"finalScore": {
"format": "double",
"type": "number"
},
"freshnessScore": {
"format": "double",
"type": "number"
},
"joinedSpaceAffinityScore": {
"format": "double",
"type": "number"
},
"messageAgeInDays": {
"format": "double",
"type": "number"
},
"topicalityScore": {
"format": "double",
"type": "number"
}
},
"type": "object"
},
"DynamiteSpacesScoringInfo": {
"description": "This is the proto for holding space level scoring information. This data is used for logging in query-api server and for testing purposes.",
"id": "DynamiteSpacesScoringInfo",
Expand Down Expand Up @@ -12627,9 +12655,9 @@
],
"enumDescriptions": [
"Default case, should never be used. If this data is encountered in the DB any request should throw an exception.",
"No one can mutate the entity.",
"Only the creator of an entity can mutate it.",
"Every human member of a space or the creator can mutate the entity."
"No one except for the message creator/origin pair can mutate. This permission checks both gaia id and the request origin. Request origin can be Chat API or Chat UI. Mutation is allowed iff both attributes of the request match the original message creation. Use case: this allows historical 1P apps lock down message edit permission i.e. In Chat UI, humans cannot edit their messages created via these 1P apps. Do not use this for additional use cases.",
"The message creator can mutate regardless of request origin. Use case: for messages created by human via Chat UI or Chat API. These messages can be mutated by the same human user via Chat UI or via any app on Chat API.",
"Every human member of a space or the creator can mutate the entity. This excludes app acting on behalf of human via Chat API. Use case: This is to enable humans to delete messages created by apps."
],
"type": "string"
},
Expand All @@ -12656,6 +12684,7 @@
"SCAN_SUCCEEDED_WARN",
"SCAN_SUCCEEDED_AUDIT_ONLY",
"SCAN_FAILURE_EXCEPTION",
"SCAN_FAILURE_RULE_FETCH_FAILED",
"SCAN_FAILURE_TIMEOUT",
"SCAN_FAILURE_ALL_RULES_FAILED",
"SCAN_FAILURE_ILLEGAL_STATE_FOR_ATTACHMENTS",
Expand Down Expand Up @@ -12683,6 +12712,7 @@
"Violation is detected. The user will be warned, and the violation will be logged to BIP.",
"Violation is detected and will be logged to BIP (no user-facing action performed).",
"Rule fetch and evaluation were attempted but an exception occurred.",
"Rule fetch was attempted but failed, so rule evaluation could not be performed.",
"Rule fetch and evaluation were attempted but the scanning timed out.",
"Rule fetch completed and evaluation were attempted, but all of the rules failed to be evaluated.",
"An IllegalStateException is thrown when executing DLP on attachments. This could happen if the space row is missing.",
Expand Down Expand Up @@ -12719,9 +12749,9 @@
],
"enumDescriptions": [
"Default case, should never be used. If this data is encountered in the DB any request should throw an exception.",
"No one can mutate the entity.",
"Only the creator of an entity can mutate it.",
"Every human member of a space or the creator can mutate the entity."
"No one except for the message creator/origin pair can mutate. This permission checks both gaia id and the request origin. Request origin can be Chat API or Chat UI. Mutation is allowed iff both attributes of the request match the original message creation. Use case: this allows historical 1P apps lock down message edit permission i.e. In Chat UI, humans cannot edit their messages created via these 1P apps. Do not use this for additional use cases.",
"The message creator can mutate regardless of request origin. Use case: for messages created by human via Chat UI or Chat API. These messages can be mutated by the same human user via Chat UI or via any app on Chat API.",
"Every human member of a space or the creator can mutate the entity. This excludes app acting on behalf of human via Chat API. Use case: This is to enable humans to delete messages created by apps."
],
"type": "string"
},
Expand Down Expand Up @@ -12866,6 +12896,24 @@
"$ref": "AppsDynamiteSharedRetentionSettings",
"description": "The retention settings of the message."
},
"richTextFormattingType": {
"description": "Used by clients to correctly log format type for message creation due to complexity with client side optimistic update (see go/content-metric-post-send-logging for details). Currently, only set by server in the message or topic creation path.",
"enum": [
"NONE",
"MARKDOWN",
"FORMAT_ANNOTATIONS",
"FORMAT_ANNOTATIONS_IGNORED",
"FORMAT_ANNOTATIONS_IGNORED_WITH_MARKDOWN"
],
"enumDescriptions": [
"",
"The formatting was specified as *markdown characters* in message text.",
"The formatting was specified as {@link com.google.apps.dynamite.v1.shared.FormatMetadata} annotations.",
"The client sent the format annotations, but didn't set the accept_format_annotations field to true. This shouldn't happen, but there might be some old clients that end up here.",
"A combination of MARKDOWN and FORMAT_ANNOTATIONS_IGNORED."
],
"type": "string"
},
"secondaryMessageKey": {
"description": "A client-specified string that can be used to uniquely identify a message in a space, in lieu of `id.message_id`.",
"type": "string"
Expand Down Expand Up @@ -16533,6 +16581,10 @@
"description": "Link to the deletion policy webpage for the bot. Configured by Pantheon, may be empty.",
"type": "string"
},
"gwmUrl": {
"description": "Link to GWM page of the app. May be empty.",
"type": "string"
},
"privacyPolicyUrl": {
"description": "Link to the privacy policy webpage for the bot. May be empty.",
"type": "string"
Expand Down Expand Up @@ -17560,24 +17612,6 @@
"format": "int32",
"type": "integer"
},
"linkType": {
"description": "NEXT TAG : 18",
"enum": [
"UNDEFINED",
"AUTO_DETECTED_PLAIN_TEXT",
"RICH_TEXT",
"MARKDOWN",
"NO_ASSOCIATED_TEXT"
],
"enumDescriptions": [
"",
"Set by the server, when it detects a URL in the message text",
"Set by the client, when the user adds a link via the rich-text editing (RTE) toolbar",
"Set by the server, when it detects a URL in markdown-syntax in the message text",
"Set by the server when a URL annotation received from client has 0 length and 0 start index"
],
"type": "string"
},
"mimeType": {
"description": "Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.",
"type": "string"
Expand Down Expand Up @@ -17605,13 +17639,15 @@
"urlSource": {
"enum": [
"URL_SOURCE_UNKNOWN",
"USER_SUPPLIED_URL",
"SERVER_SUPPLIED_POLICY_VIOLATION"
"SERVER_SUPPLIED_POLICY_VIOLATION",
"AUTO_DETECTED_PLAIN_TEXT",
"RICH_TEXT"
],
"enumDescriptions": [
"",
"",
""
"Set by the server, when it detects a URL in the message text",
"Set by the client, when the user adds a link as a custom hyperlink. Validated by the server and persisted in storage."
],
"type": "string"
}
Expand Down

0 comments on commit 2ebbbba

Please sign in to comment.