From d7d6c3f1726c4647f42fe1cc02e189bb1ddbc7ab Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Thu, 29 Aug 2024 01:35:44 +0000 Subject: [PATCH] feat(discoveryengine)!: update the API BREAKING CHANGE: This release has breaking changes. #### discoveryengine:v1alpha The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score.description - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score.format - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.score.type The following keys were changed: - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim.properties.groundingCheckRequired.description #### discoveryengine:v1beta The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score.description - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score.format - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.score.type The following keys were changed: - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.properties.groundingCheckRequired.description #### discoveryengine:v1 The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score.description - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score.format - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.score.type The following keys were changed: - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.properties.groundingCheckRequired.description --- discovery/discoveryengine-v1.json | 9 ++------- discovery/discoveryengine-v1alpha.json | 9 ++------- discovery/discoveryengine-v1beta.json | 9 ++------- src/apis/discoveryengine/v1.ts | 6 +----- src/apis/discoveryengine/v1alpha.ts | 6 +----- src/apis/discoveryengine/v1beta.ts | 6 +----- 6 files changed, 9 insertions(+), 36 deletions(-) diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index ded0be23c8..54419054d6 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -5986,7 +5986,7 @@ } } }, - "revision": "20240817", + "revision": "20240826", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -7413,14 +7413,9 @@ "type": "integer" }, "groundingCheckRequired": { - "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.", + "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.", "type": "boolean" }, - "score": { - "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1].", - "format": "double", - "type": "number" - }, "startPos": { "description": "Position indicating the start of the claim in the answer candidate, measured in bytes.", "format": "int32", diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index 07c34c89ac..e4c5be1417 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -7517,7 +7517,7 @@ } } }, - "revision": "20240817", + "revision": "20240826", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -10605,14 +10605,9 @@ "type": "integer" }, "groundingCheckRequired": { - "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.", + "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.", "type": "boolean" }, - "score": { - "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1].", - "format": "double", - "type": "number" - }, "startPos": { "description": "Position indicating the start of the claim in the answer candidate, measured in bytes.", "format": "int32", diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index 432c3ad705..e8ac6aeac4 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -6786,7 +6786,7 @@ } } }, - "revision": "20240817", + "revision": "20240826", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -13278,14 +13278,9 @@ "type": "integer" }, "groundingCheckRequired": { - "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned.", + "description": "Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned.", "type": "boolean" }, - "score": { - "description": "Confidence score for the claim in the answer candidate, in the range of [0, 1].", - "format": "double", - "type": "number" - }, "startPos": { "description": "Position indicating the start of the claim in the answer candidate, measured in bytes.", "format": "int32", diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index a9ed8fa734..8c96ec3acb 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -5302,13 +5302,9 @@ export namespace discoveryengine_v1 { */ endPos?: number | null; /** - * Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned. + * Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned. */ groundingCheckRequired?: boolean | null; - /** - * Confidence score for the claim in the answer candidate, in the range of [0, 1]. - */ - score?: number | null; /** * Position indicating the start of the claim in the answer candidate, measured in bytes. */ diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index 1bb6708506..6cc857a127 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -1297,13 +1297,9 @@ export namespace discoveryengine_v1alpha { */ endPos?: number | null; /** - * Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned. + * Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned. */ groundingCheckRequired?: boolean | null; - /** - * Confidence score for the claim in the answer candidate, in the range of [0, 1]. - */ - score?: number | null; /** * Position indicating the start of the claim in the answer candidate, measured in bytes. */ diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index ecc9f0c61d..2c6aa93856 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -3613,13 +3613,9 @@ export namespace discoveryengine_v1beta { */ endPos?: number | null; /** - * Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned. + * Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned. */ groundingCheckRequired?: boolean | null; - /** - * Confidence score for the claim in the answer candidate, in the range of [0, 1]. - */ - score?: number | null; /** * Position indicating the start of the claim in the answer candidate, measured in bytes. */