google-apis-discoveryengine_v1alpha 0.88.0 → 0.90.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.
@@ -1003,6 +1003,19 @@ module Google
1003
1003
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
1004
1004
  attr_accessor :customer_policy
1005
1005
 
1006
+ # Optional. This field controls the default web grounding toggle for end users
1007
+ # if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
1008
+ # WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to
1009
+ # false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
1010
+ # WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding
1011
+ # enabled by default on UI. If true, grounding toggle will be disabled by
1012
+ # default on UI. End users can still enable web grounding in the UI if web
1013
+ # grounding is enabled.
1014
+ # Corresponds to the JSON property `defaultWebGroundingToggleOff`
1015
+ # @return [Boolean]
1016
+ attr_accessor :default_web_grounding_toggle_off
1017
+ alias_method :default_web_grounding_toggle_off?, :default_web_grounding_toggle_off
1018
+
1006
1019
  # Optional. Description for additional information. Expected to be shown on the
1007
1020
  # configuration UI, not to the users of the assistant.
1008
1021
  # Corresponds to the JSON property `description`
@@ -1052,6 +1065,7 @@ module Google
1052
1065
  # Update properties of this object
1053
1066
  def update!(**args)
1054
1067
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
1068
+ @default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
1055
1069
  @description = args[:description] if args.key?(:description)
1056
1070
  @display_name = args[:display_name] if args.key?(:display_name)
1057
1071
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
@@ -3496,6 +3510,11 @@ module Google
3496
3510
  # @return [String]
3497
3511
  attr_accessor :industry_vertical
3498
3512
 
3513
+ # Configuration message for the Knowledge Graph.
3514
+ # Corresponds to the JSON property `knowledgeGraphConfig`
3515
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig]
3516
+ attr_accessor :knowledge_graph_config
3517
+
3499
3518
  # Additional config specs for a Media Recommendation engine.
3500
3519
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
3501
3520
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
@@ -3554,6 +3573,7 @@ module Google
3554
3573
  @display_name = args[:display_name] if args.key?(:display_name)
3555
3574
  @features = args[:features] if args.key?(:features)
3556
3575
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
3576
+ @knowledge_graph_config = args[:knowledge_graph_config] if args.key?(:knowledge_graph_config)
3557
3577
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
3558
3578
  @model_configs = args[:model_configs] if args.key?(:model_configs)
3559
3579
  @name = args[:name] if args.key?(:name)
@@ -3697,6 +3717,98 @@ module Google
3697
3717
  end
3698
3718
  end
3699
3719
 
3720
+ # Configuration message for the Knowledge Graph.
3721
+ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig
3722
+ include Google::Apis::Core::Hashable
3723
+
3724
+ # Specify entity types to support.
3725
+ # Corresponds to the JSON property `cloudKnowledgeGraphTypes`
3726
+ # @return [Array<String>]
3727
+ attr_accessor :cloud_knowledge_graph_types
3728
+
3729
+ # Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false
3730
+ # if not specified.
3731
+ # Corresponds to the JSON property `enableCloudKnowledgeGraph`
3732
+ # @return [Boolean]
3733
+ attr_accessor :enable_cloud_knowledge_graph
3734
+ alias_method :enable_cloud_knowledge_graph?, :enable_cloud_knowledge_graph
3735
+
3736
+ # Whether to enable the Private Knowledge Graph for the engine. Defaults to
3737
+ # false if not specified.
3738
+ # Corresponds to the JSON property `enablePrivateKnowledgeGraph`
3739
+ # @return [Boolean]
3740
+ attr_accessor :enable_private_knowledge_graph
3741
+ alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
3742
+
3743
+ # Feature config for the Knowledge Graph.
3744
+ # Corresponds to the JSON property `featureConfig`
3745
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig]
3746
+ attr_accessor :feature_config
3747
+
3748
+ # Specify entity types to support.
3749
+ # Corresponds to the JSON property `privateKnowledgeGraphTypes`
3750
+ # @return [Array<String>]
3751
+ attr_accessor :private_knowledge_graph_types
3752
+
3753
+ def initialize(**args)
3754
+ update!(**args)
3755
+ end
3756
+
3757
+ # Update properties of this object
3758
+ def update!(**args)
3759
+ @cloud_knowledge_graph_types = args[:cloud_knowledge_graph_types] if args.key?(:cloud_knowledge_graph_types)
3760
+ @enable_cloud_knowledge_graph = args[:enable_cloud_knowledge_graph] if args.key?(:enable_cloud_knowledge_graph)
3761
+ @enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
3762
+ @feature_config = args[:feature_config] if args.key?(:feature_config)
3763
+ @private_knowledge_graph_types = args[:private_knowledge_graph_types] if args.key?(:private_knowledge_graph_types)
3764
+ end
3765
+ end
3766
+
3767
+ # Feature config for the Knowledge Graph.
3768
+ class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig
3769
+ include Google::Apis::Core::Hashable
3770
+
3771
+ # Whether to disable the private KG auto complete for the engine. Defaults to
3772
+ # false if not specified.
3773
+ # Corresponds to the JSON property `disablePrivateKgAutoComplete`
3774
+ # @return [Boolean]
3775
+ attr_accessor :disable_private_kg_auto_complete
3776
+ alias_method :disable_private_kg_auto_complete?, :disable_private_kg_auto_complete
3777
+
3778
+ # Whether to disable the private KG enrichment for the engine. Defaults to false
3779
+ # if not specified.
3780
+ # Corresponds to the JSON property `disablePrivateKgEnrichment`
3781
+ # @return [Boolean]
3782
+ attr_accessor :disable_private_kg_enrichment
3783
+ alias_method :disable_private_kg_enrichment?, :disable_private_kg_enrichment
3784
+
3785
+ # Whether to disable the private KG for query UI chips. Defaults to false if not
3786
+ # specified.
3787
+ # Corresponds to the JSON property `disablePrivateKgQueryUiChips`
3788
+ # @return [Boolean]
3789
+ attr_accessor :disable_private_kg_query_ui_chips
3790
+ alias_method :disable_private_kg_query_ui_chips?, :disable_private_kg_query_ui_chips
3791
+
3792
+ # Whether to disable the private KG query understanding for the engine. Defaults
3793
+ # to false if not specified.
3794
+ # Corresponds to the JSON property `disablePrivateKgQueryUnderstanding`
3795
+ # @return [Boolean]
3796
+ attr_accessor :disable_private_kg_query_understanding
3797
+ alias_method :disable_private_kg_query_understanding?, :disable_private_kg_query_understanding
3798
+
3799
+ def initialize(**args)
3800
+ update!(**args)
3801
+ end
3802
+
3803
+ # Update properties of this object
3804
+ def update!(**args)
3805
+ @disable_private_kg_auto_complete = args[:disable_private_kg_auto_complete] if args.key?(:disable_private_kg_auto_complete)
3806
+ @disable_private_kg_enrichment = args[:disable_private_kg_enrichment] if args.key?(:disable_private_kg_enrichment)
3807
+ @disable_private_kg_query_ui_chips = args[:disable_private_kg_query_ui_chips] if args.key?(:disable_private_kg_query_ui_chips)
3808
+ @disable_private_kg_query_understanding = args[:disable_private_kg_query_understanding] if args.key?(:disable_private_kg_query_understanding)
3809
+ end
3810
+ end
3811
+
3700
3812
  # Additional config specs for a Media Recommendation engine.
3701
3813
  class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
3702
3814
  include Google::Apis::Core::Hashable
@@ -3904,6 +4016,16 @@ module Google
3904
4016
  attr_accessor :enable_static_indexing_for_batch_ingestion
3905
4017
  alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
3906
4018
 
4019
+ # Optional. Names of the Group resources to use as a basis for the initial
4020
+ # patient filter, in format `projects/`project_id`/locations/`location_id`/
4021
+ # datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. The
4022
+ # filter group must be a FHIR resource name of type Group, and the filter will
4023
+ # be constructed from the direct members of the group which are Patient
4024
+ # resources.
4025
+ # Corresponds to the JSON property `initialFilterGroups`
4026
+ # @return [Array<String>]
4027
+ attr_accessor :initial_filter_groups
4028
+
3907
4029
  def initialize(**args)
3908
4030
  update!(**args)
3909
4031
  end
@@ -3912,6 +4034,7 @@ module Google
3912
4034
  def update!(**args)
3913
4035
  @enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
3914
4036
  @enable_static_indexing_for_batch_ingestion = args[:enable_static_indexing_for_batch_ingestion] if args.key?(:enable_static_indexing_for_batch_ingestion)
4037
+ @initial_filter_groups = args[:initial_filter_groups] if args.key?(:initial_filter_groups)
3915
4038
  end
3916
4039
  end
3917
4040
 
@@ -6313,6 +6436,47 @@ module Google
6313
6436
  end
6314
6437
  end
6315
6438
 
6439
+ # Request for DataStoreService.AddPatientFilter method.
6440
+ class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest
6441
+ include Google::Apis::Core::Hashable
6442
+
6443
+ # Required. Full resource name of DataStore, such as `projects/`project`/
6444
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
6445
+ # If the caller does not have permission to access the DataStore, regardless of
6446
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
6447
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
6448
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
6449
+ # be returned.
6450
+ # Corresponds to the JSON property `dataStore`
6451
+ # @return [String]
6452
+ attr_accessor :data_store
6453
+
6454
+ # Required. Names of the Group resources to use as a basis for the patient
6455
+ # filter, in format `projects/`project_id`/locations/`location_id`/datasets/`
6456
+ # dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. if the caller
6457
+ # does not have permission to access the FHIR store, regardless of whether it
6458
+ # exists, PERMISSION_DENIED error is returned. If the discovery engine service
6459
+ # account does not have permission to access the FHIR store, regardless of
6460
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the group
6461
+ # is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The
6462
+ # filter group must be a FHIR resource name of type Group, and the filter will
6463
+ # be constructed from the direct members of the group which are Patient
6464
+ # resources.
6465
+ # Corresponds to the JSON property `filterGroups`
6466
+ # @return [Array<String>]
6467
+ attr_accessor :filter_groups
6468
+
6469
+ def initialize(**args)
6470
+ update!(**args)
6471
+ end
6472
+
6473
+ # Update properties of this object
6474
+ def update!(**args)
6475
+ @data_store = args[:data_store] if args.key?(:data_store)
6476
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
6477
+ end
6478
+ end
6479
+
6316
6480
  # Stores the definition of an agent that uses ADK and is deployed to Agent
6317
6481
  # Engine (formerly known as Reasoning Engine).
6318
6482
  class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition
@@ -9391,6 +9555,19 @@ module Google
9391
9555
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy]
9392
9556
  attr_accessor :customer_policy
9393
9557
 
9558
+ # Optional. This field controls the default web grounding toggle for end users
9559
+ # if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
9560
+ # WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to
9561
+ # false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
9562
+ # WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding
9563
+ # enabled by default on UI. If true, grounding toggle will be disabled by
9564
+ # default on UI. End users can still enable web grounding in the UI if web
9565
+ # grounding is enabled.
9566
+ # Corresponds to the JSON property `defaultWebGroundingToggleOff`
9567
+ # @return [Boolean]
9568
+ attr_accessor :default_web_grounding_toggle_off
9569
+ alias_method :default_web_grounding_toggle_off?, :default_web_grounding_toggle_off
9570
+
9394
9571
  # Optional. Description for additional information. Expected to be shown on the
9395
9572
  # configuration UI, not to the users of the assistant.
9396
9573
  # Corresponds to the JSON property `description`
@@ -9447,6 +9624,7 @@ module Google
9447
9624
  # Update properties of this object
9448
9625
  def update!(**args)
9449
9626
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
9627
+ @default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
9450
9628
  @description = args[:description] if args.key?(:description)
9451
9629
  @disable_location_context = args[:disable_location_context] if args.key?(:disable_location_context)
9452
9630
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -10079,8 +10257,17 @@ module Google
10079
10257
  # @return [String]
10080
10258
  attr_accessor :client_secret
10081
10259
 
10082
- # Required. The scopes to request. Example: `https://www.googleapis.com/auth/
10083
- # calendar.events`
10260
+ # Optional. Whether to enable PKCE verification. https://datatracker.ietf.org/
10261
+ # doc/html/rfc7636#section-3.1/
10262
+ # Corresponds to the JSON property `pkceVerificationEnabled`
10263
+ # @return [Boolean]
10264
+ attr_accessor :pkce_verification_enabled
10265
+ alias_method :pkce_verification_enabled?, :pkce_verification_enabled
10266
+
10267
+ # Optional. The scopes to request. Example: `https://www.googleapis.com/auth/
10268
+ # calendar.events` If omitted, no additional scopes are requested beyond those
10269
+ # required by the authorization uri. If set, it will overwrite the scopes in the
10270
+ # authorization uri when acquiring user authorization.
10084
10271
  # Corresponds to the JSON property `scopes`
10085
10272
  # @return [Array<String>]
10086
10273
  attr_accessor :scopes
@@ -10100,6 +10287,7 @@ module Google
10100
10287
  @authorization_uri = args[:authorization_uri] if args.key?(:authorization_uri)
10101
10288
  @client_id = args[:client_id] if args.key?(:client_id)
10102
10289
  @client_secret = args[:client_secret] if args.key?(:client_secret)
10290
+ @pkce_verification_enabled = args[:pkce_verification_enabled] if args.key?(:pkce_verification_enabled)
10103
10291
  @scopes = args[:scopes] if args.key?(:scopes)
10104
10292
  @token_uri = args[:token_uri] if args.key?(:token_uri)
10105
10293
  end
@@ -14134,6 +14322,31 @@ module Google
14134
14322
  end
14135
14323
  end
14136
14324
 
14325
+ # Request for DataStoreService.DeletePatientFilters method.
14326
+ class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest
14327
+ include Google::Apis::Core::Hashable
14328
+
14329
+ # Required. Full resource name of DataStore, such as `projects/`project`/
14330
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
14331
+ # If the caller does not have permission to access the DataStore, regardless of
14332
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
14333
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
14334
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
14335
+ # returned.
14336
+ # Corresponds to the JSON property `dataStore`
14337
+ # @return [String]
14338
+ attr_accessor :data_store
14339
+
14340
+ def initialize(**args)
14341
+ update!(**args)
14342
+ end
14343
+
14344
+ # Update properties of this object
14345
+ def update!(**args)
14346
+ @data_store = args[:data_store] if args.key?(:data_store)
14347
+ end
14348
+ end
14349
+
14137
14350
  # Metadata for DeleteSchema LRO.
14138
14351
  class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata
14139
14352
  include Google::Apis::Core::Hashable
@@ -15166,6 +15379,11 @@ module Google
15166
15379
  # @return [String]
15167
15380
  attr_accessor :industry_vertical
15168
15381
 
15382
+ # Configuration message for the Knowledge Graph.
15383
+ # Corresponds to the JSON property `knowledgeGraphConfig`
15384
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig]
15385
+ attr_accessor :knowledge_graph_config
15386
+
15169
15387
  # Additional config specs for a Media Recommendation engine.
15170
15388
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
15171
15389
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
@@ -15234,6 +15452,7 @@ module Google
15234
15452
  @display_name = args[:display_name] if args.key?(:display_name)
15235
15453
  @features = args[:features] if args.key?(:features)
15236
15454
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
15455
+ @knowledge_graph_config = args[:knowledge_graph_config] if args.key?(:knowledge_graph_config)
15237
15456
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
15238
15457
  @model_configs = args[:model_configs] if args.key?(:model_configs)
15239
15458
  @name = args[:name] if args.key?(:name)
@@ -15379,6 +15598,98 @@ module Google
15379
15598
  end
15380
15599
  end
15381
15600
 
15601
+ # Configuration message for the Knowledge Graph.
15602
+ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig
15603
+ include Google::Apis::Core::Hashable
15604
+
15605
+ # Specify entity types to support.
15606
+ # Corresponds to the JSON property `cloudKnowledgeGraphTypes`
15607
+ # @return [Array<String>]
15608
+ attr_accessor :cloud_knowledge_graph_types
15609
+
15610
+ # Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false
15611
+ # if not specified.
15612
+ # Corresponds to the JSON property `enableCloudKnowledgeGraph`
15613
+ # @return [Boolean]
15614
+ attr_accessor :enable_cloud_knowledge_graph
15615
+ alias_method :enable_cloud_knowledge_graph?, :enable_cloud_knowledge_graph
15616
+
15617
+ # Whether to enable the Private Knowledge Graph for the engine. Defaults to
15618
+ # false if not specified.
15619
+ # Corresponds to the JSON property `enablePrivateKnowledgeGraph`
15620
+ # @return [Boolean]
15621
+ attr_accessor :enable_private_knowledge_graph
15622
+ alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
15623
+
15624
+ # Feature config for the Knowledge Graph.
15625
+ # Corresponds to the JSON property `featureConfig`
15626
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig]
15627
+ attr_accessor :feature_config
15628
+
15629
+ # Specify entity types to support.
15630
+ # Corresponds to the JSON property `privateKnowledgeGraphTypes`
15631
+ # @return [Array<String>]
15632
+ attr_accessor :private_knowledge_graph_types
15633
+
15634
+ def initialize(**args)
15635
+ update!(**args)
15636
+ end
15637
+
15638
+ # Update properties of this object
15639
+ def update!(**args)
15640
+ @cloud_knowledge_graph_types = args[:cloud_knowledge_graph_types] if args.key?(:cloud_knowledge_graph_types)
15641
+ @enable_cloud_knowledge_graph = args[:enable_cloud_knowledge_graph] if args.key?(:enable_cloud_knowledge_graph)
15642
+ @enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
15643
+ @feature_config = args[:feature_config] if args.key?(:feature_config)
15644
+ @private_knowledge_graph_types = args[:private_knowledge_graph_types] if args.key?(:private_knowledge_graph_types)
15645
+ end
15646
+ end
15647
+
15648
+ # Feature config for the Knowledge Graph.
15649
+ class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig
15650
+ include Google::Apis::Core::Hashable
15651
+
15652
+ # Whether to disable the private KG auto complete for the engine. Defaults to
15653
+ # false if not specified.
15654
+ # Corresponds to the JSON property `disablePrivateKgAutoComplete`
15655
+ # @return [Boolean]
15656
+ attr_accessor :disable_private_kg_auto_complete
15657
+ alias_method :disable_private_kg_auto_complete?, :disable_private_kg_auto_complete
15658
+
15659
+ # Whether to disable the private KG enrichment for the engine. Defaults to false
15660
+ # if not specified.
15661
+ # Corresponds to the JSON property `disablePrivateKgEnrichment`
15662
+ # @return [Boolean]
15663
+ attr_accessor :disable_private_kg_enrichment
15664
+ alias_method :disable_private_kg_enrichment?, :disable_private_kg_enrichment
15665
+
15666
+ # Whether to disable the private KG for query UI chips. Defaults to false if not
15667
+ # specified.
15668
+ # Corresponds to the JSON property `disablePrivateKgQueryUiChips`
15669
+ # @return [Boolean]
15670
+ attr_accessor :disable_private_kg_query_ui_chips
15671
+ alias_method :disable_private_kg_query_ui_chips?, :disable_private_kg_query_ui_chips
15672
+
15673
+ # Whether to disable the private KG query understanding for the engine. Defaults
15674
+ # to false if not specified.
15675
+ # Corresponds to the JSON property `disablePrivateKgQueryUnderstanding`
15676
+ # @return [Boolean]
15677
+ attr_accessor :disable_private_kg_query_understanding
15678
+ alias_method :disable_private_kg_query_understanding?, :disable_private_kg_query_understanding
15679
+
15680
+ def initialize(**args)
15681
+ update!(**args)
15682
+ end
15683
+
15684
+ # Update properties of this object
15685
+ def update!(**args)
15686
+ @disable_private_kg_auto_complete = args[:disable_private_kg_auto_complete] if args.key?(:disable_private_kg_auto_complete)
15687
+ @disable_private_kg_enrichment = args[:disable_private_kg_enrichment] if args.key?(:disable_private_kg_enrichment)
15688
+ @disable_private_kg_query_ui_chips = args[:disable_private_kg_query_ui_chips] if args.key?(:disable_private_kg_query_ui_chips)
15689
+ @disable_private_kg_query_understanding = args[:disable_private_kg_query_understanding] if args.key?(:disable_private_kg_query_understanding)
15690
+ end
15691
+ end
15692
+
15382
15693
  # Additional config specs for a Media Recommendation engine.
15383
15694
  class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
15384
15695
  include Google::Apis::Core::Hashable
@@ -16758,6 +17069,16 @@ module Google
16758
17069
  attr_accessor :enable_static_indexing_for_batch_ingestion
16759
17070
  alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
16760
17071
 
17072
+ # Optional. Names of the Group resources to use as a basis for the initial
17073
+ # patient filter, in format `projects/`project_id`/locations/`location_id`/
17074
+ # datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. The
17075
+ # filter group must be a FHIR resource name of type Group, and the filter will
17076
+ # be constructed from the direct members of the group which are Patient
17077
+ # resources.
17078
+ # Corresponds to the JSON property `initialFilterGroups`
17079
+ # @return [Array<String>]
17080
+ attr_accessor :initial_filter_groups
17081
+
16761
17082
  def initialize(**args)
16762
17083
  update!(**args)
16763
17084
  end
@@ -16766,6 +17087,7 @@ module Google
16766
17087
  def update!(**args)
16767
17088
  @enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
16768
17089
  @enable_static_indexing_for_batch_ingestion = args[:enable_static_indexing_for_batch_ingestion] if args.key?(:enable_static_indexing_for_batch_ingestion)
17090
+ @initial_filter_groups = args[:initial_filter_groups] if args.key?(:initial_filter_groups)
16769
17091
  end
16770
17092
  end
16771
17093
 
@@ -19168,6 +19490,45 @@ module Google
19168
19490
  end
19169
19491
  end
19170
19492
 
19493
+ # Metadata related to the progress of the various patient filter operations.
19494
+ # This will be returned by the google.longrunning.Operation.metadata field.
19495
+ class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata
19496
+ include Google::Apis::Core::Hashable
19497
+
19498
+ # Operation create time.
19499
+ # Corresponds to the JSON property `createTime`
19500
+ # @return [String]
19501
+ attr_accessor :create_time
19502
+
19503
+ # The number of patient IDs added to the patient filter.
19504
+ # Corresponds to the JSON property `filtersAddedCount`
19505
+ # @return [Fixnum]
19506
+ attr_accessor :filters_added_count
19507
+
19508
+ # The number of patient IDs removed from the patient filter.
19509
+ # Corresponds to the JSON property `filtersRemovedCount`
19510
+ # @return [Fixnum]
19511
+ attr_accessor :filters_removed_count
19512
+
19513
+ # Operation last update time. If the operation is done, this is also the finish
19514
+ # time.
19515
+ # Corresponds to the JSON property `updateTime`
19516
+ # @return [String]
19517
+ attr_accessor :update_time
19518
+
19519
+ def initialize(**args)
19520
+ update!(**args)
19521
+ end
19522
+
19523
+ # Update properties of this object
19524
+ def update!(**args)
19525
+ @create_time = args[:create_time] if args.key?(:create_time)
19526
+ @filters_added_count = args[:filters_added_count] if args.key?(:filters_added_count)
19527
+ @filters_removed_count = args[:filters_removed_count] if args.key?(:filters_removed_count)
19528
+ @update_time = args[:update_time] if args.key?(:update_time)
19529
+ end
19530
+ end
19531
+
19171
19532
  # Request for pausing training of an engine.
19172
19533
  class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
19173
19534
  include Google::Apis::Core::Hashable
@@ -20794,6 +21155,47 @@ module Google
20794
21155
  end
20795
21156
  end
20796
21157
 
21158
+ # Request for DataStoreService.RemovePatientFilter method.
21159
+ class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest
21160
+ include Google::Apis::Core::Hashable
21161
+
21162
+ # Required. Full resource name of DataStore, such as `projects/`project`/
21163
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
21164
+ # If the caller does not have permission to access the DataStore, regardless of
21165
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
21166
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
21167
+ # requested DataStore does not have a patient filter, a NOT_FOUND error will be
21168
+ # returned
21169
+ # Corresponds to the JSON property `dataStore`
21170
+ # @return [String]
21171
+ attr_accessor :data_store
21172
+
21173
+ # Required. Names of the Group resources to use as a basis for the list of
21174
+ # patients to remove from the patient filter, in format `projects/`project_id`/
21175
+ # locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/
21176
+ # Group/`group_id``. if the caller does not have permission to access the FHIR
21177
+ # store, regardless of whether it exists, PERMISSION_DENIED error is returned.
21178
+ # If the discovery engine service account does not have permission to access the
21179
+ # FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error
21180
+ # is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND
21181
+ # error will be returned. The filter group must be a FHIR resource name of type
21182
+ # Group, and the list of IDs to remove will be constructed from the direct
21183
+ # members of the group which are Patient resources.
21184
+ # Corresponds to the JSON property `filterGroups`
21185
+ # @return [Array<String>]
21186
+ attr_accessor :filter_groups
21187
+
21188
+ def initialize(**args)
21189
+ update!(**args)
21190
+ end
21191
+
21192
+ # Update properties of this object
21193
+ def update!(**args)
21194
+ @data_store = args[:data_store] if args.key?(:data_store)
21195
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
21196
+ end
21197
+ end
21198
+
20797
21199
  # Request message for CompletionService.RemoveSuggestion method.
20798
21200
  class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest
20799
21201
  include Google::Apis::Core::Hashable
@@ -20858,6 +21260,47 @@ module Google
20858
21260
  end
20859
21261
  end
20860
21262
 
21263
+ # Request for DataStoreService.ReplacePatientFilter method.
21264
+ class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest
21265
+ include Google::Apis::Core::Hashable
21266
+
21267
+ # Required. Full resource name of DataStore, such as `projects/`project`/
21268
+ # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
21269
+ # If the caller does not have permission to access the DataStore, regardless of
21270
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
21271
+ # requested DataStore does not exist, a NOT_FOUND error is returned. If the
21272
+ # requested DataStore already has a patient filter, an ALREADY_EXISTS error will
21273
+ # be returned.
21274
+ # Corresponds to the JSON property `dataStore`
21275
+ # @return [String]
21276
+ attr_accessor :data_store
21277
+
21278
+ # Required. Names of the Group resources to use as a basis for the list of
21279
+ # patients for the new patient filter, in format `projects/`project_id`/
21280
+ # locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/
21281
+ # Group/`group_id``. if the caller does not have permission to access the FHIR
21282
+ # store, regardless of whether it exists, PERMISSION_DENIED error is returned.
21283
+ # If the discovery engine service account does not have permission to access the
21284
+ # FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error
21285
+ # is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND
21286
+ # error will be returned. The filter group must be a FHIR resource name of type
21287
+ # Group, and the new filter will be constructed from the direct members of the
21288
+ # group which are Patient resources.
21289
+ # Corresponds to the JSON property `filterGroups`
21290
+ # @return [Array<String>]
21291
+ attr_accessor :filter_groups
21292
+
21293
+ def initialize(**args)
21294
+ update!(**args)
21295
+ end
21296
+
21297
+ # Update properties of this object
21298
+ def update!(**args)
21299
+ @data_store = args[:data_store] if args.key?(:data_store)
21300
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
21301
+ end
21302
+ end
21303
+
20861
21304
  # Defines a reply message to user.
20862
21305
  class GoogleCloudDiscoveryengineV1alphaReply
20863
21306
  include Google::Apis::Core::Hashable
@@ -29072,6 +29515,11 @@ module Google
29072
29515
  # @return [String]
29073
29516
  attr_accessor :industry_vertical
29074
29517
 
29518
+ # Configuration message for the Knowledge Graph.
29519
+ # Corresponds to the JSON property `knowledgeGraphConfig`
29520
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig]
29521
+ attr_accessor :knowledge_graph_config
29522
+
29075
29523
  # Additional config specs for a Media Recommendation engine.
29076
29524
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
29077
29525
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
@@ -29130,6 +29578,7 @@ module Google
29130
29578
  @display_name = args[:display_name] if args.key?(:display_name)
29131
29579
  @features = args[:features] if args.key?(:features)
29132
29580
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
29581
+ @knowledge_graph_config = args[:knowledge_graph_config] if args.key?(:knowledge_graph_config)
29133
29582
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
29134
29583
  @model_configs = args[:model_configs] if args.key?(:model_configs)
29135
29584
  @name = args[:name] if args.key?(:name)
@@ -29273,6 +29722,98 @@ module Google
29273
29722
  end
29274
29723
  end
29275
29724
 
29725
+ # Configuration message for the Knowledge Graph.
29726
+ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig
29727
+ include Google::Apis::Core::Hashable
29728
+
29729
+ # Specify entity types to support.
29730
+ # Corresponds to the JSON property `cloudKnowledgeGraphTypes`
29731
+ # @return [Array<String>]
29732
+ attr_accessor :cloud_knowledge_graph_types
29733
+
29734
+ # Whether to enable the Cloud Knowledge Graph for the engine. Defaults to false
29735
+ # if not specified.
29736
+ # Corresponds to the JSON property `enableCloudKnowledgeGraph`
29737
+ # @return [Boolean]
29738
+ attr_accessor :enable_cloud_knowledge_graph
29739
+ alias_method :enable_cloud_knowledge_graph?, :enable_cloud_knowledge_graph
29740
+
29741
+ # Whether to enable the Private Knowledge Graph for the engine. Defaults to
29742
+ # false if not specified.
29743
+ # Corresponds to the JSON property `enablePrivateKnowledgeGraph`
29744
+ # @return [Boolean]
29745
+ attr_accessor :enable_private_knowledge_graph
29746
+ alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
29747
+
29748
+ # Feature config for the Knowledge Graph.
29749
+ # Corresponds to the JSON property `featureConfig`
29750
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig]
29751
+ attr_accessor :feature_config
29752
+
29753
+ # Specify entity types to support.
29754
+ # Corresponds to the JSON property `privateKnowledgeGraphTypes`
29755
+ # @return [Array<String>]
29756
+ attr_accessor :private_knowledge_graph_types
29757
+
29758
+ def initialize(**args)
29759
+ update!(**args)
29760
+ end
29761
+
29762
+ # Update properties of this object
29763
+ def update!(**args)
29764
+ @cloud_knowledge_graph_types = args[:cloud_knowledge_graph_types] if args.key?(:cloud_knowledge_graph_types)
29765
+ @enable_cloud_knowledge_graph = args[:enable_cloud_knowledge_graph] if args.key?(:enable_cloud_knowledge_graph)
29766
+ @enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
29767
+ @feature_config = args[:feature_config] if args.key?(:feature_config)
29768
+ @private_knowledge_graph_types = args[:private_knowledge_graph_types] if args.key?(:private_knowledge_graph_types)
29769
+ end
29770
+ end
29771
+
29772
+ # Feature config for the Knowledge Graph.
29773
+ class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig
29774
+ include Google::Apis::Core::Hashable
29775
+
29776
+ # Whether to disable the private KG auto complete for the engine. Defaults to
29777
+ # false if not specified.
29778
+ # Corresponds to the JSON property `disablePrivateKgAutoComplete`
29779
+ # @return [Boolean]
29780
+ attr_accessor :disable_private_kg_auto_complete
29781
+ alias_method :disable_private_kg_auto_complete?, :disable_private_kg_auto_complete
29782
+
29783
+ # Whether to disable the private KG enrichment for the engine. Defaults to false
29784
+ # if not specified.
29785
+ # Corresponds to the JSON property `disablePrivateKgEnrichment`
29786
+ # @return [Boolean]
29787
+ attr_accessor :disable_private_kg_enrichment
29788
+ alias_method :disable_private_kg_enrichment?, :disable_private_kg_enrichment
29789
+
29790
+ # Whether to disable the private KG for query UI chips. Defaults to false if not
29791
+ # specified.
29792
+ # Corresponds to the JSON property `disablePrivateKgQueryUiChips`
29793
+ # @return [Boolean]
29794
+ attr_accessor :disable_private_kg_query_ui_chips
29795
+ alias_method :disable_private_kg_query_ui_chips?, :disable_private_kg_query_ui_chips
29796
+
29797
+ # Whether to disable the private KG query understanding for the engine. Defaults
29798
+ # to false if not specified.
29799
+ # Corresponds to the JSON property `disablePrivateKgQueryUnderstanding`
29800
+ # @return [Boolean]
29801
+ attr_accessor :disable_private_kg_query_understanding
29802
+ alias_method :disable_private_kg_query_understanding?, :disable_private_kg_query_understanding
29803
+
29804
+ def initialize(**args)
29805
+ update!(**args)
29806
+ end
29807
+
29808
+ # Update properties of this object
29809
+ def update!(**args)
29810
+ @disable_private_kg_auto_complete = args[:disable_private_kg_auto_complete] if args.key?(:disable_private_kg_auto_complete)
29811
+ @disable_private_kg_enrichment = args[:disable_private_kg_enrichment] if args.key?(:disable_private_kg_enrichment)
29812
+ @disable_private_kg_query_ui_chips = args[:disable_private_kg_query_ui_chips] if args.key?(:disable_private_kg_query_ui_chips)
29813
+ @disable_private_kg_query_understanding = args[:disable_private_kg_query_understanding] if args.key?(:disable_private_kg_query_understanding)
29814
+ end
29815
+ end
29816
+
29276
29817
  # Additional config specs for a Media Recommendation engine.
29277
29818
  class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
29278
29819
  include Google::Apis::Core::Hashable
@@ -29595,6 +30136,16 @@ module Google
29595
30136
  attr_accessor :enable_static_indexing_for_batch_ingestion
29596
30137
  alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
29597
30138
 
30139
+ # Optional. Names of the Group resources to use as a basis for the initial
30140
+ # patient filter, in format `projects/`project_id`/locations/`location_id`/
30141
+ # datasets/`dataset_id`/fhirStores/`fhir_store_id`/fhir/Group/`group_id``. The
30142
+ # filter group must be a FHIR resource name of type Group, and the filter will
30143
+ # be constructed from the direct members of the group which are Patient
30144
+ # resources.
30145
+ # Corresponds to the JSON property `initialFilterGroups`
30146
+ # @return [Array<String>]
30147
+ attr_accessor :initial_filter_groups
30148
+
29598
30149
  def initialize(**args)
29599
30150
  update!(**args)
29600
30151
  end
@@ -29603,6 +30154,7 @@ module Google
29603
30154
  def update!(**args)
29604
30155
  @enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
29605
30156
  @enable_static_indexing_for_batch_ingestion = args[:enable_static_indexing_for_batch_ingestion] if args.key?(:enable_static_indexing_for_batch_ingestion)
30157
+ @initial_filter_groups = args[:initial_filter_groups] if args.key?(:initial_filter_groups)
29606
30158
  end
29607
30159
  end
29608
30160