google-apis-discoveryengine_v1beta 0.111.0 → 0.113.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +563 -15
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +281 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +174 -0
- metadata +2 -2
|
@@ -1170,6 +1170,11 @@ module Google
|
|
|
1170
1170
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase>]
|
|
1171
1171
|
attr_accessor :banned_phrases
|
|
1172
1172
|
|
|
1173
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
1174
|
+
# Corresponds to the JSON property `dataProtectionPolicy`
|
|
1175
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataProtectionPolicy]
|
|
1176
|
+
attr_accessor :data_protection_policy
|
|
1177
|
+
|
|
1173
1178
|
# Configuration for customer defined Model Armor templates to be used for
|
|
1174
1179
|
# sanitizing user prompts and assistant responses.
|
|
1175
1180
|
# Corresponds to the JSON property `modelArmorConfig`
|
|
@@ -1183,6 +1188,7 @@ module Google
|
|
|
1183
1188
|
# Update properties of this object
|
|
1184
1189
|
def update!(**args)
|
|
1185
1190
|
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
|
1191
|
+
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
1186
1192
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
1187
1193
|
end
|
|
1188
1194
|
end
|
|
@@ -2310,6 +2316,11 @@ module Google
|
|
|
2310
2316
|
# @return [String]
|
|
2311
2317
|
attr_accessor :create_time
|
|
2312
2318
|
|
|
2319
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
2320
|
+
# Corresponds to the JSON property `dataProtectionPolicy`
|
|
2321
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataProtectionPolicy]
|
|
2322
|
+
attr_accessor :data_protection_policy
|
|
2323
|
+
|
|
2313
2324
|
# Required. The identifier for the data source. For the full, up-to-date list of
|
|
2314
2325
|
# supported connectors and their values, see [Connect a third-party data source](
|
|
2315
2326
|
# https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-
|
|
@@ -2565,6 +2576,7 @@ module Google
|
|
|
2565
2576
|
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
|
2566
2577
|
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
|
2567
2578
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2579
|
+
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
2568
2580
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
2569
2581
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
|
2570
2582
|
@dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
|
|
@@ -2855,6 +2867,47 @@ module Google
|
|
|
2855
2867
|
end
|
|
2856
2868
|
end
|
|
2857
2869
|
|
|
2870
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
2871
|
+
class GoogleCloudDiscoveryengineV1DataProtectionPolicy
|
|
2872
|
+
include Google::Apis::Core::Hashable
|
|
2873
|
+
|
|
2874
|
+
# Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
|
|
2875
|
+
# protection/docs/sensitive-data-protection-overview) policy.
|
|
2876
|
+
# Corresponds to the JSON property `sensitiveDataProtectionPolicy`
|
|
2877
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy]
|
|
2878
|
+
attr_accessor :sensitive_data_protection_policy
|
|
2879
|
+
|
|
2880
|
+
def initialize(**args)
|
|
2881
|
+
update!(**args)
|
|
2882
|
+
end
|
|
2883
|
+
|
|
2884
|
+
# Update properties of this object
|
|
2885
|
+
def update!(**args)
|
|
2886
|
+
@sensitive_data_protection_policy = args[:sensitive_data_protection_policy] if args.key?(:sensitive_data_protection_policy)
|
|
2887
|
+
end
|
|
2888
|
+
end
|
|
2889
|
+
|
|
2890
|
+
# Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
|
|
2891
|
+
# protection/docs/sensitive-data-protection-overview) policy.
|
|
2892
|
+
class GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy
|
|
2893
|
+
include Google::Apis::Core::Hashable
|
|
2894
|
+
|
|
2895
|
+
# Optional. Specifies the resource name of the Sensitive Data Protection content
|
|
2896
|
+
# policy.
|
|
2897
|
+
# Corresponds to the JSON property `policy`
|
|
2898
|
+
# @return [String]
|
|
2899
|
+
attr_accessor :policy
|
|
2900
|
+
|
|
2901
|
+
def initialize(**args)
|
|
2902
|
+
update!(**args)
|
|
2903
|
+
end
|
|
2904
|
+
|
|
2905
|
+
# Update properties of this object
|
|
2906
|
+
def update!(**args)
|
|
2907
|
+
@policy = args[:policy] if args.key?(:policy)
|
|
2908
|
+
end
|
|
2909
|
+
end
|
|
2910
|
+
|
|
2858
2911
|
# DataStore captures global settings and configs at the DataStore level.
|
|
2859
2912
|
class GoogleCloudDiscoveryengineV1DataStore
|
|
2860
2913
|
include Google::Apis::Core::Hashable
|
|
@@ -2906,6 +2959,11 @@ module Google
|
|
|
2906
2959
|
# @return [String]
|
|
2907
2960
|
attr_accessor :create_time
|
|
2908
2961
|
|
|
2962
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
2963
|
+
# Corresponds to the JSON property `dataProtectionPolicy`
|
|
2964
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataProtectionPolicy]
|
|
2965
|
+
attr_accessor :data_protection_policy
|
|
2966
|
+
|
|
2909
2967
|
# Output only. The id of the default Schema associated to this data store.
|
|
2910
2968
|
# Corresponds to the JSON property `defaultSchemaId`
|
|
2911
2969
|
# @return [String]
|
|
@@ -3012,6 +3070,7 @@ module Google
|
|
|
3012
3070
|
@configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
|
|
3013
3071
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
3014
3072
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3073
|
+
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
3015
3074
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
3016
3075
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3017
3076
|
@document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
|
|
@@ -4019,11 +4078,11 @@ module Google
|
|
|
4019
4078
|
# `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
4020
4079
|
# disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
4021
4080
|
# content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
4022
|
-
# canvas` * `canvas-workspace` * `
|
|
4023
|
-
# without-admin-approval` * `disable-projects` * `sobi`
|
|
4024
|
-
# sharing-with-groups` * `single-agent-orchestration` * `
|
|
4025
|
-
# orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
4026
|
-
# notifications`
|
|
4081
|
+
# canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
|
|
4082
|
+
# sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
|
|
4083
|
+
# * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
|
|
4084
|
+
# multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
4085
|
+
# `in-app-notifications`
|
|
4027
4086
|
# Corresponds to the JSON property `features`
|
|
4028
4087
|
# @return [Hash<String,String>]
|
|
4029
4088
|
attr_accessor :features
|
|
@@ -4085,6 +4144,11 @@ module Google
|
|
|
4085
4144
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig]
|
|
4086
4145
|
attr_accessor :search_engine_config
|
|
4087
4146
|
|
|
4147
|
+
# Configuration for the session.
|
|
4148
|
+
# Corresponds to the JSON property `sessionConfig`
|
|
4149
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SessionConfig]
|
|
4150
|
+
attr_accessor :session_config
|
|
4151
|
+
|
|
4088
4152
|
# Required. The solutions of the engine.
|
|
4089
4153
|
# Corresponds to the JSON property `solutionType`
|
|
4090
4154
|
# @return [String]
|
|
@@ -4124,6 +4188,7 @@ module Google
|
|
|
4124
4188
|
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
4125
4189
|
@procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
|
|
4126
4190
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
4191
|
+
@session_config = args[:session_config] if args.key?(:session_config)
|
|
4127
4192
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
4128
4193
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4129
4194
|
end
|
|
@@ -5428,6 +5493,11 @@ module Google
|
|
|
5428
5493
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig]
|
|
5429
5494
|
attr_accessor :notebooklm_config
|
|
5430
5495
|
|
|
5496
|
+
# Controls resource-level access control for Gemini Enterprise users.
|
|
5497
|
+
# Corresponds to the JSON property `resourceAccessControlConfig`
|
|
5498
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig]
|
|
5499
|
+
attr_accessor :resource_access_control_config
|
|
5500
|
+
|
|
5431
5501
|
def initialize(**args)
|
|
5432
5502
|
update!(**args)
|
|
5433
5503
|
end
|
|
@@ -5435,6 +5505,7 @@ module Google
|
|
|
5435
5505
|
# Update properties of this object
|
|
5436
5506
|
def update!(**args)
|
|
5437
5507
|
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
|
5508
|
+
@resource_access_control_config = args[:resource_access_control_config] if args.key?(:resource_access_control_config)
|
|
5438
5509
|
end
|
|
5439
5510
|
end
|
|
5440
5511
|
|
|
@@ -5550,6 +5621,28 @@ module Google
|
|
|
5550
5621
|
end
|
|
5551
5622
|
end
|
|
5552
5623
|
|
|
5624
|
+
# Controls resource-level access control for Gemini Enterprise users.
|
|
5625
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigResourceAccessControlConfig
|
|
5626
|
+
include Google::Apis::Core::Hashable
|
|
5627
|
+
|
|
5628
|
+
# Optional. If `true`, the data stores and data connectors shown to Gemini
|
|
5629
|
+
# Enterprise users are filtered to those the user has the required resource-
|
|
5630
|
+
# level `.get` IAM permission on.
|
|
5631
|
+
# Corresponds to the JSON property `dataStoreAccessControlEnabled`
|
|
5632
|
+
# @return [Boolean]
|
|
5633
|
+
attr_accessor :data_store_access_control_enabled
|
|
5634
|
+
alias_method :data_store_access_control_enabled?, :data_store_access_control_enabled
|
|
5635
|
+
|
|
5636
|
+
def initialize(**args)
|
|
5637
|
+
update!(**args)
|
|
5638
|
+
end
|
|
5639
|
+
|
|
5640
|
+
# Update properties of this object
|
|
5641
|
+
def update!(**args)
|
|
5642
|
+
@data_store_access_control_enabled = args[:data_store_access_control_enabled] if args.key?(:data_store_access_control_enabled)
|
|
5643
|
+
end
|
|
5644
|
+
end
|
|
5645
|
+
|
|
5553
5646
|
# Metadata about the terms of service.
|
|
5554
5647
|
class GoogleCloudDiscoveryengineV1ProjectServiceTerms
|
|
5555
5648
|
include Google::Apis::Core::Hashable
|
|
@@ -6492,6 +6585,50 @@ module Google
|
|
|
6492
6585
|
end
|
|
6493
6586
|
end
|
|
6494
6587
|
|
|
6588
|
+
# Configuration for the session.
|
|
6589
|
+
class GoogleCloudDiscoveryengineV1SessionConfig
|
|
6590
|
+
include Google::Apis::Core::Hashable
|
|
6591
|
+
|
|
6592
|
+
# Optional. Session management policy that defines who will manage the session.
|
|
6593
|
+
# Corresponds to the JSON property `sessionManagementPolicy`
|
|
6594
|
+
# @return [String]
|
|
6595
|
+
attr_accessor :session_management_policy
|
|
6596
|
+
|
|
6597
|
+
# Defines the TTL for sessions.
|
|
6598
|
+
# Corresponds to the JSON property `sessionTtl`
|
|
6599
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SessionConfigSessionTtl]
|
|
6600
|
+
attr_accessor :session_ttl
|
|
6601
|
+
|
|
6602
|
+
def initialize(**args)
|
|
6603
|
+
update!(**args)
|
|
6604
|
+
end
|
|
6605
|
+
|
|
6606
|
+
# Update properties of this object
|
|
6607
|
+
def update!(**args)
|
|
6608
|
+
@session_management_policy = args[:session_management_policy] if args.key?(:session_management_policy)
|
|
6609
|
+
@session_ttl = args[:session_ttl] if args.key?(:session_ttl)
|
|
6610
|
+
end
|
|
6611
|
+
end
|
|
6612
|
+
|
|
6613
|
+
# Defines the TTL for sessions.
|
|
6614
|
+
class GoogleCloudDiscoveryengineV1SessionConfigSessionTtl
|
|
6615
|
+
include Google::Apis::Core::Hashable
|
|
6616
|
+
|
|
6617
|
+
# Defines the number of days for session TTL.
|
|
6618
|
+
# Corresponds to the JSON property `days`
|
|
6619
|
+
# @return [Fixnum]
|
|
6620
|
+
attr_accessor :days
|
|
6621
|
+
|
|
6622
|
+
def initialize(**args)
|
|
6623
|
+
update!(**args)
|
|
6624
|
+
end
|
|
6625
|
+
|
|
6626
|
+
# Update properties of this object
|
|
6627
|
+
def update!(**args)
|
|
6628
|
+
@days = args[:days] if args.key?(:days)
|
|
6629
|
+
end
|
|
6630
|
+
end
|
|
6631
|
+
|
|
6495
6632
|
# Metadata for DataConnectorService.SetUpDataConnector method.
|
|
6496
6633
|
class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata
|
|
6497
6634
|
include Google::Apis::Core::Hashable
|
|
@@ -7710,6 +7847,11 @@ module Google
|
|
|
7710
7847
|
# @return [String]
|
|
7711
7848
|
attr_accessor :name
|
|
7712
7849
|
|
|
7850
|
+
# Optional. Sent as Vertex `ThinkingConfig.thinking_level`.
|
|
7851
|
+
# Corresponds to the JSON property `thinkingLevel`
|
|
7852
|
+
# @return [String]
|
|
7853
|
+
attr_accessor :thinking_level
|
|
7854
|
+
|
|
7713
7855
|
# Optional. Relative weight for this model in the mixture. Must be a finite,
|
|
7714
7856
|
# strictly positive value. Weights across all entries are normalized server-side,
|
|
7715
7857
|
# so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient
|
|
@@ -7727,6 +7869,7 @@ module Google
|
|
|
7727
7869
|
# Update properties of this object
|
|
7728
7870
|
def update!(**args)
|
|
7729
7871
|
@name = args[:name] if args.key?(:name)
|
|
7872
|
+
@thinking_level = args[:thinking_level] if args.key?(:thinking_level)
|
|
7730
7873
|
@weight = args[:weight] if args.key?(:weight)
|
|
7731
7874
|
end
|
|
7732
7875
|
end
|
|
@@ -9126,6 +9269,12 @@ module Google
|
|
|
9126
9269
|
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
|
9127
9270
|
include Google::Apis::Core::Hashable
|
|
9128
9271
|
|
|
9272
|
+
# Output only. Generic structured chunk metadata from upstream data source
|
|
9273
|
+
# connectors.
|
|
9274
|
+
# Corresponds to the JSON property `chunkMetadata`
|
|
9275
|
+
# @return [Hash<String,Object>]
|
|
9276
|
+
attr_accessor :chunk_metadata
|
|
9277
|
+
|
|
9129
9278
|
# Chunk of code snippet from the referenced document.
|
|
9130
9279
|
# Corresponds to the JSON property `codeSnippet`
|
|
9131
9280
|
# @return [String]
|
|
@@ -9147,6 +9296,7 @@ module Google
|
|
|
9147
9296
|
|
|
9148
9297
|
# Update properties of this object
|
|
9149
9298
|
def update!(**args)
|
|
9299
|
+
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
|
|
9150
9300
|
@code_snippet = args[:code_snippet] if args.key?(:code_snippet)
|
|
9151
9301
|
@content = args[:content] if args.key?(:content)
|
|
9152
9302
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
@@ -12525,11 +12675,11 @@ module Google
|
|
|
12525
12675
|
# `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
12526
12676
|
# disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
12527
12677
|
# content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
12528
|
-
# canvas` * `canvas-workspace` * `
|
|
12529
|
-
# without-admin-approval` * `disable-projects` * `sobi`
|
|
12530
|
-
# sharing-with-groups` * `single-agent-orchestration` * `
|
|
12531
|
-
# orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
12532
|
-
# notifications`
|
|
12678
|
+
# canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
|
|
12679
|
+
# sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
|
|
12680
|
+
# * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
|
|
12681
|
+
# multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
12682
|
+
# `in-app-notifications`
|
|
12533
12683
|
# Corresponds to the JSON property `features`
|
|
12534
12684
|
# @return [Hash<String,String>]
|
|
12535
12685
|
attr_accessor :features
|
|
@@ -12596,6 +12746,11 @@ module Google
|
|
|
12596
12746
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig]
|
|
12597
12747
|
attr_accessor :search_engine_config
|
|
12598
12748
|
|
|
12749
|
+
# Configuration for the session.
|
|
12750
|
+
# Corresponds to the JSON property `sessionConfig`
|
|
12751
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSessionConfig]
|
|
12752
|
+
attr_accessor :session_config
|
|
12753
|
+
|
|
12599
12754
|
# Additional config specs for a `similar-items` engine.
|
|
12600
12755
|
# Corresponds to the JSON property `similarDocumentsConfig`
|
|
12601
12756
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig]
|
|
@@ -12641,6 +12796,7 @@ module Google
|
|
|
12641
12796
|
@procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
|
|
12642
12797
|
@recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata)
|
|
12643
12798
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
12799
|
+
@session_config = args[:session_config] if args.key?(:session_config)
|
|
12644
12800
|
@similar_documents_config = args[:similar_documents_config] if args.key?(:similar_documents_config)
|
|
12645
12801
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
12646
12802
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -14781,6 +14937,11 @@ module Google
|
|
|
14781
14937
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig]
|
|
14782
14938
|
attr_accessor :notebooklm_config
|
|
14783
14939
|
|
|
14940
|
+
# Controls resource-level access control for Gemini Enterprise users.
|
|
14941
|
+
# Corresponds to the JSON property `resourceAccessControlConfig`
|
|
14942
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig]
|
|
14943
|
+
attr_accessor :resource_access_control_config
|
|
14944
|
+
|
|
14784
14945
|
def initialize(**args)
|
|
14785
14946
|
update!(**args)
|
|
14786
14947
|
end
|
|
@@ -14788,6 +14949,7 @@ module Google
|
|
|
14788
14949
|
# Update properties of this object
|
|
14789
14950
|
def update!(**args)
|
|
14790
14951
|
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
|
14952
|
+
@resource_access_control_config = args[:resource_access_control_config] if args.key?(:resource_access_control_config)
|
|
14791
14953
|
end
|
|
14792
14954
|
end
|
|
14793
14955
|
|
|
@@ -14903,6 +15065,28 @@ module Google
|
|
|
14903
15065
|
end
|
|
14904
15066
|
end
|
|
14905
15067
|
|
|
15068
|
+
# Controls resource-level access control for Gemini Enterprise users.
|
|
15069
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig
|
|
15070
|
+
include Google::Apis::Core::Hashable
|
|
15071
|
+
|
|
15072
|
+
# Optional. If `true`, the data stores and data connectors shown to Gemini
|
|
15073
|
+
# Enterprise users are filtered to those the user has the required resource-
|
|
15074
|
+
# level `.get` IAM permission on.
|
|
15075
|
+
# Corresponds to the JSON property `dataStoreAccessControlEnabled`
|
|
15076
|
+
# @return [Boolean]
|
|
15077
|
+
attr_accessor :data_store_access_control_enabled
|
|
15078
|
+
alias_method :data_store_access_control_enabled?, :data_store_access_control_enabled
|
|
15079
|
+
|
|
15080
|
+
def initialize(**args)
|
|
15081
|
+
update!(**args)
|
|
15082
|
+
end
|
|
15083
|
+
|
|
15084
|
+
# Update properties of this object
|
|
15085
|
+
def update!(**args)
|
|
15086
|
+
@data_store_access_control_enabled = args[:data_store_access_control_enabled] if args.key?(:data_store_access_control_enabled)
|
|
15087
|
+
end
|
|
15088
|
+
end
|
|
15089
|
+
|
|
14906
15090
|
# Metadata about the terms of service.
|
|
14907
15091
|
class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
|
|
14908
15092
|
include Google::Apis::Core::Hashable
|
|
@@ -15361,6 +15545,19 @@ module Google
|
|
|
15361
15545
|
# @return [String]
|
|
15362
15546
|
attr_accessor :ui_json_payload
|
|
15363
15547
|
|
|
15548
|
+
# Reference to a user-supplied file attached to a long-running-agent (Sobi) task.
|
|
15549
|
+
# Rendered by the client as an attachment chip on the user turn's bubble. The
|
|
15550
|
+
# file itself is stored on the task's `AgentArtifact` list; the client resolves
|
|
15551
|
+
# full metadata (source URI, size, ...) for download or preview by calling `
|
|
15552
|
+
# GetTask` on the Sobi Task API and matching `AgentArtifact.name` against `
|
|
15553
|
+
# file_name`. Only `file_name` and `mime_type` appear on this wire deliberately:
|
|
15554
|
+
# the backing `gs://` or Drive URI is not exposed to conversation-history
|
|
15555
|
+
# readers. Same variant is used for both byte-uploaded and Drive-picked files --
|
|
15556
|
+
# "user attached a file" is one concept regardless of source.
|
|
15557
|
+
# Corresponds to the JSON property `userSuppliedSobiArtifactReference`
|
|
15558
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference]
|
|
15559
|
+
attr_accessor :user_supplied_sobi_artifact_reference
|
|
15560
|
+
|
|
15364
15561
|
def initialize(**args)
|
|
15365
15562
|
update!(**args)
|
|
15366
15563
|
end
|
|
@@ -15373,6 +15570,7 @@ module Google
|
|
|
15373
15570
|
@person_reference = args[:person_reference] if args.key?(:person_reference)
|
|
15374
15571
|
@text = args[:text] if args.key?(:text)
|
|
15375
15572
|
@ui_json_payload = args[:ui_json_payload] if args.key?(:ui_json_payload)
|
|
15573
|
+
@user_supplied_sobi_artifact_reference = args[:user_supplied_sobi_artifact_reference] if args.key?(:user_supplied_sobi_artifact_reference)
|
|
15376
15574
|
end
|
|
15377
15575
|
end
|
|
15378
15576
|
|
|
@@ -15536,6 +15734,48 @@ module Google
|
|
|
15536
15734
|
end
|
|
15537
15735
|
end
|
|
15538
15736
|
|
|
15737
|
+
# Reference to a user-supplied file attached to a long-running-agent (Sobi) task.
|
|
15738
|
+
# Rendered by the client as an attachment chip on the user turn's bubble. The
|
|
15739
|
+
# file itself is stored on the task's `AgentArtifact` list; the client resolves
|
|
15740
|
+
# full metadata (source URI, size, ...) for download or preview by calling `
|
|
15741
|
+
# GetTask` on the Sobi Task API and matching `AgentArtifact.name` against `
|
|
15742
|
+
# file_name`. Only `file_name` and `mime_type` appear on this wire deliberately:
|
|
15743
|
+
# the backing `gs://` or Drive URI is not exposed to conversation-history
|
|
15744
|
+
# readers. Same variant is used for both byte-uploaded and Drive-picked files --
|
|
15745
|
+
# "user attached a file" is one concept regardless of source.
|
|
15746
|
+
class GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference
|
|
15747
|
+
include Google::Apis::Core::Hashable
|
|
15748
|
+
|
|
15749
|
+
# Required. Client-supplied filename. Unique per task within the user-supplied
|
|
15750
|
+
# artifact set (UI dedupes before upload). Doubles as the artifact identifier
|
|
15751
|
+
# used to look up the artifact on `Task.artifacts`. The `_name` suffix is
|
|
15752
|
+
# deliberate and the AIP-122 lint is suppressed: this field is not a resource
|
|
15753
|
+
# name (which is what AIP-122 reserves the bare `name` for). It is the literal
|
|
15754
|
+
# filename, and it serves as the join key against `AgentArtifact.name` on the
|
|
15755
|
+
# backing Sobi task -- a structural role that `title` or `display_name` would
|
|
15756
|
+
# not communicate to a client picking what to send. The internal mirror (`cloud/
|
|
15757
|
+
# ml/discoveryengine/schema/assistant.proto`) uses the same field name so the
|
|
15758
|
+
# round-trip converter stays name-for-name.
|
|
15759
|
+
# Corresponds to the JSON property `fileName`
|
|
15760
|
+
# @return [String]
|
|
15761
|
+
attr_accessor :file_name
|
|
15762
|
+
|
|
15763
|
+
# Optional. IANA MIME type. Used for icon/preview rendering.
|
|
15764
|
+
# Corresponds to the JSON property `mimeType`
|
|
15765
|
+
# @return [String]
|
|
15766
|
+
attr_accessor :mime_type
|
|
15767
|
+
|
|
15768
|
+
def initialize(**args)
|
|
15769
|
+
update!(**args)
|
|
15770
|
+
end
|
|
15771
|
+
|
|
15772
|
+
# Update properties of this object
|
|
15773
|
+
def update!(**args)
|
|
15774
|
+
@file_name = args[:file_name] if args.key?(:file_name)
|
|
15775
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
15776
|
+
end
|
|
15777
|
+
end
|
|
15778
|
+
|
|
15539
15779
|
# Metadata related to the progress of the SiteSearchEngineService.RecrawlUris
|
|
15540
15780
|
# operation. This will be returned by the google.longrunning.Operation.metadata
|
|
15541
15781
|
# field.
|
|
@@ -17558,6 +17798,17 @@ module Google
|
|
|
17558
17798
|
# @return [String]
|
|
17559
17799
|
attr_accessor :condition
|
|
17560
17800
|
|
|
17801
|
+
# Optional. The list of fields to be used for Search As You Type scoring.
|
|
17802
|
+
# Corresponds to the JSON property `fields`
|
|
17803
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField>]
|
|
17804
|
+
attr_accessor :fields
|
|
17805
|
+
|
|
17806
|
+
# Optional. Search As You Type score threshold for filtering purpose. We keep
|
|
17807
|
+
# the result if `score` >= `score_threshold`.
|
|
17808
|
+
# Corresponds to the JSON property `scoreThreshold`
|
|
17809
|
+
# @return [Float]
|
|
17810
|
+
attr_accessor :score_threshold
|
|
17811
|
+
|
|
17561
17812
|
def initialize(**args)
|
|
17562
17813
|
update!(**args)
|
|
17563
17814
|
end
|
|
@@ -17565,6 +17816,35 @@ module Google
|
|
|
17565
17816
|
# Update properties of this object
|
|
17566
17817
|
def update!(**args)
|
|
17567
17818
|
@condition = args[:condition] if args.key?(:condition)
|
|
17819
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
17820
|
+
@score_threshold = args[:score_threshold] if args.key?(:score_threshold)
|
|
17821
|
+
end
|
|
17822
|
+
end
|
|
17823
|
+
|
|
17824
|
+
# A schema field to be used for Search As You Type scoring on this request.
|
|
17825
|
+
# Overrides any data-store-level Search As You Type field configuration for the
|
|
17826
|
+
# duration of the request.
|
|
17827
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField
|
|
17828
|
+
include Google::Apis::Core::Hashable
|
|
17829
|
+
|
|
17830
|
+
# Required. A field key that has been indexed for Search As You Type.
|
|
17831
|
+
# Corresponds to the JSON property `key`
|
|
17832
|
+
# @return [String]
|
|
17833
|
+
attr_accessor :key
|
|
17834
|
+
|
|
17835
|
+
# Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
|
|
17836
|
+
# Corresponds to the JSON property `weight`
|
|
17837
|
+
# @return [Float]
|
|
17838
|
+
attr_accessor :weight
|
|
17839
|
+
|
|
17840
|
+
def initialize(**args)
|
|
17841
|
+
update!(**args)
|
|
17842
|
+
end
|
|
17843
|
+
|
|
17844
|
+
# Update properties of this object
|
|
17845
|
+
def update!(**args)
|
|
17846
|
+
@key = args[:key] if args.key?(:key)
|
|
17847
|
+
@weight = args[:weight] if args.key?(:weight)
|
|
17568
17848
|
end
|
|
17569
17849
|
end
|
|
17570
17850
|
|
|
@@ -17707,6 +17987,50 @@ module Google
|
|
|
17707
17987
|
end
|
|
17708
17988
|
end
|
|
17709
17989
|
|
|
17990
|
+
# Configuration for the session.
|
|
17991
|
+
class GoogleCloudDiscoveryengineV1alphaSessionConfig
|
|
17992
|
+
include Google::Apis::Core::Hashable
|
|
17993
|
+
|
|
17994
|
+
# Optional. Session management policy that defines who will manage the session.
|
|
17995
|
+
# Corresponds to the JSON property `sessionManagementPolicy`
|
|
17996
|
+
# @return [String]
|
|
17997
|
+
attr_accessor :session_management_policy
|
|
17998
|
+
|
|
17999
|
+
# Defines the TTL for sessions.
|
|
18000
|
+
# Corresponds to the JSON property `sessionTtl`
|
|
18001
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl]
|
|
18002
|
+
attr_accessor :session_ttl
|
|
18003
|
+
|
|
18004
|
+
def initialize(**args)
|
|
18005
|
+
update!(**args)
|
|
18006
|
+
end
|
|
18007
|
+
|
|
18008
|
+
# Update properties of this object
|
|
18009
|
+
def update!(**args)
|
|
18010
|
+
@session_management_policy = args[:session_management_policy] if args.key?(:session_management_policy)
|
|
18011
|
+
@session_ttl = args[:session_ttl] if args.key?(:session_ttl)
|
|
18012
|
+
end
|
|
18013
|
+
end
|
|
18014
|
+
|
|
18015
|
+
# Defines the TTL for sessions.
|
|
18016
|
+
class GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl
|
|
18017
|
+
include Google::Apis::Core::Hashable
|
|
18018
|
+
|
|
18019
|
+
# Defines the number of days for session TTL.
|
|
18020
|
+
# Corresponds to the JSON property `days`
|
|
18021
|
+
# @return [Fixnum]
|
|
18022
|
+
attr_accessor :days
|
|
18023
|
+
|
|
18024
|
+
def initialize(**args)
|
|
18025
|
+
update!(**args)
|
|
18026
|
+
end
|
|
18027
|
+
|
|
18028
|
+
# Update properties of this object
|
|
18029
|
+
def update!(**args)
|
|
18030
|
+
@days = args[:days] if args.key?(:days)
|
|
18031
|
+
end
|
|
18032
|
+
end
|
|
18033
|
+
|
|
17710
18034
|
# Represents a turn, including a query from the user and a answer from service.
|
|
17711
18035
|
class GoogleCloudDiscoveryengineV1alphaSessionTurn
|
|
17712
18036
|
include Google::Apis::Core::Hashable
|
|
@@ -21376,6 +21700,11 @@ module Google
|
|
|
21376
21700
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase>]
|
|
21377
21701
|
attr_accessor :banned_phrases
|
|
21378
21702
|
|
|
21703
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
21704
|
+
# Corresponds to the JSON property `dataProtectionPolicy`
|
|
21705
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataProtectionPolicy]
|
|
21706
|
+
attr_accessor :data_protection_policy
|
|
21707
|
+
|
|
21379
21708
|
# Configuration for customer defined Model Armor templates to be used for
|
|
21380
21709
|
# sanitizing user prompts and assistant responses.
|
|
21381
21710
|
# Corresponds to the JSON property `modelArmorConfig`
|
|
@@ -21389,6 +21718,7 @@ module Google
|
|
|
21389
21718
|
# Update properties of this object
|
|
21390
21719
|
def update!(**args)
|
|
21391
21720
|
@banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
|
|
21721
|
+
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
21392
21722
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
21393
21723
|
end
|
|
21394
21724
|
end
|
|
@@ -21593,6 +21923,12 @@ module Google
|
|
|
21593
21923
|
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
|
|
21594
21924
|
include Google::Apis::Core::Hashable
|
|
21595
21925
|
|
|
21926
|
+
# Output only. Generic structured chunk metadata from upstream data source
|
|
21927
|
+
# connectors.
|
|
21928
|
+
# Corresponds to the JSON property `chunkMetadata`
|
|
21929
|
+
# @return [Hash<String,Object>]
|
|
21930
|
+
attr_accessor :chunk_metadata
|
|
21931
|
+
|
|
21596
21932
|
# Chunk of code snippet from the referenced document.
|
|
21597
21933
|
# Corresponds to the JSON property `codeSnippet`
|
|
21598
21934
|
# @return [String]
|
|
@@ -21614,6 +21950,7 @@ module Google
|
|
|
21614
21950
|
|
|
21615
21951
|
# Update properties of this object
|
|
21616
21952
|
def update!(**args)
|
|
21953
|
+
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
|
|
21617
21954
|
@code_snippet = args[:code_snippet] if args.key?(:code_snippet)
|
|
21618
21955
|
@content = args[:content] if args.key?(:content)
|
|
21619
21956
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
@@ -24037,6 +24374,47 @@ module Google
|
|
|
24037
24374
|
end
|
|
24038
24375
|
end
|
|
24039
24376
|
|
|
24377
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
24378
|
+
class GoogleCloudDiscoveryengineV1betaDataProtectionPolicy
|
|
24379
|
+
include Google::Apis::Core::Hashable
|
|
24380
|
+
|
|
24381
|
+
# Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
|
|
24382
|
+
# protection/docs/sensitive-data-protection-overview) policy.
|
|
24383
|
+
# Corresponds to the JSON property `sensitiveDataProtectionPolicy`
|
|
24384
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy]
|
|
24385
|
+
attr_accessor :sensitive_data_protection_policy
|
|
24386
|
+
|
|
24387
|
+
def initialize(**args)
|
|
24388
|
+
update!(**args)
|
|
24389
|
+
end
|
|
24390
|
+
|
|
24391
|
+
# Update properties of this object
|
|
24392
|
+
def update!(**args)
|
|
24393
|
+
@sensitive_data_protection_policy = args[:sensitive_data_protection_policy] if args.key?(:sensitive_data_protection_policy)
|
|
24394
|
+
end
|
|
24395
|
+
end
|
|
24396
|
+
|
|
24397
|
+
# Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
|
|
24398
|
+
# protection/docs/sensitive-data-protection-overview) policy.
|
|
24399
|
+
class GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy
|
|
24400
|
+
include Google::Apis::Core::Hashable
|
|
24401
|
+
|
|
24402
|
+
# Optional. Specifies the resource name of the Sensitive Data Protection content
|
|
24403
|
+
# policy.
|
|
24404
|
+
# Corresponds to the JSON property `policy`
|
|
24405
|
+
# @return [String]
|
|
24406
|
+
attr_accessor :policy
|
|
24407
|
+
|
|
24408
|
+
def initialize(**args)
|
|
24409
|
+
update!(**args)
|
|
24410
|
+
end
|
|
24411
|
+
|
|
24412
|
+
# Update properties of this object
|
|
24413
|
+
def update!(**args)
|
|
24414
|
+
@policy = args[:policy] if args.key?(:policy)
|
|
24415
|
+
end
|
|
24416
|
+
end
|
|
24417
|
+
|
|
24040
24418
|
# DataStore captures global settings and configs at the DataStore level.
|
|
24041
24419
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
|
24042
24420
|
include Google::Apis::Core::Hashable
|
|
@@ -24088,6 +24466,11 @@ module Google
|
|
|
24088
24466
|
# @return [String]
|
|
24089
24467
|
attr_accessor :create_time
|
|
24090
24468
|
|
|
24469
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
24470
|
+
# Corresponds to the JSON property `dataProtectionPolicy`
|
|
24471
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataProtectionPolicy]
|
|
24472
|
+
attr_accessor :data_protection_policy
|
|
24473
|
+
|
|
24091
24474
|
# Output only. The id of the default Schema associated to this data store.
|
|
24092
24475
|
# Corresponds to the JSON property `defaultSchemaId`
|
|
24093
24476
|
# @return [String]
|
|
@@ -24199,6 +24582,7 @@ module Google
|
|
|
24199
24582
|
@configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
|
|
24200
24583
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
24201
24584
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
24585
|
+
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
24202
24586
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
24203
24587
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
24204
24588
|
@document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
|
|
@@ -25507,11 +25891,11 @@ module Google
|
|
|
25507
25891
|
# `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
|
|
25508
25892
|
# disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
|
|
25509
25893
|
# content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
|
|
25510
|
-
# canvas` * `canvas-workspace` * `
|
|
25511
|
-
# without-admin-approval` * `disable-projects` * `sobi`
|
|
25512
|
-
# sharing-with-groups` * `single-agent-orchestration` * `
|
|
25513
|
-
# orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
25514
|
-
# notifications`
|
|
25894
|
+
# canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
|
|
25895
|
+
# sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
|
|
25896
|
+
# * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
|
|
25897
|
+
# multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
|
|
25898
|
+
# `in-app-notifications`
|
|
25515
25899
|
# Corresponds to the JSON property `features`
|
|
25516
25900
|
# @return [Hash<String,String>]
|
|
25517
25901
|
attr_accessor :features
|
|
@@ -25573,6 +25957,11 @@ module Google
|
|
|
25573
25957
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig]
|
|
25574
25958
|
attr_accessor :search_engine_config
|
|
25575
25959
|
|
|
25960
|
+
# Configuration for the session.
|
|
25961
|
+
# Corresponds to the JSON property `sessionConfig`
|
|
25962
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSessionConfig]
|
|
25963
|
+
attr_accessor :session_config
|
|
25964
|
+
|
|
25576
25965
|
# Required. The solutions of the engine.
|
|
25577
25966
|
# Corresponds to the JSON property `solutionType`
|
|
25578
25967
|
# @return [String]
|
|
@@ -25612,6 +26001,7 @@ module Google
|
|
|
25612
26001
|
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
25613
26002
|
@procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
|
|
25614
26003
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
26004
|
+
@session_config = args[:session_config] if args.key?(:session_config)
|
|
25615
26005
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
25616
26006
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
25617
26007
|
end
|
|
@@ -28878,6 +29268,11 @@ module Google
|
|
|
28878
29268
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig]
|
|
28879
29269
|
attr_accessor :notebooklm_config
|
|
28880
29270
|
|
|
29271
|
+
# Controls resource-level access control for Gemini Enterprise users.
|
|
29272
|
+
# Corresponds to the JSON property `resourceAccessControlConfig`
|
|
29273
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig]
|
|
29274
|
+
attr_accessor :resource_access_control_config
|
|
29275
|
+
|
|
28881
29276
|
def initialize(**args)
|
|
28882
29277
|
update!(**args)
|
|
28883
29278
|
end
|
|
@@ -28885,6 +29280,7 @@ module Google
|
|
|
28885
29280
|
# Update properties of this object
|
|
28886
29281
|
def update!(**args)
|
|
28887
29282
|
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
|
29283
|
+
@resource_access_control_config = args[:resource_access_control_config] if args.key?(:resource_access_control_config)
|
|
28888
29284
|
end
|
|
28889
29285
|
end
|
|
28890
29286
|
|
|
@@ -29000,6 +29396,28 @@ module Google
|
|
|
29000
29396
|
end
|
|
29001
29397
|
end
|
|
29002
29398
|
|
|
29399
|
+
# Controls resource-level access control for Gemini Enterprise users.
|
|
29400
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig
|
|
29401
|
+
include Google::Apis::Core::Hashable
|
|
29402
|
+
|
|
29403
|
+
# Optional. If `true`, the data stores and data connectors shown to Gemini
|
|
29404
|
+
# Enterprise users are filtered to those the user has the required resource-
|
|
29405
|
+
# level `.get` IAM permission on.
|
|
29406
|
+
# Corresponds to the JSON property `dataStoreAccessControlEnabled`
|
|
29407
|
+
# @return [Boolean]
|
|
29408
|
+
attr_accessor :data_store_access_control_enabled
|
|
29409
|
+
alias_method :data_store_access_control_enabled?, :data_store_access_control_enabled
|
|
29410
|
+
|
|
29411
|
+
def initialize(**args)
|
|
29412
|
+
update!(**args)
|
|
29413
|
+
end
|
|
29414
|
+
|
|
29415
|
+
# Update properties of this object
|
|
29416
|
+
def update!(**args)
|
|
29417
|
+
@data_store_access_control_enabled = args[:data_store_access_control_enabled] if args.key?(:data_store_access_control_enabled)
|
|
29418
|
+
end
|
|
29419
|
+
end
|
|
29420
|
+
|
|
29003
29421
|
# Metadata about the terms of service.
|
|
29004
29422
|
class GoogleCloudDiscoveryengineV1betaProjectServiceTerms
|
|
29005
29423
|
include Google::Apis::Core::Hashable
|
|
@@ -32026,6 +32444,17 @@ module Google
|
|
|
32026
32444
|
# @return [String]
|
|
32027
32445
|
attr_accessor :condition
|
|
32028
32446
|
|
|
32447
|
+
# Optional. The list of fields to be used for Search As You Type scoring.
|
|
32448
|
+
# Corresponds to the JSON property `fields`
|
|
32449
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField>]
|
|
32450
|
+
attr_accessor :fields
|
|
32451
|
+
|
|
32452
|
+
# Optional. Search As You Type score threshold for filtering purpose. We keep
|
|
32453
|
+
# the result if `score` >= `score_threshold`.
|
|
32454
|
+
# Corresponds to the JSON property `scoreThreshold`
|
|
32455
|
+
# @return [Float]
|
|
32456
|
+
attr_accessor :score_threshold
|
|
32457
|
+
|
|
32029
32458
|
def initialize(**args)
|
|
32030
32459
|
update!(**args)
|
|
32031
32460
|
end
|
|
@@ -32033,6 +32462,35 @@ module Google
|
|
|
32033
32462
|
# Update properties of this object
|
|
32034
32463
|
def update!(**args)
|
|
32035
32464
|
@condition = args[:condition] if args.key?(:condition)
|
|
32465
|
+
@fields = args[:fields] if args.key?(:fields)
|
|
32466
|
+
@score_threshold = args[:score_threshold] if args.key?(:score_threshold)
|
|
32467
|
+
end
|
|
32468
|
+
end
|
|
32469
|
+
|
|
32470
|
+
# A schema field to be used for Search As You Type scoring on this request.
|
|
32471
|
+
# Overrides any data-store-level Search As You Type field configuration for the
|
|
32472
|
+
# duration of the request.
|
|
32473
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField
|
|
32474
|
+
include Google::Apis::Core::Hashable
|
|
32475
|
+
|
|
32476
|
+
# Required. A field key that has been indexed for Search As You Type.
|
|
32477
|
+
# Corresponds to the JSON property `key`
|
|
32478
|
+
# @return [String]
|
|
32479
|
+
attr_accessor :key
|
|
32480
|
+
|
|
32481
|
+
# Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
|
|
32482
|
+
# Corresponds to the JSON property `weight`
|
|
32483
|
+
# @return [Float]
|
|
32484
|
+
attr_accessor :weight
|
|
32485
|
+
|
|
32486
|
+
def initialize(**args)
|
|
32487
|
+
update!(**args)
|
|
32488
|
+
end
|
|
32489
|
+
|
|
32490
|
+
# Update properties of this object
|
|
32491
|
+
def update!(**args)
|
|
32492
|
+
@key = args[:key] if args.key?(:key)
|
|
32493
|
+
@weight = args[:weight] if args.key?(:weight)
|
|
32036
32494
|
end
|
|
32037
32495
|
end
|
|
32038
32496
|
|
|
@@ -33548,6 +34006,50 @@ module Google
|
|
|
33548
34006
|
end
|
|
33549
34007
|
end
|
|
33550
34008
|
|
|
34009
|
+
# Configuration for the session.
|
|
34010
|
+
class GoogleCloudDiscoveryengineV1betaSessionConfig
|
|
34011
|
+
include Google::Apis::Core::Hashable
|
|
34012
|
+
|
|
34013
|
+
# Optional. Session management policy that defines who will manage the session.
|
|
34014
|
+
# Corresponds to the JSON property `sessionManagementPolicy`
|
|
34015
|
+
# @return [String]
|
|
34016
|
+
attr_accessor :session_management_policy
|
|
34017
|
+
|
|
34018
|
+
# Defines the TTL for sessions.
|
|
34019
|
+
# Corresponds to the JSON property `sessionTtl`
|
|
34020
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl]
|
|
34021
|
+
attr_accessor :session_ttl
|
|
34022
|
+
|
|
34023
|
+
def initialize(**args)
|
|
34024
|
+
update!(**args)
|
|
34025
|
+
end
|
|
34026
|
+
|
|
34027
|
+
# Update properties of this object
|
|
34028
|
+
def update!(**args)
|
|
34029
|
+
@session_management_policy = args[:session_management_policy] if args.key?(:session_management_policy)
|
|
34030
|
+
@session_ttl = args[:session_ttl] if args.key?(:session_ttl)
|
|
34031
|
+
end
|
|
34032
|
+
end
|
|
34033
|
+
|
|
34034
|
+
# Defines the TTL for sessions.
|
|
34035
|
+
class GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl
|
|
34036
|
+
include Google::Apis::Core::Hashable
|
|
34037
|
+
|
|
34038
|
+
# Defines the number of days for session TTL.
|
|
34039
|
+
# Corresponds to the JSON property `days`
|
|
34040
|
+
# @return [Fixnum]
|
|
34041
|
+
attr_accessor :days
|
|
34042
|
+
|
|
34043
|
+
def initialize(**args)
|
|
34044
|
+
update!(**args)
|
|
34045
|
+
end
|
|
34046
|
+
|
|
34047
|
+
# Update properties of this object
|
|
34048
|
+
def update!(**args)
|
|
34049
|
+
@days = args[:days] if args.key?(:days)
|
|
34050
|
+
end
|
|
34051
|
+
end
|
|
34052
|
+
|
|
33551
34053
|
# Represents a turn, including a query from the user and a answer from service.
|
|
33552
34054
|
class GoogleCloudDiscoveryengineV1betaSessionTurn
|
|
33553
34055
|
include Google::Apis::Core::Hashable
|
|
@@ -33859,6 +34361,11 @@ module Google
|
|
|
33859
34361
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
|
|
33860
34362
|
include Google::Apis::Core::Hashable
|
|
33861
34363
|
|
|
34364
|
+
# Specification of agents that are used to serve the request.
|
|
34365
|
+
# Corresponds to the JSON property `agentsSpec`
|
|
34366
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec]
|
|
34367
|
+
attr_accessor :agents_spec
|
|
34368
|
+
|
|
33862
34369
|
# Assistant generation specification for the request. This allows to override
|
|
33863
34370
|
# the default generation configuration at the engine level.
|
|
33864
34371
|
# Corresponds to the JSON property `generationSpec`
|
|
@@ -33896,6 +34403,7 @@ module Google
|
|
|
33896
34403
|
|
|
33897
34404
|
# Update properties of this object
|
|
33898
34405
|
def update!(**args)
|
|
34406
|
+
@agents_spec = args[:agents_spec] if args.key?(:agents_spec)
|
|
33899
34407
|
@generation_spec = args[:generation_spec] if args.key?(:generation_spec)
|
|
33900
34408
|
@query = args[:query] if args.key?(:query)
|
|
33901
34409
|
@session = args[:session] if args.key?(:session)
|
|
@@ -33904,6 +34412,46 @@ module Google
|
|
|
33904
34412
|
end
|
|
33905
34413
|
end
|
|
33906
34414
|
|
|
34415
|
+
# Specification of agents that are used to serve the request.
|
|
34416
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
|
|
34417
|
+
include Google::Apis::Core::Hashable
|
|
34418
|
+
|
|
34419
|
+
# Optional. Specification of agents that are used to serve the request.
|
|
34420
|
+
# Corresponds to the JSON property `agentSpecs`
|
|
34421
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec>]
|
|
34422
|
+
attr_accessor :agent_specs
|
|
34423
|
+
|
|
34424
|
+
def initialize(**args)
|
|
34425
|
+
update!(**args)
|
|
34426
|
+
end
|
|
34427
|
+
|
|
34428
|
+
# Update properties of this object
|
|
34429
|
+
def update!(**args)
|
|
34430
|
+
@agent_specs = args[:agent_specs] if args.key?(:agent_specs)
|
|
34431
|
+
end
|
|
34432
|
+
end
|
|
34433
|
+
|
|
34434
|
+
# Specification of an agent.
|
|
34435
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
|
|
34436
|
+
include Google::Apis::Core::Hashable
|
|
34437
|
+
|
|
34438
|
+
# Required. ID to identify the agent resource serving the request. This field
|
|
34439
|
+
# must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length
|
|
34440
|
+
# limit of 63 characters.
|
|
34441
|
+
# Corresponds to the JSON property `agentId`
|
|
34442
|
+
# @return [String]
|
|
34443
|
+
attr_accessor :agent_id
|
|
34444
|
+
|
|
34445
|
+
def initialize(**args)
|
|
34446
|
+
update!(**args)
|
|
34447
|
+
end
|
|
34448
|
+
|
|
34449
|
+
# Update properties of this object
|
|
34450
|
+
def update!(**args)
|
|
34451
|
+
@agent_id = args[:agent_id] if args.key?(:agent_id)
|
|
34452
|
+
end
|
|
34453
|
+
end
|
|
34454
|
+
|
|
33907
34455
|
# Assistant generation specification for the request. This allows to override
|
|
33908
34456
|
# the default generation configuration at the engine level.
|
|
33909
34457
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
|