google-apis-discoveryengine_v1 0.25.0 → 0.26.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.
@@ -3018,6 +3018,11 @@ module Google
3018
3018
  # @return [String]
3019
3019
  attr_accessor :name
3020
3020
 
3021
+ # Optional. Single-regional CMEKs that are required for some VAIS features.
3022
+ # Corresponds to the JSON property `singleRegionKeys`
3023
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SingleRegionKey>]
3024
+ attr_accessor :single_region_keys
3025
+
3021
3026
  # Output only. State of the CmekConfig.
3022
3027
  # Corresponds to the JSON property `state`
3023
3028
  # @return [String]
@@ -3034,6 +3039,7 @@ module Google
3034
3039
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
3035
3040
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
3036
3041
  @name = args[:name] if args.key?(:name)
3042
+ @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
3037
3043
  @state = args[:state] if args.key?(:state)
3038
3044
  end
3039
3045
  end
@@ -4013,6 +4019,12 @@ module Google
4013
4019
  # @return [String]
4014
4020
  attr_accessor :industry_vertical
4015
4021
 
4022
+ # Optional. If set, this DataStore is an Infobot FAQ DataStore.
4023
+ # Corresponds to the JSON property `isInfobotFaqDataStore`
4024
+ # @return [Boolean]
4025
+ attr_accessor :is_infobot_faq_data_store
4026
+ alias_method :is_infobot_faq_data_store?, :is_infobot_faq_data_store
4027
+
4016
4028
  # Input only. The KMS key to be used to protect this DataStore at creation time.
4017
4029
  # Must be set for requests that need to comply with CMEK Org Policy protections.
4018
4030
  # If this field is set and processed successfully, the DataStore will be
@@ -4067,6 +4079,7 @@ module Google
4067
4079
  @display_name = args[:display_name] if args.key?(:display_name)
4068
4080
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
4069
4081
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
4082
+ @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
4070
4083
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
4071
4084
  @name = args[:name] if args.key?(:name)
4072
4085
  @serving_config_data_store = args[:serving_config_data_store] if args.key?(:serving_config_data_store)
@@ -4454,6 +4467,12 @@ module Google
4454
4467
  # @return [String]
4455
4468
  attr_accessor :index_time
4456
4469
 
4470
+ # Immutable. The message indicates the document index is in progress. If this
4471
+ # field is populated, the document index is pending.
4472
+ # Corresponds to the JSON property `pendingMessage`
4473
+ # @return [String]
4474
+ attr_accessor :pending_message
4475
+
4457
4476
  def initialize(**args)
4458
4477
  update!(**args)
4459
4478
  end
@@ -4462,6 +4481,7 @@ module Google
4462
4481
  def update!(**args)
4463
4482
  @error_samples = args[:error_samples] if args.key?(:error_samples)
4464
4483
  @index_time = args[:index_time] if args.key?(:index_time)
4484
+ @pending_message = args[:pending_message] if args.key?(:pending_message)
4465
4485
  end
4466
4486
  end
4467
4487
 
@@ -5199,15 +5219,604 @@ module Google
5199
5219
  # @return [String]
5200
5220
  attr_accessor :data_schema
5201
5221
 
5202
- # Required. Cloud Storage URIs to input files. Each URI can be up to 2000
5203
- # characters long. URIs can match the full object path (for example, `gs://
5204
- # bucket/directory/object.json`) or a pattern matching one or more files, such
5205
- # as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or
5206
- # 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or
5207
- # 100 MB if `data_schema` is `content`).
5208
- # Corresponds to the JSON property `inputUris`
5209
- # @return [Array<String>]
5210
- attr_accessor :input_uris
5222
+ # Required. Cloud Storage URIs to input files. Each URI can be up to 2000
5223
+ # characters long. URIs can match the full object path (for example, `gs://
5224
+ # bucket/directory/object.json`) or a pattern matching one or more files, such
5225
+ # as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or
5226
+ # 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or
5227
+ # 100 MB if `data_schema` is `content`).
5228
+ # Corresponds to the JSON property `inputUris`
5229
+ # @return [Array<String>]
5230
+ attr_accessor :input_uris
5231
+
5232
+ def initialize(**args)
5233
+ update!(**args)
5234
+ end
5235
+
5236
+ # Update properties of this object
5237
+ def update!(**args)
5238
+ @data_schema = args[:data_schema] if args.key?(:data_schema)
5239
+ @input_uris = args[:input_uris] if args.key?(:input_uris)
5240
+ end
5241
+ end
5242
+
5243
+ # Top-level message sent by the client for the `GenerateGroundedContent` method.
5244
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest
5245
+ include Google::Apis::Core::Hashable
5246
+
5247
+ # Content of the current conversation with the model. For single-turn queries,
5248
+ # this is a single instance. For multi-turn queries, this is a repeated field
5249
+ # that contains conversation history + latest request.
5250
+ # Corresponds to the JSON property `contents`
5251
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundedGenerationContent>]
5252
+ attr_accessor :contents
5253
+
5254
+ # Content generation specification.
5255
+ # Corresponds to the JSON property `generationSpec`
5256
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec]
5257
+ attr_accessor :generation_spec
5258
+
5259
+ # Grounding specification.
5260
+ # Corresponds to the JSON property `groundingSpec`
5261
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec]
5262
+ attr_accessor :grounding_spec
5263
+
5264
+ # Base structured datatype containing multi-part content of a message.
5265
+ # Corresponds to the JSON property `systemInstruction`
5266
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundedGenerationContent]
5267
+ attr_accessor :system_instruction
5268
+
5269
+ # The user labels applied to a resource must meet the following requirements: *
5270
+ # Each resource can have multiple labels, up to a maximum of 64. * Each label
5271
+ # must be a key-value pair. * Keys have a minimum length of 1 character and a
5272
+ # maximum length of 63 characters and cannot be empty. Values can be empty and
5273
+ # have a maximum length of 63 characters. * Keys and values can contain only
5274
+ # lowercase letters, numeric characters, underscores, and dashes. All characters
5275
+ # must use UTF-8 encoding, and international characters are allowed. * The key
5276
+ # portion of a label must be unique. However, you can use the same key with
5277
+ # multiple resources. * Keys must start with a lowercase letter or international
5278
+ # character. See [Google Cloud Document](https://cloud.google.com/resource-
5279
+ # manager/docs/creating-managing-labels#requirements) for more details.
5280
+ # Corresponds to the JSON property `userLabels`
5281
+ # @return [Hash<String,String>]
5282
+ attr_accessor :user_labels
5283
+
5284
+ def initialize(**args)
5285
+ update!(**args)
5286
+ end
5287
+
5288
+ # Update properties of this object
5289
+ def update!(**args)
5290
+ @contents = args[:contents] if args.key?(:contents)
5291
+ @generation_spec = args[:generation_spec] if args.key?(:generation_spec)
5292
+ @grounding_spec = args[:grounding_spec] if args.key?(:grounding_spec)
5293
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
5294
+ @user_labels = args[:user_labels] if args.key?(:user_labels)
5295
+ end
5296
+ end
5297
+
5298
+ # Describes the options to customize dynamic retrieval.
5299
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration
5300
+ include Google::Apis::Core::Hashable
5301
+
5302
+ # Describes the predictor settings for dynamic retrieval.
5303
+ # Corresponds to the JSON property `predictor`
5304
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor]
5305
+ attr_accessor :predictor
5306
+
5307
+ def initialize(**args)
5308
+ update!(**args)
5309
+ end
5310
+
5311
+ # Update properties of this object
5312
+ def update!(**args)
5313
+ @predictor = args[:predictor] if args.key?(:predictor)
5314
+ end
5315
+ end
5316
+
5317
+ # Describes the predictor settings for dynamic retrieval.
5318
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor
5319
+ include Google::Apis::Core::Hashable
5320
+
5321
+ # The value of the threshold. If the predictor will predict a value smaller than
5322
+ # this, it would suppress grounding in the source.
5323
+ # Corresponds to the JSON property `threshold`
5324
+ # @return [Float]
5325
+ attr_accessor :threshold
5326
+
5327
+ # The version of the predictor to be used in dynamic retrieval.
5328
+ # Corresponds to the JSON property `version`
5329
+ # @return [String]
5330
+ attr_accessor :version
5331
+
5332
+ def initialize(**args)
5333
+ update!(**args)
5334
+ end
5335
+
5336
+ # Update properties of this object
5337
+ def update!(**args)
5338
+ @threshold = args[:threshold] if args.key?(:threshold)
5339
+ @version = args[:version] if args.key?(:version)
5340
+ end
5341
+ end
5342
+
5343
+ # Content generation specification.
5344
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec
5345
+ include Google::Apis::Core::Hashable
5346
+
5347
+ # If specified, custom value for frequency penalty will be used.
5348
+ # Corresponds to the JSON property `frequencyPenalty`
5349
+ # @return [Float]
5350
+ attr_accessor :frequency_penalty
5351
+
5352
+ # Language code for content. Use language tags defined by [BCP47](https://www.
5353
+ # rfc-editor.org/rfc/bcp/bcp47.txt).
5354
+ # Corresponds to the JSON property `languageCode`
5355
+ # @return [String]
5356
+ attr_accessor :language_code
5357
+
5358
+ # If specified, custom value for max output tokens will be used.
5359
+ # Corresponds to the JSON property `maxOutputTokens`
5360
+ # @return [Fixnum]
5361
+ attr_accessor :max_output_tokens
5362
+
5363
+ # Specifies which Vertex model id to use for generation.
5364
+ # Corresponds to the JSON property `modelId`
5365
+ # @return [String]
5366
+ attr_accessor :model_id
5367
+
5368
+ # If specified, custom value for presence penalty will be used.
5369
+ # Corresponds to the JSON property `presencePenalty`
5370
+ # @return [Float]
5371
+ attr_accessor :presence_penalty
5372
+
5373
+ # If specified, custom value for the seed will be used.
5374
+ # Corresponds to the JSON property `seed`
5375
+ # @return [Fixnum]
5376
+ attr_accessor :seed
5377
+
5378
+ # If specified, custom value for the temperature will be used.
5379
+ # Corresponds to the JSON property `temperature`
5380
+ # @return [Float]
5381
+ attr_accessor :temperature
5382
+
5383
+ # If specified, custom value for top-k sampling will be used.
5384
+ # Corresponds to the JSON property `topK`
5385
+ # @return [Fixnum]
5386
+ attr_accessor :top_k
5387
+
5388
+ # If specified, custom value for nucleus sampling will be used.
5389
+ # Corresponds to the JSON property `topP`
5390
+ # @return [Float]
5391
+ attr_accessor :top_p
5392
+
5393
+ def initialize(**args)
5394
+ update!(**args)
5395
+ end
5396
+
5397
+ # Update properties of this object
5398
+ def update!(**args)
5399
+ @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
5400
+ @language_code = args[:language_code] if args.key?(:language_code)
5401
+ @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
5402
+ @model_id = args[:model_id] if args.key?(:model_id)
5403
+ @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
5404
+ @seed = args[:seed] if args.key?(:seed)
5405
+ @temperature = args[:temperature] if args.key?(:temperature)
5406
+ @top_k = args[:top_k] if args.key?(:top_k)
5407
+ @top_p = args[:top_p] if args.key?(:top_p)
5408
+ end
5409
+ end
5410
+
5411
+ # Grounding source.
5412
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource
5413
+ include Google::Apis::Core::Hashable
5414
+
5415
+ # Google Search config parameters.
5416
+ # Corresponds to the JSON property `googleSearchSource`
5417
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource]
5418
+ attr_accessor :google_search_source
5419
+
5420
+ # Message to be used for grounding based on inline content.
5421
+ # Corresponds to the JSON property `inlineSource`
5422
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource]
5423
+ attr_accessor :inline_source
5424
+
5425
+ # Message to be used for grounding with Vertex AI Search.
5426
+ # Corresponds to the JSON property `searchSource`
5427
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource]
5428
+ attr_accessor :search_source
5429
+
5430
+ def initialize(**args)
5431
+ update!(**args)
5432
+ end
5433
+
5434
+ # Update properties of this object
5435
+ def update!(**args)
5436
+ @google_search_source = args[:google_search_source] if args.key?(:google_search_source)
5437
+ @inline_source = args[:inline_source] if args.key?(:inline_source)
5438
+ @search_source = args[:search_source] if args.key?(:search_source)
5439
+ end
5440
+ end
5441
+
5442
+ # Google Search config parameters.
5443
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource
5444
+ include Google::Apis::Core::Hashable
5445
+
5446
+ # Describes the options to customize dynamic retrieval.
5447
+ # Corresponds to the JSON property `dynamicRetrievalConfig`
5448
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration]
5449
+ attr_accessor :dynamic_retrieval_config
5450
+
5451
+ def initialize(**args)
5452
+ update!(**args)
5453
+ end
5454
+
5455
+ # Update properties of this object
5456
+ def update!(**args)
5457
+ @dynamic_retrieval_config = args[:dynamic_retrieval_config] if args.key?(:dynamic_retrieval_config)
5458
+ end
5459
+ end
5460
+
5461
+ # Message to be used for grounding based on inline content.
5462
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
5463
+ include Google::Apis::Core::Hashable
5464
+
5465
+ # Attributes associated with the content. Common attributes include `source` (
5466
+ # indicating where the content was sourced from) and `author` (indicating the
5467
+ # author of the content).
5468
+ # Corresponds to the JSON property `attributes`
5469
+ # @return [Hash<String,String>]
5470
+ attr_accessor :attributes
5471
+
5472
+ # List of facts to be used for grounding.
5473
+ # Corresponds to the JSON property `groundingFacts`
5474
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundingFact>]
5475
+ attr_accessor :grounding_facts
5476
+
5477
+ def initialize(**args)
5478
+ update!(**args)
5479
+ end
5480
+
5481
+ # Update properties of this object
5482
+ def update!(**args)
5483
+ @attributes = args[:attributes] if args.key?(:attributes)
5484
+ @grounding_facts = args[:grounding_facts] if args.key?(:grounding_facts)
5485
+ end
5486
+ end
5487
+
5488
+ # Message to be used for grounding with Vertex AI Search.
5489
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource
5490
+ include Google::Apis::Core::Hashable
5491
+
5492
+ # Filter expression to be applied to the search. The syntax is the same as
5493
+ # SearchRequest.filter.
5494
+ # Corresponds to the JSON property `filter`
5495
+ # @return [String]
5496
+ attr_accessor :filter
5497
+
5498
+ # Number of search results to return. The default value is 10. The maximumm
5499
+ # allowed value is 10.
5500
+ # Corresponds to the JSON property `maxResultCount`
5501
+ # @return [Fixnum]
5502
+ attr_accessor :max_result_count
5503
+
5504
+ # If set, safe search is enabled in Vertex AI Search requests.
5505
+ # Corresponds to the JSON property `safeSearch`
5506
+ # @return [Boolean]
5507
+ attr_accessor :safe_search
5508
+ alias_method :safe_search?, :safe_search
5509
+
5510
+ # The resource name of the Engine to use. Format: `projects/`project`/locations/`
5511
+ # location`/collections/`collection_id`/engines/`engine_id`/servingConfigs/`
5512
+ # serving_config_id``
5513
+ # Corresponds to the JSON property `servingConfig`
5514
+ # @return [String]
5515
+ attr_accessor :serving_config
5516
+
5517
+ def initialize(**args)
5518
+ update!(**args)
5519
+ end
5520
+
5521
+ # Update properties of this object
5522
+ def update!(**args)
5523
+ @filter = args[:filter] if args.key?(:filter)
5524
+ @max_result_count = args[:max_result_count] if args.key?(:max_result_count)
5525
+ @safe_search = args[:safe_search] if args.key?(:safe_search)
5526
+ @serving_config = args[:serving_config] if args.key?(:serving_config)
5527
+ end
5528
+ end
5529
+
5530
+ # Grounding specification.
5531
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec
5532
+ include Google::Apis::Core::Hashable
5533
+
5534
+ # Grounding sources.
5535
+ # Corresponds to the JSON property `groundingSources`
5536
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource>]
5537
+ attr_accessor :grounding_sources
5538
+
5539
+ def initialize(**args)
5540
+ update!(**args)
5541
+ end
5542
+
5543
+ # Update properties of this object
5544
+ def update!(**args)
5545
+ @grounding_sources = args[:grounding_sources] if args.key?(:grounding_sources)
5546
+ end
5547
+ end
5548
+
5549
+ # Response for the `GenerateGroundedContent` method.
5550
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse
5551
+ include Google::Apis::Core::Hashable
5552
+
5553
+ # Generated candidates.
5554
+ # Corresponds to the JSON property `candidates`
5555
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate>]
5556
+ attr_accessor :candidates
5557
+
5558
+ def initialize(**args)
5559
+ update!(**args)
5560
+ end
5561
+
5562
+ # Update properties of this object
5563
+ def update!(**args)
5564
+ @candidates = args[:candidates] if args.key?(:candidates)
5565
+ end
5566
+ end
5567
+
5568
+ # A response candidate generated from the model.
5569
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate
5570
+ include Google::Apis::Core::Hashable
5571
+
5572
+ # Base structured datatype containing multi-part content of a message.
5573
+ # Corresponds to the JSON property `content`
5574
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundedGenerationContent]
5575
+ attr_accessor :content
5576
+
5577
+ # Citation for the generated content.
5578
+ # Corresponds to the JSON property `groundingMetadata`
5579
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata]
5580
+ attr_accessor :grounding_metadata
5581
+
5582
+ # The overall grounding score for the candidate, in the range of [0, 1].
5583
+ # Corresponds to the JSON property `groundingScore`
5584
+ # @return [Float]
5585
+ attr_accessor :grounding_score
5586
+
5587
+ # Index of the candidate.
5588
+ # Corresponds to the JSON property `index`
5589
+ # @return [Fixnum]
5590
+ attr_accessor :index
5591
+
5592
+ def initialize(**args)
5593
+ update!(**args)
5594
+ end
5595
+
5596
+ # Update properties of this object
5597
+ def update!(**args)
5598
+ @content = args[:content] if args.key?(:content)
5599
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
5600
+ @grounding_score = args[:grounding_score] if args.key?(:grounding_score)
5601
+ @index = args[:index] if args.key?(:index)
5602
+ end
5603
+ end
5604
+
5605
+ # Citation for the generated content.
5606
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata
5607
+ include Google::Apis::Core::Hashable
5608
+
5609
+ # GroundingSupport across all claims in the answer candidate. An support to a
5610
+ # fact indicates that the claim is supported by the fact.
5611
+ # Corresponds to the JSON property `groundingSupport`
5612
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport>]
5613
+ attr_accessor :grounding_support
5614
+
5615
+ # Retrieval metadata to provide an understanding in the retrieval steps
5616
+ # performed by the model. There can be multiple such messages which can
5617
+ # correspond to different parts of the retrieval. This is a mechanism used to
5618
+ # ensure transparency to our users.
5619
+ # Corresponds to the JSON property `retrievalMetadata`
5620
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata>]
5621
+ attr_accessor :retrieval_metadata
5622
+
5623
+ # Google search entry point.
5624
+ # Corresponds to the JSON property `searchEntryPoint`
5625
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint]
5626
+ attr_accessor :search_entry_point
5627
+
5628
+ # List of chunks to be attributed across all claims in the candidate. These are
5629
+ # derived from the grounding sources supplied in the request.
5630
+ # Corresponds to the JSON property `supportChunks`
5631
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1FactChunk>]
5632
+ attr_accessor :support_chunks
5633
+
5634
+ # Web search queries for the following-up web search.
5635
+ # Corresponds to the JSON property `webSearchQueries`
5636
+ # @return [Array<String>]
5637
+ attr_accessor :web_search_queries
5638
+
5639
+ def initialize(**args)
5640
+ update!(**args)
5641
+ end
5642
+
5643
+ # Update properties of this object
5644
+ def update!(**args)
5645
+ @grounding_support = args[:grounding_support] if args.key?(:grounding_support)
5646
+ @retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
5647
+ @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
5648
+ @support_chunks = args[:support_chunks] if args.key?(:support_chunks)
5649
+ @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
5650
+ end
5651
+ end
5652
+
5653
+ # Describes the metadata about dynamic retrieval.
5654
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata
5655
+ include Google::Apis::Core::Hashable
5656
+
5657
+ # Describes the metadata about the dynamic retrieval predictor.
5658
+ # Corresponds to the JSON property `predictorMetadata`
5659
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata]
5660
+ attr_accessor :predictor_metadata
5661
+
5662
+ def initialize(**args)
5663
+ update!(**args)
5664
+ end
5665
+
5666
+ # Update properties of this object
5667
+ def update!(**args)
5668
+ @predictor_metadata = args[:predictor_metadata] if args.key?(:predictor_metadata)
5669
+ end
5670
+ end
5671
+
5672
+ # Describes the metadata about the dynamic retrieval predictor.
5673
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata
5674
+ include Google::Apis::Core::Hashable
5675
+
5676
+ # The value of the predictor. This should be between [0, 1] where a value of 0
5677
+ # means that the query would not benefit from grounding, while a value of 1.0
5678
+ # means that the query would benefit the most. In between values allow to
5679
+ # differentiate between different usefulness scores for grounding.
5680
+ # Corresponds to the JSON property `prediction`
5681
+ # @return [Float]
5682
+ attr_accessor :prediction
5683
+
5684
+ # The version of the predictor which was used in dynamic retrieval.
5685
+ # Corresponds to the JSON property `version`
5686
+ # @return [String]
5687
+ attr_accessor :version
5688
+
5689
+ def initialize(**args)
5690
+ update!(**args)
5691
+ end
5692
+
5693
+ # Update properties of this object
5694
+ def update!(**args)
5695
+ @prediction = args[:prediction] if args.key?(:prediction)
5696
+ @version = args[:version] if args.key?(:version)
5697
+ end
5698
+ end
5699
+
5700
+ # Grounding info for a claim in the candidate and its support.
5701
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport
5702
+ include Google::Apis::Core::Hashable
5703
+
5704
+ # Text for the claim in the candidate. Always provided when a support is found.
5705
+ # Corresponds to the JSON property `claimText`
5706
+ # @return [String]
5707
+ attr_accessor :claim_text
5708
+
5709
+ # A list of indices (into 'support_chunks') specifying the citations associated
5710
+ # with the claim. For instance [1,3,4] means that support_chunks[1],
5711
+ # support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
5712
+ # Corresponds to the JSON property `supportChunkIndices`
5713
+ # @return [Array<Fixnum>]
5714
+ attr_accessor :support_chunk_indices
5715
+
5716
+ # A score in the range of [0, 1] describing how grounded is a specific claim in
5717
+ # the support chunks indicated. Higher value means that the claim is better
5718
+ # supported by the chunks.
5719
+ # Corresponds to the JSON property `supportScore`
5720
+ # @return [Float]
5721
+ attr_accessor :support_score
5722
+
5723
+ def initialize(**args)
5724
+ update!(**args)
5725
+ end
5726
+
5727
+ # Update properties of this object
5728
+ def update!(**args)
5729
+ @claim_text = args[:claim_text] if args.key?(:claim_text)
5730
+ @support_chunk_indices = args[:support_chunk_indices] if args.key?(:support_chunk_indices)
5731
+ @support_score = args[:support_score] if args.key?(:support_score)
5732
+ end
5733
+ end
5734
+
5735
+ # Describes the metadata associated with a retrieval step.
5736
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata
5737
+ include Google::Apis::Core::Hashable
5738
+
5739
+ # Describes the metadata about dynamic retrieval.
5740
+ # Corresponds to the JSON property `dynamicRetrievalMetadata`
5741
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata]
5742
+ attr_accessor :dynamic_retrieval_metadata
5743
+
5744
+ # Describes the source to which the metadata is referring to.
5745
+ # Corresponds to the JSON property `source`
5746
+ # @return [String]
5747
+ attr_accessor :source
5748
+
5749
+ def initialize(**args)
5750
+ update!(**args)
5751
+ end
5752
+
5753
+ # Update properties of this object
5754
+ def update!(**args)
5755
+ @dynamic_retrieval_metadata = args[:dynamic_retrieval_metadata] if args.key?(:dynamic_retrieval_metadata)
5756
+ @source = args[:source] if args.key?(:source)
5757
+ end
5758
+ end
5759
+
5760
+ # Google search entry point.
5761
+ class GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint
5762
+ include Google::Apis::Core::Hashable
5763
+
5764
+ # Web content snippet that can be embedded in a web page or an app webview.
5765
+ # Corresponds to the JSON property `renderedContent`
5766
+ # @return [String]
5767
+ attr_accessor :rendered_content
5768
+
5769
+ # Base64 encoded JSON representing array of tuple.
5770
+ # Corresponds to the JSON property `sdkBlob`
5771
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
5772
+ # @return [String]
5773
+ attr_accessor :sdk_blob
5774
+
5775
+ def initialize(**args)
5776
+ update!(**args)
5777
+ end
5778
+
5779
+ # Update properties of this object
5780
+ def update!(**args)
5781
+ @rendered_content = args[:rendered_content] if args.key?(:rendered_content)
5782
+ @sdk_blob = args[:sdk_blob] if args.key?(:sdk_blob)
5783
+ end
5784
+ end
5785
+
5786
+ # Base structured datatype containing multi-part content of a message.
5787
+ class GoogleCloudDiscoveryengineV1GroundedGenerationContent
5788
+ include Google::Apis::Core::Hashable
5789
+
5790
+ # Ordered `Parts` that constitute a single message.
5791
+ # Corresponds to the JSON property `parts`
5792
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundedGenerationContentPart>]
5793
+ attr_accessor :parts
5794
+
5795
+ # Producer of the content. Must be either `user` or `model`. Intended to be used
5796
+ # for multi-turn conversations. Otherwise, it can be left unset.
5797
+ # Corresponds to the JSON property `role`
5798
+ # @return [String]
5799
+ attr_accessor :role
5800
+
5801
+ def initialize(**args)
5802
+ update!(**args)
5803
+ end
5804
+
5805
+ # Update properties of this object
5806
+ def update!(**args)
5807
+ @parts = args[:parts] if args.key?(:parts)
5808
+ @role = args[:role] if args.key?(:role)
5809
+ end
5810
+ end
5811
+
5812
+ # Single part of content.
5813
+ class GoogleCloudDiscoveryengineV1GroundedGenerationContentPart
5814
+ include Google::Apis::Core::Hashable
5815
+
5816
+ # Inline text.
5817
+ # Corresponds to the JSON property `text`
5818
+ # @return [String]
5819
+ attr_accessor :text
5211
5820
 
5212
5821
  def initialize(**args)
5213
5822
  update!(**args)
@@ -5215,8 +5824,7 @@ module Google
5215
5824
 
5216
5825
  # Update properties of this object
5217
5826
  def update!(**args)
5218
- @data_schema = args[:data_schema] if args.key?(:data_schema)
5219
- @input_uris = args[:input_uris] if args.key?(:input_uris)
5827
+ @text = args[:text] if args.key?(:text)
5220
5828
  end
5221
5829
  end
5222
5830
 
@@ -9091,6 +9699,27 @@ module Google
9091
9699
  end
9092
9700
  end
9093
9701
 
9702
+ # Metadata for single-regional CMEKs.
9703
+ class GoogleCloudDiscoveryengineV1SingleRegionKey
9704
+ include Google::Apis::Core::Hashable
9705
+
9706
+ # Required. Single-regional kms key resource name which will be used to encrypt
9707
+ # resources `projects/`project`/locations/`location`/keyRings/`keyRing`/
9708
+ # cryptoKeys/`keyId``.
9709
+ # Corresponds to the JSON property `kmsKey`
9710
+ # @return [String]
9711
+ attr_accessor :kms_key
9712
+
9713
+ def initialize(**args)
9714
+ update!(**args)
9715
+ end
9716
+
9717
+ # Update properties of this object
9718
+ def update!(**args)
9719
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
9720
+ end
9721
+ end
9722
+
9094
9723
  # SiteSearchEngine captures DataStore level site search persisting
9095
9724
  # configurations. It is a singleton value per data store.
9096
9725
  class GoogleCloudDiscoveryengineV1SiteSearchEngine
@@ -10000,6 +10629,38 @@ module Google
10000
10629
  end
10001
10630
  end
10002
10631
 
10632
+ # Informations to support actions on the connector.
10633
+ class GoogleCloudDiscoveryengineV1alphaActionConfig
10634
+ include Google::Apis::Core::Hashable
10635
+
10636
+ # Required. Params needed to support actions in the format of (Key, Value) pairs.
10637
+ # Required parameters for sources that support OAUTH, i.e. `gmail`, `
10638
+ # google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
10639
+ # client_id` * Value: type STRING. The client id for the service provider to
10640
+ # identify your application. * Key: `client_secret` * Value:type STRING. The
10641
+ # client secret generated by the application's authorization server.
10642
+ # Corresponds to the JSON property `actionParams`
10643
+ # @return [Hash<String,Object>]
10644
+ attr_accessor :action_params
10645
+
10646
+ # Output only. The connector contains the necessary parameters and is configured
10647
+ # to support actions.
10648
+ # Corresponds to the JSON property `isActionConfigured`
10649
+ # @return [Boolean]
10650
+ attr_accessor :is_action_configured
10651
+ alias_method :is_action_configured?, :is_action_configured
10652
+
10653
+ def initialize(**args)
10654
+ update!(**args)
10655
+ end
10656
+
10657
+ # Update properties of this object
10658
+ def update!(**args)
10659
+ @action_params = args[:action_params] if args.key?(:action_params)
10660
+ @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
10661
+ end
10662
+ end
10663
+
10003
10664
  # Configuration data for advance site search.
10004
10665
  class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig
10005
10666
  include Google::Apis::Core::Hashable
@@ -10776,6 +11437,11 @@ module Google
10776
11437
  # @return [String]
10777
11438
  attr_accessor :name
10778
11439
 
11440
+ # Optional. Single-regional CMEKs that are required for some VAIS features.
11441
+ # Corresponds to the JSON property `singleRegionKeys`
11442
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSingleRegionKey>]
11443
+ attr_accessor :single_region_keys
11444
+
10779
11445
  # Output only. State of the CmekConfig.
10780
11446
  # Corresponds to the JSON property `state`
10781
11447
  # @return [String]
@@ -10792,10 +11458,56 @@ module Google
10792
11458
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
10793
11459
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
10794
11460
  @name = args[:name] if args.key?(:name)
11461
+ @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
10795
11462
  @state = args[:state] if args.key?(:state)
10796
11463
  end
10797
11464
  end
10798
11465
 
11466
+ # Collection is a container for configuring resources and access to a set of
11467
+ # DataStores.
11468
+ class GoogleCloudDiscoveryengineV1alphaCollection
11469
+ include Google::Apis::Core::Hashable
11470
+
11471
+ # Output only. Timestamp the Collection was created at.
11472
+ # Corresponds to the JSON property `createTime`
11473
+ # @return [String]
11474
+ attr_accessor :create_time
11475
+
11476
+ # Manages the connection to external data sources for all data stores grouped
11477
+ # under a Collection. It's a singleton resource of Collection. The
11478
+ # initialization is only supported through SetUpDataConnector method, which will
11479
+ # create a new Collection and initialize its DataConnector. //
11480
+ # Corresponds to the JSON property `dataConnector`
11481
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnector]
11482
+ attr_accessor :data_connector
11483
+
11484
+ # Required. The Collection display name. This field must be a UTF-8 encoded
11485
+ # string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
11486
+ # error is returned.
11487
+ # Corresponds to the JSON property `displayName`
11488
+ # @return [String]
11489
+ attr_accessor :display_name
11490
+
11491
+ # Immutable. The full resource name of the Collection. Format: `projects/`
11492
+ # project`/locations/`location`/collections/`collection_id``. This field must be
11493
+ # a UTF-8 encoded string with a length limit of 1024 characters.
11494
+ # Corresponds to the JSON property `name`
11495
+ # @return [String]
11496
+ attr_accessor :name
11497
+
11498
+ def initialize(**args)
11499
+ update!(**args)
11500
+ end
11501
+
11502
+ # Update properties of this object
11503
+ def update!(**args)
11504
+ @create_time = args[:create_time] if args.key?(:create_time)
11505
+ @data_connector = args[:data_connector] if args.key?(:data_connector)
11506
+ @display_name = args[:display_name] if args.key?(:display_name)
11507
+ @name = args[:name] if args.key?(:name)
11508
+ end
11509
+ end
11510
+
10799
11511
  # Defines circumstances to be checked before allowing a behavior
10800
11512
  class GoogleCloudDiscoveryengineV1alphaCondition
10801
11513
  include Google::Apis::Core::Hashable
@@ -10883,6 +11595,158 @@ module Google
10883
11595
  end
10884
11596
  end
10885
11597
 
11598
+ # A data sync run of DataConnector. After DataConnector is successfully
11599
+ # initialized, data syncs are scheduled at DataConnector.refresh_interval. A
11600
+ # ConnectorRun represents a data sync either in the past or onging that the
11601
+ # moment. //
11602
+ class GoogleCloudDiscoveryengineV1alphaConnectorRun
11603
+ include Google::Apis::Core::Hashable
11604
+
11605
+ # Output only. The time when the connector run ended.
11606
+ # Corresponds to the JSON property `endTime`
11607
+ # @return [String]
11608
+ attr_accessor :end_time
11609
+
11610
+ # Output only. The details of the entities synced at the ConnectorRun. Each
11611
+ # ConnectorRun consists of syncing one or more entities.
11612
+ # Corresponds to the JSON property `entityRuns`
11613
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun>]
11614
+ attr_accessor :entity_runs
11615
+
11616
+ # Contains info about errors incurred during the sync. Only exist if running
11617
+ # into an error state. Contains error code and error message. Use with the `
11618
+ # state` field.
11619
+ # Corresponds to the JSON property `errors`
11620
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
11621
+ attr_accessor :errors
11622
+
11623
+ # Output only. The time when the connector run was most recently paused.
11624
+ # Corresponds to the JSON property `latestPauseTime`
11625
+ # @return [String]
11626
+ attr_accessor :latest_pause_time
11627
+
11628
+ # Output only. The full resource name of the Connector Run. Format: `projects/*/
11629
+ # locations/*/collections/*/dataConnector/connectorRuns/*`. The `
11630
+ # connector_run_id` is system-generated.
11631
+ # Corresponds to the JSON property `name`
11632
+ # @return [String]
11633
+ attr_accessor :name
11634
+
11635
+ # Output only. The time when the connector run started.
11636
+ # Corresponds to the JSON property `startTime`
11637
+ # @return [String]
11638
+ attr_accessor :start_time
11639
+
11640
+ # Output only. The state of the sync run.
11641
+ # Corresponds to the JSON property `state`
11642
+ # @return [String]
11643
+ attr_accessor :state
11644
+
11645
+ # Timestamp at which the connector run sync state was last updated.
11646
+ # Corresponds to the JSON property `stateUpdateTime`
11647
+ # @return [String]
11648
+ attr_accessor :state_update_time
11649
+
11650
+ # Output only. The trigger for this ConnectorRun.
11651
+ # Corresponds to the JSON property `trigger`
11652
+ # @return [String]
11653
+ attr_accessor :trigger
11654
+
11655
+ def initialize(**args)
11656
+ update!(**args)
11657
+ end
11658
+
11659
+ # Update properties of this object
11660
+ def update!(**args)
11661
+ @end_time = args[:end_time] if args.key?(:end_time)
11662
+ @entity_runs = args[:entity_runs] if args.key?(:entity_runs)
11663
+ @errors = args[:errors] if args.key?(:errors)
11664
+ @latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
11665
+ @name = args[:name] if args.key?(:name)
11666
+ @start_time = args[:start_time] if args.key?(:start_time)
11667
+ @state = args[:state] if args.key?(:state)
11668
+ @state_update_time = args[:state_update_time] if args.key?(:state_update_time)
11669
+ @trigger = args[:trigger] if args.key?(:trigger)
11670
+ end
11671
+ end
11672
+
11673
+ # Represents an entity that was synced in this ConnectorRun.
11674
+ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
11675
+ include Google::Apis::Core::Hashable
11676
+
11677
+ # The name of the source entity.
11678
+ # Corresponds to the JSON property `entityName`
11679
+ # @return [String]
11680
+ attr_accessor :entity_name
11681
+
11682
+ # The total number of documents failed at sync at any stage (extraction,
11683
+ # indexing, etc).
11684
+ # Corresponds to the JSON property `errorRecordCount`
11685
+ # @return [Fixnum]
11686
+ attr_accessor :error_record_count
11687
+
11688
+ # The errors from the entity's sync run. Only exist if running into an error
11689
+ # state. Contains error code and error message.
11690
+ # Corresponds to the JSON property `errors`
11691
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
11692
+ attr_accessor :errors
11693
+
11694
+ # The number of documents extracted from connector source, ready to be ingested
11695
+ # to UCS.
11696
+ # Corresponds to the JSON property `extractedRecordCount`
11697
+ # @return [Fixnum]
11698
+ attr_accessor :extracted_record_count
11699
+
11700
+ # The number of documents indexed.
11701
+ # Corresponds to the JSON property `indexedRecordCount`
11702
+ # @return [Fixnum]
11703
+ attr_accessor :indexed_record_count
11704
+
11705
+ # The number of requests sent to 3p API.
11706
+ # Corresponds to the JSON property `sourceApiRequestCount`
11707
+ # @return [Fixnum]
11708
+ attr_accessor :source_api_request_count
11709
+
11710
+ # The state of the entity's sync run.
11711
+ # Corresponds to the JSON property `state`
11712
+ # @return [String]
11713
+ attr_accessor :state
11714
+
11715
+ # Timestamp at which the entity sync state was last updated.
11716
+ # Corresponds to the JSON property `stateUpdateTime`
11717
+ # @return [String]
11718
+ attr_accessor :state_update_time
11719
+
11720
+ # The timestamp for either extracted_documents_count, indexed_documents_count
11721
+ # and error_documents_count was last updated.
11722
+ # Corresponds to the JSON property `statsUpdateTime`
11723
+ # @return [String]
11724
+ attr_accessor :stats_update_time
11725
+
11726
+ # Sync type of this run.
11727
+ # Corresponds to the JSON property `syncType`
11728
+ # @return [String]
11729
+ attr_accessor :sync_type
11730
+
11731
+ def initialize(**args)
11732
+ update!(**args)
11733
+ end
11734
+
11735
+ # Update properties of this object
11736
+ def update!(**args)
11737
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
11738
+ @error_record_count = args[:error_record_count] if args.key?(:error_record_count)
11739
+ @errors = args[:errors] if args.key?(:errors)
11740
+ @extracted_record_count = args[:extracted_record_count] if args.key?(:extracted_record_count)
11741
+ @indexed_record_count = args[:indexed_record_count] if args.key?(:indexed_record_count)
11742
+ @source_api_request_count = args[:source_api_request_count] if args.key?(:source_api_request_count)
11743
+ @state = args[:state] if args.key?(:state)
11744
+ @state_update_time = args[:state_update_time] if args.key?(:state_update_time)
11745
+ @stats_update_time = args[:stats_update_time] if args.key?(:stats_update_time)
11746
+ @sync_type = args[:sync_type] if args.key?(:sync_type)
11747
+ end
11748
+ end
11749
+
10886
11750
  # Defines a conditioned behavior to employ during serving. Must be attached to a
10887
11751
  # ServingConfig to be considered at serving time. Permitted actions dependent on
10888
11752
  # `SolutionType`.
@@ -11252,26 +12116,234 @@ module Google
11252
12116
  update!(**args)
11253
12117
  end
11254
12118
 
11255
- # Update properties of this object
11256
- def update!(**args)
11257
- @create_time = args[:create_time] if args.key?(:create_time)
11258
- @update_time = args[:update_time] if args.key?(:update_time)
11259
- end
11260
- end
12119
+ # Update properties of this object
12120
+ def update!(**args)
12121
+ @create_time = args[:create_time] if args.key?(:create_time)
12122
+ @update_time = args[:update_time] if args.key?(:update_time)
12123
+ end
12124
+ end
12125
+
12126
+ # Metadata related to the progress of the SiteSearchEngineService.
12127
+ # CreateTargetSite operation. This will be returned by the google.longrunning.
12128
+ # Operation.metadata field.
12129
+ class GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata
12130
+ include Google::Apis::Core::Hashable
12131
+
12132
+ # Operation create time.
12133
+ # Corresponds to the JSON property `createTime`
12134
+ # @return [String]
12135
+ attr_accessor :create_time
12136
+
12137
+ # Operation last update time. If the operation is done, this is also the finish
12138
+ # time.
12139
+ # Corresponds to the JSON property `updateTime`
12140
+ # @return [String]
12141
+ attr_accessor :update_time
12142
+
12143
+ def initialize(**args)
12144
+ update!(**args)
12145
+ end
12146
+
12147
+ # Update properties of this object
12148
+ def update!(**args)
12149
+ @create_time = args[:create_time] if args.key?(:create_time)
12150
+ @update_time = args[:update_time] if args.key?(:update_time)
12151
+ end
12152
+ end
12153
+
12154
+ # Defines custom fine tuning spec.
12155
+ class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
12156
+ include Google::Apis::Core::Hashable
12157
+
12158
+ # Whether or not to enable and include custom fine tuned search adaptor model.
12159
+ # Corresponds to the JSON property `enableSearchAdaptor`
12160
+ # @return [Boolean]
12161
+ attr_accessor :enable_search_adaptor
12162
+ alias_method :enable_search_adaptor?, :enable_search_adaptor
12163
+
12164
+ def initialize(**args)
12165
+ update!(**args)
12166
+ end
12167
+
12168
+ # Update properties of this object
12169
+ def update!(**args)
12170
+ @enable_search_adaptor = args[:enable_search_adaptor] if args.key?(:enable_search_adaptor)
12171
+ end
12172
+ end
12173
+
12174
+ # Manages the connection to external data sources for all data stores grouped
12175
+ # under a Collection. It's a singleton resource of Collection. The
12176
+ # initialization is only supported through SetUpDataConnector method, which will
12177
+ # create a new Collection and initialize its DataConnector. //
12178
+ class GoogleCloudDiscoveryengineV1alphaDataConnector
12179
+ include Google::Apis::Core::Hashable
12180
+
12181
+ # Informations to support actions on the connector.
12182
+ # Corresponds to the JSON property `actionConfig`
12183
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig]
12184
+ attr_accessor :action_config
12185
+
12186
+ # Indicates whether the connector is disabled for auto run. It can be used to
12187
+ # pause periodical and real time sync.
12188
+ # Corresponds to the JSON property `autoRunDisabled`
12189
+ # @return [Boolean]
12190
+ attr_accessor :auto_run_disabled
12191
+ alias_method :auto_run_disabled?, :auto_run_disabled
12192
+
12193
+ # Output only. User actions that must be completed before the connector can
12194
+ # start syncing data.
12195
+ # Corresponds to the JSON property `blockingReasons`
12196
+ # @return [Array<String>]
12197
+ attr_accessor :blocking_reasons
12198
+
12199
+ # Output only. Timestamp the DataConnector was created at.
12200
+ # Corresponds to the JSON property `createTime`
12201
+ # @return [String]
12202
+ attr_accessor :create_time
12203
+
12204
+ # Required. The name of the data source. Supported values: `salesforce`, `jira`,
12205
+ # `confluence`, `bigquery`.
12206
+ # Corresponds to the JSON property `dataSource`
12207
+ # @return [String]
12208
+ attr_accessor :data_source
12209
+
12210
+ # Optional. Any target destinations used to connect to third-party services.
12211
+ # Corresponds to the JSON property `destinationConfigs`
12212
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig>]
12213
+ attr_accessor :destination_configs
12214
+
12215
+ # List of entities from the connected data source to ingest.
12216
+ # Corresponds to the JSON property `entities`
12217
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity>]
12218
+ attr_accessor :entities
12219
+
12220
+ # Output only. The errors from initialization or from the latest connector run.
12221
+ # Corresponds to the JSON property `errors`
12222
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
12223
+ attr_accessor :errors
12224
+
12225
+ # The refresh interval to sync the Access Control List information for the
12226
+ # documents ingested by this connector. If not set, the access control list will
12227
+ # be refreshed at the default interval of 30 minutes. The identity refresh
12228
+ # interval can be at least 30 minutes and at most 7 days.
12229
+ # Corresponds to the JSON property `identityRefreshInterval`
12230
+ # @return [String]
12231
+ attr_accessor :identity_refresh_interval
12232
+
12233
+ # The configuration for the identity data synchronization runs.
12234
+ # Corresponds to the JSON property `identityScheduleConfig`
12235
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig]
12236
+ attr_accessor :identity_schedule_config
12237
+
12238
+ # Input only. The KMS key to be used to protect the DataStores managed by this
12239
+ # connector. Must be set for requests that need to comply with CMEK Org Policy
12240
+ # protections. If this field is set and processed successfully, the DataStores
12241
+ # created by this connector will be protected by the KMS key.
12242
+ # Corresponds to the JSON property `kmsKeyName`
12243
+ # @return [String]
12244
+ attr_accessor :kms_key_name
12245
+
12246
+ # Output only. For periodic connectors only, the last time a data sync was
12247
+ # completed.
12248
+ # Corresponds to the JSON property `lastSyncTime`
12249
+ # @return [String]
12250
+ attr_accessor :last_sync_time
12251
+
12252
+ # Output only. The most recent timestamp when this DataConnector was paused,
12253
+ # affecting all functionalities such as data synchronization. Pausing a
12254
+ # connector has the following effects: - All functionalities, including data
12255
+ # synchronization, are halted. - Any ongoing data synchronization job will be
12256
+ # canceled. - No future data synchronization runs will be scheduled nor can be
12257
+ # triggered.
12258
+ # Corresponds to the JSON property `latestPauseTime`
12259
+ # @return [String]
12260
+ attr_accessor :latest_pause_time
12261
+
12262
+ # Output only. The full resource name of the Data Connector. Format: `projects/*/
12263
+ # locations/*/collections/*/dataConnector`.
12264
+ # Corresponds to the JSON property `name`
12265
+ # @return [String]
12266
+ attr_accessor :name
12267
+
12268
+ # Represents civil time (or occasionally physical time). This type can represent
12269
+ # a civil time in one of a few possible ways: * When utc_offset is set and
12270
+ # time_zone is unset: a civil time on a calendar day with a particular offset
12271
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
12272
+ # calendar day in a particular time zone. * When neither time_zone nor
12273
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
12274
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
12275
+ # the DateTime is considered not to have a specific year, month, or day
12276
+ # respectively. This type may also be used to represent a physical time if all
12277
+ # the date and time fields are set and either case of the `time_offset` oneof is
12278
+ # set. Consider using `Timestamp` message for physical time instead. If your use
12279
+ # case also would like to store the user's timezone, that can be done in another
12280
+ # field. This type is more flexible than some applications may want. Make sure
12281
+ # to document and validate your application's limitations.
12282
+ # Corresponds to the JSON property `nextSyncTime`
12283
+ # @return [Google::Apis::DiscoveryengineV1::GoogleTypeDateTime]
12284
+ attr_accessor :next_sync_time
12285
+
12286
+ # Required. Params needed to access the source in the format of (Key, Value)
12287
+ # pairs. Required parameters for all data sources: * Key: `instance_uri` * Value:
12288
+ # type STRING. The uri to access the data source. Required parameters for
12289
+ # sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value:
12290
+ # type STRING. The client id for the third party service provider to identify
12291
+ # your application. * Key: `client_secret` * Value:type STRING. The client
12292
+ # secret generated by the third party authorization server. * Key: `access_token`
12293
+ # * Value: type STRING. OAuth token for UCS to access to the protected resource.
12294
+ # * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to
12295
+ # obtain a new access token without user interaction. Required parameters for
12296
+ # sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `
12297
+ # user_account` * Value: type STRING. The username or email with the source. *
12298
+ # Key: `api_token` * Value: type STRING. The API token generated for the source
12299
+ # account, that is used for authenticating anywhere where you would have used a
12300
+ # password. Example: ```json ` "instance_uri": "https://xxx.atlassian.net", "
12301
+ # user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" ` ``` Optional
12302
+ # parameter to specify the authorization type to use for multiple authorization
12303
+ # types support: * Key: `auth_type` * Value: type STRING. The authorization type
12304
+ # for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `
12305
+ # OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `
12306
+ # OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`.
12307
+ # Corresponds to the JSON property `params`
12308
+ # @return [Hash<String,Object>]
12309
+ attr_accessor :params
12310
+
12311
+ # Output only. The tenant project ID associated with private connectivity
12312
+ # connectors. This project must be allowlisted by in order for the connector to
12313
+ # function.
12314
+ # Corresponds to the JSON property `privateConnectivityProjectId`
12315
+ # @return [String]
12316
+ attr_accessor :private_connectivity_project_id
12317
+
12318
+ # Required. The refresh interval for data sync. If duration is set to 0, the
12319
+ # data will be synced in real time. The streaming feature is not supported yet.
12320
+ # The minimum is 30 minutes and maximum is 7 days.
12321
+ # Corresponds to the JSON property `refreshInterval`
12322
+ # @return [String]
12323
+ attr_accessor :refresh_interval
12324
+
12325
+ # Output only. State of the connector.
12326
+ # Corresponds to the JSON property `state`
12327
+ # @return [String]
12328
+ attr_accessor :state
12329
+
12330
+ # Output only. The static IP addresses used by this connector.
12331
+ # Corresponds to the JSON property `staticIpAddresses`
12332
+ # @return [Array<String>]
12333
+ attr_accessor :static_ip_addresses
11261
12334
 
11262
- # Metadata related to the progress of the SiteSearchEngineService.
11263
- # CreateTargetSite operation. This will be returned by the google.longrunning.
11264
- # Operation.metadata field.
11265
- class GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata
11266
- include Google::Apis::Core::Hashable
12335
+ # Optional. Whether customer has enabled static IP addresses for this connector.
12336
+ # Corresponds to the JSON property `staticIpEnabled`
12337
+ # @return [Boolean]
12338
+ attr_accessor :static_ip_enabled
12339
+ alias_method :static_ip_enabled?, :static_ip_enabled
11267
12340
 
11268
- # Operation create time.
11269
- # Corresponds to the JSON property `createTime`
12341
+ # The data synchronization mode supported by the data connector.
12342
+ # Corresponds to the JSON property `syncMode`
11270
12343
  # @return [String]
11271
- attr_accessor :create_time
12344
+ attr_accessor :sync_mode
11272
12345
 
11273
- # Operation last update time. If the operation is done, this is also the finish
11274
- # time.
12346
+ # Output only. Timestamp the DataConnector was last updated.
11275
12347
  # Corresponds to the JSON property `updateTime`
11276
12348
  # @return [String]
11277
12349
  attr_accessor :update_time
@@ -11282,20 +12354,68 @@ module Google
11282
12354
 
11283
12355
  # Update properties of this object
11284
12356
  def update!(**args)
12357
+ @action_config = args[:action_config] if args.key?(:action_config)
12358
+ @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
12359
+ @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
11285
12360
  @create_time = args[:create_time] if args.key?(:create_time)
12361
+ @data_source = args[:data_source] if args.key?(:data_source)
12362
+ @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
12363
+ @entities = args[:entities] if args.key?(:entities)
12364
+ @errors = args[:errors] if args.key?(:errors)
12365
+ @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
12366
+ @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
12367
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
12368
+ @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
12369
+ @latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
12370
+ @name = args[:name] if args.key?(:name)
12371
+ @next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
12372
+ @params = args[:params] if args.key?(:params)
12373
+ @private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
12374
+ @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
12375
+ @state = args[:state] if args.key?(:state)
12376
+ @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
12377
+ @static_ip_enabled = args[:static_ip_enabled] if args.key?(:static_ip_enabled)
12378
+ @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
11286
12379
  @update_time = args[:update_time] if args.key?(:update_time)
11287
12380
  end
11288
12381
  end
11289
12382
 
11290
- # Defines custom fine tuning spec.
11291
- class GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
12383
+ # Represents an entity in the data source. For example, the `Account` object in
12384
+ # Salesforce.
12385
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
11292
12386
  include Google::Apis::Core::Hashable
11293
12387
 
11294
- # Whether or not to enable and include custom fine tuned search adaptor model.
11295
- # Corresponds to the JSON property `enableSearchAdaptor`
11296
- # @return [Boolean]
11297
- attr_accessor :enable_search_adaptor
11298
- alias_method :enable_search_adaptor?, :enable_search_adaptor
12388
+ # Output only. The full resource name of the associated data store for the
12389
+ # source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`.
12390
+ # When the connector is initialized by the DataConnectorService.
12391
+ # SetUpDataConnector method, a DataStore is automatically created for each
12392
+ # source entity.
12393
+ # Corresponds to the JSON property `dataStore`
12394
+ # @return [String]
12395
+ attr_accessor :data_store
12396
+
12397
+ # The name of the entity. Supported values by data source: * Salesforce: `Lead`,
12398
+ # `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `
12399
+ # Issue` * Confluence: `Content`, `Space`
12400
+ # Corresponds to the JSON property `entityName`
12401
+ # @return [String]
12402
+ attr_accessor :entity_name
12403
+
12404
+ # Attributes for indexing. Key: Field name. Value: The key property to map a
12405
+ # field to, such as `title`, and `description`. Supported key properties: * `
12406
+ # title`: The title for data record. This would be displayed on search results. *
12407
+ # `description`: The description for data record. This would be displayed on
12408
+ # search results.
12409
+ # Corresponds to the JSON property `keyPropertyMappings`
12410
+ # @return [Hash<String,String>]
12411
+ attr_accessor :key_property_mappings
12412
+
12413
+ # The parameters for the entity to facilitate data ingestion. E.g. for BQ
12414
+ # connectors: * Key: `document_id_column` * Value: type STRING. The value of the
12415
+ # column id.
12416
+ # Corresponds to the JSON property `params`
12417
+ # @return [Hash<String,Object>]
12418
+ attr_accessor :params
11299
12419
 
11300
12420
  def initialize(**args)
11301
12421
  update!(**args)
@@ -11303,7 +12423,10 @@ module Google
11303
12423
 
11304
12424
  # Update properties of this object
11305
12425
  def update!(**args)
11306
- @enable_search_adaptor = args[:enable_search_adaptor] if args.key?(:enable_search_adaptor)
12426
+ @data_store = args[:data_store] if args.key?(:data_store)
12427
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
12428
+ @key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
12429
+ @params = args[:params] if args.key?(:params)
11307
12430
  end
11308
12431
  end
11309
12432
 
@@ -11377,6 +12500,12 @@ module Google
11377
12500
  # @return [String]
11378
12501
  attr_accessor :industry_vertical
11379
12502
 
12503
+ # Optional. If set, this DataStore is an Infobot FAQ DataStore.
12504
+ # Corresponds to the JSON property `isInfobotFaqDataStore`
12505
+ # @return [Boolean]
12506
+ attr_accessor :is_infobot_faq_data_store
12507
+ alias_method :is_infobot_faq_data_store?, :is_infobot_faq_data_store
12508
+
11380
12509
  # Input only. The KMS key to be used to protect this DataStore at creation time.
11381
12510
  # Must be set for requests that need to comply with CMEK Org Policy protections.
11382
12511
  # If this field is set and processed successfully, the DataStore will be
@@ -11443,6 +12572,7 @@ module Google
11443
12572
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
11444
12573
  @idp_config = args[:idp_config] if args.key?(:idp_config)
11445
12574
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
12575
+ @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
11446
12576
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
11447
12577
  @language_info = args[:language_info] if args.key?(:language_info)
11448
12578
  @name = args[:name] if args.key?(:name)
@@ -11550,6 +12680,34 @@ module Google
11550
12680
  end
11551
12681
  end
11552
12682
 
12683
+ # Metadata related to the progress of the CollectionService.UpdateCollection
12684
+ # operation. This will be returned by the google.longrunning.Operation.metadata
12685
+ # field.
12686
+ class GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata
12687
+ include Google::Apis::Core::Hashable
12688
+
12689
+ # Operation create time.
12690
+ # Corresponds to the JSON property `createTime`
12691
+ # @return [String]
12692
+ attr_accessor :create_time
12693
+
12694
+ # Operation last update time. If the operation is done, this is also the finish
12695
+ # time.
12696
+ # Corresponds to the JSON property `updateTime`
12697
+ # @return [String]
12698
+ attr_accessor :update_time
12699
+
12700
+ def initialize(**args)
12701
+ update!(**args)
12702
+ end
12703
+
12704
+ # Update properties of this object
12705
+ def update!(**args)
12706
+ @create_time = args[:create_time] if args.key?(:create_time)
12707
+ @update_time = args[:update_time] if args.key?(:update_time)
12708
+ end
12709
+ end
12710
+
11553
12711
  # Metadata related to the progress of the DataStoreService.DeleteDataStore
11554
12712
  # operation. This will be returned by the google.longrunning.Operation.metadata
11555
12713
  # field.
@@ -11708,6 +12866,62 @@ module Google
11708
12866
  end
11709
12867
  end
11710
12868
 
12869
+ # Defines target endpoints used to connect to third-party sources.
12870
+ class GoogleCloudDiscoveryengineV1alphaDestinationConfig
12871
+ include Google::Apis::Core::Hashable
12872
+
12873
+ # Optional. The destinations for the corresponding key.
12874
+ # Corresponds to the JSON property `destinations`
12875
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>]
12876
+ attr_accessor :destinations
12877
+
12878
+ # Optional. Unique destination identifier that is supported by the connector.
12879
+ # Corresponds to the JSON property `key`
12880
+ # @return [String]
12881
+ attr_accessor :key
12882
+
12883
+ # Optional. Additional parameters for this destination config.
12884
+ # Corresponds to the JSON property `params`
12885
+ # @return [Hash<String,Object>]
12886
+ attr_accessor :params
12887
+
12888
+ def initialize(**args)
12889
+ update!(**args)
12890
+ end
12891
+
12892
+ # Update properties of this object
12893
+ def update!(**args)
12894
+ @destinations = args[:destinations] if args.key?(:destinations)
12895
+ @key = args[:key] if args.key?(:key)
12896
+ @params = args[:params] if args.key?(:params)
12897
+ end
12898
+ end
12899
+
12900
+ # Defines a target endpoint
12901
+ class GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination
12902
+ include Google::Apis::Core::Hashable
12903
+
12904
+ # Publicly routable host.
12905
+ # Corresponds to the JSON property `host`
12906
+ # @return [String]
12907
+ attr_accessor :host
12908
+
12909
+ # Optional. Target port number accepted by the destination.
12910
+ # Corresponds to the JSON property `port`
12911
+ # @return [Fixnum]
12912
+ attr_accessor :port
12913
+
12914
+ def initialize(**args)
12915
+ update!(**args)
12916
+ end
12917
+
12918
+ # Update properties of this object
12919
+ def update!(**args)
12920
+ @host = args[:host] if args.key?(:host)
12921
+ @port = args[:port] if args.key?(:port)
12922
+ end
12923
+ end
12924
+
11711
12925
  # Metadata related to the progress of the SiteSearchEngineService.
11712
12926
  # DisableAdvancedSiteSearch operation. This will be returned by the google.
11713
12927
  # longrunning.Operation.metadata field.
@@ -12770,6 +13984,28 @@ module Google
12770
13984
  end
12771
13985
  end
12772
13986
 
13987
+ # The configuration for the identity data synchronization runs.
13988
+ class GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig
13989
+ include Google::Apis::Core::Hashable
13990
+
13991
+ # Optional. The refresh interval to sync the Access Control List information for
13992
+ # the documents ingested by this connector. If not set, the access control list
13993
+ # will be refreshed at the default interval of 30 minutes. The identity refresh
13994
+ # interval can be at least 30 minutes and at most 7 days.
13995
+ # Corresponds to the JSON property `refreshInterval`
13996
+ # @return [String]
13997
+ attr_accessor :refresh_interval
13998
+
13999
+ def initialize(**args)
14000
+ update!(**args)
14001
+ end
14002
+
14003
+ # Update properties of this object
14004
+ def update!(**args)
14005
+ @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
14006
+ end
14007
+ end
14008
+
12773
14009
  # Identity Provider Config.
12774
14010
  class GoogleCloudDiscoveryengineV1alphaIdpConfig
12775
14011
  include Google::Apis::Core::Hashable
@@ -15439,6 +16675,19 @@ module Google
15439
16675
  end
15440
16676
  end
15441
16677
 
16678
+ # Metadata for DataConnectorService.SetUpDataConnector method.
16679
+ class GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata
16680
+ include Google::Apis::Core::Hashable
16681
+
16682
+ def initialize(**args)
16683
+ update!(**args)
16684
+ end
16685
+
16686
+ # Update properties of this object
16687
+ def update!(**args)
16688
+ end
16689
+ end
16690
+
15442
16691
  # Metadata related to the progress of the SiteSearchEngineService.
15443
16692
  # SetUriPatternDocumentData operation. This will be returned by the google.
15444
16693
  # longrunning.Operation.metadata field.
@@ -15480,6 +16729,27 @@ module Google
15480
16729
  end
15481
16730
  end
15482
16731
 
16732
+ # Metadata for single-regional CMEKs.
16733
+ class GoogleCloudDiscoveryengineV1alphaSingleRegionKey
16734
+ include Google::Apis::Core::Hashable
16735
+
16736
+ # Required. Single-regional kms key resource name which will be used to encrypt
16737
+ # resources `projects/`project`/locations/`location`/keyRings/`keyRing`/
16738
+ # cryptoKeys/`keyId``.
16739
+ # Corresponds to the JSON property `kmsKey`
16740
+ # @return [String]
16741
+ attr_accessor :kms_key
16742
+
16743
+ def initialize(**args)
16744
+ update!(**args)
16745
+ end
16746
+
16747
+ # Update properties of this object
16748
+ def update!(**args)
16749
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
16750
+ end
16751
+ end
16752
+
15483
16753
  # Verification information for target sites in advanced site search.
15484
16754
  class GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
15485
16755
  include Google::Apis::Core::Hashable
@@ -15799,6 +17069,34 @@ module Google
15799
17069
  end
15800
17070
  end
15801
17071
 
17072
+ # Metadata related to the progress of the CollectionService.UpdateCollection
17073
+ # operation. This will be returned by the google.longrunning.Operation.metadata
17074
+ # field.
17075
+ class GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata
17076
+ include Google::Apis::Core::Hashable
17077
+
17078
+ # Operation create time.
17079
+ # Corresponds to the JSON property `createTime`
17080
+ # @return [String]
17081
+ attr_accessor :create_time
17082
+
17083
+ # Operation last update time. If the operation is done, this is also the finish
17084
+ # time.
17085
+ # Corresponds to the JSON property `updateTime`
17086
+ # @return [String]
17087
+ attr_accessor :update_time
17088
+
17089
+ def initialize(**args)
17090
+ update!(**args)
17091
+ end
17092
+
17093
+ # Update properties of this object
17094
+ def update!(**args)
17095
+ @create_time = args[:create_time] if args.key?(:create_time)
17096
+ @update_time = args[:update_time] if args.key?(:update_time)
17097
+ end
17098
+ end
17099
+
15802
17100
  # Metadata for UpdateSchema LRO.
15803
17101
  class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata
15804
17102
  include Google::Apis::Core::Hashable
@@ -16049,6 +17347,11 @@ module Google
16049
17347
  # @return [String]
16050
17348
  attr_accessor :name
16051
17349
 
17350
+ # Optional. Single-regional CMEKs that are required for some VAIS features.
17351
+ # Corresponds to the JSON property `singleRegionKeys`
17352
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSingleRegionKey>]
17353
+ attr_accessor :single_region_keys
17354
+
16052
17355
  # Output only. State of the CmekConfig.
16053
17356
  # Corresponds to the JSON property `state`
16054
17357
  # @return [String]
@@ -16065,6 +17368,7 @@ module Google
16065
17368
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
16066
17369
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
16067
17370
  @name = args[:name] if args.key?(:name)
17371
+ @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
16068
17372
  @state = args[:state] if args.key?(:state)
16069
17373
  end
16070
17374
  end
@@ -16592,6 +17896,12 @@ module Google
16592
17896
  # @return [String]
16593
17897
  attr_accessor :industry_vertical
16594
17898
 
17899
+ # Optional. If set, this DataStore is an Infobot FAQ DataStore.
17900
+ # Corresponds to the JSON property `isInfobotFaqDataStore`
17901
+ # @return [Boolean]
17902
+ attr_accessor :is_infobot_faq_data_store
17903
+ alias_method :is_infobot_faq_data_store?, :is_infobot_faq_data_store
17904
+
16595
17905
  # Input only. The KMS key to be used to protect this DataStore at creation time.
16596
17906
  # Must be set for requests that need to comply with CMEK Org Policy protections.
16597
17907
  # If this field is set and processed successfully, the DataStore will be
@@ -16656,6 +17966,7 @@ module Google
16656
17966
  @display_name = args[:display_name] if args.key?(:display_name)
16657
17967
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
16658
17968
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
17969
+ @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
16659
17970
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
16660
17971
  @language_info = args[:language_info] if args.key?(:language_info)
16661
17972
  @name = args[:name] if args.key?(:name)
@@ -19606,6 +20917,27 @@ module Google
19606
20917
  end
19607
20918
  end
19608
20919
 
20920
+ # Metadata for single-regional CMEKs.
20921
+ class GoogleCloudDiscoveryengineV1betaSingleRegionKey
20922
+ include Google::Apis::Core::Hashable
20923
+
20924
+ # Required. Single-regional kms key resource name which will be used to encrypt
20925
+ # resources `projects/`project`/locations/`location`/keyRings/`keyRing`/
20926
+ # cryptoKeys/`keyId``.
20927
+ # Corresponds to the JSON property `kmsKey`
20928
+ # @return [String]
20929
+ attr_accessor :kms_key
20930
+
20931
+ def initialize(**args)
20932
+ update!(**args)
20933
+ end
20934
+
20935
+ # Update properties of this object
20936
+ def update!(**args)
20937
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
20938
+ end
20939
+ end
20940
+
19609
20941
  # Verification information for target sites in advanced site search.
19610
20942
  class GoogleCloudDiscoveryengineV1betaSiteVerificationInfo
19611
20943
  include Google::Apis::Core::Hashable
@@ -20429,6 +21761,121 @@ module Google
20429
21761
  @year = args[:year] if args.key?(:year)
20430
21762
  end
20431
21763
  end
21764
+
21765
+ # Represents civil time (or occasionally physical time). This type can represent
21766
+ # a civil time in one of a few possible ways: * When utc_offset is set and
21767
+ # time_zone is unset: a civil time on a calendar day with a particular offset
21768
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
21769
+ # calendar day in a particular time zone. * When neither time_zone nor
21770
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
21771
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
21772
+ # the DateTime is considered not to have a specific year, month, or day
21773
+ # respectively. This type may also be used to represent a physical time if all
21774
+ # the date and time fields are set and either case of the `time_offset` oneof is
21775
+ # set. Consider using `Timestamp` message for physical time instead. If your use
21776
+ # case also would like to store the user's timezone, that can be done in another
21777
+ # field. This type is more flexible than some applications may want. Make sure
21778
+ # to document and validate your application's limitations.
21779
+ class GoogleTypeDateTime
21780
+ include Google::Apis::Core::Hashable
21781
+
21782
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
21783
+ # or 0 if specifying a datetime without a day.
21784
+ # Corresponds to the JSON property `day`
21785
+ # @return [Fixnum]
21786
+ attr_accessor :day
21787
+
21788
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
21789
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
21790
+ # like business closing time.
21791
+ # Corresponds to the JSON property `hours`
21792
+ # @return [Fixnum]
21793
+ attr_accessor :hours
21794
+
21795
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
21796
+ # Corresponds to the JSON property `minutes`
21797
+ # @return [Fixnum]
21798
+ attr_accessor :minutes
21799
+
21800
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
21801
+ # without a month.
21802
+ # Corresponds to the JSON property `month`
21803
+ # @return [Fixnum]
21804
+ attr_accessor :month
21805
+
21806
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
21807
+ # defaults to 0.
21808
+ # Corresponds to the JSON property `nanos`
21809
+ # @return [Fixnum]
21810
+ attr_accessor :nanos
21811
+
21812
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
21813
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
21814
+ # Corresponds to the JSON property `seconds`
21815
+ # @return [Fixnum]
21816
+ attr_accessor :seconds
21817
+
21818
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
21819
+ # time-zones).
21820
+ # Corresponds to the JSON property `timeZone`
21821
+ # @return [Google::Apis::DiscoveryengineV1::GoogleTypeTimeZone]
21822
+ attr_accessor :time_zone
21823
+
21824
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
21825
+ # example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
21826
+ # Corresponds to the JSON property `utcOffset`
21827
+ # @return [String]
21828
+ attr_accessor :utc_offset
21829
+
21830
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
21831
+ # without a year.
21832
+ # Corresponds to the JSON property `year`
21833
+ # @return [Fixnum]
21834
+ attr_accessor :year
21835
+
21836
+ def initialize(**args)
21837
+ update!(**args)
21838
+ end
21839
+
21840
+ # Update properties of this object
21841
+ def update!(**args)
21842
+ @day = args[:day] if args.key?(:day)
21843
+ @hours = args[:hours] if args.key?(:hours)
21844
+ @minutes = args[:minutes] if args.key?(:minutes)
21845
+ @month = args[:month] if args.key?(:month)
21846
+ @nanos = args[:nanos] if args.key?(:nanos)
21847
+ @seconds = args[:seconds] if args.key?(:seconds)
21848
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
21849
+ @utc_offset = args[:utc_offset] if args.key?(:utc_offset)
21850
+ @year = args[:year] if args.key?(:year)
21851
+ end
21852
+ end
21853
+
21854
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
21855
+ # time-zones).
21856
+ class GoogleTypeTimeZone
21857
+ include Google::Apis::Core::Hashable
21858
+
21859
+ # IANA Time Zone Database time zone. For example "America/New_York".
21860
+ # Corresponds to the JSON property `id`
21861
+ # @return [String]
21862
+ attr_accessor :id
21863
+
21864
+ # Optional. IANA Time Zone Database version number. For example "2019a".
21865
+ # Corresponds to the JSON property `version`
21866
+ # @return [String]
21867
+ attr_accessor :version
21868
+
21869
+ def initialize(**args)
21870
+ update!(**args)
21871
+ end
21872
+
21873
+ # Update properties of this object
21874
+ def update!(**args)
21875
+ @id = args[:id] if args.key?(:id)
21876
+ @version = args[:version] if args.key?(:version)
21877
+ end
21878
+ end
20432
21879
  end
20433
21880
  end
20434
21881
  end