google-apis-discoveryengine_v1beta 0.112.0 → 0.114.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.
@@ -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)
@@ -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
@@ -12603,6 +12746,11 @@ module Google
12603
12746
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig]
12604
12747
  attr_accessor :search_engine_config
12605
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
+
12606
12754
  # Additional config specs for a `similar-items` engine.
12607
12755
  # Corresponds to the JSON property `similarDocumentsConfig`
12608
12756
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig]
@@ -12648,6 +12796,7 @@ module Google
12648
12796
  @procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
12649
12797
  @recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata)
12650
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)
12651
12800
  @similar_documents_config = args[:similar_documents_config] if args.key?(:similar_documents_config)
12652
12801
  @solution_type = args[:solution_type] if args.key?(:solution_type)
12653
12802
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -14190,6 +14339,12 @@ module Google
14190
14339
  attr_accessor :auto_renew
14191
14340
  alias_method :auto_renew?, :auto_renew
14192
14341
 
14342
+ # Output only. The name of the BillingAccountLicenseConfig from which this
14343
+ # LicenseConfig is assigned, if this field is set.
14344
+ # Corresponds to the JSON property `billingAccountLicenseConfig`
14345
+ # @return [String]
14346
+ attr_accessor :billing_account_license_config
14347
+
14193
14348
  # Output only. Indication of whether the subscription is terminated earlier than
14194
14349
  # the expiration date. This is usually terminated by pipeline once the
14195
14350
  # subscription gets terminated from subsv3.
@@ -14290,6 +14445,7 @@ module Google
14290
14445
  def update!(**args)
14291
14446
  @alert_policy_resource_config = args[:alert_policy_resource_config] if args.key?(:alert_policy_resource_config)
14292
14447
  @auto_renew = args[:auto_renew] if args.key?(:auto_renew)
14448
+ @billing_account_license_config = args[:billing_account_license_config] if args.key?(:billing_account_license_config)
14293
14449
  @early_terminated = args[:early_terminated] if args.key?(:early_terminated)
14294
14450
  @early_termination_date = args[:early_termination_date] if args.key?(:early_termination_date)
14295
14451
  @end_date = args[:end_date] if args.key?(:end_date)
@@ -14788,6 +14944,11 @@ module Google
14788
14944
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig]
14789
14945
  attr_accessor :notebooklm_config
14790
14946
 
14947
+ # Controls resource-level access control for Gemini Enterprise users.
14948
+ # Corresponds to the JSON property `resourceAccessControlConfig`
14949
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig]
14950
+ attr_accessor :resource_access_control_config
14951
+
14791
14952
  def initialize(**args)
14792
14953
  update!(**args)
14793
14954
  end
@@ -14795,6 +14956,7 @@ module Google
14795
14956
  # Update properties of this object
14796
14957
  def update!(**args)
14797
14958
  @notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
14959
+ @resource_access_control_config = args[:resource_access_control_config] if args.key?(:resource_access_control_config)
14798
14960
  end
14799
14961
  end
14800
14962
 
@@ -14910,6 +15072,28 @@ module Google
14910
15072
  end
14911
15073
  end
14912
15074
 
15075
+ # Controls resource-level access control for Gemini Enterprise users.
15076
+ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigResourceAccessControlConfig
15077
+ include Google::Apis::Core::Hashable
15078
+
15079
+ # Optional. If `true`, the data stores and data connectors shown to Gemini
15080
+ # Enterprise users are filtered to those the user has the required resource-
15081
+ # level `.get` IAM permission on.
15082
+ # Corresponds to the JSON property `dataStoreAccessControlEnabled`
15083
+ # @return [Boolean]
15084
+ attr_accessor :data_store_access_control_enabled
15085
+ alias_method :data_store_access_control_enabled?, :data_store_access_control_enabled
15086
+
15087
+ def initialize(**args)
15088
+ update!(**args)
15089
+ end
15090
+
15091
+ # Update properties of this object
15092
+ def update!(**args)
15093
+ @data_store_access_control_enabled = args[:data_store_access_control_enabled] if args.key?(:data_store_access_control_enabled)
15094
+ end
15095
+ end
15096
+
14913
15097
  # Metadata about the terms of service.
14914
15098
  class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
14915
15099
  include Google::Apis::Core::Hashable
@@ -15368,6 +15552,19 @@ module Google
15368
15552
  # @return [String]
15369
15553
  attr_accessor :ui_json_payload
15370
15554
 
15555
+ # Reference to a user-supplied file attached to a long-running-agent (Sobi) task.
15556
+ # Rendered by the client as an attachment chip on the user turn's bubble. The
15557
+ # file itself is stored on the task's `AgentArtifact` list; the client resolves
15558
+ # full metadata (source URI, size, ...) for download or preview by calling `
15559
+ # GetTask` on the Sobi Task API and matching `AgentArtifact.name` against `
15560
+ # file_name`. Only `file_name` and `mime_type` appear on this wire deliberately:
15561
+ # the backing `gs://` or Drive URI is not exposed to conversation-history
15562
+ # readers. Same variant is used for both byte-uploaded and Drive-picked files --
15563
+ # "user attached a file" is one concept regardless of source.
15564
+ # Corresponds to the JSON property `userSuppliedSobiArtifactReference`
15565
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference]
15566
+ attr_accessor :user_supplied_sobi_artifact_reference
15567
+
15371
15568
  def initialize(**args)
15372
15569
  update!(**args)
15373
15570
  end
@@ -15380,6 +15577,7 @@ module Google
15380
15577
  @person_reference = args[:person_reference] if args.key?(:person_reference)
15381
15578
  @text = args[:text] if args.key?(:text)
15382
15579
  @ui_json_payload = args[:ui_json_payload] if args.key?(:ui_json_payload)
15580
+ @user_supplied_sobi_artifact_reference = args[:user_supplied_sobi_artifact_reference] if args.key?(:user_supplied_sobi_artifact_reference)
15383
15581
  end
15384
15582
  end
15385
15583
 
@@ -15543,6 +15741,48 @@ module Google
15543
15741
  end
15544
15742
  end
15545
15743
 
15744
+ # Reference to a user-supplied file attached to a long-running-agent (Sobi) task.
15745
+ # Rendered by the client as an attachment chip on the user turn's bubble. The
15746
+ # file itself is stored on the task's `AgentArtifact` list; the client resolves
15747
+ # full metadata (source URI, size, ...) for download or preview by calling `
15748
+ # GetTask` on the Sobi Task API and matching `AgentArtifact.name` against `
15749
+ # file_name`. Only `file_name` and `mime_type` appear on this wire deliberately:
15750
+ # the backing `gs://` or Drive URI is not exposed to conversation-history
15751
+ # readers. Same variant is used for both byte-uploaded and Drive-picked files --
15752
+ # "user attached a file" is one concept regardless of source.
15753
+ class GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference
15754
+ include Google::Apis::Core::Hashable
15755
+
15756
+ # Required. Client-supplied filename. Unique per task within the user-supplied
15757
+ # artifact set (UI dedupes before upload). Doubles as the artifact identifier
15758
+ # used to look up the artifact on `Task.artifacts`. The `_name` suffix is
15759
+ # deliberate and the AIP-122 lint is suppressed: this field is not a resource
15760
+ # name (which is what AIP-122 reserves the bare `name` for). It is the literal
15761
+ # filename, and it serves as the join key against `AgentArtifact.name` on the
15762
+ # backing Sobi task -- a structural role that `title` or `display_name` would
15763
+ # not communicate to a client picking what to send. The internal mirror (`cloud/
15764
+ # ml/discoveryengine/schema/assistant.proto`) uses the same field name so the
15765
+ # round-trip converter stays name-for-name.
15766
+ # Corresponds to the JSON property `fileName`
15767
+ # @return [String]
15768
+ attr_accessor :file_name
15769
+
15770
+ # Optional. IANA MIME type. Used for icon/preview rendering.
15771
+ # Corresponds to the JSON property `mimeType`
15772
+ # @return [String]
15773
+ attr_accessor :mime_type
15774
+
15775
+ def initialize(**args)
15776
+ update!(**args)
15777
+ end
15778
+
15779
+ # Update properties of this object
15780
+ def update!(**args)
15781
+ @file_name = args[:file_name] if args.key?(:file_name)
15782
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
15783
+ end
15784
+ end
15785
+
15546
15786
  # Metadata related to the progress of the SiteSearchEngineService.RecrawlUris
15547
15787
  # operation. This will be returned by the google.longrunning.Operation.metadata
15548
15788
  # field.
@@ -17565,6 +17805,17 @@ module Google
17565
17805
  # @return [String]
17566
17806
  attr_accessor :condition
17567
17807
 
17808
+ # Optional. The list of fields to be used for Search As You Type scoring.
17809
+ # Corresponds to the JSON property `fields`
17810
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField>]
17811
+ attr_accessor :fields
17812
+
17813
+ # Optional. Search As You Type score threshold for filtering purpose. We keep
17814
+ # the result if `score` >= `score_threshold`.
17815
+ # Corresponds to the JSON property `scoreThreshold`
17816
+ # @return [Float]
17817
+ attr_accessor :score_threshold
17818
+
17568
17819
  def initialize(**args)
17569
17820
  update!(**args)
17570
17821
  end
@@ -17572,6 +17823,35 @@ module Google
17572
17823
  # Update properties of this object
17573
17824
  def update!(**args)
17574
17825
  @condition = args[:condition] if args.key?(:condition)
17826
+ @fields = args[:fields] if args.key?(:fields)
17827
+ @score_threshold = args[:score_threshold] if args.key?(:score_threshold)
17828
+ end
17829
+ end
17830
+
17831
+ # A schema field to be used for Search As You Type scoring on this request.
17832
+ # Overrides any data-store-level Search As You Type field configuration for the
17833
+ # duration of the request.
17834
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpecField
17835
+ include Google::Apis::Core::Hashable
17836
+
17837
+ # Required. A field key that has been indexed for Search As You Type.
17838
+ # Corresponds to the JSON property `key`
17839
+ # @return [String]
17840
+ attr_accessor :key
17841
+
17842
+ # Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
17843
+ # Corresponds to the JSON property `weight`
17844
+ # @return [Float]
17845
+ attr_accessor :weight
17846
+
17847
+ def initialize(**args)
17848
+ update!(**args)
17849
+ end
17850
+
17851
+ # Update properties of this object
17852
+ def update!(**args)
17853
+ @key = args[:key] if args.key?(:key)
17854
+ @weight = args[:weight] if args.key?(:weight)
17575
17855
  end
17576
17856
  end
17577
17857
 
@@ -17714,6 +17994,50 @@ module Google
17714
17994
  end
17715
17995
  end
17716
17996
 
17997
+ # Configuration for the session.
17998
+ class GoogleCloudDiscoveryengineV1alphaSessionConfig
17999
+ include Google::Apis::Core::Hashable
18000
+
18001
+ # Optional. Session management policy that defines who will manage the session.
18002
+ # Corresponds to the JSON property `sessionManagementPolicy`
18003
+ # @return [String]
18004
+ attr_accessor :session_management_policy
18005
+
18006
+ # Defines the TTL for sessions.
18007
+ # Corresponds to the JSON property `sessionTtl`
18008
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl]
18009
+ attr_accessor :session_ttl
18010
+
18011
+ def initialize(**args)
18012
+ update!(**args)
18013
+ end
18014
+
18015
+ # Update properties of this object
18016
+ def update!(**args)
18017
+ @session_management_policy = args[:session_management_policy] if args.key?(:session_management_policy)
18018
+ @session_ttl = args[:session_ttl] if args.key?(:session_ttl)
18019
+ end
18020
+ end
18021
+
18022
+ # Defines the TTL for sessions.
18023
+ class GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl
18024
+ include Google::Apis::Core::Hashable
18025
+
18026
+ # Defines the number of days for session TTL.
18027
+ # Corresponds to the JSON property `days`
18028
+ # @return [Fixnum]
18029
+ attr_accessor :days
18030
+
18031
+ def initialize(**args)
18032
+ update!(**args)
18033
+ end
18034
+
18035
+ # Update properties of this object
18036
+ def update!(**args)
18037
+ @days = args[:days] if args.key?(:days)
18038
+ end
18039
+ end
18040
+
17717
18041
  # Represents a turn, including a query from the user and a answer from service.
17718
18042
  class GoogleCloudDiscoveryengineV1alphaSessionTurn
17719
18043
  include Google::Apis::Core::Hashable
@@ -21383,6 +21707,11 @@ module Google
21383
21707
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase>]
21384
21708
  attr_accessor :banned_phrases
21385
21709
 
21710
+ # Contains the data protection policy config for a DataStore or a connector.
21711
+ # Corresponds to the JSON property `dataProtectionPolicy`
21712
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataProtectionPolicy]
21713
+ attr_accessor :data_protection_policy
21714
+
21386
21715
  # Configuration for customer defined Model Armor templates to be used for
21387
21716
  # sanitizing user prompts and assistant responses.
21388
21717
  # Corresponds to the JSON property `modelArmorConfig`
@@ -21396,6 +21725,7 @@ module Google
21396
21725
  # Update properties of this object
21397
21726
  def update!(**args)
21398
21727
  @banned_phrases = args[:banned_phrases] if args.key?(:banned_phrases)
21728
+ @data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
21399
21729
  @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
21400
21730
  end
21401
21731
  end
@@ -23034,7 +23364,7 @@ module Google
23034
23364
  # @return [Fixnum]
23035
23365
  attr_accessor :selected_position
23036
23366
 
23037
- # End user selected CompleteQueryResponse.QuerySuggestion.suggestion.
23367
+ # Optional. End user selected CompleteQueryResponse.QuerySuggestion.suggestion.
23038
23368
  # Corresponds to the JSON property `selectedSuggestion`
23039
23369
  # @return [String]
23040
23370
  attr_accessor :selected_suggestion
@@ -24051,6 +24381,47 @@ module Google
24051
24381
  end
24052
24382
  end
24053
24383
 
24384
+ # Contains the data protection policy config for a DataStore or a connector.
24385
+ class GoogleCloudDiscoveryengineV1betaDataProtectionPolicy
24386
+ include Google::Apis::Core::Hashable
24387
+
24388
+ # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
24389
+ # protection/docs/sensitive-data-protection-overview) policy.
24390
+ # Corresponds to the JSON property `sensitiveDataProtectionPolicy`
24391
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy]
24392
+ attr_accessor :sensitive_data_protection_policy
24393
+
24394
+ def initialize(**args)
24395
+ update!(**args)
24396
+ end
24397
+
24398
+ # Update properties of this object
24399
+ def update!(**args)
24400
+ @sensitive_data_protection_policy = args[:sensitive_data_protection_policy] if args.key?(:sensitive_data_protection_policy)
24401
+ end
24402
+ end
24403
+
24404
+ # Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-
24405
+ # protection/docs/sensitive-data-protection-overview) policy.
24406
+ class GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy
24407
+ include Google::Apis::Core::Hashable
24408
+
24409
+ # Optional. Specifies the resource name of the Sensitive Data Protection content
24410
+ # policy.
24411
+ # Corresponds to the JSON property `policy`
24412
+ # @return [String]
24413
+ attr_accessor :policy
24414
+
24415
+ def initialize(**args)
24416
+ update!(**args)
24417
+ end
24418
+
24419
+ # Update properties of this object
24420
+ def update!(**args)
24421
+ @policy = args[:policy] if args.key?(:policy)
24422
+ end
24423
+ end
24424
+
24054
24425
  # DataStore captures global settings and configs at the DataStore level.
24055
24426
  class GoogleCloudDiscoveryengineV1betaDataStore
24056
24427
  include Google::Apis::Core::Hashable
@@ -24102,6 +24473,11 @@ module Google
24102
24473
  # @return [String]
24103
24474
  attr_accessor :create_time
24104
24475
 
24476
+ # Contains the data protection policy config for a DataStore or a connector.
24477
+ # Corresponds to the JSON property `dataProtectionPolicy`
24478
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataProtectionPolicy]
24479
+ attr_accessor :data_protection_policy
24480
+
24105
24481
  # Output only. The id of the default Schema associated to this data store.
24106
24482
  # Corresponds to the JSON property `defaultSchemaId`
24107
24483
  # @return [String]
@@ -24213,6 +24589,7 @@ module Google
24213
24589
  @configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
24214
24590
  @content_config = args[:content_config] if args.key?(:content_config)
24215
24591
  @create_time = args[:create_time] if args.key?(:create_time)
24592
+ @data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
24216
24593
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
24217
24594
  @display_name = args[:display_name] if args.key?(:display_name)
24218
24595
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
@@ -25587,6 +25964,11 @@ module Google
25587
25964
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig]
25588
25965
  attr_accessor :search_engine_config
25589
25966
 
25967
+ # Configuration for the session.
25968
+ # Corresponds to the JSON property `sessionConfig`
25969
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSessionConfig]
25970
+ attr_accessor :session_config
25971
+
25590
25972
  # Required. The solutions of the engine.
25591
25973
  # Corresponds to the JSON property `solutionType`
25592
25974
  # @return [String]
@@ -25626,6 +26008,7 @@ module Google
25626
26008
  @observability_config = args[:observability_config] if args.key?(:observability_config)
25627
26009
  @procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
25628
26010
  @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
26011
+ @session_config = args[:session_config] if args.key?(:session_config)
25629
26012
  @solution_type = args[:solution_type] if args.key?(:solution_type)
25630
26013
  @update_time = args[:update_time] if args.key?(:update_time)
25631
26014
  end
@@ -28892,6 +29275,11 @@ module Google
28892
29275
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig]
28893
29276
  attr_accessor :notebooklm_config
28894
29277
 
29278
+ # Controls resource-level access control for Gemini Enterprise users.
29279
+ # Corresponds to the JSON property `resourceAccessControlConfig`
29280
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig]
29281
+ attr_accessor :resource_access_control_config
29282
+
28895
29283
  def initialize(**args)
28896
29284
  update!(**args)
28897
29285
  end
@@ -28899,6 +29287,7 @@ module Google
28899
29287
  # Update properties of this object
28900
29288
  def update!(**args)
28901
29289
  @notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
29290
+ @resource_access_control_config = args[:resource_access_control_config] if args.key?(:resource_access_control_config)
28902
29291
  end
28903
29292
  end
28904
29293
 
@@ -29014,6 +29403,28 @@ module Google
29014
29403
  end
29015
29404
  end
29016
29405
 
29406
+ # Controls resource-level access control for Gemini Enterprise users.
29407
+ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigResourceAccessControlConfig
29408
+ include Google::Apis::Core::Hashable
29409
+
29410
+ # Optional. If `true`, the data stores and data connectors shown to Gemini
29411
+ # Enterprise users are filtered to those the user has the required resource-
29412
+ # level `.get` IAM permission on.
29413
+ # Corresponds to the JSON property `dataStoreAccessControlEnabled`
29414
+ # @return [Boolean]
29415
+ attr_accessor :data_store_access_control_enabled
29416
+ alias_method :data_store_access_control_enabled?, :data_store_access_control_enabled
29417
+
29418
+ def initialize(**args)
29419
+ update!(**args)
29420
+ end
29421
+
29422
+ # Update properties of this object
29423
+ def update!(**args)
29424
+ @data_store_access_control_enabled = args[:data_store_access_control_enabled] if args.key?(:data_store_access_control_enabled)
29425
+ end
29426
+ end
29427
+
29017
29428
  # Metadata about the terms of service.
29018
29429
  class GoogleCloudDiscoveryengineV1betaProjectServiceTerms
29019
29430
  include Google::Apis::Core::Hashable
@@ -30437,8 +30848,8 @@ module Google
30437
30848
  # @return [String]
30438
30849
  attr_accessor :order_by
30439
30850
 
30440
- # The user's search query. See SearchRequest.query for definition. The value
30441
- # must be a UTF-8 encoded string with a length limit of 5,000 characters.
30851
+ # Optional. The user's search query. See SearchRequest.query for definition. The
30852
+ # value must be a UTF-8 encoded string with a length limit of 5,000 characters.
30442
30853
  # Otherwise, an `INVALID_ARGUMENT` error is returned. At least one of
30443
30854
  # search_query or PageInfo.page_category is required for `search` events. Other
30444
30855
  # event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error
@@ -32040,6 +32451,17 @@ module Google
32040
32451
  # @return [String]
32041
32452
  attr_accessor :condition
32042
32453
 
32454
+ # Optional. The list of fields to be used for Search As You Type scoring.
32455
+ # Corresponds to the JSON property `fields`
32456
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField>]
32457
+ attr_accessor :fields
32458
+
32459
+ # Optional. Search As You Type score threshold for filtering purpose. We keep
32460
+ # the result if `score` >= `score_threshold`.
32461
+ # Corresponds to the JSON property `scoreThreshold`
32462
+ # @return [Float]
32463
+ attr_accessor :score_threshold
32464
+
32043
32465
  def initialize(**args)
32044
32466
  update!(**args)
32045
32467
  end
@@ -32047,6 +32469,35 @@ module Google
32047
32469
  # Update properties of this object
32048
32470
  def update!(**args)
32049
32471
  @condition = args[:condition] if args.key?(:condition)
32472
+ @fields = args[:fields] if args.key?(:fields)
32473
+ @score_threshold = args[:score_threshold] if args.key?(:score_threshold)
32474
+ end
32475
+ end
32476
+
32477
+ # A schema field to be used for Search As You Type scoring on this request.
32478
+ # Overrides any data-store-level Search As You Type field configuration for the
32479
+ # duration of the request.
32480
+ class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpecField
32481
+ include Google::Apis::Core::Hashable
32482
+
32483
+ # Required. A field key that has been indexed for Search As You Type.
32484
+ # Corresponds to the JSON property `key`
32485
+ # @return [String]
32486
+ attr_accessor :key
32487
+
32488
+ # Optional. Weight for scores from this field. Defaults to 1.0 if not specified.
32489
+ # Corresponds to the JSON property `weight`
32490
+ # @return [Float]
32491
+ attr_accessor :weight
32492
+
32493
+ def initialize(**args)
32494
+ update!(**args)
32495
+ end
32496
+
32497
+ # Update properties of this object
32498
+ def update!(**args)
32499
+ @key = args[:key] if args.key?(:key)
32500
+ @weight = args[:weight] if args.key?(:weight)
32050
32501
  end
32051
32502
  end
32052
32503
 
@@ -33562,6 +34013,50 @@ module Google
33562
34013
  end
33563
34014
  end
33564
34015
 
34016
+ # Configuration for the session.
34017
+ class GoogleCloudDiscoveryengineV1betaSessionConfig
34018
+ include Google::Apis::Core::Hashable
34019
+
34020
+ # Optional. Session management policy that defines who will manage the session.
34021
+ # Corresponds to the JSON property `sessionManagementPolicy`
34022
+ # @return [String]
34023
+ attr_accessor :session_management_policy
34024
+
34025
+ # Defines the TTL for sessions.
34026
+ # Corresponds to the JSON property `sessionTtl`
34027
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl]
34028
+ attr_accessor :session_ttl
34029
+
34030
+ def initialize(**args)
34031
+ update!(**args)
34032
+ end
34033
+
34034
+ # Update properties of this object
34035
+ def update!(**args)
34036
+ @session_management_policy = args[:session_management_policy] if args.key?(:session_management_policy)
34037
+ @session_ttl = args[:session_ttl] if args.key?(:session_ttl)
34038
+ end
34039
+ end
34040
+
34041
+ # Defines the TTL for sessions.
34042
+ class GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl
34043
+ include Google::Apis::Core::Hashable
34044
+
34045
+ # Defines the number of days for session TTL.
34046
+ # Corresponds to the JSON property `days`
34047
+ # @return [Fixnum]
34048
+ attr_accessor :days
34049
+
34050
+ def initialize(**args)
34051
+ update!(**args)
34052
+ end
34053
+
34054
+ # Update properties of this object
34055
+ def update!(**args)
34056
+ @days = args[:days] if args.key?(:days)
34057
+ end
34058
+ end
34059
+
33565
34060
  # Represents a turn, including a query from the user and a answer from service.
33566
34061
  class GoogleCloudDiscoveryengineV1betaSessionTurn
33567
34062
  include Google::Apis::Core::Hashable
@@ -34726,16 +35221,16 @@ module Google
34726
35221
  class GoogleCloudDiscoveryengineV1betaUserEvent
34727
35222
  include Google::Apis::Core::Hashable
34728
35223
 
34729
- # Extra user event features to include in the recommendation model. These
34730
- # attributes must NOT contain data that needs to be parsed or processed further,
34731
- # e.g. JSON or other encodings. If you provide custom attributes for ingested
34732
- # user events, also include them in the user events that you associate with
34733
- # prediction requests. Custom attribute formatting must be consistent between
34734
- # imported events and events provided with prediction requests. This lets the
34735
- # Discovery Engine API use those custom attributes when training models and
34736
- # serving predictions, which helps improve recommendation quality. This field
34737
- # needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is
34738
- # returned: * The key must be a UTF-8 encoded string with a length limit of 5,
35224
+ # Optional. Extra user event features to include in the recommendation model.
35225
+ # These attributes must NOT contain data that needs to be parsed or processed
35226
+ # further, e.g. JSON or other encodings. If you provide custom attributes for
35227
+ # ingested user events, also include them in the user events that you associate
35228
+ # with prediction requests. Custom attribute formatting must be consistent
35229
+ # between imported events and events provided with prediction requests. This
35230
+ # lets the Discovery Engine API use those custom attributes when training models
35231
+ # and serving predictions, which helps improve recommendation quality. This
35232
+ # field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error
35233
+ # is returned: * The key must be a UTF-8 encoded string with a length limit of 5,
34739
35234
  # 000 characters. * For text attributes, at most 400 values are allowed. Empty
34740
35235
  # values are not allowed. Each value must be a UTF-8 encoded string with a
34741
35236
  # length limit of 256 characters. * For number attributes, at most 400 values