Skip to content

Commit 63bc63e

Browse files
feat(cloudsearch): update the api
#### cloudsearch:v1 The following keys were added: - schemas.Annotation.properties.componentSearchInfo.$ref (Total Keys: 1) - schemas.AppsDynamiteSharedMessageComponentSearchInfo (Total Keys: 3) - schemas.AppsDynamiteSharedTextSegment (Total Keys: 6) - schemas.DlpAction (Total Keys: 4) - schemas.DlpScanSummary.properties.dlpAction.$ref (Total Keys: 1) - schemas.DynamiteSpacesScoringInfo.properties.memberCountScore (Total Keys: 2)
1 parent cb3c078 commit 63bc63e

File tree

1 file changed

+112
-4
lines changed

1 file changed

+112
-4
lines changed

googleapiclient/discovery_cache/documents/cloudsearch.v1.json

Lines changed: 112 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@
20772077
}
20782078
}
20792079
},
2080-
"revision": "20230311",
2080+
"revision": "20230321",
20812081
"rootUrl": "https://cloudsearch.googleapis.com/",
20822082
"schemas": {
20832083
"AbuseReportingConfig": {
@@ -2322,7 +2322,7 @@
23222322
"type": "object"
23232323
},
23242324
"Annotation": {
2325-
"description": "NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new fields with potential PII, so they get scrubbed when logging protos for errors. NEXT TAG: 31",
2325+
"description": "NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new fields with potential PII, so they get scrubbed when logging protos for errors. NEXT TAG: 32",
23262326
"id": "Annotation",
23272327
"properties": {
23282328
"babelPlaceholderMetadata": {
@@ -2348,6 +2348,10 @@
23482348
],
23492349
"type": "string"
23502350
},
2351+
"componentSearchInfo": {
2352+
"$ref": "AppsDynamiteSharedMessageComponentSearchInfo",
2353+
"description": "Contains additional metadata that further enhances the annotation when it is returned as part of search response. For example, this can be used to define how the annotation matches the search. Information can be used to highlight in rendering search results. The following are the different annotation text fields that can be highlighted by this field: 1. DriveMetadata.title 2. UploadMetadata.content_name 3. GsuiteIntegrationMetadata.TasksMessageIntegrationRenderData.title 4. GsuiteIntegrationMetadata.CalendarEventAnnotationData.title"
2354+
},
23512355
"consentedAppUnfurlMetadata": {
23522356
"$ref": "ConsentedAppUnfurlMetadata"
23532357
},
@@ -3552,6 +3556,21 @@
35523556
},
35533557
"type": "object"
35543558
},
3559+
"AppsDynamiteSharedMessageComponentSearchInfo": {
3560+
"description": "Metadata used to describe search information in a specific component of a chat message, for example an annotation or an attachment.",
3561+
"id": "AppsDynamiteSharedMessageComponentSearchInfo",
3562+
"properties": {
3563+
"matchedSearch": {
3564+
"description": "Whether the whole component matched the search.",
3565+
"type": "boolean"
3566+
},
3567+
"titleTextWithDescription": {
3568+
"$ref": "AppsDynamiteSharedTextWithDescription",
3569+
"description": "Backend should always set TextWithDescription.text_body based on the title (or its snippet) of the annotation or attachment."
3570+
}
3571+
},
3572+
"type": "object"
3573+
},
35553574
"AppsDynamiteSharedMessageInfo": {
35563575
"description": "Information that references a Dynamite chat message. This is only used for Activity Feed messages.",
35573576
"id": "AppsDynamiteSharedMessageInfo",
@@ -3925,6 +3944,63 @@
39253944
"properties": {},
39263945
"type": "object"
39273946
},
3947+
"AppsDynamiteSharedTextSegment": {
3948+
"description": "Defines a segment in a text.",
3949+
"id": "AppsDynamiteSharedTextSegment",
3950+
"properties": {
3951+
"length": {
3952+
"description": "Length of the segment in the text.",
3953+
"format": "int32",
3954+
"type": "integer"
3955+
},
3956+
"startIndex": {
3957+
"description": "Start index (0-indexed and inclusive) of the segment in the text.",
3958+
"format": "int32",
3959+
"type": "integer"
3960+
}
3961+
},
3962+
"type": "object"
3963+
},
3964+
"AppsDynamiteSharedTextSegmentsWithDescription": {
3965+
"description": "Defines text segments with description type associated.",
3966+
"id": "AppsDynamiteSharedTextSegmentsWithDescription",
3967+
"properties": {
3968+
"descriptionType": {
3969+
"enum": [
3970+
"DESCRIPTION_TYPE_UNSPECIFIED",
3971+
"KEYWORD_MATCH"
3972+
],
3973+
"enumDescriptions": [
3974+
"",
3975+
"Indicates the text segments contain matched keywords. Client can highlight them in search results page."
3976+
],
3977+
"type": "string"
3978+
},
3979+
"textSegment": {
3980+
"items": {
3981+
"$ref": "AppsDynamiteSharedTextSegment"
3982+
},
3983+
"type": "array"
3984+
}
3985+
},
3986+
"type": "object"
3987+
},
3988+
"AppsDynamiteSharedTextWithDescription": {
3989+
"description": "Defines a text with descriptive text segments associated.",
3990+
"id": "AppsDynamiteSharedTextWithDescription",
3991+
"properties": {
3992+
"textBody": {
3993+
"type": "string"
3994+
},
3995+
"textSegmentsWithDescription": {
3996+
"items": {
3997+
"$ref": "AppsDynamiteSharedTextSegmentsWithDescription"
3998+
},
3999+
"type": "array"
4000+
}
4001+
},
4002+
"type": "object"
4003+
},
39284004
"AppsDynamiteSharedUserBlockRelationship": {
39294005
"description": "User-block relationship",
39304006
"id": "AppsDynamiteSharedUserBlockRelationship",
@@ -7194,10 +7270,38 @@
71947270
"properties": {},
71957271
"type": "object"
71967272
},
7273+
"DlpAction": {
7274+
"id": "DlpAction",
7275+
"properties": {
7276+
"actionType": {
7277+
"enum": [
7278+
"NO_ACTION",
7279+
"BLOCK",
7280+
"AUDIT_ONLY",
7281+
"WARN"
7282+
],
7283+
"enumDescriptions": [
7284+
"LINT.IfChange",
7285+
"",
7286+
"",
7287+
"LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/external/dlp/ApplicableDlpActionEvaluator.java)"
7288+
],
7289+
"type": "string"
7290+
},
7291+
"unsafeHtmlMessageBody": {
7292+
"description": "The custom error message defined by the customer administrator.",
7293+
"type": "string"
7294+
}
7295+
},
7296+
"type": "object"
7297+
},
71977298
"DlpScanSummary": {
71987299
"description": "A summary of a DLP scan event. This is a summary and should contain the minimum amount of data required to identify and process DLP scans. It is written to Starcast and encoded & returned to the client on attachment upload.",
71997300
"id": "DlpScanSummary",
72007301
"properties": {
7302+
"dlpAction": {
7303+
"$ref": "DlpAction"
7304+
},
72017305
"scanId": {
72027306
"description": "The scan ID of the corresponding {@link DlpViolationScanRecord} in the {@link EphemeralDlpScans} Spanner table. This can be used to fetch additional details about the scan, e.g. for audit logging.",
72037307
"type": "string"
@@ -7692,6 +7796,10 @@
76927796
"format": "int64",
76937797
"type": "string"
76947798
},
7799+
"memberCountScore": {
7800+
"format": "double",
7801+
"type": "number"
7802+
},
76957803
"memberMetadataCount": {
76967804
"format": "double",
76977805
"type": "number"
@@ -10178,7 +10286,7 @@
1017810286
"type": "object"
1017910287
},
1018010288
"GsuiteIntegrationMetadata": {
10181-
"description": "Annotation metadata for an GsuiteIntegration artifact.",
10289+
"description": "Annotation metadata for a GsuiteIntegration artifact.",
1018210290
"id": "GsuiteIntegrationMetadata",
1018310291
"properties": {
1018410292
"activityFeedData": {
@@ -10598,7 +10706,7 @@
1059810706
"id": "Id",
1059910707
"properties": {
1060010708
"creatorUserId": {
10601-
"description": "The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of the user this id is referring to.",
10709+
"description": "The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of the user this id is referring to. This field should really be called the \"bucket ID\", not the creator ID. In some circumstances, such as copying a Google Docs file, a user can create an item in a different user's bucket, so it should not be relied upon for anything other than bucket location. To look up the requesting user who initially created item, use the `creator_id` DirEntry field instead.",
1060210710
"format": "uint64",
1060310711
"type": "string"
1060410712
},

0 commit comments

Comments
 (0)