google-apis-discoveryengine_v1 0.29.0 → 0.31.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +375 -64
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +145 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +243 -0
- metadata +3 -3
@@ -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.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1126,6 +1126,12 @@ module Google
|
|
1126
1126
|
include Google::Apis::Core::JsonObjectSupport
|
1127
1127
|
end
|
1128
1128
|
|
1129
|
+
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
|
+
|
1132
|
+
include Google::Apis::Core::JsonObjectSupport
|
1133
|
+
end
|
1134
|
+
|
1129
1135
|
class GoogleCloudDiscoveryengineV1ListControlsResponse
|
1130
1136
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
1137
|
|
@@ -1474,6 +1480,12 @@ module Google
|
|
1474
1480
|
include Google::Apis::Core::JsonObjectSupport
|
1475
1481
|
end
|
1476
1482
|
|
1483
|
+
class GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
|
+
|
1486
|
+
include Google::Apis::Core::JsonObjectSupport
|
1487
|
+
end
|
1488
|
+
|
1477
1489
|
class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec
|
1478
1490
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1479
1491
|
|
@@ -1780,12 +1792,36 @@ module Google
|
|
1780
1792
|
include Google::Apis::Core::JsonObjectSupport
|
1781
1793
|
end
|
1782
1794
|
|
1795
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
|
1796
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1797
|
+
|
1798
|
+
include Google::Apis::Core::JsonObjectSupport
|
1799
|
+
end
|
1800
|
+
|
1801
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
|
1802
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
|
+
|
1804
|
+
include Google::Apis::Core::JsonObjectSupport
|
1805
|
+
end
|
1806
|
+
|
1783
1807
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
1784
1808
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1785
1809
|
|
1786
1810
|
include Google::Apis::Core::JsonObjectSupport
|
1787
1811
|
end
|
1788
1812
|
|
1813
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
1814
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1815
|
+
|
1816
|
+
include Google::Apis::Core::JsonObjectSupport
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
1820
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1821
|
+
|
1822
|
+
include Google::Apis::Core::JsonObjectSupport
|
1823
|
+
end
|
1824
|
+
|
1789
1825
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
1790
1826
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1791
1827
|
|
@@ -2686,6 +2722,12 @@ module Google
|
|
2686
2722
|
include Google::Apis::Core::JsonObjectSupport
|
2687
2723
|
end
|
2688
2724
|
|
2725
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
2726
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2727
|
+
|
2728
|
+
include Google::Apis::Core::JsonObjectSupport
|
2729
|
+
end
|
2730
|
+
|
2689
2731
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
2690
2732
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2691
2733
|
|
@@ -3490,12 +3532,24 @@ module Google
|
|
3490
3532
|
include Google::Apis::Core::JsonObjectSupport
|
3491
3533
|
end
|
3492
3534
|
|
3535
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
3536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3537
|
+
|
3538
|
+
include Google::Apis::Core::JsonObjectSupport
|
3539
|
+
end
|
3540
|
+
|
3493
3541
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
3494
3542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3495
3543
|
|
3496
3544
|
include Google::Apis::Core::JsonObjectSupport
|
3497
3545
|
end
|
3498
3546
|
|
3547
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
|
3548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3549
|
+
|
3550
|
+
include Google::Apis::Core::JsonObjectSupport
|
3551
|
+
end
|
3552
|
+
|
3499
3553
|
class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
|
3500
3554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3501
3555
|
|
@@ -4087,6 +4141,7 @@ module Google
|
|
4087
4141
|
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
|
4088
4142
|
# @private
|
4089
4143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4144
|
+
property :disable_spell_correction, as: 'disableSpellCorrection'
|
4090
4145
|
property :query_classification_spec, as: 'queryClassificationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec::Representation
|
4091
4146
|
|
4092
4147
|
property :query_rephraser_spec, as: 'queryRephraserSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec::Representation
|
@@ -4625,6 +4680,7 @@ module Google
|
|
4625
4680
|
property :kms_key_version, as: 'kmsKeyVersion'
|
4626
4681
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
4627
4682
|
property :name, as: 'name'
|
4683
|
+
property :notebooklm_state, as: 'notebooklmState'
|
4628
4684
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SingleRegionKey, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SingleRegionKey::Representation
|
4629
4685
|
|
4630
4686
|
property :state, as: 'state'
|
@@ -4917,6 +4973,7 @@ module Google
|
|
4917
4973
|
class GoogleCloudDiscoveryengineV1DataStore
|
4918
4974
|
# @private
|
4919
4975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4976
|
+
property :acl_enabled, as: 'aclEnabled'
|
4920
4977
|
property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig::Representation
|
4921
4978
|
|
4922
4979
|
property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation::Representation
|
@@ -5574,6 +5631,14 @@ module Google
|
|
5574
5631
|
end
|
5575
5632
|
end
|
5576
5633
|
|
5634
|
+
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
5635
|
+
# @private
|
5636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5637
|
+
collection :cmek_configs, as: 'cmekConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
5638
|
+
|
5639
|
+
end
|
5640
|
+
end
|
5641
|
+
|
5577
5642
|
class GoogleCloudDiscoveryengineV1ListControlsResponse
|
5578
5643
|
# @private
|
5579
5644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5999,6 +6064,8 @@ module Google
|
|
5999
6064
|
|
6000
6065
|
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec::Representation
|
6001
6066
|
|
6067
|
+
property :display_spec, as: 'displaySpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec::Representation
|
6068
|
+
|
6002
6069
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestFacetSpec::Representation
|
6003
6070
|
|
6004
6071
|
property :filter, as: 'filter'
|
@@ -6154,6 +6221,13 @@ module Google
|
|
6154
6221
|
end
|
6155
6222
|
end
|
6156
6223
|
|
6224
|
+
class GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec
|
6225
|
+
# @private
|
6226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6227
|
+
property :match_highlighting_condition, as: 'matchHighlightingCondition'
|
6228
|
+
end
|
6229
|
+
end
|
6230
|
+
|
6157
6231
|
class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec
|
6158
6232
|
# @private
|
6159
6233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6683,6 +6757,7 @@ module Google
|
|
6683
6757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6684
6758
|
hash :action_params, as: 'actionParams'
|
6685
6759
|
property :is_action_configured, as: 'isActionConfigured'
|
6760
|
+
property :service_name, as: 'serviceName'
|
6686
6761
|
end
|
6687
6762
|
end
|
6688
6763
|
|
@@ -6694,11 +6769,30 @@ module Google
|
|
6694
6769
|
end
|
6695
6770
|
end
|
6696
6771
|
|
6772
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
|
6773
|
+
# @private
|
6774
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6775
|
+
collection :alert_enrollments, as: 'alertEnrollments', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment::Representation
|
6776
|
+
|
6777
|
+
property :alert_policy_name, as: 'alertPolicyName'
|
6778
|
+
end
|
6779
|
+
end
|
6780
|
+
|
6781
|
+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
|
6782
|
+
# @private
|
6783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6784
|
+
property :alert_id, as: 'alertId'
|
6785
|
+
property :enroll_state, as: 'enrollState'
|
6786
|
+
end
|
6787
|
+
end
|
6788
|
+
|
6697
6789
|
class GoogleCloudDiscoveryengineV1alphaAnswer
|
6698
6790
|
# @private
|
6699
6791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6700
6792
|
collection :answer_skipped_reasons, as: 'answerSkippedReasons'
|
6701
6793
|
property :answer_text, as: 'answerText'
|
6794
|
+
collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment::Representation
|
6795
|
+
|
6702
6796
|
collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitation::Representation
|
6703
6797
|
|
6704
6798
|
property :complete_time, as: 'completeTime'
|
@@ -6720,6 +6814,23 @@ module Google
|
|
6720
6814
|
end
|
6721
6815
|
end
|
6722
6816
|
|
6817
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
6818
|
+
# @private
|
6819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6820
|
+
property :attribution_type, as: 'attributionType'
|
6821
|
+
property :data, as: 'data', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob::Representation
|
6822
|
+
|
6823
|
+
end
|
6824
|
+
end
|
6825
|
+
|
6826
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
6827
|
+
# @private
|
6828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6829
|
+
property :data, :base64 => true, as: 'data'
|
6830
|
+
property :mime_type, as: 'mimeType'
|
6831
|
+
end
|
6832
|
+
end
|
6833
|
+
|
6723
6834
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
6724
6835
|
# @private
|
6725
6836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6780,6 +6891,7 @@ module Google
|
|
6780
6891
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
|
6781
6892
|
# @private
|
6782
6893
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6894
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
6783
6895
|
property :chunk, as: 'chunk'
|
6784
6896
|
property :content, as: 'content'
|
6785
6897
|
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata::Representation
|
@@ -6824,6 +6936,7 @@ module Google
|
|
6824
6936
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
|
6825
6937
|
# @private
|
6826
6938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6939
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
6827
6940
|
property :content, as: 'content'
|
6828
6941
|
property :page_identifier, as: 'pageIdentifier'
|
6829
6942
|
property :relevance_score, as: 'relevanceScore'
|
@@ -6928,6 +7041,7 @@ module Google
|
|
6928
7041
|
property :kms_key_version, as: 'kmsKeyVersion'
|
6929
7042
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
6930
7043
|
property :name, as: 'name'
|
7044
|
+
property :notebooklm_state, as: 'notebooklmState'
|
6931
7045
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSingleRegionKey::Representation
|
6932
7046
|
|
6933
7047
|
property :state, as: 'state'
|
@@ -7169,6 +7283,8 @@ module Google
|
|
7169
7283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7170
7284
|
property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
|
7171
7285
|
|
7286
|
+
collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
|
7287
|
+
|
7172
7288
|
property :auto_run_disabled, as: 'autoRunDisabled'
|
7173
7289
|
property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
|
7174
7290
|
|
@@ -8262,6 +8378,8 @@ module Google
|
|
8262
8378
|
|
8263
8379
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
8264
8380
|
|
8381
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
|
8382
|
+
|
8265
8383
|
property :summary_result_count, as: 'summaryResultCount'
|
8266
8384
|
property :use_semantic_chunks, as: 'useSemanticChunks'
|
8267
8385
|
end
|
@@ -8281,6 +8399,13 @@ module Google
|
|
8281
8399
|
end
|
8282
8400
|
end
|
8283
8401
|
|
8402
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
8403
|
+
# @private
|
8404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8405
|
+
property :image_source, as: 'imageSource'
|
8406
|
+
end
|
8407
|
+
end
|
8408
|
+
|
8284
8409
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
8285
8410
|
# @private
|
8286
8411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8643,6 +8768,7 @@ module Google
|
|
8643
8768
|
property :kms_key_version, as: 'kmsKeyVersion'
|
8644
8769
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
8645
8770
|
property :name, as: 'name'
|
8771
|
+
property :notebooklm_state, as: 'notebooklmState'
|
8646
8772
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSingleRegionKey::Representation
|
8647
8773
|
|
8648
8774
|
property :state, as: 'state'
|
@@ -8818,6 +8944,7 @@ module Google
|
|
8818
8944
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
8819
8945
|
# @private
|
8820
8946
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8947
|
+
property :acl_enabled, as: 'aclEnabled'
|
8821
8948
|
property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig::Representation
|
8822
8949
|
|
8823
8950
|
property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation::Representation
|
@@ -9442,6 +9569,8 @@ module Google
|
|
9442
9569
|
|
9443
9570
|
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
|
9444
9571
|
|
9572
|
+
property :display_spec, as: 'displaySpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec::Representation
|
9573
|
+
|
9445
9574
|
property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
|
9446
9575
|
|
9447
9576
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::Representation
|
@@ -9578,6 +9707,8 @@ module Google
|
|
9578
9707
|
|
9579
9708
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
9580
9709
|
|
9710
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
|
9711
|
+
|
9581
9712
|
property :summary_result_count, as: 'summaryResultCount'
|
9582
9713
|
property :use_semantic_chunks, as: 'useSemanticChunks'
|
9583
9714
|
end
|
@@ -9597,6 +9728,13 @@ module Google
|
|
9597
9728
|
end
|
9598
9729
|
end
|
9599
9730
|
|
9731
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
9732
|
+
# @private
|
9733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9734
|
+
property :image_source, as: 'imageSource'
|
9735
|
+
end
|
9736
|
+
end
|
9737
|
+
|
9600
9738
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
9601
9739
|
# @private
|
9602
9740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9607,6 +9745,13 @@ module Google
|
|
9607
9745
|
end
|
9608
9746
|
end
|
9609
9747
|
|
9748
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
|
9749
|
+
# @private
|
9750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9751
|
+
property :match_highlighting_condition, as: 'matchHighlightingCondition'
|
9752
|
+
end
|
9753
|
+
end
|
9754
|
+
|
9610
9755
|
class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
|
9611
9756
|
# @private
|
9612
9757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -88,6 +88,218 @@ module Google
|
|
88
88
|
execute_or_queue_command(command, &block)
|
89
89
|
end
|
90
90
|
|
91
|
+
# Gets the CmekConfig.
|
92
|
+
# @param [String] name
|
93
|
+
# Required. Resource name of CmekConfig, such as `projects/*/locations/*/
|
94
|
+
# cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not
|
95
|
+
# have permission to access the CmekConfig, regardless of whether or not it
|
96
|
+
# exists, a PERMISSION_DENIED error is returned.
|
97
|
+
# @param [String] fields
|
98
|
+
# Selector specifying which fields to include in a partial response.
|
99
|
+
# @param [String] quota_user
|
100
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
101
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
102
|
+
# @param [Google::Apis::RequestOptions] options
|
103
|
+
# Request-specific options
|
104
|
+
#
|
105
|
+
# @yield [result, err] Result & error if block supplied
|
106
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig] parsed result object
|
107
|
+
# @yieldparam err [StandardError] error object if request failed
|
108
|
+
#
|
109
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
|
110
|
+
#
|
111
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
+
def get_project_location_single_cmek_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
115
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
116
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
117
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig
|
118
|
+
command.params['name'] = name unless name.nil?
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Provisions a CMEK key for use in a location of a customer's project. This
|
125
|
+
# method will also conduct location validation on the provided cmekConfig to
|
126
|
+
# make sure the key is valid and can be used in the selected location.
|
127
|
+
# @param [String] name
|
128
|
+
# Required. The name of the CmekConfig of the form `projects/`project`/locations/
|
129
|
+
# `location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/
|
130
|
+
# `cmekConfig``.
|
131
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig] google_cloud_discoveryengine_v1_cmek_config_object
|
132
|
+
# @param [Boolean] set_default
|
133
|
+
# Set the following CmekConfig as the default to be used for child resources if
|
134
|
+
# one is not specified.
|
135
|
+
# @param [String] fields
|
136
|
+
# Selector specifying which fields to include in a partial response.
|
137
|
+
# @param [String] quota_user
|
138
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
139
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
140
|
+
# @param [Google::Apis::RequestOptions] options
|
141
|
+
# Request-specific options
|
142
|
+
#
|
143
|
+
# @yield [result, err] Result & error if block supplied
|
144
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
145
|
+
# @yieldparam err [StandardError] error object if request failed
|
146
|
+
#
|
147
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
148
|
+
#
|
149
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
150
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
|
+
def update_project_location_cmek_config(name, google_cloud_discoveryengine_v1_cmek_config_object = nil, set_default: nil, fields: nil, quota_user: nil, options: nil, &block)
|
153
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
154
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
155
|
+
command.request_object = google_cloud_discoveryengine_v1_cmek_config_object
|
156
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
157
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
158
|
+
command.params['name'] = name unless name.nil?
|
159
|
+
command.query['setDefault'] = set_default unless set_default.nil?
|
160
|
+
command.query['fields'] = fields unless fields.nil?
|
161
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
162
|
+
execute_or_queue_command(command, &block)
|
163
|
+
end
|
164
|
+
|
165
|
+
# De-provisions a CmekConfig.
|
166
|
+
# @param [String] name
|
167
|
+
# Required. The resource name of the CmekConfig to delete, such as `projects/`
|
168
|
+
# project`/locations/`location`/cmekConfigs/`cmek_config``.
|
169
|
+
# @param [String] fields
|
170
|
+
# Selector specifying which fields to include in a partial response.
|
171
|
+
# @param [String] quota_user
|
172
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
173
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
174
|
+
# @param [Google::Apis::RequestOptions] options
|
175
|
+
# Request-specific options
|
176
|
+
#
|
177
|
+
# @yield [result, err] Result & error if block supplied
|
178
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
179
|
+
# @yieldparam err [StandardError] error object if request failed
|
180
|
+
#
|
181
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
182
|
+
#
|
183
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
184
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
|
+
def delete_project_location_cmek_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
187
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
188
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
189
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
190
|
+
command.params['name'] = name unless name.nil?
|
191
|
+
command.query['fields'] = fields unless fields.nil?
|
192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
193
|
+
execute_or_queue_command(command, &block)
|
194
|
+
end
|
195
|
+
|
196
|
+
# Gets the CmekConfig.
|
197
|
+
# @param [String] name
|
198
|
+
# Required. Resource name of CmekConfig, such as `projects/*/locations/*/
|
199
|
+
# cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not
|
200
|
+
# have permission to access the CmekConfig, regardless of whether or not it
|
201
|
+
# exists, a PERMISSION_DENIED error is returned.
|
202
|
+
# @param [String] fields
|
203
|
+
# Selector specifying which fields to include in a partial response.
|
204
|
+
# @param [String] quota_user
|
205
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
206
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
207
|
+
# @param [Google::Apis::RequestOptions] options
|
208
|
+
# Request-specific options
|
209
|
+
#
|
210
|
+
# @yield [result, err] Result & error if block supplied
|
211
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig] parsed result object
|
212
|
+
# @yieldparam err [StandardError] error object if request failed
|
213
|
+
#
|
214
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
|
215
|
+
#
|
216
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
217
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
|
+
def get_project_location_cmek_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
220
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
221
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
222
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig
|
223
|
+
command.params['name'] = name unless name.nil?
|
224
|
+
command.query['fields'] = fields unless fields.nil?
|
225
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
226
|
+
execute_or_queue_command(command, &block)
|
227
|
+
end
|
228
|
+
|
229
|
+
# Lists all the CmekConfigs with the project.
|
230
|
+
# @param [String] parent
|
231
|
+
# Required. The parent location resource name, such as `projects/`project`/
|
232
|
+
# locations/`location``. If the caller does not have permission to list
|
233
|
+
# CmekConfigs under this location, regardless of whether or not a CmekConfig
|
234
|
+
# exists, a PERMISSION_DENIED error is returned.
|
235
|
+
# @param [String] fields
|
236
|
+
# Selector specifying which fields to include in a partial response.
|
237
|
+
# @param [String] quota_user
|
238
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
239
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
240
|
+
# @param [Google::Apis::RequestOptions] options
|
241
|
+
# Request-specific options
|
242
|
+
#
|
243
|
+
# @yield [result, err] Result & error if block supplied
|
244
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListCmekConfigsResponse] parsed result object
|
245
|
+
# @yieldparam err [StandardError] error object if request failed
|
246
|
+
#
|
247
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListCmekConfigsResponse]
|
248
|
+
#
|
249
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
250
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
251
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
252
|
+
def list_project_location_cmek_configs(parent, fields: nil, quota_user: nil, options: nil, &block)
|
253
|
+
command = make_simple_command(:get, 'v1/{+parent}/cmekConfigs', options)
|
254
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListCmekConfigsResponse::Representation
|
255
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
256
|
+
command.params['parent'] = parent unless parent.nil?
|
257
|
+
command.query['fields'] = fields unless fields.nil?
|
258
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
259
|
+
execute_or_queue_command(command, &block)
|
260
|
+
end
|
261
|
+
|
262
|
+
# Provisions a CMEK key for use in a location of a customer's project. This
|
263
|
+
# method will also conduct location validation on the provided cmekConfig to
|
264
|
+
# make sure the key is valid and can be used in the selected location.
|
265
|
+
# @param [String] name
|
266
|
+
# Required. The name of the CmekConfig of the form `projects/`project`/locations/
|
267
|
+
# `location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/
|
268
|
+
# `cmekConfig``.
|
269
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig] google_cloud_discoveryengine_v1_cmek_config_object
|
270
|
+
# @param [Boolean] set_default
|
271
|
+
# Set the following CmekConfig as the default to be used for child resources if
|
272
|
+
# one is not specified.
|
273
|
+
# @param [String] fields
|
274
|
+
# Selector specifying which fields to include in a partial response.
|
275
|
+
# @param [String] quota_user
|
276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
278
|
+
# @param [Google::Apis::RequestOptions] options
|
279
|
+
# Request-specific options
|
280
|
+
#
|
281
|
+
# @yield [result, err] Result & error if block supplied
|
282
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
283
|
+
# @yieldparam err [StandardError] error object if request failed
|
284
|
+
#
|
285
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
286
|
+
#
|
287
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
288
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
289
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
290
|
+
def patch_project_location_cmek_config(name, google_cloud_discoveryengine_v1_cmek_config_object = nil, set_default: nil, fields: nil, quota_user: nil, options: nil, &block)
|
291
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
292
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
293
|
+
command.request_object = google_cloud_discoveryengine_v1_cmek_config_object
|
294
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
295
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
296
|
+
command.params['name'] = name unless name.nil?
|
297
|
+
command.query['setDefault'] = set_default unless set_default.nil?
|
298
|
+
command.query['fields'] = fields unless fields.nil?
|
299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
300
|
+
execute_or_queue_command(command, &block)
|
301
|
+
end
|
302
|
+
|
91
303
|
# Gets the latest state of a long-running operation. Clients can use this method
|
92
304
|
# to poll the operation result at intervals as recommended by the API service.
|
93
305
|
# @param [String] name
|
@@ -7575,6 +7787,37 @@ module Google
|
|
7575
7787
|
execute_or_queue_command(command, &block)
|
7576
7788
|
end
|
7577
7789
|
|
7790
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
7791
|
+
# to poll the operation result at intervals as recommended by the API service.
|
7792
|
+
# @param [String] name
|
7793
|
+
# The name of the operation resource.
|
7794
|
+
# @param [String] fields
|
7795
|
+
# Selector specifying which fields to include in a partial response.
|
7796
|
+
# @param [String] quota_user
|
7797
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7798
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7799
|
+
# @param [Google::Apis::RequestOptions] options
|
7800
|
+
# Request-specific options
|
7801
|
+
#
|
7802
|
+
# @yield [result, err] Result & error if block supplied
|
7803
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
7804
|
+
# @yieldparam err [StandardError] error object if request failed
|
7805
|
+
#
|
7806
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
7807
|
+
#
|
7808
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7809
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7810
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7811
|
+
def get_project_location_podcast_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
7812
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7813
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
7814
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
7815
|
+
command.params['name'] = name unless name.nil?
|
7816
|
+
command.query['fields'] = fields unless fields.nil?
|
7817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7818
|
+
execute_or_queue_command(command, &block)
|
7819
|
+
end
|
7820
|
+
|
7578
7821
|
# Ranks a list of text records based on the given input query.
|
7579
7822
|
# @param [String] ranking_config
|
7580
7823
|
# Required. The resource name of the rank service config, such as `projects/`
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.31.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:
|