Skip to content

Commit 376be8f

Browse files
feat(discoveryengine): update the api
#### discoveryengine:v1 The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk (Total Keys: 4) The following keys were added: - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponse.properties.citedFacts (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1FactChunk (Total Keys: 8) - schemas.GoogleCloudDiscoveryengineV1Feedback (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1PanelInfo.properties.documents (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1UserEvent.properties.feedback.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1UserEvent.properties.panels (Total Keys: 2) The following keys were changed: - schemas.GoogleCloudDiscoveryengineV1CheckGroundingResponse.properties.citedChunks.items.$ref (Total Keys: 1) #### discoveryengine:v1alpha The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseFactChunk (Total Keys: 4) The following keys were added: - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse.properties.citedFacts (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1alphaFactChunk (Total Keys: 8) - schemas.GoogleCloudDiscoveryengineV1alphaFeedback (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1alphaPanelInfo.properties.documents (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1alphaUserEvent.properties.feedback.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1alphaUserEvent.properties.panels (Total Keys: 2) The following keys were changed: - schemas.GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse.properties.citedChunks.items.$ref (Total Keys: 1) #### discoveryengine:v1beta The following keys were deleted: - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseFactChunk (Total Keys: 4) The following keys were added: - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponse.properties.citedFacts (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk (Total Keys: 3) - schemas.GoogleCloudDiscoveryengineV1betaFactChunk (Total Keys: 8) - schemas.GoogleCloudDiscoveryengineV1betaFeedback (Total Keys: 13) - schemas.GoogleCloudDiscoveryengineV1betaPanelInfo.properties.documents (Total Keys: 2) - schemas.GoogleCloudDiscoveryengineV1betaUserEvent.properties.feedback.$ref (Total Keys: 1) - schemas.GoogleCloudDiscoveryengineV1betaUserEvent.properties.panels (Total Keys: 2) The following keys were changed: - schemas.GoogleCloudDiscoveryengineV1betaCheckGroundingResponse.properties.citedChunks.items.$ref (Total Keys: 1)
1 parent 144b3d1 commit 376be8f

File tree

24 files changed

+1899
-54
lines changed

24 files changed

+1899
-54
lines changed

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,18 @@ <h3>Method Details</h3>
414414
&quot;engine&quot;: &quot;A String&quot;, # The Engine resource name, in the form of `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Optional. Only required for Engine produced user events. For example, user events from blended search.
415415
&quot;eventTime&quot;: &quot;A String&quot;, # Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.
416416
&quot;eventType&quot;: &quot;A String&quot;, # Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home &gt; Men &gt; Jeans * `add-feedback`: Add a user feedback. Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc.
417+
&quot;feedback&quot;: { # Information about the user feedback. This information will be used for logging and metrics purpose. # Optional. This field is optional except for the `add-feedback` event types.
418+
&quot;comment&quot;: &quot;A String&quot;, # Optional. The additional user comment of the feedback if user gives a thumb down.
419+
&quot;conversationInfo&quot;: { # The conversation information such as the question index and session name. # The related conversation information when user gives feedback.
420+
&quot;questionIndex&quot;: 42, # The index of the user input within the conversation messages.
421+
&quot;session&quot;: &quot;A String&quot;, # Name of the newly generated or continued session.
422+
},
423+
&quot;feedbackType&quot;: &quot;A String&quot;, # Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.
424+
&quot;llmModelVersion&quot;: &quot;A String&quot;, # The version of the LLM model that was used to generate the response.
425+
&quot;reasons&quot;: [ # Optional. The reason if user gives a thumb down.
426+
&quot;A String&quot;,
427+
],
428+
},
417429
&quot;filter&quot;: &quot;A String&quot;, # The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
418430
&quot;mediaInfo&quot;: { # Media-specific user event information. # Media-specific info.
419431
&quot;mediaProgressDuration&quot;: &quot;A String&quot;, # The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90.
@@ -427,10 +439,42 @@ <h3>Method Details</h3>
427439
},
428440
&quot;panel&quot;: { # Detailed panel information associated with a user event. # Panel metadata associated with this user event.
429441
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the panel.
442+
&quot;documents&quot;: [ # Optional. The document IDs associated with this panel.
443+
{ # Detailed document information associated with a user event.
444+
&quot;id&quot;: &quot;A String&quot;, # The Document resource ID.
445+
&quot;joined&quot;: True or False, # Output only. Whether the referenced Document can be found in the data store.
446+
&quot;name&quot;: &quot;A String&quot;, # The Document resource full name, of the form: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
447+
&quot;promotionIds&quot;: [ # The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
448+
&quot;A String&quot;,
449+
],
450+
&quot;quantity&quot;: 42, # Quantity of the Document associated with the user event. Defaults to 1. For example, this field is 2 if two quantities of the same Document are involved in a `add-to-cart` event. Required for events of the following event types: * `add-to-cart` * `purchase`
451+
&quot;uri&quot;: &quot;A String&quot;, # The Document URI - only allowed for website data stores.
452+
},
453+
],
430454
&quot;panelId&quot;: &quot;A String&quot;, # Required. The panel ID.
431455
&quot;panelPosition&quot;: 42, # The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set.
432456
&quot;totalPanels&quot;: 42, # The total number of panels, including this one, shown to the user. Must be set if panel_position is set.
433457
},
458+
&quot;panels&quot;: [ # Optional. List of panels associated with this event. Used for page-level impression data.
459+
{ # Detailed panel information associated with a user event.
460+
&quot;displayName&quot;: &quot;A String&quot;, # The display name of the panel.
461+
&quot;documents&quot;: [ # Optional. The document IDs associated with this panel.
462+
{ # Detailed document information associated with a user event.
463+
&quot;id&quot;: &quot;A String&quot;, # The Document resource ID.
464+
&quot;joined&quot;: True or False, # Output only. Whether the referenced Document can be found in the data store.
465+
&quot;name&quot;: &quot;A String&quot;, # The Document resource full name, of the form: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
466+
&quot;promotionIds&quot;: [ # The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID.
467+
&quot;A String&quot;,
468+
],
469+
&quot;quantity&quot;: 42, # Quantity of the Document associated with the user event. Defaults to 1. For example, this field is 2 if two quantities of the same Document are involved in a `add-to-cart` event. Required for events of the following event types: * `add-to-cart` * `purchase`
470+
&quot;uri&quot;: &quot;A String&quot;, # The Document URI - only allowed for website data stores.
471+
},
472+
],
473+
&quot;panelId&quot;: &quot;A String&quot;, # Required. The panel ID.
474+
&quot;panelPosition&quot;: 42, # The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set.
475+
&quot;totalPanels&quot;: 42, # The total number of panels, including this one, shown to the user. Must be set if panel_position is set.
476+
},
477+
],
434478
&quot;promotionIds&quot;: [ # The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID.
435479
&quot;A String&quot;,
436480
],

0 commit comments

Comments
 (0)