google-apis-discoveryengine_v1 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -276,6 +276,19 @@ module Google
276
276
  end
277
277
  end
278
278
 
279
+ # Configuration data for advance site search.
280
+ class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
281
+ include Google::Apis::Core::Hashable
282
+
283
+ def initialize(**args)
284
+ update!(**args)
285
+ end
286
+
287
+ # Update properties of this object
288
+ def update!(**args)
289
+ end
290
+ end
291
+
279
292
  # AlloyDB source import data from.
280
293
  class GoogleCloudDiscoveryengineV1AlloyDbSource
281
294
  include Google::Apis::Core::Hashable
@@ -1526,7 +1539,7 @@ module Google
1526
1539
  attr_accessor :snippet_info
1527
1540
 
1528
1541
  # Data representation. The structured JSON data for the document. It's populated
1529
- # from the struct data from the Document, or the Chunk in search result. .
1542
+ # from the struct data from the Document, or the Chunk in search result.
1530
1543
  # Corresponds to the JSON property `structData`
1531
1544
  # @return [Hash<String,Object>]
1532
1545
  attr_accessor :struct_data
@@ -1763,8 +1776,8 @@ module Google
1763
1776
  class GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue
1764
1777
  include Google::Apis::Core::Hashable
1765
1778
 
1766
- # Required. Format: projects/`project`/locations/`location`/datasets/`dataset`/
1767
- # fhirStores/`fhir_store`/fhir/`resource_type`/`fhir_resource_id`
1779
+ # Format: projects/`project`/locations/`location`/datasets/`dataset`/fhirStores/`
1780
+ # fhir_store`/fhir/`resource_type`/`fhir_resource_id`
1768
1781
  # Corresponds to the JSON property `fhirResource`
1769
1782
  # @return [String]
1770
1783
  attr_accessor :fhir_resource
@@ -2031,7 +2044,7 @@ module Google
2031
2044
  class GoogleCloudDiscoveryengineV1CheckGroundingRequest
2032
2045
  include Google::Apis::Core::Hashable
2033
2046
 
2034
- # Answer candidate to check. Can have a maximum length of 1024 characters.
2047
+ # Answer candidate to check. It can have a maximum length of 4096 tokens.
2035
2048
  # Corresponds to the JSON property `answerCandidate`
2036
2049
  # @return [String]
2037
2050
  attr_accessor :answer_candidate
@@ -2081,7 +2094,7 @@ module Google
2081
2094
  # List of facts cited across all claims in the answer candidate. These are
2082
2095
  # derived from the facts supplied in the request.
2083
2096
  # Corresponds to the JSON property `citedChunks`
2084
- # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1FactChunk>]
2097
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk>]
2085
2098
  attr_accessor :cited_chunks
2086
2099
 
2087
2100
  # Claim texts and citation info across all claims in the answer candidate.
@@ -2161,6 +2174,33 @@ module Google
2161
2174
  end
2162
2175
  end
2163
2176
 
2177
+ # Fact chunk for grounding check.
2178
+ class GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk
2179
+ include Google::Apis::Core::Hashable
2180
+
2181
+ # Text content of the fact chunk. Can be at most 10K characters long.
2182
+ # Corresponds to the JSON property `chunkText`
2183
+ # @return [String]
2184
+ attr_accessor :chunk_text
2185
+
2186
+ # Source from which this fact chunk was retrieved. For a fact chunk retrieved
2187
+ # from inline facts, this field will contain the index of the specific fact from
2188
+ # which this chunk was retrieved.
2189
+ # Corresponds to the JSON property `source`
2190
+ # @return [String]
2191
+ attr_accessor :source
2192
+
2193
+ def initialize(**args)
2194
+ update!(**args)
2195
+ end
2196
+
2197
+ # Update properties of this object
2198
+ def update!(**args)
2199
+ @chunk_text = args[:chunk_text] if args.key?(:chunk_text)
2200
+ @source = args[:source] if args.key?(:source)
2201
+ end
2202
+ end
2203
+
2164
2204
  # Specification for the grounding check.
2165
2205
  class GoogleCloudDiscoveryengineV1CheckGroundingSpec
2166
2206
  include Google::Apis::Core::Hashable
@@ -2401,6 +2441,60 @@ module Google
2401
2441
  end
2402
2442
  end
2403
2443
 
2444
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
2445
+ class GoogleCloudDiscoveryengineV1CmekConfig
2446
+ include Google::Apis::Core::Hashable
2447
+
2448
+ # Output only. The default CmekConfig for the Customer.
2449
+ # Corresponds to the JSON property `isDefault`
2450
+ # @return [Boolean]
2451
+ attr_accessor :is_default
2452
+ alias_method :is_default?, :is_default
2453
+
2454
+ # Kms key resource name which will be used to encrypt resources `projects/`
2455
+ # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
2456
+ # Corresponds to the JSON property `kmsKey`
2457
+ # @return [String]
2458
+ attr_accessor :kms_key
2459
+
2460
+ # Kms key version resource name which will be used to encrypt resources `/
2461
+ # cryptoKeyVersions/`keyVersion``.
2462
+ # Corresponds to the JSON property `kmsKeyVersion`
2463
+ # @return [String]
2464
+ attr_accessor :kms_key_version
2465
+
2466
+ # Output only. The timestamp of the last key rotation.
2467
+ # Corresponds to the JSON property `lastRotationTimestampMicros`
2468
+ # @return [Fixnum]
2469
+ attr_accessor :last_rotation_timestamp_micros
2470
+
2471
+ # Required. Name of the CmekConfig, of the form `projects/`project`/locations/`
2472
+ # location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/`
2473
+ # cmekConfig``.
2474
+ # Corresponds to the JSON property `name`
2475
+ # @return [String]
2476
+ attr_accessor :name
2477
+
2478
+ # Output only. State of the CmekConfig.
2479
+ # Corresponds to the JSON property `state`
2480
+ # @return [String]
2481
+ attr_accessor :state
2482
+
2483
+ def initialize(**args)
2484
+ update!(**args)
2485
+ end
2486
+
2487
+ # Update properties of this object
2488
+ def update!(**args)
2489
+ @is_default = args[:is_default] if args.key?(:is_default)
2490
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
2491
+ @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
2492
+ @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
2493
+ @name = args[:name] if args.key?(:name)
2494
+ @state = args[:state] if args.key?(:state)
2495
+ end
2496
+ end
2497
+
2404
2498
  # Response message for CompletionService.CompleteQuery method.
2405
2499
  class GoogleCloudDiscoveryengineV1CompleteQueryResponse
2406
2500
  include Google::Apis::Core::Hashable
@@ -2553,7 +2647,14 @@ module Google
2553
2647
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConditionTimeRange>]
2554
2648
  attr_accessor :active_time_range
2555
2649
 
2556
- # Search only A list of terms to match the query on. Maximum of 10 query terms.
2650
+ # Optional. Query regex to match the whole search query. Cannot be set when
2651
+ # Condition.query_terms is set. This is currently supporting promotion use case.
2652
+ # Corresponds to the JSON property `queryRegex`
2653
+ # @return [String]
2654
+ attr_accessor :query_regex
2655
+
2656
+ # Search only A list of terms to match the query on. Cannot be set when
2657
+ # Condition.query_regex is set. Maximum of 10 query terms.
2557
2658
  # Corresponds to the JSON property `queryTerms`
2558
2659
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConditionQueryTerm>]
2559
2660
  attr_accessor :query_terms
@@ -2565,6 +2666,7 @@ module Google
2565
2666
  # Update properties of this object
2566
2667
  def update!(**args)
2567
2668
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
2669
+ @query_regex = args[:query_regex] if args.key?(:query_regex)
2568
2670
  @query_terms = args[:query_terms] if args.key?(:query_terms)
2569
2671
  end
2570
2672
  end
@@ -3217,7 +3319,7 @@ module Google
3217
3319
  class GoogleCloudDiscoveryengineV1CustomTuningModel
3218
3320
  include Google::Apis::Core::Hashable
3219
3321
 
3220
- # Timestamp the Model was created at.
3322
+ # Deprecated: Timestamp the Model was created at.
3221
3323
  # Corresponds to the JSON property `createTime`
3222
3324
  # @return [String]
3223
3325
  attr_accessor :create_time
@@ -3282,11 +3384,21 @@ module Google
3282
3384
  class GoogleCloudDiscoveryengineV1DataStore
3283
3385
  include Google::Apis::Core::Hashable
3284
3386
 
3387
+ # Configuration data for advance site search.
3388
+ # Corresponds to the JSON property `advancedSiteSearchConfig`
3389
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig]
3390
+ attr_accessor :advanced_site_search_config
3391
+
3285
3392
  # Estimation of data size per data store.
3286
3393
  # Corresponds to the JSON property `billingEstimation`
3287
3394
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation]
3288
3395
  attr_accessor :billing_estimation
3289
3396
 
3397
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
3398
+ # Corresponds to the JSON property `cmekConfig`
3399
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
3400
+ attr_accessor :cmek_config
3401
+
3290
3402
  # Immutable. The content config of the data store. If this field is unset, the
3291
3403
  # server behavior defaults to ContentConfig.NO_CONTENT.
3292
3404
  # Corresponds to the JSON property `contentConfig`
@@ -3322,6 +3434,14 @@ module Google
3322
3434
  # @return [String]
3323
3435
  attr_accessor :industry_vertical
3324
3436
 
3437
+ # Input only. The KMS key to be used to protect this DataStore at creation time.
3438
+ # Must be set for requests that need to comply with CMEK Org Policy protections.
3439
+ # If this field is set and processed successfully, the DataStore will be
3440
+ # protected by the KMS key, as indicated in the cmek_config field.
3441
+ # Corresponds to the JSON property `kmsKeyName`
3442
+ # @return [String]
3443
+ attr_accessor :kms_key_name
3444
+
3325
3445
  # Immutable. The full resource name of the data store. Format: `projects/`
3326
3446
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
3327
3447
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -3332,7 +3452,7 @@ module Google
3332
3452
 
3333
3453
  # Stores information regarding the serving configurations at DataStore level.
3334
3454
  # Corresponds to the JSON property `servingConfigDataStore`
3335
- # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigDataStore]
3455
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore]
3336
3456
  attr_accessor :serving_config_data_store
3337
3457
 
3338
3458
  # The solutions that the data store enrolls. Available solutions for each
@@ -3359,13 +3479,16 @@ module Google
3359
3479
 
3360
3480
  # Update properties of this object
3361
3481
  def update!(**args)
3482
+ @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
3362
3483
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
3484
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
3363
3485
  @content_config = args[:content_config] if args.key?(:content_config)
3364
3486
  @create_time = args[:create_time] if args.key?(:create_time)
3365
3487
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
3366
3488
  @display_name = args[:display_name] if args.key?(:display_name)
3367
3489
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
3368
3490
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
3491
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
3369
3492
  @name = args[:name] if args.key?(:name)
3370
3493
  @serving_config_data_store = args[:serving_config_data_store] if args.key?(:serving_config_data_store)
3371
3494
  @solution_types = args[:solution_types] if args.key?(:solution_types)
@@ -3423,6 +3546,26 @@ module Google
3423
3546
  end
3424
3547
  end
3425
3548
 
3549
+ # Stores information regarding the serving configurations at DataStore level.
3550
+ class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
3551
+ include Google::Apis::Core::Hashable
3552
+
3553
+ # If set true, the DataStore will not be available for serving search requests.
3554
+ # Corresponds to the JSON property `disabledForServing`
3555
+ # @return [Boolean]
3556
+ attr_accessor :disabled_for_serving
3557
+ alias_method :disabled_for_serving?, :disabled_for_serving
3558
+
3559
+ def initialize(**args)
3560
+ update!(**args)
3561
+ end
3562
+
3563
+ # Update properties of this object
3564
+ def update!(**args)
3565
+ @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving)
3566
+ end
3567
+ end
3568
+
3426
3569
  # Metadata related to the progress of the DataStoreService.DeleteDataStore
3427
3570
  # operation. This will be returned by the google.longrunning.Operation.metadata
3428
3571
  # field.
@@ -4282,45 +4425,6 @@ module Google
4282
4425
  end
4283
4426
  end
4284
4427
 
4285
- # Fact Chunk.
4286
- class GoogleCloudDiscoveryengineV1FactChunk
4287
- include Google::Apis::Core::Hashable
4288
-
4289
- # Text content of the fact chunk. Can be at most 10K characters long.
4290
- # Corresponds to the JSON property `chunkText`
4291
- # @return [String]
4292
- attr_accessor :chunk_text
4293
-
4294
- # The index of this chunk. Currently, only used for the streaming mode.
4295
- # Corresponds to the JSON property `index`
4296
- # @return [Fixnum]
4297
- attr_accessor :index
4298
-
4299
- # Source from which this fact chunk was retrieved. If it was retrieved from the
4300
- # GroundingFacts provided in the request then this field will contain the index
4301
- # of the specific fact from which this chunk was retrieved.
4302
- # Corresponds to the JSON property `source`
4303
- # @return [String]
4304
- attr_accessor :source
4305
-
4306
- # More fine-grained information for the source reference.
4307
- # Corresponds to the JSON property `sourceMetadata`
4308
- # @return [Hash<String,String>]
4309
- attr_accessor :source_metadata
4310
-
4311
- def initialize(**args)
4312
- update!(**args)
4313
- end
4314
-
4315
- # Update properties of this object
4316
- def update!(**args)
4317
- @chunk_text = args[:chunk_text] if args.key?(:chunk_text)
4318
- @index = args[:index] if args.key?(:index)
4319
- @source = args[:source] if args.key?(:source)
4320
- @source_metadata = args[:source_metadata] if args.key?(:source_metadata)
4321
- end
4322
- end
4323
-
4324
4428
  # Response message for SiteSearchEngineService.FetchDomainVerificationStatus
4325
4429
  # method.
4326
4430
  class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse
@@ -6485,6 +6589,12 @@ module Google
6485
6589
  # @return [Fixnum]
6486
6590
  attr_accessor :offset
6487
6591
 
6592
+ # The maximum number of results to return for OneBox. This applies to each
6593
+ # OneBox type individually. Default number is 10.
6594
+ # Corresponds to the JSON property `oneBoxPageSize`
6595
+ # @return [Fixnum]
6596
+ attr_accessor :one_box_page_size
6597
+
6488
6598
  # The order in which documents are returned. Documents can be ordered by a field
6489
6599
  # in an Document object. Leave it unset if ordered by relevance. `order_by`
6490
6600
  # expression is case-sensitive. For more information on ordering the website
@@ -6628,6 +6738,7 @@ module Google
6628
6738
  @image_query = args[:image_query] if args.key?(:image_query)
6629
6739
  @language_code = args[:language_code] if args.key?(:language_code)
6630
6740
  @offset = args[:offset] if args.key?(:offset)
6741
+ @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
6631
6742
  @order_by = args[:order_by] if args.key?(:order_by)
6632
6743
  @page_size = args[:page_size] if args.key?(:page_size)
6633
6744
  @page_token = args[:page_token] if args.key?(:page_token)
@@ -7909,26 +8020,6 @@ module Google
7909
8020
  end
7910
8021
  end
7911
8022
 
7912
- # Stores information regarding the serving configurations at DataStore level.
7913
- class GoogleCloudDiscoveryengineV1ServingConfigDataStore
7914
- include Google::Apis::Core::Hashable
7915
-
7916
- # If set true, the DataStore will not be available for serving search requests.
7917
- # Corresponds to the JSON property `disabledForServing`
7918
- # @return [Boolean]
7919
- attr_accessor :disabled_for_serving
7920
- alias_method :disabled_for_serving?, :disabled_for_serving
7921
-
7922
- def initialize(**args)
7923
- update!(**args)
7924
- end
7925
-
7926
- # Update properties of this object
7927
- def update!(**args)
7928
- @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving)
7929
- end
7930
- end
7931
-
7932
8023
  # External session proto definition.
7933
8024
  class GoogleCloudDiscoveryengineV1Session
7934
8025
  include Google::Apis::Core::Hashable
@@ -8496,6 +8587,34 @@ module Google
8496
8587
  end
8497
8588
  end
8498
8589
 
8590
+ # Metadata related to the progress of the CmekConfigService.UpdateCmekConfig
8591
+ # operation. This will be returned by the google.longrunning.Operation.metadata
8592
+ # field.
8593
+ class GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata
8594
+ include Google::Apis::Core::Hashable
8595
+
8596
+ # Operation create time.
8597
+ # Corresponds to the JSON property `createTime`
8598
+ # @return [String]
8599
+ attr_accessor :create_time
8600
+
8601
+ # Operation last update time. If the operation is done, this is also the finish
8602
+ # time.
8603
+ # Corresponds to the JSON property `updateTime`
8604
+ # @return [String]
8605
+ attr_accessor :update_time
8606
+
8607
+ def initialize(**args)
8608
+ update!(**args)
8609
+ end
8610
+
8611
+ # Update properties of this object
8612
+ def update!(**args)
8613
+ @create_time = args[:create_time] if args.key?(:create_time)
8614
+ @update_time = args[:update_time] if args.key?(:update_time)
8615
+ end
8616
+ end
8617
+
8499
8618
  # Metadata for UpdateSchema LRO.
8500
8619
  class GoogleCloudDiscoveryengineV1UpdateSchemaMetadata
8501
8620
  include Google::Apis::Core::Hashable
@@ -8867,6 +8986,33 @@ module Google
8867
8986
  end
8868
8987
  end
8869
8988
 
8989
+ # Configuration data for advance site search.
8990
+ class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig
8991
+ include Google::Apis::Core::Hashable
8992
+
8993
+ # If set true, automatic refresh is disabled for the DataStore.
8994
+ # Corresponds to the JSON property `disableAutomaticRefresh`
8995
+ # @return [Boolean]
8996
+ attr_accessor :disable_automatic_refresh
8997
+ alias_method :disable_automatic_refresh?, :disable_automatic_refresh
8998
+
8999
+ # If set true, initial indexing is disabled for the DataStore.
9000
+ # Corresponds to the JSON property `disableInitialIndex`
9001
+ # @return [Boolean]
9002
+ attr_accessor :disable_initial_index
9003
+ alias_method :disable_initial_index?, :disable_initial_index
9004
+
9005
+ def initialize(**args)
9006
+ update!(**args)
9007
+ end
9008
+
9009
+ # Update properties of this object
9010
+ def update!(**args)
9011
+ @disable_automatic_refresh = args[:disable_automatic_refresh] if args.key?(:disable_automatic_refresh)
9012
+ @disable_initial_index = args[:disable_initial_index] if args.key?(:disable_initial_index)
9013
+ end
9014
+ end
9015
+
8870
9016
  # Defines an answer.
8871
9017
  class GoogleCloudDiscoveryengineV1alphaAnswer
8872
9018
  include Google::Apis::Core::Hashable
@@ -9364,7 +9510,7 @@ module Google
9364
9510
  attr_accessor :snippet_info
9365
9511
 
9366
9512
  # Data representation. The structured JSON data for the document. It's populated
9367
- # from the struct data from the Document, or the Chunk in search result. .
9513
+ # from the struct data from the Document, or the Chunk in search result.
9368
9514
  # Corresponds to the JSON property `structData`
9369
9515
  # @return [Hash<String,Object>]
9370
9516
  attr_accessor :struct_data
@@ -9519,6 +9665,60 @@ module Google
9519
9665
  end
9520
9666
  end
9521
9667
 
9668
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
9669
+ class GoogleCloudDiscoveryengineV1alphaCmekConfig
9670
+ include Google::Apis::Core::Hashable
9671
+
9672
+ # Output only. The default CmekConfig for the Customer.
9673
+ # Corresponds to the JSON property `isDefault`
9674
+ # @return [Boolean]
9675
+ attr_accessor :is_default
9676
+ alias_method :is_default?, :is_default
9677
+
9678
+ # Kms key resource name which will be used to encrypt resources `projects/`
9679
+ # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
9680
+ # Corresponds to the JSON property `kmsKey`
9681
+ # @return [String]
9682
+ attr_accessor :kms_key
9683
+
9684
+ # Kms key version resource name which will be used to encrypt resources `/
9685
+ # cryptoKeyVersions/`keyVersion``.
9686
+ # Corresponds to the JSON property `kmsKeyVersion`
9687
+ # @return [String]
9688
+ attr_accessor :kms_key_version
9689
+
9690
+ # Output only. The timestamp of the last key rotation.
9691
+ # Corresponds to the JSON property `lastRotationTimestampMicros`
9692
+ # @return [Fixnum]
9693
+ attr_accessor :last_rotation_timestamp_micros
9694
+
9695
+ # Required. Name of the CmekConfig, of the form `projects/`project`/locations/`
9696
+ # location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/`
9697
+ # cmekConfig``.
9698
+ # Corresponds to the JSON property `name`
9699
+ # @return [String]
9700
+ attr_accessor :name
9701
+
9702
+ # Output only. State of the CmekConfig.
9703
+ # Corresponds to the JSON property `state`
9704
+ # @return [String]
9705
+ attr_accessor :state
9706
+
9707
+ def initialize(**args)
9708
+ update!(**args)
9709
+ end
9710
+
9711
+ # Update properties of this object
9712
+ def update!(**args)
9713
+ @is_default = args[:is_default] if args.key?(:is_default)
9714
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
9715
+ @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
9716
+ @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
9717
+ @name = args[:name] if args.key?(:name)
9718
+ @state = args[:state] if args.key?(:state)
9719
+ end
9720
+ end
9721
+
9522
9722
  # Defines circumstances to be checked before allowing a behavior
9523
9723
  class GoogleCloudDiscoveryengineV1alphaCondition
9524
9724
  include Google::Apis::Core::Hashable
@@ -9529,7 +9729,14 @@ module Google
9529
9729
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaConditionTimeRange>]
9530
9730
  attr_accessor :active_time_range
9531
9731
 
9532
- # Search only A list of terms to match the query on. Maximum of 10 query terms.
9732
+ # Optional. Query regex to match the whole search query. Cannot be set when
9733
+ # Condition.query_terms is set. This is currently supporting promotion use case.
9734
+ # Corresponds to the JSON property `queryRegex`
9735
+ # @return [String]
9736
+ attr_accessor :query_regex
9737
+
9738
+ # Search only A list of terms to match the query on. Cannot be set when
9739
+ # Condition.query_regex is set. Maximum of 10 query terms.
9533
9740
  # Corresponds to the JSON property `queryTerms`
9534
9741
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm>]
9535
9742
  attr_accessor :query_terms
@@ -9541,6 +9748,7 @@ module Google
9541
9748
  # Update properties of this object
9542
9749
  def update!(**args)
9543
9750
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
9751
+ @query_regex = args[:query_regex] if args.key?(:query_regex)
9544
9752
  @query_terms = args[:query_terms] if args.key?(:query_terms)
9545
9753
  end
9546
9754
  end
@@ -9940,7 +10148,7 @@ module Google
9940
10148
  class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
9941
10149
  include Google::Apis::Core::Hashable
9942
10150
 
9943
- # Timestamp the Model was created at.
10151
+ # Deprecated: Timestamp the Model was created at.
9944
10152
  # Corresponds to the JSON property `createTime`
9945
10153
  # @return [String]
9946
10154
  attr_accessor :create_time
@@ -10016,11 +10224,21 @@ module Google
10016
10224
  attr_accessor :acl_enabled
10017
10225
  alias_method :acl_enabled?, :acl_enabled
10018
10226
 
10227
+ # Configuration data for advance site search.
10228
+ # Corresponds to the JSON property `advancedSiteSearchConfig`
10229
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig]
10230
+ attr_accessor :advanced_site_search_config
10231
+
10019
10232
  # Estimation of data size per data store.
10020
10233
  # Corresponds to the JSON property `billingEstimation`
10021
10234
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation]
10022
10235
  attr_accessor :billing_estimation
10023
10236
 
10237
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
10238
+ # Corresponds to the JSON property `cmekConfig`
10239
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig]
10240
+ attr_accessor :cmek_config
10241
+
10024
10242
  # Immutable. The content config of the data store. If this field is unset, the
10025
10243
  # server behavior defaults to ContentConfig.NO_CONTENT.
10026
10244
  # Corresponds to the JSON property `contentConfig`
@@ -10061,6 +10279,14 @@ module Google
10061
10279
  # @return [String]
10062
10280
  attr_accessor :industry_vertical
10063
10281
 
10282
+ # Input only. The KMS key to be used to protect this DataStore at creation time.
10283
+ # Must be set for requests that need to comply with CMEK Org Policy protections.
10284
+ # If this field is set and processed successfully, the DataStore will be
10285
+ # protected by the KMS key, as indicated in the cmek_config field.
10286
+ # Corresponds to the JSON property `kmsKeyName`
10287
+ # @return [String]
10288
+ attr_accessor :kms_key_name
10289
+
10064
10290
  # Language info for DataStore.
10065
10291
  # Corresponds to the JSON property `languageInfo`
10066
10292
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
@@ -10081,7 +10307,7 @@ module Google
10081
10307
 
10082
10308
  # Stores information regarding the serving configurations at DataStore level.
10083
10309
  # Corresponds to the JSON property `servingConfigDataStore`
10084
- # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaServingConfigDataStore]
10310
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore]
10085
10311
  attr_accessor :serving_config_data_store
10086
10312
 
10087
10313
  # The solutions that the data store enrolls. Available solutions for each
@@ -10109,7 +10335,9 @@ module Google
10109
10335
  # Update properties of this object
10110
10336
  def update!(**args)
10111
10337
  @acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
10338
+ @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
10112
10339
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
10340
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
10113
10341
  @content_config = args[:content_config] if args.key?(:content_config)
10114
10342
  @create_time = args[:create_time] if args.key?(:create_time)
10115
10343
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -10117,6 +10345,7 @@ module Google
10117
10345
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
10118
10346
  @idp_config = args[:idp_config] if args.key?(:idp_config)
10119
10347
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
10348
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
10120
10349
  @language_info = args[:language_info] if args.key?(:language_info)
10121
10350
  @name = args[:name] if args.key?(:name)
10122
10351
  @natural_language_query_understanding_config = args[:natural_language_query_understanding_config] if args.key?(:natural_language_query_understanding_config)
@@ -10176,6 +10405,26 @@ module Google
10176
10405
  end
10177
10406
  end
10178
10407
 
10408
+ # Stores information regarding the serving configurations at DataStore level.
10409
+ class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore
10410
+ include Google::Apis::Core::Hashable
10411
+
10412
+ # If set true, the DataStore will not be available for serving search requests.
10413
+ # Corresponds to the JSON property `disabledForServing`
10414
+ # @return [Boolean]
10415
+ attr_accessor :disabled_for_serving
10416
+ alias_method :disabled_for_serving?, :disabled_for_serving
10417
+
10418
+ def initialize(**args)
10419
+ update!(**args)
10420
+ end
10421
+
10422
+ # Update properties of this object
10423
+ def update!(**args)
10424
+ @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving)
10425
+ end
10426
+ end
10427
+
10179
10428
  # Metadata related to the progress of the DataStoreService.DeleteDataStore
10180
10429
  # operation. This will be returned by the google.longrunning.Operation.metadata
10181
10430
  # field.
@@ -12266,13 +12515,16 @@ module Google
12266
12515
  # @return [String]
12267
12516
  attr_accessor :create_time
12268
12517
 
12269
- # Unique URIs in the request that don't match any TargetSite in the DataStore,
12270
- # only match TargetSites that haven't been fully indexed, or match a TargetSite
12271
- # with type EXCLUDE.
12518
+ # Unique URIs in the request that have invalid format. Sample limited to 1000.
12272
12519
  # Corresponds to the JSON property `invalidUris`
12273
12520
  # @return [Array<String>]
12274
12521
  attr_accessor :invalid_uris
12275
12522
 
12523
+ # Total number of unique URIs in the request that have invalid format.
12524
+ # Corresponds to the JSON property `invalidUrisCount`
12525
+ # @return [Fixnum]
12526
+ attr_accessor :invalid_uris_count
12527
+
12276
12528
  # Total number of URIs that have yet to be crawled.
12277
12529
  # Corresponds to the JSON property `pendingCount`
12278
12530
  # @return [Fixnum]
@@ -12294,6 +12546,18 @@ module Google
12294
12546
  # @return [String]
12295
12547
  attr_accessor :update_time
12296
12548
 
12549
+ # Unique URIs in the request that don't match any TargetSite in the DataStore,
12550
+ # only match TargetSites that haven't been fully indexed, or match a TargetSite
12551
+ # with type EXCLUDE. Sample limited to 1000.
12552
+ # Corresponds to the JSON property `urisNotMatchingTargetSites`
12553
+ # @return [Array<String>]
12554
+ attr_accessor :uris_not_matching_target_sites
12555
+
12556
+ # Total number of URIs that don't match any TargetSites.
12557
+ # Corresponds to the JSON property `urisNotMatchingTargetSitesCount`
12558
+ # @return [Fixnum]
12559
+ attr_accessor :uris_not_matching_target_sites_count
12560
+
12297
12561
  # Total number of unique URIs in the request that are not in invalid_uris.
12298
12562
  # Corresponds to the JSON property `validUrisCount`
12299
12563
  # @return [Fixnum]
@@ -12307,10 +12571,13 @@ module Google
12307
12571
  def update!(**args)
12308
12572
  @create_time = args[:create_time] if args.key?(:create_time)
12309
12573
  @invalid_uris = args[:invalid_uris] if args.key?(:invalid_uris)
12574
+ @invalid_uris_count = args[:invalid_uris_count] if args.key?(:invalid_uris_count)
12310
12575
  @pending_count = args[:pending_count] if args.key?(:pending_count)
12311
12576
  @quota_exceeded_count = args[:quota_exceeded_count] if args.key?(:quota_exceeded_count)
12312
12577
  @success_count = args[:success_count] if args.key?(:success_count)
12313
12578
  @update_time = args[:update_time] if args.key?(:update_time)
12579
+ @uris_not_matching_target_sites = args[:uris_not_matching_target_sites] if args.key?(:uris_not_matching_target_sites)
12580
+ @uris_not_matching_target_sites_count = args[:uris_not_matching_target_sites_count] if args.key?(:uris_not_matching_target_sites_count)
12314
12581
  @valid_uris_count = args[:valid_uris_count] if args.key?(:valid_uris_count)
12315
12582
  end
12316
12583
  end
@@ -12534,6 +12801,12 @@ module Google
12534
12801
  # @return [Fixnum]
12535
12802
  attr_accessor :offset
12536
12803
 
12804
+ # The maximum number of results to return for OneBox. This applies to each
12805
+ # OneBox type individually. Default number is 10.
12806
+ # Corresponds to the JSON property `oneBoxPageSize`
12807
+ # @return [Fixnum]
12808
+ attr_accessor :one_box_page_size
12809
+
12537
12810
  # The order in which documents are returned. Documents can be ordered by a field
12538
12811
  # in an Document object. Leave it unset if ordered by relevance. `order_by`
12539
12812
  # expression is case-sensitive. For more information on ordering the website
@@ -12726,6 +12999,7 @@ module Google
12726
12999
  @language_code = args[:language_code] if args.key?(:language_code)
12727
13000
  @natural_language_query_understanding_spec = args[:natural_language_query_understanding_spec] if args.key?(:natural_language_query_understanding_spec)
12728
13001
  @offset = args[:offset] if args.key?(:offset)
13002
+ @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
12729
13003
  @order_by = args[:order_by] if args.key?(:order_by)
12730
13004
  @page_size = args[:page_size] if args.key?(:page_size)
12731
13005
  @page_token = args[:page_token] if args.key?(:page_token)
@@ -13639,26 +13913,6 @@ module Google
13639
13913
  end
13640
13914
  end
13641
13915
 
13642
- # Stores information regarding the serving configurations at DataStore level.
13643
- class GoogleCloudDiscoveryengineV1alphaServingConfigDataStore
13644
- include Google::Apis::Core::Hashable
13645
-
13646
- # If set true, the DataStore will not be available for serving search requests.
13647
- # Corresponds to the JSON property `disabledForServing`
13648
- # @return [Boolean]
13649
- attr_accessor :disabled_for_serving
13650
- alias_method :disabled_for_serving?, :disabled_for_serving
13651
-
13652
- def initialize(**args)
13653
- update!(**args)
13654
- end
13655
-
13656
- # Update properties of this object
13657
- def update!(**args)
13658
- @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving)
13659
- end
13660
- end
13661
-
13662
13916
  # External session proto definition.
13663
13917
  class GoogleCloudDiscoveryengineV1alphaSession
13664
13918
  include Google::Apis::Core::Hashable
@@ -14034,6 +14288,34 @@ module Google
14034
14288
  end
14035
14289
  end
14036
14290
 
14291
+ # Metadata related to the progress of the CmekConfigService.UpdateCmekConfig
14292
+ # operation. This will be returned by the google.longrunning.Operation.metadata
14293
+ # field.
14294
+ class GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata
14295
+ include Google::Apis::Core::Hashable
14296
+
14297
+ # Operation create time.
14298
+ # Corresponds to the JSON property `createTime`
14299
+ # @return [String]
14300
+ attr_accessor :create_time
14301
+
14302
+ # Operation last update time. If the operation is done, this is also the finish
14303
+ # time.
14304
+ # Corresponds to the JSON property `updateTime`
14305
+ # @return [String]
14306
+ attr_accessor :update_time
14307
+
14308
+ def initialize(**args)
14309
+ update!(**args)
14310
+ end
14311
+
14312
+ # Update properties of this object
14313
+ def update!(**args)
14314
+ @create_time = args[:create_time] if args.key?(:create_time)
14315
+ @update_time = args[:update_time] if args.key?(:update_time)
14316
+ end
14317
+ end
14318
+
14037
14319
  # Metadata for UpdateSchema LRO.
14038
14320
  class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata
14039
14321
  include Google::Apis::Core::Hashable
@@ -14163,6 +14445,19 @@ module Google
14163
14445
  end
14164
14446
  end
14165
14447
 
14448
+ # Configuration data for advance site search.
14449
+ class GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
14450
+ include Google::Apis::Core::Hashable
14451
+
14452
+ def initialize(**args)
14453
+ update!(**args)
14454
+ end
14455
+
14456
+ # Update properties of this object
14457
+ def update!(**args)
14458
+ end
14459
+ end
14460
+
14166
14461
  # Metadata related to the progress of the SiteSearchEngineService.
14167
14462
  # BatchCreateTargetSites operation. This will be returned by the google.
14168
14463
  # longrunning.Operation.metadata field.
@@ -14210,6 +14505,60 @@ module Google
14210
14505
  end
14211
14506
  end
14212
14507
 
14508
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
14509
+ class GoogleCloudDiscoveryengineV1betaCmekConfig
14510
+ include Google::Apis::Core::Hashable
14511
+
14512
+ # Output only. The default CmekConfig for the Customer.
14513
+ # Corresponds to the JSON property `isDefault`
14514
+ # @return [Boolean]
14515
+ attr_accessor :is_default
14516
+ alias_method :is_default?, :is_default
14517
+
14518
+ # Kms key resource name which will be used to encrypt resources `projects/`
14519
+ # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
14520
+ # Corresponds to the JSON property `kmsKey`
14521
+ # @return [String]
14522
+ attr_accessor :kms_key
14523
+
14524
+ # Kms key version resource name which will be used to encrypt resources `/
14525
+ # cryptoKeyVersions/`keyVersion``.
14526
+ # Corresponds to the JSON property `kmsKeyVersion`
14527
+ # @return [String]
14528
+ attr_accessor :kms_key_version
14529
+
14530
+ # Output only. The timestamp of the last key rotation.
14531
+ # Corresponds to the JSON property `lastRotationTimestampMicros`
14532
+ # @return [Fixnum]
14533
+ attr_accessor :last_rotation_timestamp_micros
14534
+
14535
+ # Required. Name of the CmekConfig, of the form `projects/`project`/locations/`
14536
+ # location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/`
14537
+ # cmekConfig``.
14538
+ # Corresponds to the JSON property `name`
14539
+ # @return [String]
14540
+ attr_accessor :name
14541
+
14542
+ # Output only. State of the CmekConfig.
14543
+ # Corresponds to the JSON property `state`
14544
+ # @return [String]
14545
+ attr_accessor :state
14546
+
14547
+ def initialize(**args)
14548
+ update!(**args)
14549
+ end
14550
+
14551
+ # Update properties of this object
14552
+ def update!(**args)
14553
+ @is_default = args[:is_default] if args.key?(:is_default)
14554
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
14555
+ @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
14556
+ @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
14557
+ @name = args[:name] if args.key?(:name)
14558
+ @state = args[:state] if args.key?(:state)
14559
+ end
14560
+ end
14561
+
14213
14562
  # Defines circumstances to be checked before allowing a behavior
14214
14563
  class GoogleCloudDiscoveryengineV1betaCondition
14215
14564
  include Google::Apis::Core::Hashable
@@ -14220,7 +14569,14 @@ module Google
14220
14569
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaConditionTimeRange>]
14221
14570
  attr_accessor :active_time_range
14222
14571
 
14223
- # Search only A list of terms to match the query on. Maximum of 10 query terms.
14572
+ # Optional. Query regex to match the whole search query. Cannot be set when
14573
+ # Condition.query_terms is set. This is currently supporting promotion use case.
14574
+ # Corresponds to the JSON property `queryRegex`
14575
+ # @return [String]
14576
+ attr_accessor :query_regex
14577
+
14578
+ # Search only A list of terms to match the query on. Cannot be set when
14579
+ # Condition.query_regex is set. Maximum of 10 query terms.
14224
14580
  # Corresponds to the JSON property `queryTerms`
14225
14581
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaConditionQueryTerm>]
14226
14582
  attr_accessor :query_terms
@@ -14232,6 +14588,7 @@ module Google
14232
14588
  # Update properties of this object
14233
14589
  def update!(**args)
14234
14590
  @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
14591
+ @query_regex = args[:query_regex] if args.key?(:query_regex)
14235
14592
  @query_terms = args[:query_terms] if args.key?(:query_terms)
14236
14593
  end
14237
14594
  end
@@ -14611,7 +14968,7 @@ module Google
14611
14968
  class GoogleCloudDiscoveryengineV1betaCustomTuningModel
14612
14969
  include Google::Apis::Core::Hashable
14613
14970
 
14614
- # Timestamp the Model was created at.
14971
+ # Deprecated: Timestamp the Model was created at.
14615
14972
  # Corresponds to the JSON property `createTime`
14616
14973
  # @return [String]
14617
14974
  attr_accessor :create_time
@@ -14676,11 +15033,21 @@ module Google
14676
15033
  class GoogleCloudDiscoveryengineV1betaDataStore
14677
15034
  include Google::Apis::Core::Hashable
14678
15035
 
15036
+ # Configuration data for advance site search.
15037
+ # Corresponds to the JSON property `advancedSiteSearchConfig`
15038
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig]
15039
+ attr_accessor :advanced_site_search_config
15040
+
14679
15041
  # Estimation of data size per data store.
14680
15042
  # Corresponds to the JSON property `billingEstimation`
14681
15043
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation]
14682
15044
  attr_accessor :billing_estimation
14683
15045
 
15046
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
15047
+ # Corresponds to the JSON property `cmekConfig`
15048
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig]
15049
+ attr_accessor :cmek_config
15050
+
14684
15051
  # Immutable. The content config of the data store. If this field is unset, the
14685
15052
  # server behavior defaults to ContentConfig.NO_CONTENT.
14686
15053
  # Corresponds to the JSON property `contentConfig`
@@ -14716,6 +15083,14 @@ module Google
14716
15083
  # @return [String]
14717
15084
  attr_accessor :industry_vertical
14718
15085
 
15086
+ # Input only. The KMS key to be used to protect this DataStore at creation time.
15087
+ # Must be set for requests that need to comply with CMEK Org Policy protections.
15088
+ # If this field is set and processed successfully, the DataStore will be
15089
+ # protected by the KMS key, as indicated in the cmek_config field.
15090
+ # Corresponds to the JSON property `kmsKeyName`
15091
+ # @return [String]
15092
+ attr_accessor :kms_key_name
15093
+
14719
15094
  # Language info for DataStore.
14720
15095
  # Corresponds to the JSON property `languageInfo`
14721
15096
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo]
@@ -14736,7 +15111,7 @@ module Google
14736
15111
 
14737
15112
  # Stores information regarding the serving configurations at DataStore level.
14738
15113
  # Corresponds to the JSON property `servingConfigDataStore`
14739
- # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaServingConfigDataStore]
15114
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore]
14740
15115
  attr_accessor :serving_config_data_store
14741
15116
 
14742
15117
  # The solutions that the data store enrolls. Available solutions for each
@@ -14763,13 +15138,16 @@ module Google
14763
15138
 
14764
15139
  # Update properties of this object
14765
15140
  def update!(**args)
15141
+ @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
14766
15142
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
15143
+ @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
14767
15144
  @content_config = args[:content_config] if args.key?(:content_config)
14768
15145
  @create_time = args[:create_time] if args.key?(:create_time)
14769
15146
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
14770
15147
  @display_name = args[:display_name] if args.key?(:display_name)
14771
15148
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
14772
15149
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
15150
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
14773
15151
  @language_info = args[:language_info] if args.key?(:language_info)
14774
15152
  @name = args[:name] if args.key?(:name)
14775
15153
  @natural_language_query_understanding_config = args[:natural_language_query_understanding_config] if args.key?(:natural_language_query_understanding_config)
@@ -14829,6 +15207,26 @@ module Google
14829
15207
  end
14830
15208
  end
14831
15209
 
15210
+ # Stores information regarding the serving configurations at DataStore level.
15211
+ class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore
15212
+ include Google::Apis::Core::Hashable
15213
+
15214
+ # If set true, the DataStore will not be available for serving search requests.
15215
+ # Corresponds to the JSON property `disabledForServing`
15216
+ # @return [Boolean]
15217
+ attr_accessor :disabled_for_serving
15218
+ alias_method :disabled_for_serving?, :disabled_for_serving
15219
+
15220
+ def initialize(**args)
15221
+ update!(**args)
15222
+ end
15223
+
15224
+ # Update properties of this object
15225
+ def update!(**args)
15226
+ @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving)
15227
+ end
15228
+ end
15229
+
14832
15230
  # Metadata related to the progress of the DataStoreService.DeleteDataStore
14833
15231
  # operation. This will be returned by the google.longrunning.Operation.metadata
14834
15232
  # field.
@@ -16488,6 +16886,12 @@ module Google
16488
16886
  # @return [Fixnum]
16489
16887
  attr_accessor :offset
16490
16888
 
16889
+ # The maximum number of results to return for OneBox. This applies to each
16890
+ # OneBox type individually. Default number is 10.
16891
+ # Corresponds to the JSON property `oneBoxPageSize`
16892
+ # @return [Fixnum]
16893
+ attr_accessor :one_box_page_size
16894
+
16491
16895
  # The order in which documents are returned. Documents can be ordered by a field
16492
16896
  # in an Document object. Leave it unset if ordered by relevance. `order_by`
16493
16897
  # expression is case-sensitive. For more information on ordering the website
@@ -16679,6 +17083,7 @@ module Google
16679
17083
  @language_code = args[:language_code] if args.key?(:language_code)
16680
17084
  @natural_language_query_understanding_spec = args[:natural_language_query_understanding_spec] if args.key?(:natural_language_query_understanding_spec)
16681
17085
  @offset = args[:offset] if args.key?(:offset)
17086
+ @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
16682
17087
  @order_by = args[:order_by] if args.key?(:order_by)
16683
17088
  @page_size = args[:page_size] if args.key?(:page_size)
16684
17089
  @page_token = args[:page_token] if args.key?(:page_token)
@@ -17592,26 +17997,6 @@ module Google
17592
17997
  end
17593
17998
  end
17594
17999
 
17595
- # Stores information regarding the serving configurations at DataStore level.
17596
- class GoogleCloudDiscoveryengineV1betaServingConfigDataStore
17597
- include Google::Apis::Core::Hashable
17598
-
17599
- # If set true, the DataStore will not be available for serving search requests.
17600
- # Corresponds to the JSON property `disabledForServing`
17601
- # @return [Boolean]
17602
- attr_accessor :disabled_for_serving
17603
- alias_method :disabled_for_serving?, :disabled_for_serving
17604
-
17605
- def initialize(**args)
17606
- update!(**args)
17607
- end
17608
-
17609
- # Update properties of this object
17610
- def update!(**args)
17611
- @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving)
17612
- end
17613
- end
17614
-
17615
18000
  # Verification information for target sites in advanced site search.
17616
18001
  class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo
17617
18002
  include Google::Apis::Core::Hashable