google-apis-discoveryengine_v1 0.64.0 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7880,9 +7880,10 @@ module Google
7880
7880
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
7881
7881
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
7882
7882
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
7883
- # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
7884
- # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
7885
- # content` * `disable-google-drive-upload`
7883
+ # personalization-memory` * `personalization-suggested-highlights` * `disable-
7884
+ # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
7885
+ # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
7886
+ # upload` * `disable-welcome-emails`
7886
7887
  # Corresponds to the JSON property `features`
7887
7888
  # @return [Hash<String,String>]
7888
7889
  attr_accessor :features
@@ -7894,6 +7895,11 @@ module Google
7894
7895
  # @return [String]
7895
7896
  attr_accessor :industry_vertical
7896
7897
 
7898
+ # Configuration message for the Knowledge Graph.
7899
+ # Corresponds to the JSON property `knowledgeGraphConfig`
7900
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig]
7901
+ attr_accessor :knowledge_graph_config
7902
+
7897
7903
  # Additional config specs for a Media Recommendation engine.
7898
7904
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
7899
7905
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
@@ -7952,6 +7958,7 @@ module Google
7952
7958
  @display_name = args[:display_name] if args.key?(:display_name)
7953
7959
  @features = args[:features] if args.key?(:features)
7954
7960
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
7961
+ @knowledge_graph_config = args[:knowledge_graph_config] if args.key?(:knowledge_graph_config)
7955
7962
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
7956
7963
  @model_configs = args[:model_configs] if args.key?(:model_configs)
7957
7964
  @name = args[:name] if args.key?(:name)
@@ -8095,6 +8102,98 @@ module Google
8095
8102
  end
8096
8103
  end
8097
8104
 
8105
+ # Configuration message for the Knowledge Graph.
8106
+ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig
8107
+ include Google::Apis::Core::Hashable
8108
+
8109
+ # Specify entity types to support.
8110
+ # Corresponds to the JSON property `cloudKnowledgeGraphTypes`
8111
+ # @return [Array<String>]
8112
+ attr_accessor :cloud_knowledge_graph_types
8113
+
8114
+ # Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false
8115
+ # if not specified.
8116
+ # Corresponds to the JSON property `enableCloudKnowledgeGraph`
8117
+ # @return [Boolean]
8118
+ attr_accessor :enable_cloud_knowledge_graph
8119
+ alias_method :enable_cloud_knowledge_graph?, :enable_cloud_knowledge_graph
8120
+
8121
+ # Whether to enable the Private Knowledge Graph for the engine. Defaults to
8122
+ # false if not specified.
8123
+ # Corresponds to the JSON property `enablePrivateKnowledgeGraph`
8124
+ # @return [Boolean]
8125
+ attr_accessor :enable_private_knowledge_graph
8126
+ alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
8127
+
8128
+ # Feature config for the Knowledge Graph.
8129
+ # Corresponds to the JSON property `featureConfig`
8130
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig]
8131
+ attr_accessor :feature_config
8132
+
8133
+ # Specify entity types to support.
8134
+ # Corresponds to the JSON property `privateKnowledgeGraphTypes`
8135
+ # @return [Array<String>]
8136
+ attr_accessor :private_knowledge_graph_types
8137
+
8138
+ def initialize(**args)
8139
+ update!(**args)
8140
+ end
8141
+
8142
+ # Update properties of this object
8143
+ def update!(**args)
8144
+ @cloud_knowledge_graph_types = args[:cloud_knowledge_graph_types] if args.key?(:cloud_knowledge_graph_types)
8145
+ @enable_cloud_knowledge_graph = args[:enable_cloud_knowledge_graph] if args.key?(:enable_cloud_knowledge_graph)
8146
+ @enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
8147
+ @feature_config = args[:feature_config] if args.key?(:feature_config)
8148
+ @private_knowledge_graph_types = args[:private_knowledge_graph_types] if args.key?(:private_knowledge_graph_types)
8149
+ end
8150
+ end
8151
+
8152
+ # Feature config for the Knowledge Graph.
8153
+ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig
8154
+ include Google::Apis::Core::Hashable
8155
+
8156
+ # Whether to disable the private KG auto complete for the engine. Defaults to
8157
+ # false if not specified.
8158
+ # Corresponds to the JSON property `disablePrivateKgAutoComplete`
8159
+ # @return [Boolean]
8160
+ attr_accessor :disable_private_kg_auto_complete
8161
+ alias_method :disable_private_kg_auto_complete?, :disable_private_kg_auto_complete
8162
+
8163
+ # Whether to disable the private KG enrichment for the engine. Defaults to false
8164
+ # if not specified.
8165
+ # Corresponds to the JSON property `disablePrivateKgEnrichment`
8166
+ # @return [Boolean]
8167
+ attr_accessor :disable_private_kg_enrichment
8168
+ alias_method :disable_private_kg_enrichment?, :disable_private_kg_enrichment
8169
+
8170
+ # Whether to disable the private KG for query UI chips. Defaults to false if not
8171
+ # specified.
8172
+ # Corresponds to the JSON property `disablePrivateKgQueryUiChips`
8173
+ # @return [Boolean]
8174
+ attr_accessor :disable_private_kg_query_ui_chips
8175
+ alias_method :disable_private_kg_query_ui_chips?, :disable_private_kg_query_ui_chips
8176
+
8177
+ # Whether to disable the private KG query understanding for the engine. Defaults
8178
+ # to false if not specified.
8179
+ # Corresponds to the JSON property `disablePrivateKgQueryUnderstanding`
8180
+ # @return [Boolean]
8181
+ attr_accessor :disable_private_kg_query_understanding
8182
+ alias_method :disable_private_kg_query_understanding?, :disable_private_kg_query_understanding
8183
+
8184
+ def initialize(**args)
8185
+ update!(**args)
8186
+ end
8187
+
8188
+ # Update properties of this object
8189
+ def update!(**args)
8190
+ @disable_private_kg_auto_complete = args[:disable_private_kg_auto_complete] if args.key?(:disable_private_kg_auto_complete)
8191
+ @disable_private_kg_enrichment = args[:disable_private_kg_enrichment] if args.key?(:disable_private_kg_enrichment)
8192
+ @disable_private_kg_query_ui_chips = args[:disable_private_kg_query_ui_chips] if args.key?(:disable_private_kg_query_ui_chips)
8193
+ @disable_private_kg_query_understanding = args[:disable_private_kg_query_understanding] if args.key?(:disable_private_kg_query_understanding)
8194
+ end
8195
+ end
8196
+
8098
8197
  # Additional config specs for a Media Recommendation engine.
8099
8198
  class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
8100
8199
  include Google::Apis::Core::Hashable
@@ -8592,6 +8691,16 @@ module Google
8592
8691
  attr_accessor :enable_static_indexing_for_batch_ingestion
8593
8692
  alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
8594
8693
 
8694
+ # Optional. Names of the Group resources to use as a basis for the initial
8695
+ # patient filter, in format `projects/`project_id`/locations/`location_id`/
8696
+ # datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. The
8697
+ # filter group must be a FHIR resource name of type Group, and the filter will
8698
+ # be constructed from the direct members of the group which are Patient
8699
+ # resources.
8700
+ # Corresponds to the JSON property `initialFilterGroups`
8701
+ # @return [Array<String>]
8702
+ attr_accessor :initial_filter_groups
8703
+
8595
8704
  def initialize(**args)
8596
8705
  update!(**args)
8597
8706
  end
@@ -8600,6 +8709,7 @@ module Google
8600
8709
  def update!(**args)
8601
8710
  @enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
8602
8711
  @enable_static_indexing_for_batch_ingestion = args[:enable_static_indexing_for_batch_ingestion] if args.key?(:enable_static_indexing_for_batch_ingestion)
8712
+ @initial_filter_groups = args[:initial_filter_groups] if args.key?(:initial_filter_groups)
8603
8713
  end
8604
8714
  end
8605
8715
 
@@ -9860,7 +9970,7 @@ module Google
9860
9970
  end
9861
9971
  end
9862
9972
 
9863
- # Response message for UserLicenseService.ListLicenseConfigUsageStats method.
9973
+ # Response message for UserLicenseService.ListLicenseConfigsUsageStats method.
9864
9974
  class GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse
9865
9975
  include Google::Apis::Core::Hashable
9866
9976
 
@@ -11582,15 +11692,15 @@ module Google
11582
11692
 
11583
11693
  # Optional. The categories associated with a category page. Must be set for
11584
11694
  # category navigation queries to achieve good search quality. The format should
11585
- # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
11586
- # of the query for browse (navigation) queries. It's used by the browse model
11587
- # when the query is empty. If the field is empty, it will not be used by the
11588
- # browse model. If the field contains more than one element, only the first
11589
- # element will be used. To represent full path of a category, use '>' character
11590
- # to separate different hierarchies. If '>' is part of the category name,
11591
- # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
11592
- # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
11593
- # `Graphics Cards > RTX_4090 > Founders Edition`
11695
+ # be the same as PageInfo.page_category. This field is the equivalent of the
11696
+ # query for browse (navigation) queries. It's used by the browse model when the
11697
+ # query is empty. If the field is empty, it will not be used by the browse model.
11698
+ # If the field contains more than one element, only the first element will be
11699
+ # used. To represent full path of a category, use '>' character to separate
11700
+ # different hierarchies. If '>' is part of the category name, replace it with
11701
+ # other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition`
11702
+ # where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards >
11703
+ # RTX_4090 > Founders Edition`
11594
11704
  # Corresponds to the JSON property `pageCategories`
11595
11705
  # @return [Array<String>]
11596
11706
  attr_accessor :page_categories
@@ -12605,8 +12715,8 @@ module Google
12605
12715
  # search, the default is `HARD_FILTER`. For multi-datastore search, the default
12606
12716
  # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
12607
12717
  # filters, and the `SOFT_BOOST` setting will not affect them. This field is only
12608
- # used if SearchRequest.natural_language_query_understanding_spec.
12609
- # filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
12718
+ # used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.
12719
+ # FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.
12610
12720
  # Corresponds to the JSON property `extractedFilterBehavior`
12611
12721
  # @return [String]
12612
12722
  attr_accessor :extracted_filter_behavior
@@ -12793,6 +12903,12 @@ module Google
12793
12903
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseFacet>]
12794
12904
  attr_accessor :facets
12795
12905
 
12906
+ # Information describing what natural language understanding was done on the
12907
+ # input query.
12908
+ # Corresponds to the JSON property `naturalLanguageQueryUnderstandingInfo`
12909
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo]
12910
+ attr_accessor :natural_language_query_understanding_info
12911
+
12796
12912
  # A token that can be sent as SearchRequest.page_token to retrieve the next page.
12797
12913
  # If this field is omitted, there are no subsequent pages.
12798
12914
  # Corresponds to the JSON property `nextPageToken`
@@ -12853,6 +12969,7 @@ module Google
12853
12969
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
12854
12970
  @corrected_query = args[:corrected_query] if args.key?(:corrected_query)
12855
12971
  @facets = args[:facets] if args.key?(:facets)
12972
+ @natural_language_query_understanding_info = args[:natural_language_query_understanding_info] if args.key?(:natural_language_query_understanding_info)
12856
12973
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
12857
12974
  @query_expansion_info = args[:query_expansion_info] if args.key?(:query_expansion_info)
12858
12975
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
@@ -12929,6 +13046,264 @@ module Google
12929
13046
  end
12930
13047
  end
12931
13048
 
13049
+ # Information describing what natural language understanding was done on the
13050
+ # input query.
13051
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo
13052
+ include Google::Apis::Core::Hashable
13053
+
13054
+ # The classified intents from the input query.
13055
+ # Corresponds to the JSON property `classifiedIntents`
13056
+ # @return [Array<String>]
13057
+ attr_accessor :classified_intents
13058
+
13059
+ # The filters that were extracted from the input query.
13060
+ # Corresponds to the JSON property `extractedFilters`
13061
+ # @return [String]
13062
+ attr_accessor :extracted_filters
13063
+
13064
+ # Rewritten input query minus the extracted filters.
13065
+ # Corresponds to the JSON property `rewrittenQuery`
13066
+ # @return [String]
13067
+ attr_accessor :rewritten_query
13068
+
13069
+ # The filters that were extracted from the input query represented in a
13070
+ # structured form.
13071
+ # Corresponds to the JSON property `structuredExtractedFilter`
13072
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter]
13073
+ attr_accessor :structured_extracted_filter
13074
+
13075
+ def initialize(**args)
13076
+ update!(**args)
13077
+ end
13078
+
13079
+ # Update properties of this object
13080
+ def update!(**args)
13081
+ @classified_intents = args[:classified_intents] if args.key?(:classified_intents)
13082
+ @extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters)
13083
+ @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
13084
+ @structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter)
13085
+ end
13086
+ end
13087
+
13088
+ # The filters that were extracted from the input query represented in a
13089
+ # structured form.
13090
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
13091
+ include Google::Apis::Core::Hashable
13092
+
13093
+ # The expression denoting the filter that was extracted from the input query.
13094
+ # Corresponds to the JSON property `expression`
13095
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression]
13096
+ attr_accessor :expression
13097
+
13098
+ def initialize(**args)
13099
+ update!(**args)
13100
+ end
13101
+
13102
+ # Update properties of this object
13103
+ def update!(**args)
13104
+ @expression = args[:expression] if args.key?(:expression)
13105
+ end
13106
+ end
13107
+
13108
+ # Logical `And` operator.
13109
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression
13110
+ include Google::Apis::Core::Hashable
13111
+
13112
+ # The expressions that were ANDed together.
13113
+ # Corresponds to the JSON property `expressions`
13114
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression>]
13115
+ attr_accessor :expressions
13116
+
13117
+ def initialize(**args)
13118
+ update!(**args)
13119
+ end
13120
+
13121
+ # Update properties of this object
13122
+ def update!(**args)
13123
+ @expressions = args[:expressions] if args.key?(:expressions)
13124
+ end
13125
+ end
13126
+
13127
+ # The expression denoting the filter that was extracted from the input query.
13128
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
13129
+ include Google::Apis::Core::Hashable
13130
+
13131
+ # Logical `And` operator.
13132
+ # Corresponds to the JSON property `andExpr`
13133
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression]
13134
+ attr_accessor :and_expr
13135
+
13136
+ # Constraint of a geolocation field. Name of the geolocation field as defined in
13137
+ # the schema.
13138
+ # Corresponds to the JSON property `geolocationConstraint`
13139
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint]
13140
+ attr_accessor :geolocation_constraint
13141
+
13142
+ # Constraint expression of a number field. Example: price < 100.
13143
+ # Corresponds to the JSON property `numberConstraint`
13144
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint]
13145
+ attr_accessor :number_constraint
13146
+
13147
+ # Logical `Or` operator.
13148
+ # Corresponds to the JSON property `orExpr`
13149
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression]
13150
+ attr_accessor :or_expr
13151
+
13152
+ # Constraint expression of a string field.
13153
+ # Corresponds to the JSON property `stringConstraint`
13154
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint]
13155
+ attr_accessor :string_constraint
13156
+
13157
+ def initialize(**args)
13158
+ update!(**args)
13159
+ end
13160
+
13161
+ # Update properties of this object
13162
+ def update!(**args)
13163
+ @and_expr = args[:and_expr] if args.key?(:and_expr)
13164
+ @geolocation_constraint = args[:geolocation_constraint] if args.key?(:geolocation_constraint)
13165
+ @number_constraint = args[:number_constraint] if args.key?(:number_constraint)
13166
+ @or_expr = args[:or_expr] if args.key?(:or_expr)
13167
+ @string_constraint = args[:string_constraint] if args.key?(:string_constraint)
13168
+ end
13169
+ end
13170
+
13171
+ # Constraint of a geolocation field. Name of the geolocation field as defined in
13172
+ # the schema.
13173
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint
13174
+ include Google::Apis::Core::Hashable
13175
+
13176
+ # The reference address that was inferred from the input query. The proximity of
13177
+ # the reference address to the geolocation field will be used to filter the
13178
+ # results.
13179
+ # Corresponds to the JSON property `address`
13180
+ # @return [String]
13181
+ attr_accessor :address
13182
+
13183
+ # The name of the geolocation field as defined in the schema.
13184
+ # Corresponds to the JSON property `fieldName`
13185
+ # @return [String]
13186
+ attr_accessor :field_name
13187
+
13188
+ # The latitude of the geolocation inferred from the input query.
13189
+ # Corresponds to the JSON property `latitude`
13190
+ # @return [Float]
13191
+ attr_accessor :latitude
13192
+
13193
+ # The longitude of the geolocation inferred from the input query.
13194
+ # Corresponds to the JSON property `longitude`
13195
+ # @return [Float]
13196
+ attr_accessor :longitude
13197
+
13198
+ # The radius in meters around the address. The record is returned if the
13199
+ # location of the geolocation field is within the radius.
13200
+ # Corresponds to the JSON property `radiusInMeters`
13201
+ # @return [Float]
13202
+ attr_accessor :radius_in_meters
13203
+
13204
+ def initialize(**args)
13205
+ update!(**args)
13206
+ end
13207
+
13208
+ # Update properties of this object
13209
+ def update!(**args)
13210
+ @address = args[:address] if args.key?(:address)
13211
+ @field_name = args[:field_name] if args.key?(:field_name)
13212
+ @latitude = args[:latitude] if args.key?(:latitude)
13213
+ @longitude = args[:longitude] if args.key?(:longitude)
13214
+ @radius_in_meters = args[:radius_in_meters] if args.key?(:radius_in_meters)
13215
+ end
13216
+ end
13217
+
13218
+ # Constraint expression of a number field. Example: price < 100.
13219
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint
13220
+ include Google::Apis::Core::Hashable
13221
+
13222
+ # The comparison operation performed between the field value and the value
13223
+ # specified in the constraint.
13224
+ # Corresponds to the JSON property `comparison`
13225
+ # @return [String]
13226
+ attr_accessor :comparison
13227
+
13228
+ # Name of the numerical field as defined in the schema.
13229
+ # Corresponds to the JSON property `fieldName`
13230
+ # @return [String]
13231
+ attr_accessor :field_name
13232
+
13233
+ # Identifies the keywords within the search query that match a filter.
13234
+ # Corresponds to the JSON property `querySegment`
13235
+ # @return [String]
13236
+ attr_accessor :query_segment
13237
+
13238
+ # The value specified in the numerical constraint.
13239
+ # Corresponds to the JSON property `value`
13240
+ # @return [Float]
13241
+ attr_accessor :value
13242
+
13243
+ def initialize(**args)
13244
+ update!(**args)
13245
+ end
13246
+
13247
+ # Update properties of this object
13248
+ def update!(**args)
13249
+ @comparison = args[:comparison] if args.key?(:comparison)
13250
+ @field_name = args[:field_name] if args.key?(:field_name)
13251
+ @query_segment = args[:query_segment] if args.key?(:query_segment)
13252
+ @value = args[:value] if args.key?(:value)
13253
+ end
13254
+ end
13255
+
13256
+ # Logical `Or` operator.
13257
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression
13258
+ include Google::Apis::Core::Hashable
13259
+
13260
+ # The expressions that were ORed together.
13261
+ # Corresponds to the JSON property `expressions`
13262
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression>]
13263
+ attr_accessor :expressions
13264
+
13265
+ def initialize(**args)
13266
+ update!(**args)
13267
+ end
13268
+
13269
+ # Update properties of this object
13270
+ def update!(**args)
13271
+ @expressions = args[:expressions] if args.key?(:expressions)
13272
+ end
13273
+ end
13274
+
13275
+ # Constraint expression of a string field.
13276
+ class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint
13277
+ include Google::Apis::Core::Hashable
13278
+
13279
+ # Name of the string field as defined in the schema.
13280
+ # Corresponds to the JSON property `fieldName`
13281
+ # @return [String]
13282
+ attr_accessor :field_name
13283
+
13284
+ # Identifies the keywords within the search query that match a filter.
13285
+ # Corresponds to the JSON property `querySegment`
13286
+ # @return [String]
13287
+ attr_accessor :query_segment
13288
+
13289
+ # Values of the string field. The record will only be returned if the field
13290
+ # value matches one of the values specified here.
13291
+ # Corresponds to the JSON property `values`
13292
+ # @return [Array<String>]
13293
+ attr_accessor :values
13294
+
13295
+ def initialize(**args)
13296
+ update!(**args)
13297
+ end
13298
+
13299
+ # Update properties of this object
13300
+ def update!(**args)
13301
+ @field_name = args[:field_name] if args.key?(:field_name)
13302
+ @query_segment = args[:query_segment] if args.key?(:query_segment)
13303
+ @values = args[:values] if args.key?(:values)
13304
+ end
13305
+ end
13306
+
12932
13307
  # Information describing query expansion including whether expansion has
12933
13308
  # occurred.
12934
13309
  class GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo
@@ -15496,7 +15871,7 @@ module Google
15496
15871
 
15497
15872
  # The name of the collection. It should be collection resource name. Format: `
15498
15873
  # projects/`project`/locations/`location`/collections/`collection_id``. For APIs
15499
- # under WidgetService, such as WidgetService.LookUpWidgetConfig, the project
15874
+ # under WidgetService, such as WidgetService.LookupWidgetConfig, the project
15500
15875
  # number and location part is erased in this field.
15501
15876
  # Corresponds to the JSON property `name`
15502
15877
  # @return [String]
@@ -15568,7 +15943,7 @@ module Google
15568
15943
  # The name of the data store. It should be data store resource name Format: `
15569
15944
  # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
15570
15945
  # `data_store_id``. For APIs under WidgetService, such as WidgetService.
15571
- # LookUpWidgetConfig, the project number and location part is erased in this
15946
+ # LookupWidgetConfig, the project number and location part is erased in this
15572
15947
  # field.
15573
15948
  # Corresponds to the JSON property `name`
15574
15949
  # @return [String]
@@ -15616,7 +15991,7 @@ module Google
15616
15991
  # The name of the data store. It should be data store resource name Format: `
15617
15992
  # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
15618
15993
  # `data_store_id``. For APIs under WidgetService, such as WidgetService.
15619
- # LookUpWidgetConfig, the project number and location part is erased in this
15994
+ # LookupWidgetConfig, the project number and location part is erased in this
15620
15995
  # field.
15621
15996
  # Corresponds to the JSON property `name`
15622
15997
  # @return [String]
@@ -15855,9 +16230,10 @@ module Google
15855
16230
  # Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery`
15856
16231
  # * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-
15857
16232
  # chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
15858
- # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
15859
- # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
15860
- # content` * `disable-google-drive-upload`
16233
+ # personalization-memory` * `personalization-suggested-highlights` * `disable-
16234
+ # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
16235
+ # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
16236
+ # upload` * `disable-welcome-emails`
15861
16237
  # Corresponds to the JSON property `features`
15862
16238
  # @return [Hash<String,String>]
15863
16239
  attr_accessor :features
@@ -16116,6 +16492,47 @@ module Google
16116
16492
  end
16117
16493
  end
16118
16494
 
16495
+ # Request for DataStoreService.AddPatientFilter method.
16496
+ class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest
16497
+ include Google::Apis::Core::Hashable
16498
+
16499
+ # Required. Full resource name of DataStore, such as `projects/`project`/
16500
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
16501
+ # If the caller does not have permission to access the DataStore, regardless of
16502
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
16503
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
16504
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
16505
+ # be returned.
16506
+ # Corresponds to the JSON property `dataStore`
16507
+ # @return [String]
16508
+ attr_accessor :data_store
16509
+
16510
+ # Required. Names of the Group resources to use as a basis for the patient
16511
+ # filter, in format `projects/`project_id`/locations/`location_id`/datasets/`
16512
+ # dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. if the caller
16513
+ # does not have permission to access the FHIR store, regardless of whether it
16514
+ # exists, PERMISSION_DENIED error is returned. If the discovery engine service
16515
+ # account does not have permission to access the FHIR store, regardless of
16516
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the group
16517
+ # is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The
16518
+ # filter group must be a FHIR resource name of type Group, and the filter will
16519
+ # be constructed from the direct members of the group which are Patient
16520
+ # resources.
16521
+ # Corresponds to the JSON property `filterGroups`
16522
+ # @return [Array<String>]
16523
+ attr_accessor :filter_groups
16524
+
16525
+ def initialize(**args)
16526
+ update!(**args)
16527
+ end
16528
+
16529
+ # Update properties of this object
16530
+ def update!(**args)
16531
+ @data_store = args[:data_store] if args.key?(:data_store)
16532
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
16533
+ end
16534
+ end
16535
+
16119
16536
  # Configuration data for advance site search.
16120
16537
  class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig
16121
16538
  include Google::Apis::Core::Hashable
@@ -17187,8 +17604,8 @@ module Google
17187
17604
  # Output only. When set, uniquely identifies a reply within the `AssistAnswer`
17188
17605
  # resource. During an AssistantService.StreamAssist call, multiple `Reply`
17189
17606
  # messages with the same ID can occur within the response stream (across
17190
- # multiple AssistantService.StreamAssistResponse messages). These represent
17191
- # parts of a single `Reply` message in the final `AssistAnswer` resource.
17607
+ # multiple StreamAssistResponse messages). These represent parts of a single `
17608
+ # Reply` message in the final `AssistAnswer` resource.
17192
17609
  # Corresponds to the JSON property `replyId`
17193
17610
  # @return [String]
17194
17611
  attr_accessor :reply_id
@@ -19662,6 +20079,31 @@ module Google
19662
20079
  end
19663
20080
  end
19664
20081
 
20082
+ # Request for DataStoreService.DeletePatientFilters method.
20083
+ class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest
20084
+ include Google::Apis::Core::Hashable
20085
+
20086
+ # Required. Full resource name of DataStore, such as `projects/`project`/
20087
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
20088
+ # If the caller does not have permission to access the DataStore, regardless of
20089
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
20090
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
20091
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
20092
+ # returned.
20093
+ # Corresponds to the JSON property `dataStore`
20094
+ # @return [String]
20095
+ attr_accessor :data_store
20096
+
20097
+ def initialize(**args)
20098
+ update!(**args)
20099
+ end
20100
+
20101
+ # Update properties of this object
20102
+ def update!(**args)
20103
+ @data_store = args[:data_store] if args.key?(:data_store)
20104
+ end
20105
+ end
20106
+
19665
20107
  # Metadata for DeleteSchema LRO.
19666
20108
  class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata
19667
20109
  include Google::Apis::Core::Hashable
@@ -20245,9 +20687,10 @@ module Google
20245
20687
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
20246
20688
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
20247
20689
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
20248
- # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
20249
- # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
20250
- # content` * `disable-google-drive-upload`
20690
+ # personalization-memory` * `personalization-suggested-highlights` * `disable-
20691
+ # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
20692
+ # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
20693
+ # upload` * `disable-welcome-emails`
20251
20694
  # Corresponds to the JSON property `features`
20252
20695
  # @return [Hash<String,String>]
20253
20696
  attr_accessor :features
@@ -20259,6 +20702,11 @@ module Google
20259
20702
  # @return [String]
20260
20703
  attr_accessor :industry_vertical
20261
20704
 
20705
+ # Configuration message for the Knowledge Graph.
20706
+ # Corresponds to the JSON property `knowledgeGraphConfig`
20707
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig]
20708
+ attr_accessor :knowledge_graph_config
20709
+
20262
20710
  # Additional config specs for a Media Recommendation engine.
20263
20711
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
20264
20712
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
@@ -20327,6 +20775,7 @@ module Google
20327
20775
  @display_name = args[:display_name] if args.key?(:display_name)
20328
20776
  @features = args[:features] if args.key?(:features)
20329
20777
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
20778
+ @knowledge_graph_config = args[:knowledge_graph_config] if args.key?(:knowledge_graph_config)
20330
20779
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
20331
20780
  @model_configs = args[:model_configs] if args.key?(:model_configs)
20332
20781
  @name = args[:name] if args.key?(:name)
@@ -20472,6 +20921,98 @@ module Google
20472
20921
  end
20473
20922
  end
20474
20923
 
20924
+ # Configuration message for the Knowledge Graph.
20925
+ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig
20926
+ include Google::Apis::Core::Hashable
20927
+
20928
+ # Specify entity types to support.
20929
+ # Corresponds to the JSON property `cloudKnowledgeGraphTypes`
20930
+ # @return [Array<String>]
20931
+ attr_accessor :cloud_knowledge_graph_types
20932
+
20933
+ # Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false
20934
+ # if not specified.
20935
+ # Corresponds to the JSON property `enableCloudKnowledgeGraph`
20936
+ # @return [Boolean]
20937
+ attr_accessor :enable_cloud_knowledge_graph
20938
+ alias_method :enable_cloud_knowledge_graph?, :enable_cloud_knowledge_graph
20939
+
20940
+ # Whether to enable the Private Knowledge Graph for the engine. Defaults to
20941
+ # false if not specified.
20942
+ # Corresponds to the JSON property `enablePrivateKnowledgeGraph`
20943
+ # @return [Boolean]
20944
+ attr_accessor :enable_private_knowledge_graph
20945
+ alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
20946
+
20947
+ # Feature config for the Knowledge Graph.
20948
+ # Corresponds to the JSON property `featureConfig`
20949
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig]
20950
+ attr_accessor :feature_config
20951
+
20952
+ # Specify entity types to support.
20953
+ # Corresponds to the JSON property `privateKnowledgeGraphTypes`
20954
+ # @return [Array<String>]
20955
+ attr_accessor :private_knowledge_graph_types
20956
+
20957
+ def initialize(**args)
20958
+ update!(**args)
20959
+ end
20960
+
20961
+ # Update properties of this object
20962
+ def update!(**args)
20963
+ @cloud_knowledge_graph_types = args[:cloud_knowledge_graph_types] if args.key?(:cloud_knowledge_graph_types)
20964
+ @enable_cloud_knowledge_graph = args[:enable_cloud_knowledge_graph] if args.key?(:enable_cloud_knowledge_graph)
20965
+ @enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
20966
+ @feature_config = args[:feature_config] if args.key?(:feature_config)
20967
+ @private_knowledge_graph_types = args[:private_knowledge_graph_types] if args.key?(:private_knowledge_graph_types)
20968
+ end
20969
+ end
20970
+
20971
+ # Feature config for the Knowledge Graph.
20972
+ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig
20973
+ include Google::Apis::Core::Hashable
20974
+
20975
+ # Whether to disable the private KG auto complete for the engine. Defaults to
20976
+ # false if not specified.
20977
+ # Corresponds to the JSON property `disablePrivateKgAutoComplete`
20978
+ # @return [Boolean]
20979
+ attr_accessor :disable_private_kg_auto_complete
20980
+ alias_method :disable_private_kg_auto_complete?, :disable_private_kg_auto_complete
20981
+
20982
+ # Whether to disable the private KG enrichment for the engine. Defaults to false
20983
+ # if not specified.
20984
+ # Corresponds to the JSON property `disablePrivateKgEnrichment`
20985
+ # @return [Boolean]
20986
+ attr_accessor :disable_private_kg_enrichment
20987
+ alias_method :disable_private_kg_enrichment?, :disable_private_kg_enrichment
20988
+
20989
+ # Whether to disable the private KG for query UI chips. Defaults to false if not
20990
+ # specified.
20991
+ # Corresponds to the JSON property `disablePrivateKgQueryUiChips`
20992
+ # @return [Boolean]
20993
+ attr_accessor :disable_private_kg_query_ui_chips
20994
+ alias_method :disable_private_kg_query_ui_chips?, :disable_private_kg_query_ui_chips
20995
+
20996
+ # Whether to disable the private KG query understanding for the engine. Defaults
20997
+ # to false if not specified.
20998
+ # Corresponds to the JSON property `disablePrivateKgQueryUnderstanding`
20999
+ # @return [Boolean]
21000
+ attr_accessor :disable_private_kg_query_understanding
21001
+ alias_method :disable_private_kg_query_understanding?, :disable_private_kg_query_understanding
21002
+
21003
+ def initialize(**args)
21004
+ update!(**args)
21005
+ end
21006
+
21007
+ # Update properties of this object
21008
+ def update!(**args)
21009
+ @disable_private_kg_auto_complete = args[:disable_private_kg_auto_complete] if args.key?(:disable_private_kg_auto_complete)
21010
+ @disable_private_kg_enrichment = args[:disable_private_kg_enrichment] if args.key?(:disable_private_kg_enrichment)
21011
+ @disable_private_kg_query_ui_chips = args[:disable_private_kg_query_ui_chips] if args.key?(:disable_private_kg_query_ui_chips)
21012
+ @disable_private_kg_query_understanding = args[:disable_private_kg_query_understanding] if args.key?(:disable_private_kg_query_understanding)
21013
+ end
21014
+ end
21015
+
20475
21016
  # Additional config specs for a Media Recommendation engine.
20476
21017
  class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
20477
21018
  include Google::Apis::Core::Hashable
@@ -21148,6 +21689,16 @@ module Google
21148
21689
  attr_accessor :enable_static_indexing_for_batch_ingestion
21149
21690
  alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
21150
21691
 
21692
+ # Optional. Names of the Group resources to use as a basis for the initial
21693
+ # patient filter, in format `projects/`project_id`/locations/`location_id`/
21694
+ # datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. The
21695
+ # filter group must be a FHIR resource name of type Group, and the filter will
21696
+ # be constructed from the direct members of the group which are Patient
21697
+ # resources.
21698
+ # Corresponds to the JSON property `initialFilterGroups`
21699
+ # @return [Array<String>]
21700
+ attr_accessor :initial_filter_groups
21701
+
21151
21702
  def initialize(**args)
21152
21703
  update!(**args)
21153
21704
  end
@@ -21156,6 +21707,7 @@ module Google
21156
21707
  def update!(**args)
21157
21708
  @enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
21158
21709
  @enable_static_indexing_for_batch_ingestion = args[:enable_static_indexing_for_batch_ingestion] if args.key?(:enable_static_indexing_for_batch_ingestion)
21710
+ @initial_filter_groups = args[:initial_filter_groups] if args.key?(:initial_filter_groups)
21159
21711
  end
21160
21712
  end
21161
21713
 
@@ -22019,6 +22571,45 @@ module Google
22019
22571
  end
22020
22572
  end
22021
22573
 
22574
+ # Metadata related to the progress of the various patient filter operations.
22575
+ # This will be returned by the google.longrunning.Operation.metadata field.
22576
+ class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata
22577
+ include Google::Apis::Core::Hashable
22578
+
22579
+ # Operation create time.
22580
+ # Corresponds to the JSON property `createTime`
22581
+ # @return [String]
22582
+ attr_accessor :create_time
22583
+
22584
+ # The number of patient IDs added to the patient filter.
22585
+ # Corresponds to the JSON property `filtersAddedCount`
22586
+ # @return [Fixnum]
22587
+ attr_accessor :filters_added_count
22588
+
22589
+ # The number of patient IDs removed from the patient filter.
22590
+ # Corresponds to the JSON property `filtersRemovedCount`
22591
+ # @return [Fixnum]
22592
+ attr_accessor :filters_removed_count
22593
+
22594
+ # Operation last update time. If the operation is done, this is also the finish
22595
+ # time.
22596
+ # Corresponds to the JSON property `updateTime`
22597
+ # @return [String]
22598
+ attr_accessor :update_time
22599
+
22600
+ def initialize(**args)
22601
+ update!(**args)
22602
+ end
22603
+
22604
+ # Update properties of this object
22605
+ def update!(**args)
22606
+ @create_time = args[:create_time] if args.key?(:create_time)
22607
+ @filters_added_count = args[:filters_added_count] if args.key?(:filters_added_count)
22608
+ @filters_removed_count = args[:filters_removed_count] if args.key?(:filters_removed_count)
22609
+ @update_time = args[:update_time] if args.key?(:update_time)
22610
+ end
22611
+ end
22612
+
22022
22613
  # Metadata and configurations for a Google Cloud project in the service.
22023
22614
  class GoogleCloudDiscoveryengineV1alphaProject
22024
22615
  include Google::Apis::Core::Hashable
@@ -22828,6 +23419,88 @@ module Google
22828
23419
  end
22829
23420
  end
22830
23421
 
23422
+ # Request for DataStoreService.RemovePatientFilter method.
23423
+ class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest
23424
+ include Google::Apis::Core::Hashable
23425
+
23426
+ # Required. Full resource name of DataStore, such as `projects/`project`/
23427
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
23428
+ # If the caller does not have permission to access the DataStore, regardless of
23429
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
23430
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
23431
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
23432
+ # returned
23433
+ # Corresponds to the JSON property `dataStore`
23434
+ # @return [String]
23435
+ attr_accessor :data_store
23436
+
23437
+ # Required. Names of the Group resources to use as a basis for the list of
23438
+ # patients to remove from the patient filter, in format `projects/`project_id`/
23439
+ # locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/
23440
+ # Group/`group_id``. if the caller does not have permission to access the FHIR
23441
+ # store, regardless of whether it exists, PERMISSION_DENIED error is returned.
23442
+ # If the discovery engine service account does not have permission to access the
23443
+ # FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error
23444
+ # is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND
23445
+ # error will be returned. The filter group must be a FHIR resource name of type
23446
+ # Group, and the list of IDs to remove will be constructed from the direct
23447
+ # members of the group which are Patient resources.
23448
+ # Corresponds to the JSON property `filterGroups`
23449
+ # @return [Array<String>]
23450
+ attr_accessor :filter_groups
23451
+
23452
+ def initialize(**args)
23453
+ update!(**args)
23454
+ end
23455
+
23456
+ # Update properties of this object
23457
+ def update!(**args)
23458
+ @data_store = args[:data_store] if args.key?(:data_store)
23459
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
23460
+ end
23461
+ end
23462
+
23463
+ # Request for DataStoreService.ReplacePatientFilter method.
23464
+ class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest
23465
+ include Google::Apis::Core::Hashable
23466
+
23467
+ # Required. Full resource name of DataStore, such as `projects/`project`/
23468
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
23469
+ # If the caller does not have permission to access the DataStore, regardless of
23470
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
23471
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
23472
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
23473
+ # be returned.
23474
+ # Corresponds to the JSON property `dataStore`
23475
+ # @return [String]
23476
+ attr_accessor :data_store
23477
+
23478
+ # Required. Names of the Group resources to use as a basis for the list of
23479
+ # patients for the new patient filter, in format `projects/`project_id`/
23480
+ # locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/
23481
+ # Group/`group_id``. if the caller does not have permission to access the FHIR
23482
+ # store, regardless of whether it exists, PERMISSION_DENIED error is returned.
23483
+ # If the discovery engine service account does not have permission to access the
23484
+ # FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error
23485
+ # is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND
23486
+ # error will be returned. The filter group must be a FHIR resource name of type
23487
+ # Group, and the new filter will be constructed from the direct members of the
23488
+ # group which are Patient resources.
23489
+ # Corresponds to the JSON property `filterGroups`
23490
+ # @return [Array<String>]
23491
+ attr_accessor :filter_groups
23492
+
23493
+ def initialize(**args)
23494
+ update!(**args)
23495
+ end
23496
+
23497
+ # Update properties of this object
23498
+ def update!(**args)
23499
+ @data_store = args[:data_store] if args.key?(:data_store)
23500
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
23501
+ end
23502
+ end
23503
+
22831
23504
  # Safety rating corresponding to the generated content.
22832
23505
  class GoogleCloudDiscoveryengineV1alphaSafetyRating
22833
23506
  include Google::Apis::Core::Hashable
@@ -23114,15 +23787,15 @@ module Google
23114
23787
 
23115
23788
  # Optional. The categories associated with a category page. Must be set for
23116
23789
  # category navigation queries to achieve good search quality. The format should
23117
- # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
23118
- # of the query for browse (navigation) queries. It's used by the browse model
23119
- # when the query is empty. If the field is empty, it will not be used by the
23120
- # browse model. If the field contains more than one element, only the first
23121
- # element will be used. To represent full path of a category, use '>' character
23122
- # to separate different hierarchies. If '>' is part of the category name,
23123
- # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
23124
- # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
23125
- # `Graphics Cards > RTX_4090 > Founders Edition`
23790
+ # be the same as PageInfo.page_category. This field is the equivalent of the
23791
+ # query for browse (navigation) queries. It's used by the browse model when the
23792
+ # query is empty. If the field is empty, it will not be used by the browse model.
23793
+ # If the field contains more than one element, only the first element will be
23794
+ # used. To represent full path of a category, use '>' character to separate
23795
+ # different hierarchies. If '>' is part of the category name, replace it with
23796
+ # other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition`
23797
+ # where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards >
23798
+ # RTX_4090 > Founders Edition`
23126
23799
  # Corresponds to the JSON property `pageCategories`
23127
23800
  # @return [Array<String>]
23128
23801
  attr_accessor :page_categories
@@ -24261,8 +24934,8 @@ module Google
24261
24934
  # search, the default is `HARD_FILTER`. For multi-datastore search, the default
24262
24935
  # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
24263
24936
  # filters, and the `SOFT_BOOST` setting will not affect them. This field is only
24264
- # used if SearchRequest.natural_language_query_understanding_spec.
24265
- # filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
24937
+ # used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.
24938
+ # FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.
24266
24939
  # Corresponds to the JSON property `extractedFilterBehavior`
24267
24940
  # @return [String]
24268
24941
  attr_accessor :extracted_filter_behavior
@@ -27049,9 +27722,10 @@ module Google
27049
27722
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
27050
27723
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
27051
27724
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
27052
- # personalization-memory` * `disable-agent-sharing` * `disable-image-generation`
27053
- # * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
27054
- # content` * `disable-google-drive-upload`
27725
+ # personalization-memory` * `personalization-suggested-highlights` * `disable-
27726
+ # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
27727
+ # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
27728
+ # upload` * `disable-welcome-emails`
27055
27729
  # Corresponds to the JSON property `features`
27056
27730
  # @return [Hash<String,String>]
27057
27731
  attr_accessor :features
@@ -27063,6 +27737,11 @@ module Google
27063
27737
  # @return [String]
27064
27738
  attr_accessor :industry_vertical
27065
27739
 
27740
+ # Configuration message for the Knowledge Graph.
27741
+ # Corresponds to the JSON property `knowledgeGraphConfig`
27742
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig]
27743
+ attr_accessor :knowledge_graph_config
27744
+
27066
27745
  # Additional config specs for a Media Recommendation engine.
27067
27746
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
27068
27747
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
@@ -27121,6 +27800,7 @@ module Google
27121
27800
  @display_name = args[:display_name] if args.key?(:display_name)
27122
27801
  @features = args[:features] if args.key?(:features)
27123
27802
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
27803
+ @knowledge_graph_config = args[:knowledge_graph_config] if args.key?(:knowledge_graph_config)
27124
27804
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
27125
27805
  @model_configs = args[:model_configs] if args.key?(:model_configs)
27126
27806
  @name = args[:name] if args.key?(:name)
@@ -27264,6 +27944,98 @@ module Google
27264
27944
  end
27265
27945
  end
27266
27946
 
27947
+ # Configuration message for the Knowledge Graph.
27948
+ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig
27949
+ include Google::Apis::Core::Hashable
27950
+
27951
+ # Specify entity types to support.
27952
+ # Corresponds to the JSON property `cloudKnowledgeGraphTypes`
27953
+ # @return [Array<String>]
27954
+ attr_accessor :cloud_knowledge_graph_types
27955
+
27956
+ # Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false
27957
+ # if not specified.
27958
+ # Corresponds to the JSON property `enableCloudKnowledgeGraph`
27959
+ # @return [Boolean]
27960
+ attr_accessor :enable_cloud_knowledge_graph
27961
+ alias_method :enable_cloud_knowledge_graph?, :enable_cloud_knowledge_graph
27962
+
27963
+ # Whether to enable the Private Knowledge Graph for the engine. Defaults to
27964
+ # false if not specified.
27965
+ # Corresponds to the JSON property `enablePrivateKnowledgeGraph`
27966
+ # @return [Boolean]
27967
+ attr_accessor :enable_private_knowledge_graph
27968
+ alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
27969
+
27970
+ # Feature config for the Knowledge Graph.
27971
+ # Corresponds to the JSON property `featureConfig`
27972
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig]
27973
+ attr_accessor :feature_config
27974
+
27975
+ # Specify entity types to support.
27976
+ # Corresponds to the JSON property `privateKnowledgeGraphTypes`
27977
+ # @return [Array<String>]
27978
+ attr_accessor :private_knowledge_graph_types
27979
+
27980
+ def initialize(**args)
27981
+ update!(**args)
27982
+ end
27983
+
27984
+ # Update properties of this object
27985
+ def update!(**args)
27986
+ @cloud_knowledge_graph_types = args[:cloud_knowledge_graph_types] if args.key?(:cloud_knowledge_graph_types)
27987
+ @enable_cloud_knowledge_graph = args[:enable_cloud_knowledge_graph] if args.key?(:enable_cloud_knowledge_graph)
27988
+ @enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
27989
+ @feature_config = args[:feature_config] if args.key?(:feature_config)
27990
+ @private_knowledge_graph_types = args[:private_knowledge_graph_types] if args.key?(:private_knowledge_graph_types)
27991
+ end
27992
+ end
27993
+
27994
+ # Feature config for the Knowledge Graph.
27995
+ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig
27996
+ include Google::Apis::Core::Hashable
27997
+
27998
+ # Whether to disable the private KG auto complete for the engine. Defaults to
27999
+ # false if not specified.
28000
+ # Corresponds to the JSON property `disablePrivateKgAutoComplete`
28001
+ # @return [Boolean]
28002
+ attr_accessor :disable_private_kg_auto_complete
28003
+ alias_method :disable_private_kg_auto_complete?, :disable_private_kg_auto_complete
28004
+
28005
+ # Whether to disable the private KG enrichment for the engine. Defaults to false
28006
+ # if not specified.
28007
+ # Corresponds to the JSON property `disablePrivateKgEnrichment`
28008
+ # @return [Boolean]
28009
+ attr_accessor :disable_private_kg_enrichment
28010
+ alias_method :disable_private_kg_enrichment?, :disable_private_kg_enrichment
28011
+
28012
+ # Whether to disable the private KG for query UI chips. Defaults to false if not
28013
+ # specified.
28014
+ # Corresponds to the JSON property `disablePrivateKgQueryUiChips`
28015
+ # @return [Boolean]
28016
+ attr_accessor :disable_private_kg_query_ui_chips
28017
+ alias_method :disable_private_kg_query_ui_chips?, :disable_private_kg_query_ui_chips
28018
+
28019
+ # Whether to disable the private KG query understanding for the engine. Defaults
28020
+ # to false if not specified.
28021
+ # Corresponds to the JSON property `disablePrivateKgQueryUnderstanding`
28022
+ # @return [Boolean]
28023
+ attr_accessor :disable_private_kg_query_understanding
28024
+ alias_method :disable_private_kg_query_understanding?, :disable_private_kg_query_understanding
28025
+
28026
+ def initialize(**args)
28027
+ update!(**args)
28028
+ end
28029
+
28030
+ # Update properties of this object
28031
+ def update!(**args)
28032
+ @disable_private_kg_auto_complete = args[:disable_private_kg_auto_complete] if args.key?(:disable_private_kg_auto_complete)
28033
+ @disable_private_kg_enrichment = args[:disable_private_kg_enrichment] if args.key?(:disable_private_kg_enrichment)
28034
+ @disable_private_kg_query_ui_chips = args[:disable_private_kg_query_ui_chips] if args.key?(:disable_private_kg_query_ui_chips)
28035
+ @disable_private_kg_query_understanding = args[:disable_private_kg_query_understanding] if args.key?(:disable_private_kg_query_understanding)
28036
+ end
28037
+ end
28038
+
27267
28039
  # Additional config specs for a Media Recommendation engine.
27268
28040
  class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
27269
28041
  include Google::Apis::Core::Hashable
@@ -27586,6 +28358,16 @@ module Google
27586
28358
  attr_accessor :enable_static_indexing_for_batch_ingestion
27587
28359
  alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
27588
28360
 
28361
+ # Optional. Names of the Group resources to use as a basis for the initial
28362
+ # patient filter, in format `projects/`project_id`/locations/`location_id`/
28363
+ # datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. The
28364
+ # filter group must be a FHIR resource name of type Group, and the filter will
28365
+ # be constructed from the direct members of the group which are Patient
28366
+ # resources.
28367
+ # Corresponds to the JSON property `initialFilterGroups`
28368
+ # @return [Array<String>]
28369
+ attr_accessor :initial_filter_groups
28370
+
27589
28371
  def initialize(**args)
27590
28372
  update!(**args)
27591
28373
  end
@@ -27594,6 +28376,7 @@ module Google
27594
28376
  def update!(**args)
27595
28377
  @enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
27596
28378
  @enable_static_indexing_for_batch_ingestion = args[:enable_static_indexing_for_batch_ingestion] if args.key?(:enable_static_indexing_for_batch_ingestion)
28379
+ @initial_filter_groups = args[:initial_filter_groups] if args.key?(:initial_filter_groups)
27597
28380
  end
27598
28381
  end
27599
28382
 
@@ -29057,15 +29840,15 @@ module Google
29057
29840
 
29058
29841
  # Optional. The categories associated with a category page. Must be set for
29059
29842
  # category navigation queries to achieve good search quality. The format should
29060
- # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
29061
- # of the query for browse (navigation) queries. It's used by the browse model
29062
- # when the query is empty. If the field is empty, it will not be used by the
29063
- # browse model. If the field contains more than one element, only the first
29064
- # element will be used. To represent full path of a category, use '>' character
29065
- # to separate different hierarchies. If '>' is part of the category name,
29066
- # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
29067
- # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
29068
- # `Graphics Cards > RTX_4090 > Founders Edition`
29843
+ # be the same as PageInfo.page_category. This field is the equivalent of the
29844
+ # query for browse (navigation) queries. It's used by the browse model when the
29845
+ # query is empty. If the field is empty, it will not be used by the browse model.
29846
+ # If the field contains more than one element, only the first element will be
29847
+ # used. To represent full path of a category, use '>' character to separate
29848
+ # different hierarchies. If '>' is part of the category name, replace it with
29849
+ # other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition`
29850
+ # where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards >
29851
+ # RTX_4090 > Founders Edition`
29069
29852
  # Corresponds to the JSON property `pageCategories`
29070
29853
  # @return [Array<String>]
29071
29854
  attr_accessor :page_categories
@@ -30193,8 +30976,8 @@ module Google
30193
30976
  # search, the default is `HARD_FILTER`. For multi-datastore search, the default
30194
30977
  # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
30195
30978
  # filters, and the `SOFT_BOOST` setting will not affect them. This field is only
30196
- # used if SearchRequest.natural_language_query_understanding_spec.
30197
- # filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
30979
+ # used if SearchRequest.NaturalLanguageQueryUnderstandingSpec.
30980
+ # FilterExtractionCondition is set to FilterExtractionCondition.ENABLED.
30198
30981
  # Corresponds to the JSON property `extractedFilterBehavior`
30199
30982
  # @return [String]
30200
30983
  attr_accessor :extracted_filter_behavior