Skip to content

Commit 110d85a

Browse files
yoshi-automationsofisl
authored andcommitted
feat(cloudsearch): update the API
#### cloudsearch:v1 The following keys were added: - schemas.DynamiteMessagesScoringInfo.properties.lastReadTimestampAgeInDays.format - schemas.DynamiteMessagesScoringInfo.properties.lastReadTimestampAgeInDays.type The following keys were changed: - schemas.Annotation.properties.localId.description - schemas.Annotation.properties.uniqueId.description - schemas.CoActivity.properties.coActivityApp.enum - schemas.CoActivity.properties.coActivityApp.enumDescriptions - schemas.UploadMetadata.properties.attachmentToken.description
1 parent dd8be29 commit 110d85a

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

discovery/cloudsearch-v1.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@
20772077
}
20782078
}
20792079
},
2080-
"revision": "20230124",
2080+
"revision": "20230131",
20812081
"rootUrl": "https://cloudsearch.googleapis.com/",
20822082
"schemas": {
20832083
"AbuseReportingConfig": {
@@ -2384,7 +2384,7 @@
23842384
"type": "integer"
23852385
},
23862386
"localId": {
2387-
"description": "A unique client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the message.",
2387+
"description": "* A client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the message. There is no guarantee an annotation has a local_id, it's a purely client used and controlled field with no guarantee of uniqueness.",
23882388
"type": "string"
23892389
},
23902390
"membershipChanged": {
@@ -2480,7 +2480,7 @@
24802480
"type": "string"
24812481
},
24822482
"uniqueId": {
2483-
"description": "A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service.",
2483+
"description": "* A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service. All uploads should have a unique_id after the message they are attached to is successfully sent. Url annotations that originally were uploads (i.e. policy violations) will have a unique_id after the message they are attached to is successfully sent. No other url annotations should have a unique_id. All drive annotations should have a unique_id after the message they are attached to is successfully sent.",
24842484
"type": "string"
24852485
},
24862486
"uploadMetadata": {
@@ -6431,7 +6431,8 @@
64316431
"CO_ACTIVITY_APP_KAHOOT",
64326432
"CO_ACTIVITY_APP_GQUEUES",
64336433
"CO_ACTIVITY_APP_YOU_TUBE_MUSIC",
6434-
"CO_ACTIVITY_APP_SAMSUNG_NOTES"
6434+
"CO_ACTIVITY_APP_SAMSUNG_NOTES",
6435+
"CO_ACTIVITY_APP_HAPPY_AARDVARK"
64356436
],
64366437
"enumDescriptions": [
64376438
"Should never be used.",
@@ -6442,7 +6443,8 @@
64426443
"Kahoot! educational software.",
64436444
"GQueues task manager.",
64446445
"YouTube Music",
6445-
"Samsung Notes"
6446+
"Samsung Notes",
6447+
"."
64466448
],
64476449
"type": "string"
64486450
}
@@ -7559,6 +7561,10 @@
75597561
"format": "double",
75607562
"type": "number"
75617563
},
7564+
"lastReadTimestampAgeInDays": {
7565+
"format": "double",
7566+
"type": "number"
7567+
},
75627568
"messageAgeInDays": {
75637569
"format": "double",
75647570
"type": "number"
@@ -17558,7 +17564,7 @@
1755817564
"id": "UploadMetadata",
1755917565
"properties": {
1756017566
"attachmentToken": {
17561-
"description": "Opaque token. Clients shall simply pass it back to the Backend. This field will NOT be saved into storage.",
17567+
"description": "Opaque token. Clients shall simply pass it back to the Backend. There is no guarantee the attachment_token returned on subsequent reads is the same even if nothing has changed. This field will NOT be saved into storage.",
1756217568
"type": "string"
1756317569
},
1756417570
"backendUploadMetadata": {

src/apis/cloudsearch/v1.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export namespace cloudsearch_v1 {
268268
*/
269269
length?: number | null;
270270
/**
271-
* A unique client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the message.
271+
* * A client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to the original annotations on client side, without having to re-parse the message. There is no guarantee an annotation has a local_id, it's a purely client used and controlled field with no guarantee of uniqueness.
272272
*/
273273
localId?: string | null;
274274
/**
@@ -295,7 +295,7 @@ export namespace cloudsearch_v1 {
295295
*/
296296
type?: string | null;
297297
/**
298-
* A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service.
298+
* * A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched from service. All uploads should have a unique_id after the message they are attached to is successfully sent. Url annotations that originally were uploads (i.e. policy violations) will have a unique_id after the message they are attached to is successfully sent. No other url annotations should have a unique_id. All drive annotations should have a unique_id after the message they are attached to is successfully sent.
299299
*/
300300
uniqueId?: string | null;
301301
uploadMetadata?: Schema$UploadMetadata;
@@ -3401,6 +3401,7 @@ export namespace cloudsearch_v1 {
34013401
finalScore?: number | null;
34023402
freshnessScore?: number | null;
34033403
joinedSpaceAffinityScore?: number | null;
3404+
lastReadTimestampAgeInDays?: number | null;
34043405
messageAgeInDays?: number | null;
34053406
messageSenderAffinityScore?: number | null;
34063407
spaceId?: string | null;
@@ -8348,7 +8349,7 @@ export namespace cloudsearch_v1 {
83488349
*/
83498350
export interface Schema$UploadMetadata {
83508351
/**
8351-
* Opaque token. Clients shall simply pass it back to the Backend. This field will NOT be saved into storage.
8352+
* Opaque token. Clients shall simply pass it back to the Backend. There is no guarantee the attachment_token returned on subsequent reads is the same even if nothing has changed. This field will NOT be saved into storage.
83528353
*/
83538354
attachmentToken?: string | null;
83548355
/**

0 commit comments

Comments
 (0)