google-apis-discoveryengine_v1beta 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +214 -4
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +73 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +34 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c67ef8c38e36217f1f6c5cf5896e129e9002017d4947c9fe68006988e9d206bb
|
4
|
+
data.tar.gz: f3746027f28ccf4cc5a5da4ae1ac252b25f31ba47fdeefbc3fa868d66b73c5df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1e497d8f542f45aa5e2a6fc359655fa0be49b16a740ff08f65df927158cbf7bc17c5ae02615413430bbf5e3c50540546d4b11d49cce8625cfe8cd56bbd478a
|
7
|
+
data.tar.gz: 2a6dbe9b01d4303673dbbdc87f454699988c5c324e06c9bb708b93d27b5ff8de7801304f42582c3819133dde4ad60a274d89683d2136fcefdb8da5d18a7fd45c
|
data/CHANGELOG.md
CHANGED
@@ -1507,6 +1507,11 @@ module Google
|
|
1507
1507
|
# @return [String]
|
1508
1508
|
attr_accessor :provided_uri_pattern
|
1509
1509
|
|
1510
|
+
# Output only. Root domain of the provided_uri_pattern.
|
1511
|
+
# Corresponds to the JSON property `rootDomainUri`
|
1512
|
+
# @return [String]
|
1513
|
+
attr_accessor :root_domain_uri
|
1514
|
+
|
1510
1515
|
# Verification information for target sites in advanced site search.
|
1511
1516
|
# Corresponds to the JSON property `siteVerificationInfo`
|
1512
1517
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SiteVerificationInfo]
|
@@ -1535,6 +1540,7 @@ module Google
|
|
1535
1540
|
@indexing_status = args[:indexing_status] if args.key?(:indexing_status)
|
1536
1541
|
@name = args[:name] if args.key?(:name)
|
1537
1542
|
@provided_uri_pattern = args[:provided_uri_pattern] if args.key?(:provided_uri_pattern)
|
1543
|
+
@root_domain_uri = args[:root_domain_uri] if args.key?(:root_domain_uri)
|
1538
1544
|
@site_verification_info = args[:site_verification_info] if args.key?(:site_verification_info)
|
1539
1545
|
@type = args[:type] if args.key?(:type)
|
1540
1546
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -2355,6 +2361,58 @@ module Google
|
|
2355
2361
|
end
|
2356
2362
|
end
|
2357
2363
|
|
2364
|
+
# Metadata that describes a custom tuned model.
|
2365
|
+
class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
|
2366
|
+
include Google::Apis::Core::Hashable
|
2367
|
+
|
2368
|
+
# Timestamp the Model was created at.
|
2369
|
+
# Corresponds to the JSON property `createTime`
|
2370
|
+
# @return [String]
|
2371
|
+
attr_accessor :create_time
|
2372
|
+
|
2373
|
+
# The display name of the model.
|
2374
|
+
# Corresponds to the JSON property `displayName`
|
2375
|
+
# @return [String]
|
2376
|
+
attr_accessor :display_name
|
2377
|
+
|
2378
|
+
# The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
|
2379
|
+
# Corresponds to the JSON property `modelState`
|
2380
|
+
# @return [String]
|
2381
|
+
attr_accessor :model_state
|
2382
|
+
|
2383
|
+
#
|
2384
|
+
# Corresponds to the JSON property `modelVersion`
|
2385
|
+
# @return [Fixnum]
|
2386
|
+
attr_accessor :model_version
|
2387
|
+
|
2388
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
2389
|
+
# project_number`/locations/`location`/collections/`collection`/dataStores/`
|
2390
|
+
# data_store`/customTuningModels/`custom_tuning_model`` model must be an alpha-
|
2391
|
+
# numerical string with limit of 40 characters.
|
2392
|
+
# Corresponds to the JSON property `name`
|
2393
|
+
# @return [String]
|
2394
|
+
attr_accessor :name
|
2395
|
+
|
2396
|
+
# Timestamp the model training was initiated.
|
2397
|
+
# Corresponds to the JSON property `trainingStartTime`
|
2398
|
+
# @return [String]
|
2399
|
+
attr_accessor :training_start_time
|
2400
|
+
|
2401
|
+
def initialize(**args)
|
2402
|
+
update!(**args)
|
2403
|
+
end
|
2404
|
+
|
2405
|
+
# Update properties of this object
|
2406
|
+
def update!(**args)
|
2407
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2408
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2409
|
+
@model_state = args[:model_state] if args.key?(:model_state)
|
2410
|
+
@model_version = args[:model_version] if args.key?(:model_version)
|
2411
|
+
@name = args[:name] if args.key?(:name)
|
2412
|
+
@training_start_time = args[:training_start_time] if args.key?(:training_start_time)
|
2413
|
+
end
|
2414
|
+
end
|
2415
|
+
|
2358
2416
|
# DataStore captures global settings and configs at the DataStore level.
|
2359
2417
|
class GoogleCloudDiscoveryengineV1alphaDataStore
|
2360
2418
|
include Google::Apis::Core::Hashable
|
@@ -3662,6 +3720,25 @@ module Google
|
|
3662
3720
|
end
|
3663
3721
|
end
|
3664
3722
|
|
3723
|
+
# Response message for SearchTuningService.ListCustomModels method.
|
3724
|
+
class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
|
3725
|
+
include Google::Apis::Core::Hashable
|
3726
|
+
|
3727
|
+
# List of custom tuning models.
|
3728
|
+
# Corresponds to the JSON property `models`
|
3729
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomTuningModel>]
|
3730
|
+
attr_accessor :models
|
3731
|
+
|
3732
|
+
def initialize(**args)
|
3733
|
+
update!(**args)
|
3734
|
+
end
|
3735
|
+
|
3736
|
+
# Update properties of this object
|
3737
|
+
def update!(**args)
|
3738
|
+
@models = args[:models] if args.key?(:models)
|
3739
|
+
end
|
3740
|
+
end
|
3741
|
+
|
3665
3742
|
# Metadata and configurations for a Google Cloud project in the service.
|
3666
3743
|
class GoogleCloudDiscoveryengineV1alphaProject
|
3667
3744
|
include Google::Apis::Core::Hashable
|
@@ -4296,6 +4373,11 @@ module Google
|
|
4296
4373
|
# @return [String]
|
4297
4374
|
attr_accessor :provided_uri_pattern
|
4298
4375
|
|
4376
|
+
# Output only. Root domain of the provided_uri_pattern.
|
4377
|
+
# Corresponds to the JSON property `rootDomainUri`
|
4378
|
+
# @return [String]
|
4379
|
+
attr_accessor :root_domain_uri
|
4380
|
+
|
4299
4381
|
# Verification information for target sites in advanced site search.
|
4300
4382
|
# Corresponds to the JSON property `siteVerificationInfo`
|
4301
4383
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo]
|
@@ -4324,6 +4406,7 @@ module Google
|
|
4324
4406
|
@indexing_status = args[:indexing_status] if args.key?(:indexing_status)
|
4325
4407
|
@name = args[:name] if args.key?(:name)
|
4326
4408
|
@provided_uri_pattern = args[:provided_uri_pattern] if args.key?(:provided_uri_pattern)
|
4409
|
+
@root_domain_uri = args[:root_domain_uri] if args.key?(:root_domain_uri)
|
4327
4410
|
@site_verification_info = args[:site_verification_info] if args.key?(:site_verification_info)
|
4328
4411
|
@type = args[:type] if args.key?(:type)
|
4329
4412
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -4416,6 +4499,11 @@ module Google
|
|
4416
4499
|
# @return [Hash<String,Float>]
|
4417
4500
|
attr_accessor :metrics
|
4418
4501
|
|
4502
|
+
# Fully qualified name of the CustomTuningModel.
|
4503
|
+
# Corresponds to the JSON property `modelName`
|
4504
|
+
# @return [String]
|
4505
|
+
attr_accessor :model_name
|
4506
|
+
|
4419
4507
|
# The trained model status. Possible values are: * **bad-data**: The training
|
4420
4508
|
# data quality is bad. * **no-improvement**: Tuning didn't improve performance.
|
4421
4509
|
# Won't deploy. * **in-progress**: Model training job creation is in progress. *
|
@@ -4435,6 +4523,7 @@ module Google
|
|
4435
4523
|
@error_config = args[:error_config] if args.key?(:error_config)
|
4436
4524
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
4437
4525
|
@metrics = args[:metrics] if args.key?(:metrics)
|
4526
|
+
@model_name = args[:model_name] if args.key?(:model_name)
|
4438
4527
|
@model_status = args[:model_status] if args.key?(:model_status)
|
4439
4528
|
end
|
4440
4529
|
end
|
@@ -5977,7 +6066,7 @@ module Google
|
|
5977
6066
|
class GoogleCloudDiscoveryengineV1betaCheckGroundingRequest
|
5978
6067
|
include Google::Apis::Core::Hashable
|
5979
6068
|
|
5980
|
-
# Answer candidate to check.
|
6069
|
+
# Answer candidate to check. Can have a maximum length of 1024 characters.
|
5981
6070
|
# Corresponds to the JSON property `answerCandidate`
|
5982
6071
|
# @return [String]
|
5983
6072
|
attr_accessor :answer_candidate
|
@@ -5992,6 +6081,21 @@ module Google
|
|
5992
6081
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCheckGroundingSpec]
|
5993
6082
|
attr_accessor :grounding_spec
|
5994
6083
|
|
6084
|
+
# The user labels applied to a resource must meet the following requirements: *
|
6085
|
+
# Each resource can have multiple labels, up to a maximum of 64. * Each label
|
6086
|
+
# must be a key-value pair. * Keys have a minimum length of 1 character and a
|
6087
|
+
# maximum length of 63 characters and cannot be empty. Values can be empty and
|
6088
|
+
# have a maximum length of 63 characters. * Keys and values can contain only
|
6089
|
+
# lowercase letters, numeric characters, underscores, and dashes. All characters
|
6090
|
+
# must use UTF-8 encoding, and international characters are allowed. * The key
|
6091
|
+
# portion of a label must be unique. However, you can use the same key with
|
6092
|
+
# multiple resources. * Keys must start with a lowercase letter or international
|
6093
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
6094
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
6095
|
+
# Corresponds to the JSON property `userLabels`
|
6096
|
+
# @return [Hash<String,String>]
|
6097
|
+
attr_accessor :user_labels
|
6098
|
+
|
5995
6099
|
def initialize(**args)
|
5996
6100
|
update!(**args)
|
5997
6101
|
end
|
@@ -6001,6 +6105,7 @@ module Google
|
|
6001
6105
|
@answer_candidate = args[:answer_candidate] if args.key?(:answer_candidate)
|
6002
6106
|
@facts = args[:facts] if args.key?(:facts)
|
6003
6107
|
@grounding_spec = args[:grounding_spec] if args.key?(:grounding_spec)
|
6108
|
+
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
6004
6109
|
end
|
6005
6110
|
end
|
6006
6111
|
|
@@ -6061,6 +6166,15 @@ module Google
|
|
6061
6166
|
# @return [Fixnum]
|
6062
6167
|
attr_accessor :end_pos
|
6063
6168
|
|
6169
|
+
# Indicates that this claim required grounding check. When the system decided
|
6170
|
+
# this claim doesn't require attribution/grounding check, this field will be set
|
6171
|
+
# to false. In that case, no grounding check was done for the claim and
|
6172
|
+
# therefore citation_indices, and anti_citation_indices should not be returned.
|
6173
|
+
# Corresponds to the JSON property `groundingCheckRequired`
|
6174
|
+
# @return [Boolean]
|
6175
|
+
attr_accessor :grounding_check_required
|
6176
|
+
alias_method :grounding_check_required?, :grounding_check_required
|
6177
|
+
|
6064
6178
|
# Position indicating the start of the claim in the answer candidate, measured
|
6065
6179
|
# in bytes.
|
6066
6180
|
# Corresponds to the JSON property `startPos`
|
@@ -6076,6 +6190,7 @@ module Google
|
|
6076
6190
|
@citation_indices = args[:citation_indices] if args.key?(:citation_indices)
|
6077
6191
|
@claim_text = args[:claim_text] if args.key?(:claim_text)
|
6078
6192
|
@end_pos = args[:end_pos] if args.key?(:end_pos)
|
6193
|
+
@grounding_check_required = args[:grounding_check_required] if args.key?(:grounding_check_required)
|
6079
6194
|
@start_pos = args[:start_pos] if args.key?(:start_pos)
|
6080
6195
|
end
|
6081
6196
|
end
|
@@ -6646,6 +6761,58 @@ module Google
|
|
6646
6761
|
end
|
6647
6762
|
end
|
6648
6763
|
|
6764
|
+
# Metadata that describes a custom tuned model.
|
6765
|
+
class GoogleCloudDiscoveryengineV1betaCustomTuningModel
|
6766
|
+
include Google::Apis::Core::Hashable
|
6767
|
+
|
6768
|
+
# Timestamp the Model was created at.
|
6769
|
+
# Corresponds to the JSON property `createTime`
|
6770
|
+
# @return [String]
|
6771
|
+
attr_accessor :create_time
|
6772
|
+
|
6773
|
+
# The display name of the model.
|
6774
|
+
# Corresponds to the JSON property `displayName`
|
6775
|
+
# @return [String]
|
6776
|
+
attr_accessor :display_name
|
6777
|
+
|
6778
|
+
# The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
|
6779
|
+
# Corresponds to the JSON property `modelState`
|
6780
|
+
# @return [String]
|
6781
|
+
attr_accessor :model_state
|
6782
|
+
|
6783
|
+
#
|
6784
|
+
# Corresponds to the JSON property `modelVersion`
|
6785
|
+
# @return [Fixnum]
|
6786
|
+
attr_accessor :model_version
|
6787
|
+
|
6788
|
+
# Required. The fully qualified resource name of the model. Format: `projects/`
|
6789
|
+
# project_number`/locations/`location`/collections/`collection`/dataStores/`
|
6790
|
+
# data_store`/customTuningModels/`custom_tuning_model`` model must be an alpha-
|
6791
|
+
# numerical string with limit of 40 characters.
|
6792
|
+
# Corresponds to the JSON property `name`
|
6793
|
+
# @return [String]
|
6794
|
+
attr_accessor :name
|
6795
|
+
|
6796
|
+
# Timestamp the model training was initiated.
|
6797
|
+
# Corresponds to the JSON property `trainingStartTime`
|
6798
|
+
# @return [String]
|
6799
|
+
attr_accessor :training_start_time
|
6800
|
+
|
6801
|
+
def initialize(**args)
|
6802
|
+
update!(**args)
|
6803
|
+
end
|
6804
|
+
|
6805
|
+
# Update properties of this object
|
6806
|
+
def update!(**args)
|
6807
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6808
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6809
|
+
@model_state = args[:model_state] if args.key?(:model_state)
|
6810
|
+
@model_version = args[:model_version] if args.key?(:model_version)
|
6811
|
+
@name = args[:name] if args.key?(:name)
|
6812
|
+
@training_start_time = args[:training_start_time] if args.key?(:training_start_time)
|
6813
|
+
end
|
6814
|
+
end
|
6815
|
+
|
6649
6816
|
# DataStore captures global settings and configs at the DataStore level.
|
6650
6817
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
6651
6818
|
include Google::Apis::Core::Hashable
|
@@ -7508,6 +7675,11 @@ module Google
|
|
7508
7675
|
# @return [String]
|
7509
7676
|
attr_accessor :chunk_text
|
7510
7677
|
|
7678
|
+
# The index of this chunk. Currently, only used for the streaming mode.
|
7679
|
+
# Corresponds to the JSON property `index`
|
7680
|
+
# @return [Fixnum]
|
7681
|
+
attr_accessor :index
|
7682
|
+
|
7511
7683
|
# Source from which this fact chunk was retrieved. If it was retrieved from the
|
7512
7684
|
# GroundingFacts provided in the request then this field will contain the index
|
7513
7685
|
# of the specific fact from which this chunk was retrieved.
|
@@ -7527,6 +7699,7 @@ module Google
|
|
7527
7699
|
# Update properties of this object
|
7528
7700
|
def update!(**args)
|
7529
7701
|
@chunk_text = args[:chunk_text] if args.key?(:chunk_text)
|
7702
|
+
@index = args[:index] if args.key?(:index)
|
7530
7703
|
@source = args[:source] if args.key?(:source)
|
7531
7704
|
@source_metadata = args[:source_metadata] if args.key?(:source_metadata)
|
7532
7705
|
end
|
@@ -8235,6 +8408,25 @@ module Google
|
|
8235
8408
|
end
|
8236
8409
|
end
|
8237
8410
|
|
8411
|
+
# Response message for SearchTuningService.ListCustomModels method.
|
8412
|
+
class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
|
8413
|
+
include Google::Apis::Core::Hashable
|
8414
|
+
|
8415
|
+
# List of custom tuning models.
|
8416
|
+
# Corresponds to the JSON property `models`
|
8417
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCustomTuningModel>]
|
8418
|
+
attr_accessor :models
|
8419
|
+
|
8420
|
+
def initialize(**args)
|
8421
|
+
update!(**args)
|
8422
|
+
end
|
8423
|
+
|
8424
|
+
# Update properties of this object
|
8425
|
+
def update!(**args)
|
8426
|
+
@models = args[:models] if args.key?(:models)
|
8427
|
+
end
|
8428
|
+
end
|
8429
|
+
|
8238
8430
|
# Response message for DataStoreService.ListDataStores method.
|
8239
8431
|
class GoogleCloudDiscoveryengineV1betaListDataStoresResponse
|
8240
8432
|
include Google::Apis::Core::Hashable
|
@@ -9290,9 +9482,9 @@ module Google
|
|
9290
9482
|
|
9291
9483
|
# The order in which documents are returned. Documents can be ordered by a field
|
9292
9484
|
# in an Document object. Leave it unset if ordered by relevance. `order_by`
|
9293
|
-
# expression is case-sensitive. For more information on ordering
|
9294
|
-
# https://cloud.google.com/retail/docs/filter-and-order#
|
9295
|
-
# unrecognizable, an `INVALID_ARGUMENT` is returned.
|
9485
|
+
# expression is case-sensitive. For more information on ordering for retail
|
9486
|
+
# search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#
|
9487
|
+
# order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
9296
9488
|
# Corresponds to the JSON property `orderBy`
|
9297
9489
|
# @return [String]
|
9298
9490
|
attr_accessor :order_by
|
@@ -11148,6 +11340,11 @@ module Google
|
|
11148
11340
|
# @return [String]
|
11149
11341
|
attr_accessor :provided_uri_pattern
|
11150
11342
|
|
11343
|
+
# Output only. Root domain of the provided_uri_pattern.
|
11344
|
+
# Corresponds to the JSON property `rootDomainUri`
|
11345
|
+
# @return [String]
|
11346
|
+
attr_accessor :root_domain_uri
|
11347
|
+
|
11151
11348
|
# Verification information for target sites in advanced site search.
|
11152
11349
|
# Corresponds to the JSON property `siteVerificationInfo`
|
11153
11350
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSiteVerificationInfo]
|
@@ -11176,6 +11373,7 @@ module Google
|
|
11176
11373
|
@indexing_status = args[:indexing_status] if args.key?(:indexing_status)
|
11177
11374
|
@name = args[:name] if args.key?(:name)
|
11178
11375
|
@provided_uri_pattern = args[:provided_uri_pattern] if args.key?(:provided_uri_pattern)
|
11376
|
+
@root_domain_uri = args[:root_domain_uri] if args.key?(:root_domain_uri)
|
11179
11377
|
@site_verification_info = args[:site_verification_info] if args.key?(:site_verification_info)
|
11180
11378
|
@type = args[:type] if args.key?(:type)
|
11181
11379
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -11287,6 +11485,11 @@ module Google
|
|
11287
11485
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput]
|
11288
11486
|
attr_accessor :gcs_training_input
|
11289
11487
|
|
11488
|
+
# If not provided, a UUID will be generated.
|
11489
|
+
# Corresponds to the JSON property `modelId`
|
11490
|
+
# @return [String]
|
11491
|
+
attr_accessor :model_id
|
11492
|
+
|
11290
11493
|
# Model to be trained. Supported values are: * **search-tuning**: Fine tuning
|
11291
11494
|
# the search system based on data provided.
|
11292
11495
|
# Corresponds to the JSON property `modelType`
|
@@ -11301,6 +11504,7 @@ module Google
|
|
11301
11504
|
def update!(**args)
|
11302
11505
|
@error_config = args[:error_config] if args.key?(:error_config)
|
11303
11506
|
@gcs_training_input = args[:gcs_training_input] if args.key?(:gcs_training_input)
|
11507
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
11304
11508
|
@model_type = args[:model_type] if args.key?(:model_type)
|
11305
11509
|
end
|
11306
11510
|
end
|
@@ -11374,6 +11578,11 @@ module Google
|
|
11374
11578
|
# @return [Hash<String,Float>]
|
11375
11579
|
attr_accessor :metrics
|
11376
11580
|
|
11581
|
+
# Fully qualified name of the CustomTuningModel.
|
11582
|
+
# Corresponds to the JSON property `modelName`
|
11583
|
+
# @return [String]
|
11584
|
+
attr_accessor :model_name
|
11585
|
+
|
11377
11586
|
# The trained model status. Possible values are: * **bad-data**: The training
|
11378
11587
|
# data quality is bad. * **no-improvement**: Tuning didn't improve performance.
|
11379
11588
|
# Won't deploy. * **in-progress**: Model training job creation is in progress. *
|
@@ -11393,6 +11602,7 @@ module Google
|
|
11393
11602
|
@error_config = args[:error_config] if args.key?(:error_config)
|
11394
11603
|
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
11395
11604
|
@metrics = args[:metrics] if args.key?(:metrics)
|
11605
|
+
@model_name = args[:model_name] if args.key?(:model_name)
|
11396
11606
|
@model_status = args[:model_status] if args.key?(:model_status)
|
11397
11607
|
end
|
11398
11608
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240502"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -466,6 +466,12 @@ module Google
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
467
467
|
end
|
468
468
|
|
469
|
+
class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
469
475
|
class GoogleCloudDiscoveryengineV1alphaDataStore
|
470
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
477
|
|
@@ -694,6 +700,12 @@ module Google
|
|
694
700
|
include Google::Apis::Core::JsonObjectSupport
|
695
701
|
end
|
696
702
|
|
703
|
+
class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
697
709
|
class GoogleCloudDiscoveryengineV1alphaProject
|
698
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
711
|
|
@@ -1240,6 +1252,12 @@ module Google
|
|
1240
1252
|
include Google::Apis::Core::JsonObjectSupport
|
1241
1253
|
end
|
1242
1254
|
|
1255
|
+
class GoogleCloudDiscoveryengineV1betaCustomTuningModel
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
|
+
|
1258
|
+
include Google::Apis::Core::JsonObjectSupport
|
1259
|
+
end
|
1260
|
+
|
1243
1261
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
1244
1262
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
1263
|
|
@@ -1522,6 +1540,12 @@ module Google
|
|
1522
1540
|
include Google::Apis::Core::JsonObjectSupport
|
1523
1541
|
end
|
1524
1542
|
|
1543
|
+
class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
|
1544
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1545
|
+
|
1546
|
+
include Google::Apis::Core::JsonObjectSupport
|
1547
|
+
end
|
1548
|
+
|
1525
1549
|
class GoogleCloudDiscoveryengineV1betaListDataStoresResponse
|
1526
1550
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1527
1551
|
|
@@ -2513,6 +2537,7 @@ module Google
|
|
2513
2537
|
property :indexing_status, as: 'indexingStatus'
|
2514
2538
|
property :name, as: 'name'
|
2515
2539
|
property :provided_uri_pattern, as: 'providedUriPattern'
|
2540
|
+
property :root_domain_uri, as: 'rootDomainUri'
|
2516
2541
|
property :site_verification_info, as: 'siteVerificationInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SiteVerificationInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SiteVerificationInfo::Representation
|
2517
2542
|
|
2518
2543
|
property :type, as: 'type'
|
@@ -2778,6 +2803,18 @@ module Google
|
|
2778
2803
|
end
|
2779
2804
|
end
|
2780
2805
|
|
2806
|
+
class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
|
2807
|
+
# @private
|
2808
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2809
|
+
property :create_time, as: 'createTime'
|
2810
|
+
property :display_name, as: 'displayName'
|
2811
|
+
property :model_state, as: 'modelState'
|
2812
|
+
property :model_version, :numeric_string => true, as: 'modelVersion'
|
2813
|
+
property :name, as: 'name'
|
2814
|
+
property :training_start_time, as: 'trainingStartTime'
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
|
2781
2818
|
class GoogleCloudDiscoveryengineV1alphaDataStore
|
2782
2819
|
# @private
|
2783
2820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3137,6 +3174,14 @@ module Google
|
|
3137
3174
|
end
|
3138
3175
|
end
|
3139
3176
|
|
3177
|
+
class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
|
3178
|
+
# @private
|
3179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3180
|
+
collection :models, as: 'models', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomTuningModel, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomTuningModel::Representation
|
3181
|
+
|
3182
|
+
end
|
3183
|
+
end
|
3184
|
+
|
3140
3185
|
class GoogleCloudDiscoveryengineV1alphaProject
|
3141
3186
|
# @private
|
3142
3187
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3316,6 +3361,7 @@ module Google
|
|
3316
3361
|
property :indexing_status, as: 'indexingStatus'
|
3317
3362
|
property :name, as: 'name'
|
3318
3363
|
property :provided_uri_pattern, as: 'providedUriPattern'
|
3364
|
+
property :root_domain_uri, as: 'rootDomainUri'
|
3319
3365
|
property :site_verification_info, as: 'siteVerificationInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo::Representation
|
3320
3366
|
|
3321
3367
|
property :type, as: 'type'
|
@@ -3354,6 +3400,7 @@ module Google
|
|
3354
3400
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
3355
3401
|
|
3356
3402
|
hash :metrics, as: 'metrics'
|
3403
|
+
property :model_name, as: 'modelName'
|
3357
3404
|
property :model_status, as: 'modelStatus'
|
3358
3405
|
end
|
3359
3406
|
end
|
@@ -3834,6 +3881,7 @@ module Google
|
|
3834
3881
|
|
3835
3882
|
property :grounding_spec, as: 'groundingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCheckGroundingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCheckGroundingSpec::Representation
|
3836
3883
|
|
3884
|
+
hash :user_labels, as: 'userLabels'
|
3837
3885
|
end
|
3838
3886
|
end
|
3839
3887
|
|
@@ -3854,6 +3902,7 @@ module Google
|
|
3854
3902
|
collection :citation_indices, as: 'citationIndices'
|
3855
3903
|
property :claim_text, as: 'claimText'
|
3856
3904
|
property :end_pos, as: 'endPos'
|
3905
|
+
property :grounding_check_required, as: 'groundingCheckRequired'
|
3857
3906
|
property :start_pos, as: 'startPos'
|
3858
3907
|
end
|
3859
3908
|
end
|
@@ -4014,6 +4063,18 @@ module Google
|
|
4014
4063
|
end
|
4015
4064
|
end
|
4016
4065
|
|
4066
|
+
class GoogleCloudDiscoveryengineV1betaCustomTuningModel
|
4067
|
+
# @private
|
4068
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4069
|
+
property :create_time, as: 'createTime'
|
4070
|
+
property :display_name, as: 'displayName'
|
4071
|
+
property :model_state, as: 'modelState'
|
4072
|
+
property :model_version, :numeric_string => true, as: 'modelVersion'
|
4073
|
+
property :name, as: 'name'
|
4074
|
+
property :training_start_time, as: 'trainingStartTime'
|
4075
|
+
end
|
4076
|
+
end
|
4077
|
+
|
4017
4078
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
4018
4079
|
# @private
|
4019
4080
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4254,6 +4315,7 @@ module Google
|
|
4254
4315
|
# @private
|
4255
4316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4256
4317
|
property :chunk_text, as: 'chunkText'
|
4318
|
+
property :index, as: 'index'
|
4257
4319
|
property :source, as: 'source'
|
4258
4320
|
hash :source_metadata, as: 'sourceMetadata'
|
4259
4321
|
end
|
@@ -4466,6 +4528,14 @@ module Google
|
|
4466
4528
|
end
|
4467
4529
|
end
|
4468
4530
|
|
4531
|
+
class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
|
4532
|
+
# @private
|
4533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4534
|
+
collection :models, as: 'models', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCustomTuningModel, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCustomTuningModel::Representation
|
4535
|
+
|
4536
|
+
end
|
4537
|
+
end
|
4538
|
+
|
4469
4539
|
class GoogleCloudDiscoveryengineV1betaListDataStoresResponse
|
4470
4540
|
# @private
|
4471
4541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5219,6 +5289,7 @@ module Google
|
|
5219
5289
|
property :indexing_status, as: 'indexingStatus'
|
5220
5290
|
property :name, as: 'name'
|
5221
5291
|
property :provided_uri_pattern, as: 'providedUriPattern'
|
5292
|
+
property :root_domain_uri, as: 'rootDomainUri'
|
5222
5293
|
property :site_verification_info, as: 'siteVerificationInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSiteVerificationInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSiteVerificationInfo::Representation
|
5223
5294
|
|
5224
5295
|
property :type, as: 'type'
|
@@ -5265,6 +5336,7 @@ module Google
|
|
5265
5336
|
|
5266
5337
|
property :gcs_training_input, as: 'gcsTrainingInput', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput::Representation
|
5267
5338
|
|
5339
|
+
property :model_id, as: 'modelId'
|
5268
5340
|
property :model_type, as: 'modelType'
|
5269
5341
|
end
|
5270
5342
|
end
|
@@ -5287,6 +5359,7 @@ module Google
|
|
5287
5359
|
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
5288
5360
|
|
5289
5361
|
hash :metrics, as: 'metrics'
|
5362
|
+
property :model_name, as: 'modelName'
|
5290
5363
|
property :model_status, as: 'modelStatus'
|
5291
5364
|
end
|
5292
5365
|
end
|
@@ -342,7 +342,7 @@ module Google
|
|
342
342
|
# permission to list DataStores under this location, regardless of whether or
|
343
343
|
# not this data store exists, a PERMISSION_DENIED error is returned.
|
344
344
|
# @param [String] filter
|
345
|
-
# Filter by solution type. For example: filter = 'solution_type:
|
345
|
+
# Filter by solution type . For example: filter = 'solution_type:
|
346
346
|
# SOLUTION_TYPE_SEARCH'
|
347
347
|
# @param [Fixnum] page_size
|
348
348
|
# Maximum number of DataStores to return. If unspecified, defaults to 10. The
|
@@ -1038,6 +1038,38 @@ module Google
|
|
1038
1038
|
execute_or_queue_command(command, &block)
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
# Gets a list of all the custom models.
|
1042
|
+
# @param [String] data_store
|
1043
|
+
# Required. The resource name of the parent Data Store, such as `projects/*/
|
1044
|
+
# locations/global/collections/default_collection/dataStores/default_data_store`.
|
1045
|
+
# This field is used to identify the data store where to fetch the models from.
|
1046
|
+
# @param [String] fields
|
1047
|
+
# Selector specifying which fields to include in a partial response.
|
1048
|
+
# @param [String] quota_user
|
1049
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1050
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1051
|
+
# @param [Google::Apis::RequestOptions] options
|
1052
|
+
# Request-specific options
|
1053
|
+
#
|
1054
|
+
# @yield [result, err] Result & error if block supplied
|
1055
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCustomModelsResponse] parsed result object
|
1056
|
+
# @yieldparam err [StandardError] error object if request failed
|
1057
|
+
#
|
1058
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCustomModelsResponse]
|
1059
|
+
#
|
1060
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1061
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1062
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1063
|
+
def list_project_location_collection_data_store_custom_models(data_store, fields: nil, quota_user: nil, options: nil, &block)
|
1064
|
+
command = make_simple_command(:get, 'v1beta/{+dataStore}/customModels', options)
|
1065
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCustomModelsResponse::Representation
|
1066
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
|
1067
|
+
command.params['dataStore'] = data_store unless data_store.nil?
|
1068
|
+
command.query['fields'] = fields unless fields.nil?
|
1069
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1070
|
+
execute_or_queue_command(command, &block)
|
1071
|
+
end
|
1072
|
+
|
1041
1073
|
# Gets the latest state of a long-running operation. Clients can use this method
|
1042
1074
|
# to poll the operation result at intervals as recommended by the API service.
|
1043
1075
|
# @param [String] name
|
@@ -3960,7 +3992,7 @@ module Google
|
|
3960
3992
|
# permission to list DataStores under this location, regardless of whether or
|
3961
3993
|
# not this data store exists, a PERMISSION_DENIED error is returned.
|
3962
3994
|
# @param [String] filter
|
3963
|
-
# Filter by solution type. For example: filter = 'solution_type:
|
3995
|
+
# Filter by solution type . For example: filter = 'solution_type:
|
3964
3996
|
# SOLUTION_TYPE_SEARCH'
|
3965
3997
|
# @param [Fixnum] page_size
|
3966
3998
|
# Maximum number of DataStores to return. If unspecified, defaults to 10. The
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.44.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|