Skip to content

Commit 58f3605

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1Feedback (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1UserEvent.properties.feedback.$ref (Total Keys: 1) The following keys were added: - endpoints (Total Keys: 1) - resources.projects.resources.locations.resources.userEvents.methods.import (Total Keys: 12) - schemas.GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec.properties.filteringLevel.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1DocumentInfo.properties.conversionValue (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1SessionTurn.properties.detailedAnswer (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1UserEvent.properties.conversionType.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaSessionTurn.properties.detailedAnswer (Total Keys: 2) #### discoveryengine:v1alpha The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse.properties.requirementResult.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaFeedback (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding.properties.blockingThreshold (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding.properties.warningThreshold (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaUserEvent.properties.feedback.$ref (Total Keys: 1) The following keys were added: - endpoints (Total Keys: 1) - resources.projects.resources.locations.resources.userEvents.methods.import (Total Keys: 12) - schemas.GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse.properties.result.type (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaDocumentInfo.properties.conversionValue (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaRequirement.properties.severity (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaRequirementThresholdBinding.properties.thresholdValues (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaRequirementThresholdBindingThresholdValue (Total Keys: 5) - schemas.GoogleCloudDiscoveryengineV1alphaSessionTurn.properties.detailedAnswer (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaUserEvent.properties.conversionType.type (Total Keys: 1) #### discoveryengine:v1beta The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1betaFeedback (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1betaUserEvent.properties.feedback.$ref (Total Keys: 1) The following keys were added: - endpoints (Total Keys: 1) - resources.projects.resources.locations.resources.userEvents.methods.import (Total Keys: 12) - schemas.GoogleCloudDiscoveryengineV1alphaSessionTurn.properties.detailedAnswer (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaDocumentInfo.properties.conversionValue (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaSessionTurn.properties.detailedAnswer (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaUserEvent.properties.conversionType.type (Total Keys: 1)
1 parent 9af1e3e commit 58f3605

File tree

48 files changed

+7973
-764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+7973
-764
lines changed

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.conversations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h3>Method Details</h3>
380380
&quot;pageEnd&quot;: 42, # The end page of the chunk.
381381
&quot;pageStart&quot;: 42, # The start page of the chunk.
382382
},
383-
&quot;relevanceScore&quot;: 3.14, # Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchService.SearchResponse.
383+
&quot;relevanceScore&quot;: 3.14, # Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchResponse.
384384
},
385385
&quot;document&quot;: { # Document captures all raw metadata information of items to be recommended or searched. # The document data snippet in the search response. Only fields that are marked as `retrievable` are populated.
386386
&quot;content&quot;: { # Unstructured data linked to this document. # The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.servingConfigs.html

Lines changed: 118 additions & 15 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.sessions.html

Lines changed: 660 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.collections.dataStores.userEvents.html

Lines changed: 15 additions & 39 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.collections.engines.conversations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h3>Method Details</h3>
380380
&quot;pageEnd&quot;: 42, # The end page of the chunk.
381381
&quot;pageStart&quot;: 42, # The start page of the chunk.
382382
},
383-
&quot;relevanceScore&quot;: 3.14, # Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchService.SearchResponse.
383+
&quot;relevanceScore&quot;: 3.14, # Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchResponse.
384384
},
385385
&quot;document&quot;: { # Document captures all raw metadata information of items to be recommended or searched. # The document data snippet in the search response. Only fields that are marked as `retrievable` are populated.
386386
&quot;content&quot;: { # Unstructured data linked to this document. # The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.

docs/dyn/discoveryengine_v1.projects.locations.collections.engines.servingConfigs.html

Lines changed: 118 additions & 15 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.collections.engines.sessions.html

Lines changed: 660 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.dataStores.conversations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h3>Method Details</h3>
380380
&quot;pageEnd&quot;: 42, # The end page of the chunk.
381381
&quot;pageStart&quot;: 42, # The start page of the chunk.
382382
},
383-
&quot;relevanceScore&quot;: 3.14, # Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchService.SearchResponse.
383+
&quot;relevanceScore&quot;: 3.14, # Output only. Represents the relevance score based on similarity. Higher score indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only populated on SearchResponse.
384384
},
385385
&quot;document&quot;: { # Document captures all raw metadata information of items to be recommended or searched. # The document data snippet in the search response. Only fields that are marked as `retrievable` are populated.
386386
&quot;content&quot;: { # Unstructured data linked to this document. # The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store.

docs/dyn/discoveryengine_v1.projects.locations.dataStores.servingConfigs.html

Lines changed: 118 additions & 15 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.dataStores.sessions.html

Lines changed: 660 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.dataStores.userEvents.html

Lines changed: 15 additions & 39 deletions
Large diffs are not rendered by default.

docs/dyn/discoveryengine_v1.projects.locations.groundingConfigs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139
],
140140
&quot;claimText&quot;: &quot;A String&quot;, # Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found.
141141
&quot;endPos&quot;: 42, # Position indicating the end of the claim in the answer candidate, exclusive.
142-
&quot;groundingCheckRequired&quot;: True or False, # Indicates that this claim required grounding check. When the system decided this claim doesn&#x27;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.
142+
&quot;groundingCheckRequired&quot;: True or False, # Indicates that this claim required grounding check. When the system decided this claim doesn&#x27;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 should not be returned.
143143
&quot;startPos&quot;: 42, # Position indicating the start of the claim in the answer candidate, measured in bytes.
144144
},
145145
],

docs/dyn/discoveryengine_v1.projects.locations.rankingConfigs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103
{ # Record message for RankService.Rank method.
104104
&quot;content&quot;: &quot;A String&quot;, # The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
105105
&quot;id&quot;: &quot;A String&quot;, # The unique ID to represent the record.
106-
&quot;score&quot;: 3.14, # The score of this record based on the given query and selected model.
106+
&quot;score&quot;: 3.14, # The score of this record based on the given query and selected model. The score will be rounded to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid returning unset.
107107
&quot;title&quot;: &quot;A String&quot;, # The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
108108
},
109109
],
@@ -126,7 +126,7 @@ <h3>Method Details</h3>
126126
{ # Record message for RankService.Rank method.
127127
&quot;content&quot;: &quot;A String&quot;, # The content of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
128128
&quot;id&quot;: &quot;A String&quot;, # The unique ID to represent the record.
129-
&quot;score&quot;: 3.14, # The score of this record based on the given query and selected model.
129+
&quot;score&quot;: 3.14, # The score of this record based on the given query and selected model. The score will be rounded to 2 decimal places. If the score is close to 0, it will be rounded to 0.0001 to avoid returning unset.
130130
&quot;title&quot;: &quot;A String&quot;, # The title of the record. Empty by default. At least one of title or content should be set otherwise an INVALID_ARGUMENT error is thrown.
131131
},
132132
],

0 commit comments

Comments
 (0)