google-apis-discoveryengine_v1beta 0.58.0 → 0.59.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.
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.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 = "20250312"
25
+ REVISION = "20250320"
26
26
  end
27
27
  end
28
28
  end
@@ -718,6 +718,18 @@ module Google
718
718
  include Google::Apis::Core::JsonObjectSupport
719
719
  end
720
720
 
721
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
721
733
  class GoogleCloudDiscoveryengineV1alphaAnswerCitation
722
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
735
 
@@ -1618,6 +1630,12 @@ module Google
1618
1630
  include Google::Apis::Core::JsonObjectSupport
1619
1631
  end
1620
1632
 
1633
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
1634
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1635
+
1636
+ include Google::Apis::Core::JsonObjectSupport
1637
+ end
1638
+
1621
1639
  class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
1622
1640
  class Representation < Google::Apis::Core::JsonRepresentation; end
1623
1641
 
@@ -1918,6 +1936,18 @@ module Google
1918
1936
  include Google::Apis::Core::JsonObjectSupport
1919
1937
  end
1920
1938
 
1939
+ class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment
1940
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1941
+
1942
+ include Google::Apis::Core::JsonObjectSupport
1943
+ end
1944
+
1945
+ class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
1946
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1947
+
1948
+ include Google::Apis::Core::JsonObjectSupport
1949
+ end
1950
+
1921
1951
  class GoogleCloudDiscoveryengineV1betaAnswerCitation
1922
1952
  class Representation < Google::Apis::Core::JsonRepresentation; end
1923
1953
 
@@ -1954,6 +1984,12 @@ module Google
1954
1984
  include Google::Apis::Core::JsonObjectSupport
1955
1985
  end
1956
1986
 
1987
+ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
1988
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1989
+
1990
+ include Google::Apis::Core::JsonObjectSupport
1991
+ end
1992
+
1957
1993
  class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec
1958
1994
  class Representation < Google::Apis::Core::JsonRepresentation; end
1959
1995
 
@@ -2962,6 +2998,12 @@ module Google
2962
2998
  include Google::Apis::Core::JsonObjectSupport
2963
2999
  end
2964
3000
 
3001
+ class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
3002
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3003
+
3004
+ include Google::Apis::Core::JsonObjectSupport
3005
+ end
3006
+
2965
3007
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
2966
3008
  class Representation < Google::Apis::Core::JsonRepresentation; end
2967
3009
 
@@ -3436,6 +3478,12 @@ module Google
3436
3478
  include Google::Apis::Core::JsonObjectSupport
3437
3479
  end
3438
3480
 
3481
+ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
3482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3483
+
3484
+ include Google::Apis::Core::JsonObjectSupport
3485
+ end
3486
+
3439
3487
  class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
3440
3488
  class Representation < Google::Apis::Core::JsonRepresentation; end
3441
3489
 
@@ -3640,6 +3688,18 @@ module Google
3640
3688
  include Google::Apis::Core::JsonObjectSupport
3641
3689
  end
3642
3690
 
3691
+ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment
3692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3693
+
3694
+ include Google::Apis::Core::JsonObjectSupport
3695
+ end
3696
+
3697
+ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob
3698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3699
+
3700
+ include Google::Apis::Core::JsonObjectSupport
3701
+ end
3702
+
3643
3703
  class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation
3644
3704
  class Representation < Google::Apis::Core::JsonRepresentation; end
3645
3705
 
@@ -4149,6 +4209,7 @@ module Google
4149
4209
  property :kms_key_version, as: 'kmsKeyVersion'
4150
4210
  property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
4151
4211
  property :name, as: 'name'
4212
+ property :notebooklm_state, as: 'notebooklmState'
4152
4213
  collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SingleRegionKey, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1SingleRegionKey::Representation
4153
4214
 
4154
4215
  property :state, as: 'state'
@@ -4310,6 +4371,7 @@ module Google
4310
4371
  class GoogleCloudDiscoveryengineV1DataStore
4311
4372
  # @private
4312
4373
  class Representation < Google::Apis::Core::JsonRepresentation
4374
+ property :acl_enabled, as: 'aclEnabled'
4313
4375
  property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig::Representation
4314
4376
 
4315
4377
  property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation::Representation
@@ -5028,6 +5090,7 @@ module Google
5028
5090
  class Representation < Google::Apis::Core::JsonRepresentation
5029
5091
  hash :action_params, as: 'actionParams'
5030
5092
  property :is_action_configured, as: 'isActionConfigured'
5093
+ property :service_name, as: 'serviceName'
5031
5094
  end
5032
5095
  end
5033
5096
 
@@ -5061,6 +5124,8 @@ module Google
5061
5124
  class Representation < Google::Apis::Core::JsonRepresentation
5062
5125
  collection :answer_skipped_reasons, as: 'answerSkippedReasons'
5063
5126
  property :answer_text, as: 'answerText'
5127
+ collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment::Representation
5128
+
5064
5129
  collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerCitation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerCitation::Representation
5065
5130
 
5066
5131
  property :complete_time, as: 'completeTime'
@@ -5082,6 +5147,23 @@ module Google
5082
5147
  end
5083
5148
  end
5084
5149
 
5150
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
5151
+ # @private
5152
+ class Representation < Google::Apis::Core::JsonRepresentation
5153
+ property :attribution_type, as: 'attributionType'
5154
+ property :data, as: 'data', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob::Representation
5155
+
5156
+ end
5157
+ end
5158
+
5159
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
5160
+ # @private
5161
+ class Representation < Google::Apis::Core::JsonRepresentation
5162
+ property :data, :base64 => true, as: 'data'
5163
+ property :mime_type, as: 'mimeType'
5164
+ end
5165
+ end
5166
+
5085
5167
  class GoogleCloudDiscoveryengineV1alphaAnswerCitation
5086
5168
  # @private
5087
5169
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5142,6 +5224,7 @@ module Google
5142
5224
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
5143
5225
  # @private
5144
5226
  class Representation < Google::Apis::Core::JsonRepresentation
5227
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
5145
5228
  property :chunk, as: 'chunk'
5146
5229
  property :content, as: 'content'
5147
5230
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata::Representation
@@ -5186,6 +5269,7 @@ module Google
5186
5269
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
5187
5270
  # @private
5188
5271
  class Representation < Google::Apis::Core::JsonRepresentation
5272
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
5189
5273
  property :content, as: 'content'
5190
5274
  property :page_identifier, as: 'pageIdentifier'
5191
5275
  property :relevance_score, as: 'relevanceScore'
@@ -5290,6 +5374,7 @@ module Google
5290
5374
  property :kms_key_version, as: 'kmsKeyVersion'
5291
5375
  property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
5292
5376
  property :name, as: 'name'
5377
+ property :notebooklm_state, as: 'notebooklmState'
5293
5378
  collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSingleRegionKey::Representation
5294
5379
 
5295
5380
  property :state, as: 'state'
@@ -6626,6 +6711,8 @@ module Google
6626
6711
 
6627
6712
  property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
6628
6713
 
6714
+ property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
6715
+
6629
6716
  property :summary_result_count, as: 'summaryResultCount'
6630
6717
  property :use_semantic_chunks, as: 'useSemanticChunks'
6631
6718
  end
@@ -6645,6 +6732,13 @@ module Google
6645
6732
  end
6646
6733
  end
6647
6734
 
6735
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
6736
+ # @private
6737
+ class Representation < Google::Apis::Core::JsonRepresentation
6738
+ property :image_source, as: 'imageSource'
6739
+ end
6740
+ end
6741
+
6648
6742
  class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
6649
6743
  # @private
6650
6744
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7103,6 +7197,8 @@ module Google
7103
7197
  class Representation < Google::Apis::Core::JsonRepresentation
7104
7198
  collection :answer_skipped_reasons, as: 'answerSkippedReasons'
7105
7199
  property :answer_text, as: 'answerText'
7200
+ collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment::Representation
7201
+
7106
7202
  collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerCitation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerCitation::Representation
7107
7203
 
7108
7204
  property :complete_time, as: 'completeTime'
@@ -7124,6 +7220,23 @@ module Google
7124
7220
  end
7125
7221
  end
7126
7222
 
7223
+ class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment
7224
+ # @private
7225
+ class Representation < Google::Apis::Core::JsonRepresentation
7226
+ property :attribution_type, as: 'attributionType'
7227
+ property :data, as: 'data', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob::Representation
7228
+
7229
+ end
7230
+ end
7231
+
7232
+ class GoogleCloudDiscoveryengineV1betaAnswerBlobAttachmentBlob
7233
+ # @private
7234
+ class Representation < Google::Apis::Core::JsonRepresentation
7235
+ property :data, :base64 => true, as: 'data'
7236
+ property :mime_type, as: 'mimeType'
7237
+ end
7238
+ end
7239
+
7127
7240
  class GoogleCloudDiscoveryengineV1betaAnswerCitation
7128
7241
  # @private
7129
7242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7190,6 +7303,8 @@ module Google
7190
7303
  property :include_citations, as: 'includeCitations'
7191
7304
  property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec::Representation
7192
7305
 
7306
+ property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec::Representation
7307
+
7193
7308
  property :prompt_spec, as: 'promptSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec::Representation
7194
7309
 
7195
7310
  end
@@ -7202,6 +7317,13 @@ module Google
7202
7317
  end
7203
7318
  end
7204
7319
 
7320
+ class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
7321
+ # @private
7322
+ class Representation < Google::Apis::Core::JsonRepresentation
7323
+ property :image_source, as: 'imageSource'
7324
+ end
7325
+ end
7326
+
7205
7327
  class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec
7206
7328
  # @private
7207
7329
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7451,6 +7573,7 @@ module Google
7451
7573
  class GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo
7452
7574
  # @private
7453
7575
  class Representation < Google::Apis::Core::JsonRepresentation
7576
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
7454
7577
  property :chunk, as: 'chunk'
7455
7578
  property :content, as: 'content'
7456
7579
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata::Representation
@@ -7495,6 +7618,7 @@ module Google
7495
7618
  class GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent
7496
7619
  # @private
7497
7620
  class Representation < Google::Apis::Core::JsonRepresentation
7621
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
7498
7622
  property :content, as: 'content'
7499
7623
  property :page_identifier, as: 'pageIdentifier'
7500
7624
  property :relevance_score, as: 'relevanceScore'
@@ -7793,6 +7917,7 @@ module Google
7793
7917
  property :kms_key_version, as: 'kmsKeyVersion'
7794
7918
  property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
7795
7919
  property :name, as: 'name'
7920
+ property :notebooklm_state, as: 'notebooklmState'
7796
7921
  collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSingleRegionKey::Representation
7797
7922
 
7798
7923
  property :state, as: 'state'
@@ -8100,6 +8225,7 @@ module Google
8100
8225
  class GoogleCloudDiscoveryengineV1betaDataStore
8101
8226
  # @private
8102
8227
  class Representation < Google::Apis::Core::JsonRepresentation
8228
+ property :acl_enabled, as: 'aclEnabled'
8103
8229
  property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig::Representation
8104
8230
 
8105
8231
  property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation::Representation
@@ -8862,6 +8988,14 @@ module Google
8862
8988
  end
8863
8989
  end
8864
8990
 
8991
+ class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
8992
+ # @private
8993
+ class Representation < Google::Apis::Core::JsonRepresentation
8994
+ collection :cmek_configs, as: 'cmekConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation
8995
+
8996
+ end
8997
+ end
8998
+
8865
8999
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
8866
9000
  # @private
8867
9001
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9631,6 +9765,8 @@ module Google
9631
9765
 
9632
9766
  property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
9633
9767
 
9768
+ property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
9769
+
9634
9770
  property :summary_result_count, as: 'summaryResultCount'
9635
9771
  property :use_semantic_chunks, as: 'useSemanticChunks'
9636
9772
  end
@@ -9650,6 +9786,13 @@ module Google
9650
9786
  end
9651
9787
  end
9652
9788
 
9789
+ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
9790
+ # @private
9791
+ class Representation < Google::Apis::Core::JsonRepresentation
9792
+ property :image_source, as: 'imageSource'
9793
+ end
9794
+ end
9795
+
9653
9796
  class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
9654
9797
  # @private
9655
9798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9985,6 +10128,23 @@ module Google
9985
10128
  end
9986
10129
  end
9987
10130
 
10131
+ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment
10132
+ # @private
10133
+ class Representation < Google::Apis::Core::JsonRepresentation
10134
+ property :attribution_type, as: 'attributionType'
10135
+ property :data, as: 'data', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob::Representation
10136
+
10137
+ end
10138
+ end
10139
+
10140
+ class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachmentBlob
10141
+ # @private
10142
+ class Representation < Google::Apis::Core::JsonRepresentation
10143
+ property :data, :base64 => true, as: 'data'
10144
+ property :mime_type, as: 'mimeType'
10145
+ end
10146
+ end
10147
+
9988
10148
  class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation
9989
10149
  # @private
9990
10150
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10024,6 +10184,7 @@ module Google
10024
10184
  class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent
10025
10185
  # @private
10026
10186
  class Representation < Google::Apis::Core::JsonRepresentation
10187
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
10027
10188
  property :content, as: 'content'
10028
10189
  property :page_identifier, as: 'pageIdentifier'
10029
10190
  end
@@ -10040,6 +10201,8 @@ module Google
10040
10201
  class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
10041
10202
  # @private
10042
10203
  class Representation < Google::Apis::Core::JsonRepresentation
10204
+ collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryBlobAttachment::Representation
10205
+
10043
10206
  property :citation_metadata, as: 'citationMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata::Representation
10044
10207
 
10045
10208
  collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference::Representation
@@ -88,6 +88,39 @@ 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::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig] parsed result object
107
+ # @yieldparam err [StandardError] error object if request failed
108
+ #
109
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig]
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, 'v1beta/{+name}', options)
116
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation
117
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig
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
+
91
124
  # Obtains the time series data of organic or dedicated crawl rate for monitoring.
92
125
  # When dedicated crawl rate is not set, it will return vertex AI's organic
93
126
  # crawl rate time series. Organic crawl means Google automatically crawl the
@@ -202,6 +235,185 @@ module Google
202
235
  execute_or_queue_command(command, &block)
203
236
  end
204
237
 
238
+ # Provisions a CMEK key for use in a location of a customer's project. This
239
+ # method will also conduct location validation on the provided cmekConfig to
240
+ # make sure the key is valid and can be used in the selected location.
241
+ # @param [String] name
242
+ # Required. The name of the CmekConfig of the form `projects/`project`/locations/
243
+ # `location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/
244
+ # `cmekConfig``.
245
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig] google_cloud_discoveryengine_v1beta_cmek_config_object
246
+ # @param [Boolean] set_default
247
+ # Set the following CmekConfig as the default to be used for child resources if
248
+ # one is not specified.
249
+ # @param [String] fields
250
+ # Selector specifying which fields to include in a partial response.
251
+ # @param [String] quota_user
252
+ # Available to use for quota purposes for server-side applications. Can be any
253
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
254
+ # @param [Google::Apis::RequestOptions] options
255
+ # Request-specific options
256
+ #
257
+ # @yield [result, err] Result & error if block supplied
258
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
259
+ # @yieldparam err [StandardError] error object if request failed
260
+ #
261
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
262
+ #
263
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
266
+ def update_project_location_cmek_config(name, google_cloud_discoveryengine_v1beta_cmek_config_object = nil, set_default: nil, fields: nil, quota_user: nil, options: nil, &block)
267
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
268
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation
269
+ command.request_object = google_cloud_discoveryengine_v1beta_cmek_config_object
270
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
271
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
272
+ command.params['name'] = name unless name.nil?
273
+ command.query['setDefault'] = set_default unless set_default.nil?
274
+ command.query['fields'] = fields unless fields.nil?
275
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
276
+ execute_or_queue_command(command, &block)
277
+ end
278
+
279
+ # De-provisions a CmekConfig.
280
+ # @param [String] name
281
+ # Required. The resource name of the CmekConfig to delete, such as `projects/`
282
+ # project`/locations/`location`/cmekConfigs/`cmek_config``.
283
+ # @param [String] fields
284
+ # Selector specifying which fields to include in a partial response.
285
+ # @param [String] quota_user
286
+ # Available to use for quota purposes for server-side applications. Can be any
287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
288
+ # @param [Google::Apis::RequestOptions] options
289
+ # Request-specific options
290
+ #
291
+ # @yield [result, err] Result & error if block supplied
292
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
293
+ # @yieldparam err [StandardError] error object if request failed
294
+ #
295
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
296
+ #
297
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
298
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
299
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
300
+ def delete_project_location_cmek_config(name, fields: nil, quota_user: nil, options: nil, &block)
301
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
302
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
303
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
304
+ command.params['name'] = name unless name.nil?
305
+ command.query['fields'] = fields unless fields.nil?
306
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
307
+ execute_or_queue_command(command, &block)
308
+ end
309
+
310
+ # Gets the CmekConfig.
311
+ # @param [String] name
312
+ # Required. Resource name of CmekConfig, such as `projects/*/locations/*/
313
+ # cmekConfig` or `projects/*/locations/*/cmekConfigs/*`. If the caller does not
314
+ # have permission to access the CmekConfig, regardless of whether or not it
315
+ # exists, a PERMISSION_DENIED error is returned.
316
+ # @param [String] fields
317
+ # Selector specifying which fields to include in a partial response.
318
+ # @param [String] quota_user
319
+ # Available to use for quota purposes for server-side applications. Can be any
320
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
321
+ # @param [Google::Apis::RequestOptions] options
322
+ # Request-specific options
323
+ #
324
+ # @yield [result, err] Result & error if block supplied
325
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig] parsed result object
326
+ # @yieldparam err [StandardError] error object if request failed
327
+ #
328
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig]
329
+ #
330
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
333
+ def get_project_location_cmek_config(name, fields: nil, quota_user: nil, options: nil, &block)
334
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
335
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation
336
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig
337
+ command.params['name'] = name unless name.nil?
338
+ command.query['fields'] = fields unless fields.nil?
339
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
340
+ execute_or_queue_command(command, &block)
341
+ end
342
+
343
+ # Lists all the CmekConfigs with the project.
344
+ # @param [String] parent
345
+ # Required. The parent location resource name, such as `projects/`project`/
346
+ # locations/`location``. If the caller does not have permission to list
347
+ # CmekConfigs under this location, regardless of whether or not a CmekConfig
348
+ # exists, a PERMISSION_DENIED error is returned.
349
+ # @param [String] fields
350
+ # Selector specifying which fields to include in a partial response.
351
+ # @param [String] quota_user
352
+ # Available to use for quota purposes for server-side applications. Can be any
353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
354
+ # @param [Google::Apis::RequestOptions] options
355
+ # Request-specific options
356
+ #
357
+ # @yield [result, err] Result & error if block supplied
358
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse] parsed result object
359
+ # @yieldparam err [StandardError] error object if request failed
360
+ #
361
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse]
362
+ #
363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
366
+ def list_project_location_cmek_configs(parent, fields: nil, quota_user: nil, options: nil, &block)
367
+ command = make_simple_command(:get, 'v1beta/{+parent}/cmekConfigs', options)
368
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse::Representation
369
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
370
+ command.params['parent'] = parent unless parent.nil?
371
+ command.query['fields'] = fields unless fields.nil?
372
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
373
+ execute_or_queue_command(command, &block)
374
+ end
375
+
376
+ # Provisions a CMEK key for use in a location of a customer's project. This
377
+ # method will also conduct location validation on the provided cmekConfig to
378
+ # make sure the key is valid and can be used in the selected location.
379
+ # @param [String] name
380
+ # Required. The name of the CmekConfig of the form `projects/`project`/locations/
381
+ # `location`/cmekConfig` or `projects/`project`/locations/`location`/cmekConfigs/
382
+ # `cmekConfig``.
383
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig] google_cloud_discoveryengine_v1beta_cmek_config_object
384
+ # @param [Boolean] set_default
385
+ # Set the following CmekConfig as the default to be used for child resources if
386
+ # one is not specified.
387
+ # @param [String] fields
388
+ # Selector specifying which fields to include in a partial response.
389
+ # @param [String] quota_user
390
+ # Available to use for quota purposes for server-side applications. Can be any
391
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
392
+ # @param [Google::Apis::RequestOptions] options
393
+ # Request-specific options
394
+ #
395
+ # @yield [result, err] Result & error if block supplied
396
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
397
+ # @yieldparam err [StandardError] error object if request failed
398
+ #
399
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
400
+ #
401
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
402
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
403
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
404
+ def patch_project_location_cmek_config(name, google_cloud_discoveryengine_v1beta_cmek_config_object = nil, set_default: nil, fields: nil, quota_user: nil, options: nil, &block)
405
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
406
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation
407
+ command.request_object = google_cloud_discoveryengine_v1beta_cmek_config_object
408
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
409
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
410
+ command.params['name'] = name unless name.nil?
411
+ command.query['setDefault'] = set_default unless set_default.nil?
412
+ command.query['fields'] = fields unless fields.nil?
413
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
414
+ execute_or_queue_command(command, &block)
415
+ end
416
+
205
417
  # Gets the latest state of a long-running operation. Clients can use this method
206
418
  # to poll the operation result at intervals as recommended by the API service.
207
419
  # @param [String] name
@@ -8349,6 +8561,37 @@ module Google
8349
8561
  execute_or_queue_command(command, &block)
8350
8562
  end
8351
8563
 
8564
+ # Gets the latest state of a long-running operation. Clients can use this method
8565
+ # to poll the operation result at intervals as recommended by the API service.
8566
+ # @param [String] name
8567
+ # The name of the operation resource.
8568
+ # @param [String] fields
8569
+ # Selector specifying which fields to include in a partial response.
8570
+ # @param [String] quota_user
8571
+ # Available to use for quota purposes for server-side applications. Can be any
8572
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8573
+ # @param [Google::Apis::RequestOptions] options
8574
+ # Request-specific options
8575
+ #
8576
+ # @yield [result, err] Result & error if block supplied
8577
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
8578
+ # @yieldparam err [StandardError] error object if request failed
8579
+ #
8580
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
8581
+ #
8582
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8583
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8584
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8585
+ def get_project_location_podcast_operation(name, fields: nil, quota_user: nil, options: nil, &block)
8586
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
8587
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
8588
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
8589
+ command.params['name'] = name unless name.nil?
8590
+ command.query['fields'] = fields unless fields.nil?
8591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8592
+ execute_or_queue_command(command, &block)
8593
+ end
8594
+
8352
8595
  # Ranks a list of text records based on the given input query.
8353
8596
  # @param [String] ranking_config
8354
8597
  # Required. The resource name of the rank service config, such as `projects/`