google-apis-discoveryengine_v1alpha 0.89.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +518 -2
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +182 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +354 -0
- metadata +2 -2
|
@@ -3510,6 +3510,11 @@ module Google
|
|
|
3510
3510
|
# @return [String]
|
|
3511
3511
|
attr_accessor :industry_vertical
|
|
3512
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
|
+
|
|
3513
3518
|
# Additional config specs for a Media Recommendation engine.
|
|
3514
3519
|
# Corresponds to the JSON property `mediaRecommendationEngineConfig`
|
|
3515
3520
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
|
|
@@ -3568,6 +3573,7 @@ module Google
|
|
|
3568
3573
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3569
3574
|
@features = args[:features] if args.key?(:features)
|
|
3570
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)
|
|
3571
3577
|
@media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
|
|
3572
3578
|
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
3573
3579
|
@name = args[:name] if args.key?(:name)
|
|
@@ -3711,6 +3717,98 @@ module Google
|
|
|
3711
3717
|
end
|
|
3712
3718
|
end
|
|
3713
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
|
+
|
|
3714
3812
|
# Additional config specs for a Media Recommendation engine.
|
|
3715
3813
|
class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
|
|
3716
3814
|
include Google::Apis::Core::Hashable
|
|
@@ -3918,6 +4016,16 @@ module Google
|
|
|
3918
4016
|
attr_accessor :enable_static_indexing_for_batch_ingestion
|
|
3919
4017
|
alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
|
|
3920
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
|
+
|
|
3921
4029
|
def initialize(**args)
|
|
3922
4030
|
update!(**args)
|
|
3923
4031
|
end
|
|
@@ -3926,6 +4034,7 @@ module Google
|
|
|
3926
4034
|
def update!(**args)
|
|
3927
4035
|
@enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
|
|
3928
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)
|
|
3929
4038
|
end
|
|
3930
4039
|
end
|
|
3931
4040
|
|
|
@@ -6327,6 +6436,47 @@ module Google
|
|
|
6327
6436
|
end
|
|
6328
6437
|
end
|
|
6329
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
|
+
|
|
6330
6480
|
# Stores the definition of an agent that uses ADK and is deployed to Agent
|
|
6331
6481
|
# Engine (formerly known as Reasoning Engine).
|
|
6332
6482
|
class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition
|
|
@@ -10114,8 +10264,10 @@ module Google
|
|
|
10114
10264
|
attr_accessor :pkce_verification_enabled
|
|
10115
10265
|
alias_method :pkce_verification_enabled?, :pkce_verification_enabled
|
|
10116
10266
|
|
|
10117
|
-
#
|
|
10118
|
-
# calendar.events`
|
|
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.
|
|
10119
10271
|
# Corresponds to the JSON property `scopes`
|
|
10120
10272
|
# @return [Array<String>]
|
|
10121
10273
|
attr_accessor :scopes
|
|
@@ -14170,6 +14322,31 @@ module Google
|
|
|
14170
14322
|
end
|
|
14171
14323
|
end
|
|
14172
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
|
+
|
|
14173
14350
|
# Metadata for DeleteSchema LRO.
|
|
14174
14351
|
class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata
|
|
14175
14352
|
include Google::Apis::Core::Hashable
|
|
@@ -15202,6 +15379,11 @@ module Google
|
|
|
15202
15379
|
# @return [String]
|
|
15203
15380
|
attr_accessor :industry_vertical
|
|
15204
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
|
+
|
|
15205
15387
|
# Additional config specs for a Media Recommendation engine.
|
|
15206
15388
|
# Corresponds to the JSON property `mediaRecommendationEngineConfig`
|
|
15207
15389
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
|
|
@@ -15270,6 +15452,7 @@ module Google
|
|
|
15270
15452
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
15271
15453
|
@features = args[:features] if args.key?(:features)
|
|
15272
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)
|
|
15273
15456
|
@media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
|
|
15274
15457
|
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
15275
15458
|
@name = args[:name] if args.key?(:name)
|
|
@@ -15415,6 +15598,98 @@ module Google
|
|
|
15415
15598
|
end
|
|
15416
15599
|
end
|
|
15417
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
|
+
|
|
15418
15693
|
# Additional config specs for a Media Recommendation engine.
|
|
15419
15694
|
class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
|
|
15420
15695
|
include Google::Apis::Core::Hashable
|
|
@@ -16794,6 +17069,16 @@ module Google
|
|
|
16794
17069
|
attr_accessor :enable_static_indexing_for_batch_ingestion
|
|
16795
17070
|
alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
|
|
16796
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
|
+
|
|
16797
17082
|
def initialize(**args)
|
|
16798
17083
|
update!(**args)
|
|
16799
17084
|
end
|
|
@@ -16802,6 +17087,7 @@ module Google
|
|
|
16802
17087
|
def update!(**args)
|
|
16803
17088
|
@enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
|
|
16804
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)
|
|
16805
17091
|
end
|
|
16806
17092
|
end
|
|
16807
17093
|
|
|
@@ -19204,6 +19490,45 @@ module Google
|
|
|
19204
19490
|
end
|
|
19205
19491
|
end
|
|
19206
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
|
+
|
|
19207
19532
|
# Request for pausing training of an engine.
|
|
19208
19533
|
class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
|
|
19209
19534
|
include Google::Apis::Core::Hashable
|
|
@@ -20830,6 +21155,47 @@ module Google
|
|
|
20830
21155
|
end
|
|
20831
21156
|
end
|
|
20832
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
|
+
|
|
20833
21199
|
# Request message for CompletionService.RemoveSuggestion method.
|
|
20834
21200
|
class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest
|
|
20835
21201
|
include Google::Apis::Core::Hashable
|
|
@@ -20894,6 +21260,47 @@ module Google
|
|
|
20894
21260
|
end
|
|
20895
21261
|
end
|
|
20896
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
|
+
|
|
20897
21304
|
# Defines a reply message to user.
|
|
20898
21305
|
class GoogleCloudDiscoveryengineV1alphaReply
|
|
20899
21306
|
include Google::Apis::Core::Hashable
|
|
@@ -29108,6 +29515,11 @@ module Google
|
|
|
29108
29515
|
# @return [String]
|
|
29109
29516
|
attr_accessor :industry_vertical
|
|
29110
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
|
+
|
|
29111
29523
|
# Additional config specs for a Media Recommendation engine.
|
|
29112
29524
|
# Corresponds to the JSON property `mediaRecommendationEngineConfig`
|
|
29113
29525
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
|
|
@@ -29166,6 +29578,7 @@ module Google
|
|
|
29166
29578
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
29167
29579
|
@features = args[:features] if args.key?(:features)
|
|
29168
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)
|
|
29169
29582
|
@media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
|
|
29170
29583
|
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
29171
29584
|
@name = args[:name] if args.key?(:name)
|
|
@@ -29309,6 +29722,98 @@ module Google
|
|
|
29309
29722
|
end
|
|
29310
29723
|
end
|
|
29311
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
|
+
|
|
29312
29817
|
# Additional config specs for a Media Recommendation engine.
|
|
29313
29818
|
class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
|
|
29314
29819
|
include Google::Apis::Core::Hashable
|
|
@@ -29631,6 +30136,16 @@ module Google
|
|
|
29631
30136
|
attr_accessor :enable_static_indexing_for_batch_ingestion
|
|
29632
30137
|
alias_method :enable_static_indexing_for_batch_ingestion?, :enable_static_indexing_for_batch_ingestion
|
|
29633
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
|
+
|
|
29634
30149
|
def initialize(**args)
|
|
29635
30150
|
update!(**args)
|
|
29636
30151
|
end
|
|
@@ -29639,6 +30154,7 @@ module Google
|
|
|
29639
30154
|
def update!(**args)
|
|
29640
30155
|
@enable_configurable_schema = args[:enable_configurable_schema] if args.key?(:enable_configurable_schema)
|
|
29641
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)
|
|
29642
30158
|
end
|
|
29643
30159
|
end
|
|
29644
30160
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1alpha
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.90.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260112"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|