google-apis-discoveryengine_v1 0.30.0 → 0.32.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 +322 -61
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +92 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +243 -0
- 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: 4ceb8679fe5b611eb660df37c94216ebe043368ab9b51d356b88696201c0e6bb
|
4
|
+
data.tar.gz: 760eaab856d0defe7fa841580ffbc56584697cdaf09f3b3d247e20fa2a25e3f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e10f6b146bde1e13549bc07523fa536d8043265ae210e00c8cd49f099a0a2412ae2b70908aab2000ed14228a6bd0d82846fc6fc5196e1db25ab7ebe95b20f5cb
|
7
|
+
data.tar.gz: 2b106b640f17b07ef6c9b7540901b91be672158be789123bc96d3cd1987f7b1f2afcc8812b196e0e9c00665e7ba551407818ef0e1ce61ba3b1d682744fb9dcfb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1
|
2
2
|
|
3
|
+
### v0.32.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250322
|
6
|
+
|
7
|
+
### v0.31.0 (2025-03-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250320
|
10
|
+
|
3
11
|
### v0.30.0 (2025-03-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250312
|
@@ -3261,6 +3261,11 @@ module Google
|
|
3261
3261
|
# @return [String]
|
3262
3262
|
attr_accessor :name
|
3263
3263
|
|
3264
|
+
# Output only. Whether the NotebookLM Corpus is ready to be used.
|
3265
|
+
# Corresponds to the JSON property `notebooklmState`
|
3266
|
+
# @return [String]
|
3267
|
+
attr_accessor :notebooklm_state
|
3268
|
+
|
3264
3269
|
# Optional. Single-regional CMEKs that are required for some VAIS features.
|
3265
3270
|
# Corresponds to the JSON property `singleRegionKeys`
|
3266
3271
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SingleRegionKey>]
|
@@ -3282,6 +3287,7 @@ module Google
|
|
3282
3287
|
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
3283
3288
|
@last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
|
3284
3289
|
@name = args[:name] if args.key?(:name)
|
3290
|
+
@notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
|
3285
3291
|
@single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
|
3286
3292
|
@state = args[:state] if args.key?(:state)
|
3287
3293
|
end
|
@@ -4333,6 +4339,17 @@ module Google
|
|
4333
4339
|
class GoogleCloudDiscoveryengineV1DataStore
|
4334
4340
|
include Google::Apis::Core::Hashable
|
4335
4341
|
|
4342
|
+
# Immutable. Whether data in the DataStore has ACL information. If set to `true`,
|
4343
|
+
# the source data must have ACL. ACL will be ingested when data is ingested by
|
4344
|
+
# DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
|
4345
|
+
# Document can't be accessed by calling DocumentService.GetDocument or
|
4346
|
+
# DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
|
4347
|
+
# industry vertical with non-`PUBLIC_WEBSITE` content config.
|
4348
|
+
# Corresponds to the JSON property `aclEnabled`
|
4349
|
+
# @return [Boolean]
|
4350
|
+
attr_accessor :acl_enabled
|
4351
|
+
alias_method :acl_enabled?, :acl_enabled
|
4352
|
+
|
4336
4353
|
# Configuration data for advance site search.
|
4337
4354
|
# Corresponds to the JSON property `advancedSiteSearchConfig`
|
4338
4355
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig]
|
@@ -4447,6 +4464,7 @@ module Google
|
|
4447
4464
|
|
4448
4465
|
# Update properties of this object
|
4449
4466
|
def update!(**args)
|
4467
|
+
@acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
|
4450
4468
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
4451
4469
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
4452
4470
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
@@ -5157,12 +5175,28 @@ module Google
|
|
5157
5175
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
5158
5176
|
include Google::Apis::Core::Hashable
|
5159
5177
|
|
5178
|
+
# Optional. If true, the LLM based annotation is added to the image during
|
5179
|
+
# parsing.
|
5180
|
+
# Corresponds to the JSON property `enableImageAnnotation`
|
5181
|
+
# @return [Boolean]
|
5182
|
+
attr_accessor :enable_image_annotation
|
5183
|
+
alias_method :enable_image_annotation?, :enable_image_annotation
|
5184
|
+
|
5185
|
+
# Optional. If true, the LLM based annotation is added to the table during
|
5186
|
+
# parsing.
|
5187
|
+
# Corresponds to the JSON property `enableTableAnnotation`
|
5188
|
+
# @return [Boolean]
|
5189
|
+
attr_accessor :enable_table_annotation
|
5190
|
+
alias_method :enable_table_annotation?, :enable_table_annotation
|
5191
|
+
|
5160
5192
|
def initialize(**args)
|
5161
5193
|
update!(**args)
|
5162
5194
|
end
|
5163
5195
|
|
5164
5196
|
# Update properties of this object
|
5165
5197
|
def update!(**args)
|
5198
|
+
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
5199
|
+
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
5166
5200
|
end
|
5167
5201
|
end
|
5168
5202
|
|
@@ -6635,6 +6669,25 @@ module Google
|
|
6635
6669
|
end
|
6636
6670
|
end
|
6637
6671
|
|
6672
|
+
# Response message for CmekConfigService.ListCmekConfigs method.
|
6673
|
+
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
6674
|
+
include Google::Apis::Core::Hashable
|
6675
|
+
|
6676
|
+
# All the customer's CmekConfigs.
|
6677
|
+
# Corresponds to the JSON property `cmekConfigs`
|
6678
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig>]
|
6679
|
+
attr_accessor :cmek_configs
|
6680
|
+
|
6681
|
+
def initialize(**args)
|
6682
|
+
update!(**args)
|
6683
|
+
end
|
6684
|
+
|
6685
|
+
# Update properties of this object
|
6686
|
+
def update!(**args)
|
6687
|
+
@cmek_configs = args[:cmek_configs] if args.key?(:cmek_configs)
|
6688
|
+
end
|
6689
|
+
end
|
6690
|
+
|
6638
6691
|
# Response for ListControls method.
|
6639
6692
|
class GoogleCloudDiscoveryengineV1ListControlsResponse
|
6640
6693
|
include Google::Apis::Core::Hashable
|
@@ -8154,10 +8207,10 @@ module Google
|
|
8154
8207
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec]
|
8155
8208
|
attr_accessor :content_search_spec
|
8156
8209
|
|
8157
|
-
# Specifications that define the specific
|
8158
|
-
#
|
8159
|
-
#
|
8160
|
-
#
|
8210
|
+
# Specifications that define the specific DataStores to be searched, along with
|
8211
|
+
# configurations for those data stores. This is only considered for Engines with
|
8212
|
+
# multiple data stores. For engines with a single data store, the specs directly
|
8213
|
+
# under SearchRequest should be used.
|
8161
8214
|
# Corresponds to the JSON property `dataStoreSpecs`
|
8162
8215
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec>]
|
8163
8216
|
attr_accessor :data_store_specs
|
@@ -8398,7 +8451,7 @@ module Google
|
|
8398
8451
|
include Google::Apis::Core::Hashable
|
8399
8452
|
|
8400
8453
|
# Condition boost specifications. If a document matches multiple conditions in
|
8401
|
-
# the
|
8454
|
+
# the specifications, boost scores from these specifications are all applied and
|
8402
8455
|
# combined in a non-linear way. Maximum number of specifications is 20.
|
8403
8456
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
8404
8457
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec>]
|
@@ -10942,6 +10995,11 @@ module Google
|
|
10942
10995
|
class GoogleCloudDiscoveryengineV1UserInfo
|
10943
10996
|
include Google::Apis::Core::Hashable
|
10944
10997
|
|
10998
|
+
# Optional. IANA time zone, e.g. Europe/Budapest.
|
10999
|
+
# Corresponds to the JSON property `timeZone`
|
11000
|
+
# @return [String]
|
11001
|
+
attr_accessor :time_zone
|
11002
|
+
|
10945
11003
|
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
|
10946
11004
|
# string with a length limit of 1,000 characters. Otherwise, an `
|
10947
11005
|
# INVALID_ARGUMENT` error is returned. This should not be set when using the
|
@@ -10967,6 +11025,7 @@ module Google
|
|
10967
11025
|
|
10968
11026
|
# Update properties of this object
|
10969
11027
|
def update!(**args)
|
11028
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
10970
11029
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
10971
11030
|
@user_id = args[:user_id] if args.key?(:user_id)
|
10972
11031
|
end
|
@@ -11061,6 +11120,14 @@ module Google
|
|
11061
11120
|
attr_accessor :is_action_configured
|
11062
11121
|
alias_method :is_action_configured?, :is_action_configured
|
11063
11122
|
|
11123
|
+
# Optional. The Service Directory resource name (projects/*/locations/*/
|
11124
|
+
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
11125
|
+
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
11126
|
+
# when VPC Service Controls are enabled.
|
11127
|
+
# Corresponds to the JSON property `serviceName`
|
11128
|
+
# @return [String]
|
11129
|
+
attr_accessor :service_name
|
11130
|
+
|
11064
11131
|
def initialize(**args)
|
11065
11132
|
update!(**args)
|
11066
11133
|
end
|
@@ -11069,6 +11136,7 @@ module Google
|
|
11069
11136
|
def update!(**args)
|
11070
11137
|
@action_params = args[:action_params] if args.key?(:action_params)
|
11071
11138
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
11139
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
11072
11140
|
end
|
11073
11141
|
end
|
11074
11142
|
|
@@ -11164,6 +11232,11 @@ module Google
|
|
11164
11232
|
# @return [String]
|
11165
11233
|
attr_accessor :answer_text
|
11166
11234
|
|
11235
|
+
# List of blob attachments in the answer.
|
11236
|
+
# Corresponds to the JSON property `blobAttachments`
|
11237
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment>]
|
11238
|
+
attr_accessor :blob_attachments
|
11239
|
+
|
11167
11240
|
# Citations.
|
11168
11241
|
# Corresponds to the JSON property `citations`
|
11169
11242
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitation>]
|
@@ -11234,6 +11307,7 @@ module Google
|
|
11234
11307
|
def update!(**args)
|
11235
11308
|
@answer_skipped_reasons = args[:answer_skipped_reasons] if args.key?(:answer_skipped_reasons)
|
11236
11309
|
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
11310
|
+
@blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
|
11237
11311
|
@citations = args[:citations] if args.key?(:citations)
|
11238
11312
|
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
11239
11313
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -11249,6 +11323,57 @@ module Google
|
|
11249
11323
|
end
|
11250
11324
|
end
|
11251
11325
|
|
11326
|
+
# Stores binarydata attached to text answer, e.g. image, video, audio, etc.
|
11327
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
11328
|
+
include Google::Apis::Core::Hashable
|
11329
|
+
|
11330
|
+
# Output only. The attribution type of the blob.
|
11331
|
+
# Corresponds to the JSON property `attributionType`
|
11332
|
+
# @return [String]
|
11333
|
+
attr_accessor :attribution_type
|
11334
|
+
|
11335
|
+
# The media type and data of the blob.
|
11336
|
+
# Corresponds to the JSON property `data`
|
11337
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob]
|
11338
|
+
attr_accessor :data
|
11339
|
+
|
11340
|
+
def initialize(**args)
|
11341
|
+
update!(**args)
|
11342
|
+
end
|
11343
|
+
|
11344
|
+
# Update properties of this object
|
11345
|
+
def update!(**args)
|
11346
|
+
@attribution_type = args[:attribution_type] if args.key?(:attribution_type)
|
11347
|
+
@data = args[:data] if args.key?(:data)
|
11348
|
+
end
|
11349
|
+
end
|
11350
|
+
|
11351
|
+
# The media type and data of the blob.
|
11352
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
11353
|
+
include Google::Apis::Core::Hashable
|
11354
|
+
|
11355
|
+
# Output only. Raw bytes.
|
11356
|
+
# Corresponds to the JSON property `data`
|
11357
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
11358
|
+
# @return [String]
|
11359
|
+
attr_accessor :data
|
11360
|
+
|
11361
|
+
# Output only. The media type (MIME type) of the generated or retrieved data.
|
11362
|
+
# Corresponds to the JSON property `mimeType`
|
11363
|
+
# @return [String]
|
11364
|
+
attr_accessor :mime_type
|
11365
|
+
|
11366
|
+
def initialize(**args)
|
11367
|
+
update!(**args)
|
11368
|
+
end
|
11369
|
+
|
11370
|
+
# Update properties of this object
|
11371
|
+
def update!(**args)
|
11372
|
+
@data = args[:data] if args.key?(:data)
|
11373
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
11374
|
+
end
|
11375
|
+
end
|
11376
|
+
|
11252
11377
|
# Citation info for a segment.
|
11253
11378
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
11254
11379
|
include Google::Apis::Core::Hashable
|
@@ -11433,6 +11558,11 @@ module Google
|
|
11433
11558
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
|
11434
11559
|
include Google::Apis::Core::Hashable
|
11435
11560
|
|
11561
|
+
# Output only. Stores indexes of blobattachments linked to this chunk.
|
11562
|
+
# Corresponds to the JSON property `blobAttachmentIndexes`
|
11563
|
+
# @return [Array<Fixnum>]
|
11564
|
+
attr_accessor :blob_attachment_indexes
|
11565
|
+
|
11436
11566
|
# Chunk resource name.
|
11437
11567
|
# Corresponds to the JSON property `chunk`
|
11438
11568
|
# @return [String]
|
@@ -11462,6 +11592,7 @@ module Google
|
|
11462
11592
|
|
11463
11593
|
# Update properties of this object
|
11464
11594
|
def update!(**args)
|
11595
|
+
@blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
|
11465
11596
|
@chunk = args[:chunk] if args.key?(:chunk)
|
11466
11597
|
@content = args[:content] if args.key?(:content)
|
11467
11598
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
@@ -11598,6 +11729,11 @@ module Google
|
|
11598
11729
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
|
11599
11730
|
include Google::Apis::Core::Hashable
|
11600
11731
|
|
11732
|
+
# Output only. Stores indexes of blobattachments linked to this chunk.
|
11733
|
+
# Corresponds to the JSON property `blobAttachmentIndexes`
|
11734
|
+
# @return [Array<Fixnum>]
|
11735
|
+
attr_accessor :blob_attachment_indexes
|
11736
|
+
|
11601
11737
|
# Chunk textual content.
|
11602
11738
|
# Corresponds to the JSON property `content`
|
11603
11739
|
# @return [String]
|
@@ -11622,6 +11758,7 @@ module Google
|
|
11622
11758
|
|
11623
11759
|
# Update properties of this object
|
11624
11760
|
def update!(**args)
|
11761
|
+
@blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
|
11625
11762
|
@content = args[:content] if args.key?(:content)
|
11626
11763
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
11627
11764
|
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
@@ -11939,6 +12076,11 @@ module Google
|
|
11939
12076
|
# @return [String]
|
11940
12077
|
attr_accessor :name
|
11941
12078
|
|
12079
|
+
# Output only. Whether the NotebookLM Corpus is ready to be used.
|
12080
|
+
# Corresponds to the JSON property `notebooklmState`
|
12081
|
+
# @return [String]
|
12082
|
+
attr_accessor :notebooklm_state
|
12083
|
+
|
11942
12084
|
# Optional. Single-regional CMEKs that are required for some VAIS features.
|
11943
12085
|
# Corresponds to the JSON property `singleRegionKeys`
|
11944
12086
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSingleRegionKey>]
|
@@ -11960,6 +12102,7 @@ module Google
|
|
11960
12102
|
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
11961
12103
|
@last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
|
11962
12104
|
@name = args[:name] if args.key?(:name)
|
12105
|
+
@notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
|
11963
12106
|
@single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
|
11964
12107
|
@state = args[:state] if args.key?(:state)
|
11965
12108
|
end
|
@@ -13869,12 +14012,28 @@ module Google
|
|
13869
14012
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
13870
14013
|
include Google::Apis::Core::Hashable
|
13871
14014
|
|
14015
|
+
# Optional. If true, the LLM based annotation is added to the image during
|
14016
|
+
# parsing.
|
14017
|
+
# Corresponds to the JSON property `enableImageAnnotation`
|
14018
|
+
# @return [Boolean]
|
14019
|
+
attr_accessor :enable_image_annotation
|
14020
|
+
alias_method :enable_image_annotation?, :enable_image_annotation
|
14021
|
+
|
14022
|
+
# Optional. If true, the LLM based annotation is added to the table during
|
14023
|
+
# parsing.
|
14024
|
+
# Corresponds to the JSON property `enableTableAnnotation`
|
14025
|
+
# @return [Boolean]
|
14026
|
+
attr_accessor :enable_table_annotation
|
14027
|
+
alias_method :enable_table_annotation?, :enable_table_annotation
|
14028
|
+
|
13872
14029
|
def initialize(**args)
|
13873
14030
|
update!(**args)
|
13874
14031
|
end
|
13875
14032
|
|
13876
14033
|
# Update properties of this object
|
13877
14034
|
def update!(**args)
|
14035
|
+
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
14036
|
+
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
13878
14037
|
end
|
13879
14038
|
end
|
13880
14039
|
|
@@ -16358,10 +16517,10 @@ module Google
|
|
16358
16517
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
|
16359
16518
|
attr_accessor :custom_fine_tuning_spec
|
16360
16519
|
|
16361
|
-
# Specifications that define the specific
|
16362
|
-
#
|
16363
|
-
#
|
16364
|
-
#
|
16520
|
+
# Specifications that define the specific DataStores to be searched, along with
|
16521
|
+
# configurations for those data stores. This is only considered for Engines with
|
16522
|
+
# multiple data stores. For engines with a single data store, the specs directly
|
16523
|
+
# under SearchRequest should be used.
|
16365
16524
|
# Corresponds to the JSON property `dataStoreSpecs`
|
16366
16525
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
|
16367
16526
|
attr_accessor :data_store_specs
|
@@ -16492,29 +16651,30 @@ module Google
|
|
16492
16651
|
# This overrides ServingConfig.ranking_expression. The syntax and supported
|
16493
16652
|
# features depend on the ranking_expression_backend value. If
|
16494
16653
|
# ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
|
16495
|
-
# If
|
16496
|
-
# function or multiple functions that are joined by "+". *
|
16497
|
-
# function, ` " + ", function `; Supported functions: *
|
16498
|
-
# * double * dotProduct(embedding_field_path) Function
|
16499
|
-
# relevance_score`: pre-defined keywords, used for measure
|
16500
|
-
# query and document. * `embedding_field_path`: the document
|
16501
|
-
# used with query embedding vector. * `dotProduct`: embedding
|
16502
|
-
# embedding_field_path and query embedding vector. Example
|
16503
|
-
# If document has an embedding field doc_embedding, the
|
16504
|
-
# be `0.5 * relevance_score + 0.3 * dotProduct(
|
16505
|
-
# If
|
16506
|
-
#
|
16507
|
-
#
|
16508
|
-
#
|
16509
|
-
# is_nan(signal) -- returns 0 if signal
|
16510
|
-
#
|
16511
|
-
#
|
16512
|
-
#
|
16513
|
-
# 16) + 0.8 * rr(bm25_score, 32)
|
16514
|
-
#
|
16515
|
-
# adjustment *
|
16516
|
-
#
|
16517
|
-
# adjustment as a rank *
|
16654
|
+
# If ranking_expression_backend is not provided or set to `BYOE`, it should be a
|
16655
|
+
# single function or multiple functions that are joined by "+". *
|
16656
|
+
# ranking_expression = function, ` " + ", function `; Supported functions: *
|
16657
|
+
# double * relevance_score * double * dotProduct(embedding_field_path) Function
|
16658
|
+
# variables: * `relevance_score`: pre-defined keywords, used for measure
|
16659
|
+
# relevance between query and document. * `embedding_field_path`: the document
|
16660
|
+
# embedding field used with query embedding vector. * `dotProduct`: embedding
|
16661
|
+
# function between embedding_field_path and query embedding vector. Example
|
16662
|
+
# ranking expression: If document has an embedding field doc_embedding, the
|
16663
|
+
# ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
|
16664
|
+
# doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `
|
16665
|
+
# CLEARBOX`, the following expression types (and combinations of those chained
|
16666
|
+
# using + or * operators) are supported: * double * signal * log(signal) * exp(
|
16667
|
+
# signal) * rr(signal, double > 0) -- reciprocal rank transformation with second
|
16668
|
+
# argument being a denominator constant. * is_nan(signal) -- returns 0 if signal
|
16669
|
+
# is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is
|
16670
|
+
# NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 *
|
16671
|
+
# gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.
|
16672
|
+
# 3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32)
|
16673
|
+
# The following signals are supported: * gecko_score -- semantic similarity
|
16674
|
+
# adjustment * bm25_score -- keyword match adjustment * jetstream_score --
|
16675
|
+
# semantic relevance adjustment * pctr_rank -- predicted conversion rate
|
16676
|
+
# adjustment as a rank * freshness_rank -- freshness adjustment as a rank *
|
16677
|
+
# base_rank -- the default rank of the result
|
16518
16678
|
# Corresponds to the JSON property `rankingExpression`
|
16519
16679
|
# @return [String]
|
16520
16680
|
attr_accessor :ranking_expression
|
@@ -16681,7 +16841,7 @@ module Google
|
|
16681
16841
|
include Google::Apis::Core::Hashable
|
16682
16842
|
|
16683
16843
|
# Condition boost specifications. If a document matches multiple conditions in
|
16684
|
-
# the
|
16844
|
+
# the specifications, boost scores from these specifications are all applied and
|
16685
16845
|
# combined in a non-linear way. Maximum number of specifications is 20.
|
16686
16846
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
16687
16847
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec>]
|
@@ -17080,6 +17240,12 @@ module Google
|
|
17080
17240
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec]
|
17081
17241
|
attr_accessor :model_spec
|
17082
17242
|
|
17243
|
+
# Multimodal specification: Will return an image from specified source. If
|
17244
|
+
# multiple sources are specified, the pick is a quality based decision.
|
17245
|
+
# Corresponds to the JSON property `multimodalSpec`
|
17246
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec]
|
17247
|
+
attr_accessor :multimodal_spec
|
17248
|
+
|
17083
17249
|
# The number of top results to generate the summary from. If the number of
|
17084
17250
|
# results returned is less than `summaryResultCount`, the summary is generated
|
17085
17251
|
# from all of the results. At most 10 results for documents mode, or 50 for
|
@@ -17113,6 +17279,7 @@ module Google
|
|
17113
17279
|
@language_code = args[:language_code] if args.key?(:language_code)
|
17114
17280
|
@model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
|
17115
17281
|
@model_spec = args[:model_spec] if args.key?(:model_spec)
|
17282
|
+
@multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
|
17116
17283
|
@summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
|
17117
17284
|
@use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
|
17118
17285
|
end
|
@@ -17164,6 +17331,26 @@ module Google
|
|
17164
17331
|
end
|
17165
17332
|
end
|
17166
17333
|
|
17334
|
+
# Multimodal specification: Will return an image from specified source. If
|
17335
|
+
# multiple sources are specified, the pick is a quality based decision.
|
17336
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
17337
|
+
include Google::Apis::Core::Hashable
|
17338
|
+
|
17339
|
+
# Optional. Source of image returned in the answer.
|
17340
|
+
# Corresponds to the JSON property `imageSource`
|
17341
|
+
# @return [String]
|
17342
|
+
attr_accessor :image_source
|
17343
|
+
|
17344
|
+
def initialize(**args)
|
17345
|
+
update!(**args)
|
17346
|
+
end
|
17347
|
+
|
17348
|
+
# Update properties of this object
|
17349
|
+
def update!(**args)
|
17350
|
+
@image_source = args[:image_source] if args.key?(:image_source)
|
17351
|
+
end
|
17352
|
+
end
|
17353
|
+
|
17167
17354
|
# A struct to define data stores to filter on in a search call and
|
17168
17355
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
17169
17356
|
# is returned.
|
@@ -18278,6 +18465,11 @@ module Google
|
|
18278
18465
|
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
18279
18466
|
include Google::Apis::Core::Hashable
|
18280
18467
|
|
18468
|
+
# Optional. IANA time zone, e.g. Europe/Budapest.
|
18469
|
+
# Corresponds to the JSON property `timeZone`
|
18470
|
+
# @return [String]
|
18471
|
+
attr_accessor :time_zone
|
18472
|
+
|
18281
18473
|
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
|
18282
18474
|
# string with a length limit of 1,000 characters. Otherwise, an `
|
18283
18475
|
# INVALID_ARGUMENT` error is returned. This should not be set when using the
|
@@ -18303,6 +18495,7 @@ module Google
|
|
18303
18495
|
|
18304
18496
|
# Update properties of this object
|
18305
18497
|
def update!(**args)
|
18498
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
18306
18499
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
18307
18500
|
@user_id = args[:user_id] if args.key?(:user_id)
|
18308
18501
|
end
|
@@ -18457,6 +18650,11 @@ module Google
|
|
18457
18650
|
# @return [String]
|
18458
18651
|
attr_accessor :name
|
18459
18652
|
|
18653
|
+
# Output only. Whether the NotebookLM Corpus is ready to be used.
|
18654
|
+
# Corresponds to the JSON property `notebooklmState`
|
18655
|
+
# @return [String]
|
18656
|
+
attr_accessor :notebooklm_state
|
18657
|
+
|
18460
18658
|
# Optional. Single-regional CMEKs that are required for some VAIS features.
|
18461
18659
|
# Corresponds to the JSON property `singleRegionKeys`
|
18462
18660
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSingleRegionKey>]
|
@@ -18478,6 +18676,7 @@ module Google
|
|
18478
18676
|
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
18479
18677
|
@last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
|
18480
18678
|
@name = args[:name] if args.key?(:name)
|
18679
|
+
@notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
|
18481
18680
|
@single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
|
18482
18681
|
@state = args[:state] if args.key?(:state)
|
18483
18682
|
end
|
@@ -19071,6 +19270,17 @@ module Google
|
|
19071
19270
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
19072
19271
|
include Google::Apis::Core::Hashable
|
19073
19272
|
|
19273
|
+
# Immutable. Whether data in the DataStore has ACL information. If set to `true`,
|
19274
|
+
# the source data must have ACL. ACL will be ingested when data is ingested by
|
19275
|
+
# DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
|
19276
|
+
# Document can't be accessed by calling DocumentService.GetDocument or
|
19277
|
+
# DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
|
19278
|
+
# industry vertical with non-`PUBLIC_WEBSITE` content config.
|
19279
|
+
# Corresponds to the JSON property `aclEnabled`
|
19280
|
+
# @return [Boolean]
|
19281
|
+
attr_accessor :acl_enabled
|
19282
|
+
alias_method :acl_enabled?, :acl_enabled
|
19283
|
+
|
19074
19284
|
# Configuration data for advance site search.
|
19075
19285
|
# Corresponds to the JSON property `advancedSiteSearchConfig`
|
19076
19286
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig]
|
@@ -19195,6 +19405,7 @@ module Google
|
|
19195
19405
|
|
19196
19406
|
# Update properties of this object
|
19197
19407
|
def update!(**args)
|
19408
|
+
@acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
|
19198
19409
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
19199
19410
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
19200
19411
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
@@ -19676,12 +19887,28 @@ module Google
|
|
19676
19887
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
19677
19888
|
include Google::Apis::Core::Hashable
|
19678
19889
|
|
19890
|
+
# Optional. If true, the LLM based annotation is added to the image during
|
19891
|
+
# parsing.
|
19892
|
+
# Corresponds to the JSON property `enableImageAnnotation`
|
19893
|
+
# @return [Boolean]
|
19894
|
+
attr_accessor :enable_image_annotation
|
19895
|
+
alias_method :enable_image_annotation?, :enable_image_annotation
|
19896
|
+
|
19897
|
+
# Optional. If true, the LLM based annotation is added to the table during
|
19898
|
+
# parsing.
|
19899
|
+
# Corresponds to the JSON property `enableTableAnnotation`
|
19900
|
+
# @return [Boolean]
|
19901
|
+
attr_accessor :enable_table_annotation
|
19902
|
+
alias_method :enable_table_annotation?, :enable_table_annotation
|
19903
|
+
|
19679
19904
|
def initialize(**args)
|
19680
19905
|
update!(**args)
|
19681
19906
|
end
|
19682
19907
|
|
19683
19908
|
# Update properties of this object
|
19684
19909
|
def update!(**args)
|
19910
|
+
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
19911
|
+
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
19685
19912
|
end
|
19686
19913
|
end
|
19687
19914
|
|
@@ -21239,10 +21466,10 @@ module Google
|
|
21239
21466
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
|
21240
21467
|
attr_accessor :content_search_spec
|
21241
21468
|
|
21242
|
-
# Specifications that define the specific
|
21243
|
-
#
|
21244
|
-
#
|
21245
|
-
#
|
21469
|
+
# Specifications that define the specific DataStores to be searched, along with
|
21470
|
+
# configurations for those data stores. This is only considered for Engines with
|
21471
|
+
# multiple data stores. For engines with a single data store, the specs directly
|
21472
|
+
# under SearchRequest should be used.
|
21246
21473
|
# Corresponds to the JSON property `dataStoreSpecs`
|
21247
21474
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
|
21248
21475
|
attr_accessor :data_store_specs
|
@@ -21373,29 +21600,30 @@ module Google
|
|
21373
21600
|
# This overrides ServingConfig.ranking_expression. The syntax and supported
|
21374
21601
|
# features depend on the ranking_expression_backend value. If
|
21375
21602
|
# ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
|
21376
|
-
# If
|
21377
|
-
# function or multiple functions that are joined by "+". *
|
21378
|
-
# function, ` " + ", function `; Supported functions: *
|
21379
|
-
# * double * dotProduct(embedding_field_path) Function
|
21380
|
-
# relevance_score`: pre-defined keywords, used for measure
|
21381
|
-
# query and document. * `embedding_field_path`: the document
|
21382
|
-
# used with query embedding vector. * `dotProduct`: embedding
|
21383
|
-
# embedding_field_path and query embedding vector. Example
|
21384
|
-
# If document has an embedding field doc_embedding, the
|
21385
|
-
# be `0.5 * relevance_score + 0.3 * dotProduct(
|
21386
|
-
# If
|
21387
|
-
#
|
21388
|
-
#
|
21389
|
-
#
|
21390
|
-
# is_nan(signal) -- returns 0 if signal
|
21391
|
-
#
|
21392
|
-
#
|
21393
|
-
#
|
21394
|
-
# 16) + 0.8 * rr(bm25_score, 32)
|
21395
|
-
#
|
21396
|
-
# adjustment *
|
21397
|
-
#
|
21398
|
-
# adjustment as a rank *
|
21603
|
+
# If ranking_expression_backend is not provided or set to `BYOE`, it should be a
|
21604
|
+
# single function or multiple functions that are joined by "+". *
|
21605
|
+
# ranking_expression = function, ` " + ", function `; Supported functions: *
|
21606
|
+
# double * relevance_score * double * dotProduct(embedding_field_path) Function
|
21607
|
+
# variables: * `relevance_score`: pre-defined keywords, used for measure
|
21608
|
+
# relevance between query and document. * `embedding_field_path`: the document
|
21609
|
+
# embedding field used with query embedding vector. * `dotProduct`: embedding
|
21610
|
+
# function between embedding_field_path and query embedding vector. Example
|
21611
|
+
# ranking expression: If document has an embedding field doc_embedding, the
|
21612
|
+
# ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
|
21613
|
+
# doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `
|
21614
|
+
# CLEARBOX`, the following expression types (and combinations of those chained
|
21615
|
+
# using + or * operators) are supported: * double * signal * log(signal) * exp(
|
21616
|
+
# signal) * rr(signal, double > 0) -- reciprocal rank transformation with second
|
21617
|
+
# argument being a denominator constant. * is_nan(signal) -- returns 0 if signal
|
21618
|
+
# is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is
|
21619
|
+
# NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 *
|
21620
|
+
# gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.
|
21621
|
+
# 3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32)
|
21622
|
+
# The following signals are supported: * gecko_score -- semantic similarity
|
21623
|
+
# adjustment * bm25_score -- keyword match adjustment * jetstream_score --
|
21624
|
+
# semantic relevance adjustment * pctr_rank -- predicted conversion rate
|
21625
|
+
# adjustment as a rank * freshness_rank -- freshness adjustment as a rank *
|
21626
|
+
# base_rank -- the default rank of the result
|
21399
21627
|
# Corresponds to the JSON property `rankingExpression`
|
21400
21628
|
# @return [String]
|
21401
21629
|
attr_accessor :ranking_expression
|
@@ -21561,7 +21789,7 @@ module Google
|
|
21561
21789
|
include Google::Apis::Core::Hashable
|
21562
21790
|
|
21563
21791
|
# Condition boost specifications. If a document matches multiple conditions in
|
21564
|
-
# the
|
21792
|
+
# the specifications, boost scores from these specifications are all applied and
|
21565
21793
|
# combined in a non-linear way. Maximum number of specifications is 20.
|
21566
21794
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
21567
21795
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec>]
|
@@ -21960,6 +22188,12 @@ module Google
|
|
21960
22188
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec]
|
21961
22189
|
attr_accessor :model_spec
|
21962
22190
|
|
22191
|
+
# Multimodal specification: Will return an image from specified source. If
|
22192
|
+
# multiple sources are specified, the pick is a quality based decision.
|
22193
|
+
# Corresponds to the JSON property `multimodalSpec`
|
22194
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec]
|
22195
|
+
attr_accessor :multimodal_spec
|
22196
|
+
|
21963
22197
|
# The number of top results to generate the summary from. If the number of
|
21964
22198
|
# results returned is less than `summaryResultCount`, the summary is generated
|
21965
22199
|
# from all of the results. At most 10 results for documents mode, or 50 for
|
@@ -21993,6 +22227,7 @@ module Google
|
|
21993
22227
|
@language_code = args[:language_code] if args.key?(:language_code)
|
21994
22228
|
@model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
|
21995
22229
|
@model_spec = args[:model_spec] if args.key?(:model_spec)
|
22230
|
+
@multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
|
21996
22231
|
@summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
|
21997
22232
|
@use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
|
21998
22233
|
end
|
@@ -22044,6 +22279,26 @@ module Google
|
|
22044
22279
|
end
|
22045
22280
|
end
|
22046
22281
|
|
22282
|
+
# Multimodal specification: Will return an image from specified source. If
|
22283
|
+
# multiple sources are specified, the pick is a quality based decision.
|
22284
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
22285
|
+
include Google::Apis::Core::Hashable
|
22286
|
+
|
22287
|
+
# Optional. Source of image returned in the answer.
|
22288
|
+
# Corresponds to the JSON property `imageSource`
|
22289
|
+
# @return [String]
|
22290
|
+
attr_accessor :image_source
|
22291
|
+
|
22292
|
+
def initialize(**args)
|
22293
|
+
update!(**args)
|
22294
|
+
end
|
22295
|
+
|
22296
|
+
# Update properties of this object
|
22297
|
+
def update!(**args)
|
22298
|
+
@image_source = args[:image_source] if args.key?(:image_source)
|
22299
|
+
end
|
22300
|
+
end
|
22301
|
+
|
22047
22302
|
# A struct to define data stores to filter on in a search call and
|
22048
22303
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
22049
22304
|
# is returned.
|
@@ -22923,6 +23178,11 @@ module Google
|
|
22923
23178
|
class GoogleCloudDiscoveryengineV1betaUserInfo
|
22924
23179
|
include Google::Apis::Core::Hashable
|
22925
23180
|
|
23181
|
+
# Optional. IANA time zone, e.g. Europe/Budapest.
|
23182
|
+
# Corresponds to the JSON property `timeZone`
|
23183
|
+
# @return [String]
|
23184
|
+
attr_accessor :time_zone
|
23185
|
+
|
22926
23186
|
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
|
22927
23187
|
# string with a length limit of 1,000 characters. Otherwise, an `
|
22928
23188
|
# INVALID_ARGUMENT` error is returned. This should not be set when using the
|
@@ -22948,6 +23208,7 @@ module Google
|
|
22948
23208
|
|
22949
23209
|
# Update properties of this object
|
22950
23210
|
def update!(**args)
|
23211
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
22951
23212
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
22952
23213
|
@user_id = args[:user_id] if args.key?(:user_id)
|
22953
23214
|
end
|
@@ -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.32.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 = "20250322"
|
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
|
|
@@ -1804,6 +1810,18 @@ module Google
|
|
1804
1810
|
include Google::Apis::Core::JsonObjectSupport
|
1805
1811
|
end
|
1806
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
|
+
|
1807
1825
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
1808
1826
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1809
1827
|
|
@@ -2704,6 +2722,12 @@ module Google
|
|
2704
2722
|
include Google::Apis::Core::JsonObjectSupport
|
2705
2723
|
end
|
2706
2724
|
|
2725
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
2726
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2727
|
+
|
2728
|
+
include Google::Apis::Core::JsonObjectSupport
|
2729
|
+
end
|
2730
|
+
|
2707
2731
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
2708
2732
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2709
2733
|
|
@@ -3508,6 +3532,12 @@ module Google
|
|
3508
3532
|
include Google::Apis::Core::JsonObjectSupport
|
3509
3533
|
end
|
3510
3534
|
|
3535
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
3536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3537
|
+
|
3538
|
+
include Google::Apis::Core::JsonObjectSupport
|
3539
|
+
end
|
3540
|
+
|
3511
3541
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
3512
3542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3513
3543
|
|
@@ -4650,6 +4680,7 @@ module Google
|
|
4650
4680
|
property :kms_key_version, as: 'kmsKeyVersion'
|
4651
4681
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
4652
4682
|
property :name, as: 'name'
|
4683
|
+
property :notebooklm_state, as: 'notebooklmState'
|
4653
4684
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SingleRegionKey, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SingleRegionKey::Representation
|
4654
4685
|
|
4655
4686
|
property :state, as: 'state'
|
@@ -4942,6 +4973,7 @@ module Google
|
|
4942
4973
|
class GoogleCloudDiscoveryengineV1DataStore
|
4943
4974
|
# @private
|
4944
4975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4976
|
+
property :acl_enabled, as: 'aclEnabled'
|
4945
4977
|
property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig::Representation
|
4946
4978
|
|
4947
4979
|
property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation::Representation
|
@@ -5166,6 +5198,8 @@ module Google
|
|
5166
5198
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
5167
5199
|
# @private
|
5168
5200
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5201
|
+
property :enable_image_annotation, as: 'enableImageAnnotation'
|
5202
|
+
property :enable_table_annotation, as: 'enableTableAnnotation'
|
5169
5203
|
end
|
5170
5204
|
end
|
5171
5205
|
|
@@ -5599,6 +5633,14 @@ module Google
|
|
5599
5633
|
end
|
5600
5634
|
end
|
5601
5635
|
|
5636
|
+
class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse
|
5637
|
+
# @private
|
5638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5639
|
+
collection :cmek_configs, as: 'cmekConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig::Representation
|
5640
|
+
|
5641
|
+
end
|
5642
|
+
end
|
5643
|
+
|
5602
5644
|
class GoogleCloudDiscoveryengineV1ListControlsResponse
|
5603
5645
|
# @private
|
5604
5646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6688,6 +6730,7 @@ module Google
|
|
6688
6730
|
class GoogleCloudDiscoveryengineV1UserInfo
|
6689
6731
|
# @private
|
6690
6732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6733
|
+
property :time_zone, as: 'timeZone'
|
6691
6734
|
property :user_agent, as: 'userAgent'
|
6692
6735
|
property :user_id, as: 'userId'
|
6693
6736
|
end
|
@@ -6717,6 +6760,7 @@ module Google
|
|
6717
6760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6718
6761
|
hash :action_params, as: 'actionParams'
|
6719
6762
|
property :is_action_configured, as: 'isActionConfigured'
|
6763
|
+
property :service_name, as: 'serviceName'
|
6720
6764
|
end
|
6721
6765
|
end
|
6722
6766
|
|
@@ -6750,6 +6794,8 @@ module Google
|
|
6750
6794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6751
6795
|
collection :answer_skipped_reasons, as: 'answerSkippedReasons'
|
6752
6796
|
property :answer_text, as: 'answerText'
|
6797
|
+
collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment::Representation
|
6798
|
+
|
6753
6799
|
collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitation::Representation
|
6754
6800
|
|
6755
6801
|
property :complete_time, as: 'completeTime'
|
@@ -6771,6 +6817,23 @@ module Google
|
|
6771
6817
|
end
|
6772
6818
|
end
|
6773
6819
|
|
6820
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
6821
|
+
# @private
|
6822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6823
|
+
property :attribution_type, as: 'attributionType'
|
6824
|
+
property :data, as: 'data', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob::Representation
|
6825
|
+
|
6826
|
+
end
|
6827
|
+
end
|
6828
|
+
|
6829
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
6830
|
+
# @private
|
6831
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6832
|
+
property :data, :base64 => true, as: 'data'
|
6833
|
+
property :mime_type, as: 'mimeType'
|
6834
|
+
end
|
6835
|
+
end
|
6836
|
+
|
6774
6837
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
6775
6838
|
# @private
|
6776
6839
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6831,6 +6894,7 @@ module Google
|
|
6831
6894
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
|
6832
6895
|
# @private
|
6833
6896
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6897
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
6834
6898
|
property :chunk, as: 'chunk'
|
6835
6899
|
property :content, as: 'content'
|
6836
6900
|
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata::Representation
|
@@ -6875,6 +6939,7 @@ module Google
|
|
6875
6939
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
|
6876
6940
|
# @private
|
6877
6941
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6942
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
6878
6943
|
property :content, as: 'content'
|
6879
6944
|
property :page_identifier, as: 'pageIdentifier'
|
6880
6945
|
property :relevance_score, as: 'relevanceScore'
|
@@ -6979,6 +7044,7 @@ module Google
|
|
6979
7044
|
property :kms_key_version, as: 'kmsKeyVersion'
|
6980
7045
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
6981
7046
|
property :name, as: 'name'
|
7047
|
+
property :notebooklm_state, as: 'notebooklmState'
|
6982
7048
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSingleRegionKey::Representation
|
6983
7049
|
|
6984
7050
|
property :state, as: 'state'
|
@@ -7495,6 +7561,8 @@ module Google
|
|
7495
7561
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
7496
7562
|
# @private
|
7497
7563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7564
|
+
property :enable_image_annotation, as: 'enableImageAnnotation'
|
7565
|
+
property :enable_table_annotation, as: 'enableTableAnnotation'
|
7498
7566
|
end
|
7499
7567
|
end
|
7500
7568
|
|
@@ -8315,6 +8383,8 @@ module Google
|
|
8315
8383
|
|
8316
8384
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
8317
8385
|
|
8386
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
|
8387
|
+
|
8318
8388
|
property :summary_result_count, as: 'summaryResultCount'
|
8319
8389
|
property :use_semantic_chunks, as: 'useSemanticChunks'
|
8320
8390
|
end
|
@@ -8334,6 +8404,13 @@ module Google
|
|
8334
8404
|
end
|
8335
8405
|
end
|
8336
8406
|
|
8407
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
8408
|
+
# @private
|
8409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8410
|
+
property :image_source, as: 'imageSource'
|
8411
|
+
end
|
8412
|
+
end
|
8413
|
+
|
8337
8414
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
8338
8415
|
# @private
|
8339
8416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8649,6 +8726,7 @@ module Google
|
|
8649
8726
|
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
8650
8727
|
# @private
|
8651
8728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8729
|
+
property :time_zone, as: 'timeZone'
|
8652
8730
|
property :user_agent, as: 'userAgent'
|
8653
8731
|
property :user_id, as: 'userId'
|
8654
8732
|
end
|
@@ -8696,6 +8774,7 @@ module Google
|
|
8696
8774
|
property :kms_key_version, as: 'kmsKeyVersion'
|
8697
8775
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
8698
8776
|
property :name, as: 'name'
|
8777
|
+
property :notebooklm_state, as: 'notebooklmState'
|
8699
8778
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSingleRegionKey::Representation
|
8700
8779
|
|
8701
8780
|
property :state, as: 'state'
|
@@ -8871,6 +8950,7 @@ module Google
|
|
8871
8950
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
8872
8951
|
# @private
|
8873
8952
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8953
|
+
property :acl_enabled, as: 'aclEnabled'
|
8874
8954
|
property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig::Representation
|
8875
8955
|
|
8876
8956
|
property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation::Representation
|
@@ -9049,6 +9129,8 @@ module Google
|
|
9049
9129
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
9050
9130
|
# @private
|
9051
9131
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9132
|
+
property :enable_image_annotation, as: 'enableImageAnnotation'
|
9133
|
+
property :enable_table_annotation, as: 'enableTableAnnotation'
|
9052
9134
|
end
|
9053
9135
|
end
|
9054
9136
|
|
@@ -9633,6 +9715,8 @@ module Google
|
|
9633
9715
|
|
9634
9716
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
9635
9717
|
|
9718
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
|
9719
|
+
|
9636
9720
|
property :summary_result_count, as: 'summaryResultCount'
|
9637
9721
|
property :use_semantic_chunks, as: 'useSemanticChunks'
|
9638
9722
|
end
|
@@ -9652,6 +9736,13 @@ module Google
|
|
9652
9736
|
end
|
9653
9737
|
end
|
9654
9738
|
|
9739
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
9740
|
+
# @private
|
9741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9742
|
+
property :image_source, as: 'imageSource'
|
9743
|
+
end
|
9744
|
+
end
|
9745
|
+
|
9655
9746
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
9656
9747
|
# @private
|
9657
9748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9896,6 +9987,7 @@ module Google
|
|
9896
9987
|
class GoogleCloudDiscoveryengineV1betaUserInfo
|
9897
9988
|
# @private
|
9898
9989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9990
|
+
property :time_zone, as: 'timeZone'
|
9899
9991
|
property :user_agent, as: 'userAgent'
|
9900
9992
|
property :user_id, as: 'userId'
|
9901
9993
|
end
|
@@ -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.32.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-30 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.32.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:
|