Skip to content

Commit

Permalink
feat(cloudsearch)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### cloudsearch:v1

The following keys were deleted:
- schemas.RestrictItem.properties.driveFollowUpRestrict.description

The following keys were added:
- schemas.DynamiteSpacesScoringInfo.properties.lastMessagePostedTimestampMicros.format
- schemas.DynamiteSpacesScoringInfo.properties.lastMessagePostedTimestampMicros.type
- schemas.DynamiteSpacesScoringInfo.properties.memberMetadataCount.format
- schemas.DynamiteSpacesScoringInfo.properties.memberMetadataCount.type
- schemas.DynamiteSpacesScoringInfo.properties.numAucContacts.format
- schemas.DynamiteSpacesScoringInfo.properties.numAucContacts.type
- schemas.DynamiteSpacesScoringInfo.properties.spaceCreationTimestampMicros.format
- schemas.DynamiteSpacesScoringInfo.properties.spaceCreationTimestampMicros.type
- schemas.UserId.properties.actingUserId.description
- schemas.UserId.properties.actingUserId.type

The following keys were changed:
- schemas.RestrictItem.properties.driveMimeTypeRestrict.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 1, 2022
1 parent 1f7fd81 commit 5296afa
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
27 changes: 23 additions & 4 deletions discovery/cloudsearch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@
}
}
},
"revision": "20220314",
"revision": "20220322",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"AclInfo": {
Expand Down Expand Up @@ -2753,10 +2753,22 @@
"format": "double",
"type": "number"
},
"lastMessagePostedTimestampMicros": {
"format": "int64",
"type": "string"
},
"memberMetadataCount": {
"format": "double",
"type": "number"
},
"messageScore": {
"format": "double",
"type": "number"
},
"numAucContacts": {
"format": "int64",
"type": "string"
},
"smallContactListAffinityScore": {
"format": "double",
"type": "number"
Expand All @@ -2769,6 +2781,10 @@
"format": "double",
"type": "number"
},
"spaceCreationTimestampMicros": {
"format": "int64",
"type": "string"
},
"topicalityScore": {
"format": "double",
"type": "number"
Expand Down Expand Up @@ -4799,15 +4815,14 @@
"id": "RestrictItem",
"properties": {
"driveFollowUpRestrict": {
"$ref": "DriveFollowUpRestrict",
"description": "LINT.ThenChange(//depot/google3/java/com/google/apps/search/quality/itemsuggest/utils/SubtypeRerankingUtils.java)"
"$ref": "DriveFollowUpRestrict"
},
"driveLocationRestrict": {
"$ref": "DriveLocationRestrict"
},
"driveMimeTypeRestrict": {
"$ref": "DriveMimeTypeRestrict",
"description": "LINT.IfChange Drive Types."
"description": "Drive Types."
},
"driveTimeSpanRestrict": {
"$ref": "DriveTimeSpanRestrict"
Expand Down Expand Up @@ -5849,6 +5864,10 @@
"description": "Primary key for User resource.",
"id": "UserId",
"properties": {
"actingUserId": {
"description": "Optional. Opaque, server-assigned ID of the user profile associated with App/user acting on behalf of the human user. This is currently only set when a 3P application is acting on the user's behalf.",
"type": "string"
},
"id": {
"description": "Opaque, server-assigned ID of the User.",
"type": "string"
Expand Down
13 changes: 9 additions & 4 deletions src/apis/cloudsearch/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,14 @@ export namespace cloudsearch_v1 {
finalScore?: number | null;
freshnessScore?: number | null;
joinedSpacesAffinityScore?: number | null;
lastMessagePostedTimestampMicros?: string | null;
memberMetadataCount?: number | null;
messageScore?: number | null;
numAucContacts?: string | null;
smallContactListAffinityScore?: number | null;
smallUnjoinedSpacesAffinityScore?: number | null;
spaceAgeInDays?: number | null;
spaceCreationTimestampMicros?: string | null;
topicalityScore?: number | null;
}
/**
Expand Down Expand Up @@ -1866,13 +1870,10 @@ export namespace cloudsearch_v1 {
* Information relevant only to a restrict entry. NextId: 12
*/
export interface Schema$RestrictItem {
/**
* LINT.ThenChange(//depot/google3/java/com/google/apps/search/quality/itemsuggest/utils/SubtypeRerankingUtils.java)
*/
driveFollowUpRestrict?: Schema$DriveFollowUpRestrict;
driveLocationRestrict?: Schema$DriveLocationRestrict;
/**
* LINT.IfChange Drive Types.
* Drive Types.
*/
driveMimeTypeRestrict?: Schema$DriveMimeTypeRestrict;
driveTimeSpanRestrict?: Schema$DriveTimeSpanRestrict;
Expand Down Expand Up @@ -2566,6 +2567,10 @@ export namespace cloudsearch_v1 {
* Primary key for User resource.
*/
export interface Schema$UserId {
/**
* Optional. Opaque, server-assigned ID of the user profile associated with App/user acting on behalf of the human user. This is currently only set when a 3P application is acting on the user's behalf.
*/
actingUserId?: string | null;
/**
* Opaque, server-assigned ID of the User.
*/
Expand Down

0 comments on commit 5296afa

Please sign in to comment.