Skip to content

Commit

Permalink
feat(discoveryengine): update the api
Browse files Browse the repository at this point in the history
#### discoveryengine:v1

The following keys were added:
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.servingConfigs.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.servingConfigs.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- resources.projects.resources.locations.resources.dataStores.resources.servingConfigs.methods.patch (Total Keys: 15)
- resources.projects.resources.locations.resources.dataStores.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.dataStores.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1Answer.properties.groundingScore (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1Answer.properties.groundingSupports (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1AnswerGroundingSupport (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec.properties.modelSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1FhirStoreSource.properties.updateFromLatestPredefinedSchema.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1ServingConfig (Total Keys: 48)
- schemas.GoogleCloudDiscoveryengineV1Session.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1Session.properties.isPinned.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.groundingScore (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.groundingSupports (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1alphaGetSessionRequest (Total Keys: 4)
- schemas.GoogleCloudDiscoveryengineV1alphaListSessionsRequest (Total Keys: 8)
- schemas.GoogleCloudDiscoveryengineV1alphaListSessionsResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.isPinned.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)

#### discoveryengine:v1alpha

The following keys were added:
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- resources.projects.resources.locations.resources.dataStores.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.dataStores.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec (Total Keys: 51)
- schemas.GoogleCloudDiscoveryengineV1ServingConfig (Total Keys: 48)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.groundingScore (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.groundingSupports (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec.properties.modelSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1alphaFhirStoreSource.properties.updateFromLatestPredefinedSchema.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaGetSessionRequest (Total Keys: 4)
- schemas.GoogleCloudDiscoveryengineV1alphaListSessionsRequest (Total Keys: 8)
- schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.isPinned.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)

#### discoveryengine:v1beta

The following keys were added:
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.collections.resources.dataStores.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.collections.resources.engines.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- resources.projects.resources.locations.resources.dataStores.resources.servingConfigs.methods.streamAnswer (Total Keys: 12)
- resources.projects.resources.locations.resources.dataStores.resources.sessions.methods.get.parameters.includeAnswerDetails (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec (Total Keys: 51)
- schemas.GoogleCloudDiscoveryengineV1ServingConfig (Total Keys: 48)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.groundingScore (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswer.properties.groundingSupports (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1alphaGetSessionRequest (Total Keys: 4)
- schemas.GoogleCloudDiscoveryengineV1alphaListSessionsRequest (Total Keys: 8)
- schemas.GoogleCloudDiscoveryengineV1alphaListSessionsResponse (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaSession.properties.isPinned.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest (Total Keys: 5)
- schemas.GoogleCloudDiscoveryengineV1betaAnswer.properties.groundingScore (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1betaAnswer.properties.groundingSupports (Total Keys: 2)
- schemas.GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport (Total Keys: 11)
- schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec.properties.modelSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec (Total Keys: 3)
- schemas.GoogleCloudDiscoveryengineV1betaFhirStoreSource.properties.updateFromLatestPredefinedSchema.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec.properties.boostSpec.$ref (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1betaSession.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudDiscoveryengineV1betaSession.properties.isPinned.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Dec 10, 2024
1 parent cf44945 commit 8a30c6c
Show file tree
Hide file tree
Showing 47 changed files with 8,456 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ <h3>Method Details</h3>
&quot;resourceTypes&quot;: [ # The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
&quot;A String&quot;,
],
&quot;updateFromLatestPredefinedSchema&quot;: True or False, # Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.
},
&quot;firestoreSource&quot;: { # Firestore source import data from. # Firestore input source.
&quot;collectionId&quot;: &quot;A String&quot;, # Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ <h3>Method Details</h3>
],
&quot;completeTime&quot;: &quot;A String&quot;, # Output only. Answer completed timestamp.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Answer creation timestamp.
&quot;groundingScore&quot;: 3.14, # A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.
&quot;groundingSupports&quot;: [ # Optional. Grounding supports.
{ # Grounding support for a claim in `answer_text`.
&quot;endIndex&quot;: &quot;A String&quot;, # Required. End of the claim, exclusive.
&quot;groundingCheckRequired&quot;: True or False, # Indicates that this claim required grounding check. When the system decided this claim didn&#x27;t require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore `grounding_score`, `sources` is not returned.
&quot;groundingScore&quot;: 3.14, # A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks.
&quot;sources&quot;: [ # Optional. Citation sources for the claim.
{ # Citation source.
&quot;referenceId&quot;: &quot;A String&quot;, # ID of the citation source.
},
],
&quot;startIndex&quot;: &quot;A String&quot;, # Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).
},
],
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*`
&quot;queryUnderstandingInfo&quot;: { # Query understanding information. # Query understanding information.
&quot;queryClassificationInfo&quot;: [ # Query classification information.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3>Method Details</h3>
<pre>Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.

Args:
parent: string, Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. (required)
parent: string, Required. The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`. (required)
ets: string, The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.
uri: string, The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.
userEvent: string, Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ <h3>Method Details</h3>
],
&quot;completeTime&quot;: &quot;A String&quot;, # Output only. Answer completed timestamp.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Answer creation timestamp.
&quot;groundingScore&quot;: 3.14, # A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.
&quot;groundingSupports&quot;: [ # Optional. Grounding supports.
{ # Grounding support for a claim in `answer_text`.
&quot;endIndex&quot;: &quot;A String&quot;, # Required. End of the claim, exclusive.
&quot;groundingCheckRequired&quot;: True or False, # Indicates that this claim required grounding check. When the system decided this claim didn&#x27;t require attribution/grounding check, this field is set to false. In that case, no grounding check was done for the claim and therefore `grounding_score`, `sources` is not returned.
&quot;groundingScore&quot;: 3.14, # A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks.
&quot;sources&quot;: [ # Optional. Citation sources for the claim.
{ # Citation source.
&quot;referenceId&quot;: &quot;A String&quot;, # ID of the citation source.
},
],
&quot;startIndex&quot;: &quot;A String&quot;, # Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).
},
],
&quot;name&quot;: &quot;A String&quot;, # Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*/answers/*`
&quot;queryUnderstandingInfo&quot;: { # Query understanding information. # Query understanding information.
&quot;queryClassificationInfo&quot;: [ # Query classification information.
Expand Down
Loading

0 comments on commit 8a30c6c

Please sign in to comment.