google-apis-discoveryengine_v1 0.61.0 → 0.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caa0077084c3024edb346e90297cefb5deb87d5976a281345e909925fe8f452f
4
- data.tar.gz: ebe4b8af5d78420de928353e60e3b38a87a3d42cd62253ac3c5b2a128904d6ce
3
+ metadata.gz: ef48a739c95e9cce417e3295c3f5a383998222c343045613436fbb5f1e668fc3
4
+ data.tar.gz: b0410b06678aff41e9278acd571dfc91b05c7b3b366cb3e52d908c22b7f4deaf
5
5
  SHA512:
6
- metadata.gz: f69c9a2bf41763f952c9d4c83fdb9ffd27f453e2b880f33d56337a50e5a68c07abfe024e09c02ea64d3916b10715e54dc6a8f5b10a32287a27b3f12109df977a
7
- data.tar.gz: bebcb6b9102b5d4e5dbcb063b4afa1acbb596537d92ad9e55858e38f2d635e37f42209209a4b9977d41a1958f332045598573907f6474eef3e9bd315cf775b77
6
+ metadata.gz: 6d1450b6dd2e5033aea2182c4525f5f23a1f269d195cc773d0ec038f6771193b9807d2e24273e0ebb104da5681fd40dab54653a2ed61fbea2d4f51d46f100fe4
7
+ data.tar.gz: 267dd3c74d820966e2c4dd462db48250ec1349f15788353642fc866602a4ee86c4384a77a454dfec38ff3250930dbf843ce40e2fe7d556f00af160e40222ce94
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.63.0 (2025-12-28)
4
+
5
+ * Regenerated from discovery document revision 20251221
6
+
7
+ ### v0.62.0 (2025-12-21)
8
+
9
+ * Regenerated from discovery document revision 20251217
10
+
3
11
  ### v0.61.0 (2025-12-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20251209
@@ -11684,10 +11684,12 @@ module Google
11684
11684
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec]
11685
11685
  attr_accessor :relevance_score_spec
11686
11686
 
11687
- # The relevance threshold of the search results. Default to Google defined
11688
- # threshold, leveraging a balance of precision and recall to deliver both highly
11689
- # accurate results and comprehensive coverage of relevant information. This
11690
- # feature is not supported for healthcare search.
11687
+ # The global relevance threshold of the search results. Defaults to Google
11688
+ # defined threshold, leveraging a balance of precision and recall to deliver
11689
+ # both highly accurate results and comprehensive coverage of relevant
11690
+ # information. If more granular relevance filtering is required, use the `
11691
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
11692
+ # search.
11691
11693
  # Corresponds to the JSON property `relevanceThreshold`
11692
11694
  # @return [String]
11693
11695
  attr_accessor :relevance_threshold
@@ -23222,15 +23224,22 @@ module Google
23222
23224
  # @return [String]
23223
23225
  attr_accessor :region_code
23224
23226
 
23227
+ # Relevance filtering specification.
23228
+ # Corresponds to the JSON property `relevanceFilterSpec`
23229
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
23230
+ attr_accessor :relevance_filter_spec
23231
+
23225
23232
  # The specification for returning the document relevance score.
23226
23233
  # Corresponds to the JSON property `relevanceScoreSpec`
23227
23234
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
23228
23235
  attr_accessor :relevance_score_spec
23229
23236
 
23230
- # The relevance threshold of the search results. Default to Google defined
23231
- # threshold, leveraging a balance of precision and recall to deliver both highly
23232
- # accurate results and comprehensive coverage of relevant information. This
23233
- # feature is not supported for healthcare search.
23237
+ # The global relevance threshold of the search results. Defaults to Google
23238
+ # defined threshold, leveraging a balance of precision and recall to deliver
23239
+ # both highly accurate results and comprehensive coverage of relevant
23240
+ # information. If more granular relevance filtering is required, use the `
23241
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
23242
+ # search.
23234
23243
  # Corresponds to the JSON property `relevanceThreshold`
23235
23244
  # @return [String]
23236
23245
  attr_accessor :relevance_threshold
@@ -23366,6 +23375,7 @@ module Google
23366
23375
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
23367
23376
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
23368
23377
  @region_code = args[:region_code] if args.key?(:region_code)
23378
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
23369
23379
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
23370
23380
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
23371
23381
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -24319,6 +24329,56 @@ module Google
24319
24329
  end
24320
24330
  end
24321
24331
 
24332
+ # Relevance filtering specification.
24333
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
24334
+ include Google::Apis::Core::Hashable
24335
+
24336
+ # Specification for relevance filtering on a specific sub-search.
24337
+ # Corresponds to the JSON property `keywordSearchThreshold`
24338
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
24339
+ attr_accessor :keyword_search_threshold
24340
+
24341
+ # Specification for relevance filtering on a specific sub-search.
24342
+ # Corresponds to the JSON property `semanticSearchThreshold`
24343
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
24344
+ attr_accessor :semantic_search_threshold
24345
+
24346
+ def initialize(**args)
24347
+ update!(**args)
24348
+ end
24349
+
24350
+ # Update properties of this object
24351
+ def update!(**args)
24352
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
24353
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
24354
+ end
24355
+ end
24356
+
24357
+ # Specification for relevance filtering on a specific sub-search.
24358
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
24359
+ include Google::Apis::Core::Hashable
24360
+
24361
+ # Pre-defined relevance threshold for the sub-search.
24362
+ # Corresponds to the JSON property `relevanceThreshold`
24363
+ # @return [String]
24364
+ attr_accessor :relevance_threshold
24365
+
24366
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
24367
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
24368
+ # @return [Float]
24369
+ attr_accessor :semantic_relevance_threshold
24370
+
24371
+ def initialize(**args)
24372
+ update!(**args)
24373
+ end
24374
+
24375
+ # Update properties of this object
24376
+ def update!(**args)
24377
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
24378
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
24379
+ end
24380
+ end
24381
+
24322
24382
  # The specification for returning the document relevance score.
24323
24383
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
24324
24384
  include Google::Apis::Core::Hashable
@@ -29107,15 +29167,22 @@ module Google
29107
29167
  # @return [String]
29108
29168
  attr_accessor :region_code
29109
29169
 
29170
+ # Relevance filtering specification.
29171
+ # Corresponds to the JSON property `relevanceFilterSpec`
29172
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
29173
+ attr_accessor :relevance_filter_spec
29174
+
29110
29175
  # The specification for returning the document relevance score.
29111
29176
  # Corresponds to the JSON property `relevanceScoreSpec`
29112
29177
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
29113
29178
  attr_accessor :relevance_score_spec
29114
29179
 
29115
- # The relevance threshold of the search results. Default to Google defined
29116
- # threshold, leveraging a balance of precision and recall to deliver both highly
29117
- # accurate results and comprehensive coverage of relevant information. This
29118
- # feature is not supported for healthcare search.
29180
+ # The global relevance threshold of the search results. Defaults to Google
29181
+ # defined threshold, leveraging a balance of precision and recall to deliver
29182
+ # both highly accurate results and comprehensive coverage of relevant
29183
+ # information. If more granular relevance filtering is required, use the `
29184
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
29185
+ # search.
29119
29186
  # Corresponds to the JSON property `relevanceThreshold`
29120
29187
  # @return [String]
29121
29188
  attr_accessor :relevance_threshold
@@ -29241,6 +29308,7 @@ module Google
29241
29308
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
29242
29309
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
29243
29310
  @region_code = args[:region_code] if args.key?(:region_code)
29311
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
29244
29312
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
29245
29313
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
29246
29314
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -30193,6 +30261,56 @@ module Google
30193
30261
  end
30194
30262
  end
30195
30263
 
30264
+ # Relevance filtering specification.
30265
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
30266
+ include Google::Apis::Core::Hashable
30267
+
30268
+ # Specification for relevance filtering on a specific sub-search.
30269
+ # Corresponds to the JSON property `keywordSearchThreshold`
30270
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
30271
+ attr_accessor :keyword_search_threshold
30272
+
30273
+ # Specification for relevance filtering on a specific sub-search.
30274
+ # Corresponds to the JSON property `semanticSearchThreshold`
30275
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
30276
+ attr_accessor :semantic_search_threshold
30277
+
30278
+ def initialize(**args)
30279
+ update!(**args)
30280
+ end
30281
+
30282
+ # Update properties of this object
30283
+ def update!(**args)
30284
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
30285
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
30286
+ end
30287
+ end
30288
+
30289
+ # Specification for relevance filtering on a specific sub-search.
30290
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
30291
+ include Google::Apis::Core::Hashable
30292
+
30293
+ # Pre-defined relevance threshold for the sub-search.
30294
+ # Corresponds to the JSON property `relevanceThreshold`
30295
+ # @return [String]
30296
+ attr_accessor :relevance_threshold
30297
+
30298
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
30299
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
30300
+ # @return [Float]
30301
+ attr_accessor :semantic_relevance_threshold
30302
+
30303
+ def initialize(**args)
30304
+ update!(**args)
30305
+ end
30306
+
30307
+ # Update properties of this object
30308
+ def update!(**args)
30309
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
30310
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
30311
+ end
30312
+ end
30313
+
30196
30314
  # The specification for returning the document relevance score.
30197
30315
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
30198
30316
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251209"
25
+ REVISION = "20251221"
26
26
  end
27
27
  end
28
28
  end
@@ -3718,6 +3718,18 @@ module Google
3718
3718
  include Google::Apis::Core::JsonObjectSupport
3719
3719
  end
3720
3720
 
3721
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
3722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3723
+
3724
+ include Google::Apis::Core::JsonObjectSupport
3725
+ end
3726
+
3727
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
3728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3729
+
3730
+ include Google::Apis::Core::JsonObjectSupport
3731
+ end
3732
+
3721
3733
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
3722
3734
  class Representation < Google::Apis::Core::JsonRepresentation; end
3723
3735
 
@@ -4642,6 +4654,18 @@ module Google
4642
4654
  include Google::Apis::Core::JsonObjectSupport
4643
4655
  end
4644
4656
 
4657
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
4658
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4659
+
4660
+ include Google::Apis::Core::JsonObjectSupport
4661
+ end
4662
+
4663
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
4664
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4665
+
4666
+ include Google::Apis::Core::JsonObjectSupport
4667
+ end
4668
+
4645
4669
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
4646
4670
  class Representation < Google::Apis::Core::JsonRepresentation; end
4647
4671
 
@@ -11035,6 +11059,8 @@ module Google
11035
11059
  property :ranking_expression, as: 'rankingExpression'
11036
11060
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
11037
11061
  property :region_code, as: 'regionCode'
11062
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation
11063
+
11038
11064
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
11039
11065
 
11040
11066
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -11278,6 +11304,24 @@ module Google
11278
11304
  end
11279
11305
  end
11280
11306
 
11307
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
11308
+ # @private
11309
+ class Representation < Google::Apis::Core::JsonRepresentation
11310
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
11311
+
11312
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
11313
+
11314
+ end
11315
+ end
11316
+
11317
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
11318
+ # @private
11319
+ class Representation < Google::Apis::Core::JsonRepresentation
11320
+ property :relevance_threshold, as: 'relevanceThreshold'
11321
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
11322
+ end
11323
+ end
11324
+
11281
11325
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
11282
11326
  # @private
11283
11327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12584,6 +12628,8 @@ module Google
12584
12628
  property :ranking_expression, as: 'rankingExpression'
12585
12629
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
12586
12630
  property :region_code, as: 'regionCode'
12631
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation
12632
+
12587
12633
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
12588
12634
 
12589
12635
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -12826,6 +12872,24 @@ module Google
12826
12872
  end
12827
12873
  end
12828
12874
 
12875
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
12876
+ # @private
12877
+ class Representation < Google::Apis::Core::JsonRepresentation
12878
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
12879
+
12880
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
12881
+
12882
+ end
12883
+ end
12884
+
12885
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
12886
+ # @private
12887
+ class Representation < Google::Apis::Core::JsonRepresentation
12888
+ property :relevance_threshold, as: 'relevanceThreshold'
12889
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
12890
+ end
12891
+ end
12892
+
12829
12893
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
12830
12894
  # @private
12831
12895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -525,11 +525,12 @@ module Google
525
525
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector] google_cloud_discoveryengine_v1_data_connector_object
526
526
  # @param [String] update_mask
527
527
  # Indicates which fields in the provided DataConnector to update. Supported
528
- # field paths include: - refresh_interval - params - auto_run_disabled -
529
- # action_config - action_config.action_params - action_config.service_name -
530
- # destination_configs - blocking_reasons - sync_mode - incremental_sync_disabled
531
- # - incremental_refresh_interval Note: Support for these fields may vary
532
- # depending on the connector type. For example, not all connectors support `
528
+ # field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `
529
+ # action_config` - `action_config.action_params` - `action_config.service_name` -
530
+ # `destination_configs` - `blocking_reasons` - `sync_mode` - `
531
+ # incremental_sync_disabled` - `incremental_refresh_interval` - `
532
+ # data_protection_policy` Note: Support for these fields may vary depending on
533
+ # the connector type. For example, not all connectors support `
533
534
  # destination_configs`. If an unsupported or unknown field path is provided, the
534
535
  # request will return an INVALID_ARGUMENT error.
535
536
  # @param [String] fields
@@ -2456,6 +2457,48 @@ module Google
2456
2457
  execute_or_queue_command(command, &block)
2457
2458
  end
2458
2459
 
2460
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
2461
+ # default serving config. Additional ServingConfigs can be created and managed
2462
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
2463
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
2464
+ # @param [String] parent
2465
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
2466
+ # location`/collections/`collection`/engines/`engine``
2467
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] google_cloud_discoveryengine_v1_serving_config_object
2468
+ # @param [String] serving_config_id
2469
+ # Required. The ID to use for the ServingConfig, which will become the final
2470
+ # component of the ServingConfig's resource name. This value should be 4-63
2471
+ # characters, and valid characters are /a-zA-Z0-9+/.
2472
+ # @param [String] fields
2473
+ # Selector specifying which fields to include in a partial response.
2474
+ # @param [String] quota_user
2475
+ # Available to use for quota purposes for server-side applications. Can be any
2476
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2477
+ # @param [Google::Apis::RequestOptions] options
2478
+ # Request-specific options
2479
+ #
2480
+ # @yield [result, err] Result & error if block supplied
2481
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
2482
+ # @yieldparam err [StandardError] error object if request failed
2483
+ #
2484
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
2485
+ #
2486
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2487
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2488
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2489
+ def create_project_location_collection_data_store_serving_config(parent, google_cloud_discoveryengine_v1_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2490
+ command = make_simple_command(:post, 'v1/{+parent}/servingConfigs', options)
2491
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
2492
+ command.request_object = google_cloud_discoveryengine_v1_serving_config_object
2493
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
2494
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
2495
+ command.params['parent'] = parent unless parent.nil?
2496
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
2497
+ command.query['fields'] = fields unless fields.nil?
2498
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2499
+ execute_or_queue_command(command, &block)
2500
+ end
2501
+
2459
2502
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
2460
2503
  # not exist.
2461
2504
  # @param [String] name
@@ -5038,6 +5081,48 @@ module Google
5038
5081
  execute_or_queue_command(command, &block)
5039
5082
  end
5040
5083
 
5084
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
5085
+ # default serving config. Additional ServingConfigs can be created and managed
5086
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
5087
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
5088
+ # @param [String] parent
5089
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
5090
+ # location`/collections/`collection`/engines/`engine``
5091
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] google_cloud_discoveryengine_v1_serving_config_object
5092
+ # @param [String] serving_config_id
5093
+ # Required. The ID to use for the ServingConfig, which will become the final
5094
+ # component of the ServingConfig's resource name. This value should be 4-63
5095
+ # characters, and valid characters are /a-zA-Z0-9+/.
5096
+ # @param [String] fields
5097
+ # Selector specifying which fields to include in a partial response.
5098
+ # @param [String] quota_user
5099
+ # Available to use for quota purposes for server-side applications. Can be any
5100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5101
+ # @param [Google::Apis::RequestOptions] options
5102
+ # Request-specific options
5103
+ #
5104
+ # @yield [result, err] Result & error if block supplied
5105
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
5106
+ # @yieldparam err [StandardError] error object if request failed
5107
+ #
5108
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
5109
+ #
5110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5113
+ def create_project_location_collection_engine_serving_config(parent, google_cloud_discoveryengine_v1_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5114
+ command = make_simple_command(:post, 'v1/{+parent}/servingConfigs', options)
5115
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
5116
+ command.request_object = google_cloud_discoveryengine_v1_serving_config_object
5117
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
5118
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
5119
+ command.params['parent'] = parent unless parent.nil?
5120
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
5121
+ command.query['fields'] = fields unless fields.nil?
5122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5123
+ execute_or_queue_command(command, &block)
5124
+ end
5125
+
5041
5126
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
5042
5127
  # not exist.
5043
5128
  # @param [String] name
@@ -7407,6 +7492,48 @@ module Google
7407
7492
  execute_or_queue_command(command, &block)
7408
7493
  end
7409
7494
 
7495
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
7496
+ # default serving config. Additional ServingConfigs can be created and managed
7497
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
7498
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
7499
+ # @param [String] parent
7500
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
7501
+ # location`/collections/`collection`/engines/`engine``
7502
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] google_cloud_discoveryengine_v1_serving_config_object
7503
+ # @param [String] serving_config_id
7504
+ # Required. The ID to use for the ServingConfig, which will become the final
7505
+ # component of the ServingConfig's resource name. This value should be 4-63
7506
+ # characters, and valid characters are /a-zA-Z0-9+/.
7507
+ # @param [String] fields
7508
+ # Selector specifying which fields to include in a partial response.
7509
+ # @param [String] quota_user
7510
+ # Available to use for quota purposes for server-side applications. Can be any
7511
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7512
+ # @param [Google::Apis::RequestOptions] options
7513
+ # Request-specific options
7514
+ #
7515
+ # @yield [result, err] Result & error if block supplied
7516
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
7517
+ # @yieldparam err [StandardError] error object if request failed
7518
+ #
7519
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
7520
+ #
7521
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7522
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7523
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7524
+ def create_project_location_data_store_serving_config(parent, google_cloud_discoveryengine_v1_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
7525
+ command = make_simple_command(:post, 'v1/{+parent}/servingConfigs', options)
7526
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
7527
+ command.request_object = google_cloud_discoveryengine_v1_serving_config_object
7528
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
7529
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
7530
+ command.params['parent'] = parent unless parent.nil?
7531
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
7532
+ command.query['fields'] = fields unless fields.nil?
7533
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7534
+ execute_or_queue_command(command, &block)
7535
+ end
7536
+
7410
7537
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7411
7538
  # not exist.
7412
7539
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.63.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: