diff --git a/api_names_out.yaml b/api_names_out.yaml index ed141701b23..391e871cb66 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -217405,6 +217405,7 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/correctedQuery": corrected_query "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/facets": facets "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/facets/facet": facet +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/naturalLanguageQueryUnderstandingInfo": natural_language_query_understanding_info "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/nextPageToken": next_page_token "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/queryExpansionInfo": query_expansion_info "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponse/redirectUri": redirect_uri @@ -217425,6 +217426,72 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue/count": count "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue/interval": interval "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue/value": value +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo": google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo/classifiedIntents": classified_intents +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo/classifiedIntents/classified_intent" +: classified_intent +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo/extractedFilters": extracted_filters +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo/rewrittenQuery": rewritten_query +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo/structuredExtractedFilter": structured_extracted_filter +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter/expression" +: expression +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression" +: google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter_and_expression +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression/expressions" +: expressions +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression/expressions/expression" +: expression +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" +: google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter_expression +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression/andExpr" +: and_expr +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression/geolocationConstraint" +: geolocation_constraint +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression/numberConstraint" +: number_constraint +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression/orExpr" +: or_expr +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression/stringConstraint" +: string_constraint +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint" +: google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter_geolocation_constraint +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint/address" +: address +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint/fieldName" +: field_name +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint/latitude" +: latitude +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint/longitude" +: longitude +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint/radiusInMeters" +: radius_in_meters +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint" +: google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter_number_constraint +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint/comparison" +: comparison +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint/fieldName" +: field_name +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint/querySegment" +: query_segment +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint/value" +: value +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression" +: google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter_or_expression +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression/expressions" +: expressions +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression/expressions/expression" +: expression +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint" +: google_cloud_discoveryengine_v1_search_response_natural_language_query_understanding_info_structured_extracted_filter_string_constraint +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint/fieldName" +: field_name +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint/querySegment" +: query_segment +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint/values" +: values +? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint/values/value" +: value "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo": google_cloud_discoveryengine_v1_search_response_query_expansion_info "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo/expandedQuery": expanded_query "/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo/pinnedResultCount": pinned_result_count diff --git a/generated/google-apis-discoveryengine_v1/CHANGELOG.md b/generated/google-apis-discoveryengine_v1/CHANGELOG.md index 6fe4663b0ba..269f285801b 100644 --- a/generated/google-apis-discoveryengine_v1/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-discoveryengine_v1 +### v0.66.0 (2026-01-25) + +* Regenerated from discovery document revision 20260118 + ### v0.65.0 (2026-01-18) * Regenerated from discovery document revision 20260112 diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb index d240fa19282..27813d35289 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb @@ -7880,9 +7880,10 @@ class GoogleCloudDiscoveryengineV1Engine # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt- # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search- # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` - # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- - # content` * `disable-google-drive-upload` + # personalization-memory` * `personalization-suggested-highlights` * `disable- + # agent-sharing` * `disable-image-generation` * `disable-video-generation` * ` + # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive- + # upload` * `disable-welcome-emails` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -9969,7 +9970,7 @@ def update!(**args) end end - # Response message for UserLicenseService.ListLicenseConfigUsageStats method. + # Response message for UserLicenseService.ListLicenseConfigsUsageStats method. class GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse include Google::Apis::Core::Hashable @@ -11691,15 +11692,15 @@ class GoogleCloudDiscoveryengineV1SearchRequest # Optional. The categories associated with a category page. Must be set for # category navigation queries to achieve good search quality. The format should - # be the same as UserEvent.PageInfo.page_category. This field is the equivalent - # of the query for browse (navigation) queries. It's used by the browse model - # when the query is empty. If the field is empty, it will not be used by the - # browse model. If the field contains more than one element, only the first - # element will be used. To represent full path of a category, use '>' character - # to separate different hierarchies. If '>' is part of the category name, - # replace it with other character(s). For example, `Graphics Cards > RTX>4090 > - # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as - # `Graphics Cards > RTX_4090 > Founders Edition` + # be the same as PageInfo.page_category. This field is the equivalent of the + # query for browse (navigation) queries. It's used by the browse model when the + # query is empty. If the field is empty, it will not be used by the browse model. + # If the field contains more than one element, only the first element will be + # used. To represent full path of a category, use '>' character to separate + # different hierarchies. If '>' is part of the category name, replace it with + # other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` + # where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > + # RTX_4090 > Founders Edition` # Corresponds to the JSON property `pageCategories` # @return [Array] attr_accessor :page_categories @@ -12714,8 +12715,8 @@ class GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstanding # search, the default is `HARD_FILTER`. For multi-datastore search, the default # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard # filters, and the `SOFT_BOOST` setting will not affect them. This field is only - # used if SearchRequest.natural_language_query_understanding_spec. - # filter_extraction_condition is set to FilterExtractionCondition.ENABLED. + # used if SearchRequest.NaturalLanguageQueryUnderstandingSpec. + # FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. # Corresponds to the JSON property `extractedFilterBehavior` # @return [String] attr_accessor :extracted_filter_behavior @@ -12902,6 +12903,12 @@ class GoogleCloudDiscoveryengineV1SearchResponse # @return [Array] attr_accessor :facets + # Information describing what natural language understanding was done on the + # input query. + # Corresponds to the JSON property `naturalLanguageQueryUnderstandingInfo` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo] + attr_accessor :natural_language_query_understanding_info + # A token that can be sent as SearchRequest.page_token to retrieve the next page. # If this field is omitted, there are no subsequent pages. # Corresponds to the JSON property `nextPageToken` @@ -12962,6 +12969,7 @@ def update!(**args) @attribution_token = args[:attribution_token] if args.key?(:attribution_token) @corrected_query = args[:corrected_query] if args.key?(:corrected_query) @facets = args[:facets] if args.key?(:facets) + @natural_language_query_understanding_info = args[:natural_language_query_understanding_info] if args.key?(:natural_language_query_understanding_info) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @query_expansion_info = args[:query_expansion_info] if args.key?(:query_expansion_info) @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri) @@ -13038,6 +13046,264 @@ def update!(**args) end end + # Information describing what natural language understanding was done on the + # input query. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo + include Google::Apis::Core::Hashable + + # The classified intents from the input query. + # Corresponds to the JSON property `classifiedIntents` + # @return [Array] + attr_accessor :classified_intents + + # The filters that were extracted from the input query. + # Corresponds to the JSON property `extractedFilters` + # @return [String] + attr_accessor :extracted_filters + + # Rewritten input query minus the extracted filters. + # Corresponds to the JSON property `rewrittenQuery` + # @return [String] + attr_accessor :rewritten_query + + # The filters that were extracted from the input query represented in a + # structured form. + # Corresponds to the JSON property `structuredExtractedFilter` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter] + attr_accessor :structured_extracted_filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @classified_intents = args[:classified_intents] if args.key?(:classified_intents) + @extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters) + @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query) + @structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter) + end + end + + # The filters that were extracted from the input query represented in a + # structured form. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter + include Google::Apis::Core::Hashable + + # The expression denoting the filter that was extracted from the input query. + # Corresponds to the JSON property `expression` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression] + attr_accessor :expression + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expression = args[:expression] if args.key?(:expression) + end + end + + # Logical `And` operator. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression + include Google::Apis::Core::Hashable + + # The expressions that were ANDed together. + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expressions = args[:expressions] if args.key?(:expressions) + end + end + + # The expression denoting the filter that was extracted from the input query. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression + include Google::Apis::Core::Hashable + + # Logical `And` operator. + # Corresponds to the JSON property `andExpr` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression] + attr_accessor :and_expr + + # Constraint of a geolocation field. Name of the geolocation field as defined in + # the schema. + # Corresponds to the JSON property `geolocationConstraint` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint] + attr_accessor :geolocation_constraint + + # Constraint expression of a number field. Example: price < 100. + # Corresponds to the JSON property `numberConstraint` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint] + attr_accessor :number_constraint + + # Logical `Or` operator. + # Corresponds to the JSON property `orExpr` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression] + attr_accessor :or_expr + + # Constraint expression of a string field. + # Corresponds to the JSON property `stringConstraint` + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint] + attr_accessor :string_constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @and_expr = args[:and_expr] if args.key?(:and_expr) + @geolocation_constraint = args[:geolocation_constraint] if args.key?(:geolocation_constraint) + @number_constraint = args[:number_constraint] if args.key?(:number_constraint) + @or_expr = args[:or_expr] if args.key?(:or_expr) + @string_constraint = args[:string_constraint] if args.key?(:string_constraint) + end + end + + # Constraint of a geolocation field. Name of the geolocation field as defined in + # the schema. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint + include Google::Apis::Core::Hashable + + # The reference address that was inferred from the input query. The proximity of + # the reference address to the geolocation field will be used to filter the + # results. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # The name of the geolocation field as defined in the schema. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # The latitude of the geolocation inferred from the input query. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + # The longitude of the geolocation inferred from the input query. + # Corresponds to the JSON property `longitude` + # @return [Float] + attr_accessor :longitude + + # The radius in meters around the address. The record is returned if the + # location of the geolocation field is within the radius. + # Corresponds to the JSON property `radiusInMeters` + # @return [Float] + attr_accessor :radius_in_meters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @field_name = args[:field_name] if args.key?(:field_name) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) + @radius_in_meters = args[:radius_in_meters] if args.key?(:radius_in_meters) + end + end + + # Constraint expression of a number field. Example: price < 100. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint + include Google::Apis::Core::Hashable + + # The comparison operation performed between the field value and the value + # specified in the constraint. + # Corresponds to the JSON property `comparison` + # @return [String] + attr_accessor :comparison + + # Name of the numerical field as defined in the schema. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # Identifies the keywords within the search query that match a filter. + # Corresponds to the JSON property `querySegment` + # @return [String] + attr_accessor :query_segment + + # The value specified in the numerical constraint. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @comparison = args[:comparison] if args.key?(:comparison) + @field_name = args[:field_name] if args.key?(:field_name) + @query_segment = args[:query_segment] if args.key?(:query_segment) + @value = args[:value] if args.key?(:value) + end + end + + # Logical `Or` operator. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression + include Google::Apis::Core::Hashable + + # The expressions that were ORed together. + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expressions = args[:expressions] if args.key?(:expressions) + end + end + + # Constraint expression of a string field. + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint + include Google::Apis::Core::Hashable + + # Name of the string field as defined in the schema. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # Identifies the keywords within the search query that match a filter. + # Corresponds to the JSON property `querySegment` + # @return [String] + attr_accessor :query_segment + + # Values of the string field. The record will only be returned if the field + # value matches one of the values specified here. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_name = args[:field_name] if args.key?(:field_name) + @query_segment = args[:query_segment] if args.key?(:query_segment) + @values = args[:values] if args.key?(:values) + end + end + # Information describing query expansion including whether expansion has # occurred. class GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo @@ -15605,7 +15871,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent # The name of the collection. It should be collection resource name. Format: ` # projects/`project`/locations/`location`/collections/`collection_id``. For APIs - # under WidgetService, such as WidgetService.LookUpWidgetConfig, the project + # under WidgetService, such as WidgetService.LookupWidgetConfig, the project # number and location part is erased in this field. # Corresponds to the JSON property `name` # @return [String] @@ -15677,7 +15943,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent # The name of the data store. It should be data store resource name Format: ` # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/ # `data_store_id``. For APIs under WidgetService, such as WidgetService. - # LookUpWidgetConfig, the project number and location part is erased in this + # LookupWidgetConfig, the project number and location part is erased in this # field. # Corresponds to the JSON property `name` # @return [String] @@ -15725,7 +15991,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig # The name of the data store. It should be data store resource name Format: ` # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/ # `data_store_id``. For APIs under WidgetService, such as WidgetService. - # LookUpWidgetConfig, the project number and location part is erased in this + # LookupWidgetConfig, the project number and location part is erased in this # field. # Corresponds to the JSON property `name` # @return [String] @@ -15964,9 +16230,10 @@ class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings # Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` # * `model-selector` * `notebook-lm` * `people-search` * `people-search-org- # chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` - # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- - # content` * `disable-google-drive-upload` + # personalization-memory` * `personalization-suggested-highlights` * `disable- + # agent-sharing` * `disable-image-generation` * `disable-video-generation` * ` + # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive- + # upload` * `disable-welcome-emails` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -17337,8 +17604,8 @@ class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply # Output only. When set, uniquely identifies a reply within the `AssistAnswer` # resource. During an AssistantService.StreamAssist call, multiple `Reply` # messages with the same ID can occur within the response stream (across - # multiple AssistantService.StreamAssistResponse messages). These represent - # parts of a single `Reply` message in the final `AssistAnswer` resource. + # multiple StreamAssistResponse messages). These represent parts of a single ` + # Reply` message in the final `AssistAnswer` resource. # Corresponds to the JSON property `replyId` # @return [String] attr_accessor :reply_id @@ -20420,9 +20687,10 @@ class GoogleCloudDiscoveryengineV1alphaEngine # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt- # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search- # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` - # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- - # content` * `disable-google-drive-upload` + # personalization-memory` * `personalization-suggested-highlights` * `disable- + # agent-sharing` * `disable-image-generation` * `disable-video-generation` * ` + # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive- + # upload` * `disable-welcome-emails` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -23519,15 +23787,15 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest # Optional. The categories associated with a category page. Must be set for # category navigation queries to achieve good search quality. The format should - # be the same as UserEvent.PageInfo.page_category. This field is the equivalent - # of the query for browse (navigation) queries. It's used by the browse model - # when the query is empty. If the field is empty, it will not be used by the - # browse model. If the field contains more than one element, only the first - # element will be used. To represent full path of a category, use '>' character - # to separate different hierarchies. If '>' is part of the category name, - # replace it with other character(s). For example, `Graphics Cards > RTX>4090 > - # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as - # `Graphics Cards > RTX_4090 > Founders Edition` + # be the same as PageInfo.page_category. This field is the equivalent of the + # query for browse (navigation) queries. It's used by the browse model when the + # query is empty. If the field is empty, it will not be used by the browse model. + # If the field contains more than one element, only the first element will be + # used. To represent full path of a category, use '>' character to separate + # different hierarchies. If '>' is part of the category name, replace it with + # other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` + # where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > + # RTX_4090 > Founders Edition` # Corresponds to the JSON property `pageCategories` # @return [Array] attr_accessor :page_categories @@ -24666,8 +24934,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUndersta # search, the default is `HARD_FILTER`. For multi-datastore search, the default # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard # filters, and the `SOFT_BOOST` setting will not affect them. This field is only - # used if SearchRequest.natural_language_query_understanding_spec. - # filter_extraction_condition is set to FilterExtractionCondition.ENABLED. + # used if SearchRequest.NaturalLanguageQueryUnderstandingSpec. + # FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. # Corresponds to the JSON property `extractedFilterBehavior` # @return [String] attr_accessor :extracted_filter_behavior @@ -27454,9 +27722,10 @@ class GoogleCloudDiscoveryengineV1betaEngine # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt- # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search- # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * ` - # personalization-memory` * `disable-agent-sharing` * `disable-image-generation` - # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to- - # content` * `disable-google-drive-upload` + # personalization-memory` * `personalization-suggested-highlights` * `disable- + # agent-sharing` * `disable-image-generation` * `disable-video-generation` * ` + # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive- + # upload` * `disable-welcome-emails` # Corresponds to the JSON property `features` # @return [Hash] attr_accessor :features @@ -29571,15 +29840,15 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest # Optional. The categories associated with a category page. Must be set for # category navigation queries to achieve good search quality. The format should - # be the same as UserEvent.PageInfo.page_category. This field is the equivalent - # of the query for browse (navigation) queries. It's used by the browse model - # when the query is empty. If the field is empty, it will not be used by the - # browse model. If the field contains more than one element, only the first - # element will be used. To represent full path of a category, use '>' character - # to separate different hierarchies. If '>' is part of the category name, - # replace it with other character(s). For example, `Graphics Cards > RTX>4090 > - # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as - # `Graphics Cards > RTX_4090 > Founders Edition` + # be the same as PageInfo.page_category. This field is the equivalent of the + # query for browse (navigation) queries. It's used by the browse model when the + # query is empty. If the field is empty, it will not be used by the browse model. + # If the field contains more than one element, only the first element will be + # used. To represent full path of a category, use '>' character to separate + # different hierarchies. If '>' is part of the category name, replace it with + # other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` + # where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards > + # RTX_4090 > Founders Edition` # Corresponds to the JSON property `pageCategories` # @return [Array] attr_accessor :page_categories @@ -30707,8 +30976,8 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstan # search, the default is `HARD_FILTER`. For multi-datastore search, the default # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard # filters, and the `SOFT_BOOST` setting will not affect them. This field is only - # used if SearchRequest.natural_language_query_understanding_spec. - # filter_extraction_condition is set to FilterExtractionCondition.ENABLED. + # used if SearchRequest.NaturalLanguageQueryUnderstandingSpec. + # FilterExtractionCondition is set to FilterExtractionCondition.ENABLED. # Corresponds to the JSON property `extractedFilterBehavior` # @return [String] attr_accessor :extracted_filter_behavior diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb index 3bcaa5858fa..802442c8351 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DiscoveryengineV1 # Version of the google-apis-discoveryengine_v1 gem - GEM_VERSION = "0.65.0" + GEM_VERSION = "0.66.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260112" + REVISION = "20260118" end end end diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb index e6700208181..ffa45fa9900 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb @@ -2068,6 +2068,54 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -8393,6 +8441,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :corrected_query, as: 'correctedQuery' collection :facets, as: 'facets', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseFacet, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseFacet::Representation + property :natural_language_query_understanding_info, as: 'naturalLanguageQueryUnderstandingInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo::Representation + property :next_page_token, as: 'nextPageToken' property :query_expansion_info, as: 'queryExpansionInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo::Representation @@ -8430,6 +8480,87 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :classified_intents, as: 'classifiedIntents' + property :extracted_filters, as: 'extractedFilters' + property :rewritten_query, as: 'rewrittenQuery' + property :structured_extracted_filter, as: 'structuredExtractedFilter', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter::Representation + + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expression, as: 'expression', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression::Representation + + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :expressions, as: 'expressions', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression::Representation + + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :and_expr, as: 'andExpr', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression::Representation + + property :geolocation_constraint, as: 'geolocationConstraint', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint::Representation + + property :number_constraint, as: 'numberConstraint', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint::Representation + + property :or_expr, as: 'orExpr', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression::Representation + + property :string_constraint, as: 'stringConstraint', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint::Representation + + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :field_name, as: 'fieldName' + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + property :radius_in_meters, as: 'radiusInMeters' + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :comparison, as: 'comparison' + property :field_name, as: 'fieldName' + property :query_segment, as: 'querySegment' + property :value, as: 'value' + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :expressions, as: 'expressions', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression::Representation + + end + end + + class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field_name, as: 'fieldName' + property :query_segment, as: 'querySegment' + collection :values, as: 'values' + end + end + class GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation