google-apis-discoveryengine_v1 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +445 -0
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +197 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +60 -3
- 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: bc80d289f3201e67dacf391a0bed023302b3b78a46383b3d5d4fcd94ec9ae0ed
|
4
|
+
data.tar.gz: 40445b2616c129ecf30dfc9f23d9b3fbd40171794a35149872ac0a688c17d731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe3c7bae685fe0d4bef296bde50a92b0591a625cb27eed8ede9ec6e5dcd5eee3c4e119a9360b3c15cb566989fdccf9be1ad37e9f354679cc43abfb474c08a04e
|
7
|
+
data.tar.gz: 343965d5081f6bd1d87a95f51d40d883e8bf29497347808ee5551ee51ec643f63cfadaccc58bf40eebbc2a35b8543d4cc75ff4543948a8d6d95dd016c92a14ff
|
data/CHANGELOG.md
CHANGED
@@ -276,6 +276,64 @@ module Google
|
|
276
276
|
end
|
277
277
|
end
|
278
278
|
|
279
|
+
# AlloyDB source import data from.
|
280
|
+
class GoogleCloudDiscoveryengineV1AlloyDbSource
|
281
|
+
include Google::Apis::Core::Hashable
|
282
|
+
|
283
|
+
# Required. The AlloyDB cluster to copy the data from with a length limit of 256
|
284
|
+
# characters.
|
285
|
+
# Corresponds to the JSON property `clusterId`
|
286
|
+
# @return [String]
|
287
|
+
attr_accessor :cluster_id
|
288
|
+
|
289
|
+
# Required. The AlloyDB database to copy the data from with a length limit of
|
290
|
+
# 256 characters.
|
291
|
+
# Corresponds to the JSON property `databaseId`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :database_id
|
294
|
+
|
295
|
+
# Intermediate Cloud Storage directory used for the import with a length limit
|
296
|
+
# of 2,000 characters. Can be specified if one wants to have the AlloyDB export
|
297
|
+
# to a specific Cloud Storage directory. Ensure that the AlloyDB service account
|
298
|
+
# has the necessary Cloud Storage Admin permissions to access the specified
|
299
|
+
# Cloud Storage directory.
|
300
|
+
# Corresponds to the JSON property `gcsStagingDir`
|
301
|
+
# @return [String]
|
302
|
+
attr_accessor :gcs_staging_dir
|
303
|
+
|
304
|
+
# Required. The AlloyDB location to copy the data from with a length limit of
|
305
|
+
# 256 characters.
|
306
|
+
# Corresponds to the JSON property `locationId`
|
307
|
+
# @return [String]
|
308
|
+
attr_accessor :location_id
|
309
|
+
|
310
|
+
# The project ID that the AlloyDB source is in with a length limit of 128
|
311
|
+
# characters. If not specified, inherits the project ID from the parent request.
|
312
|
+
# Corresponds to the JSON property `projectId`
|
313
|
+
# @return [String]
|
314
|
+
attr_accessor :project_id
|
315
|
+
|
316
|
+
# Required. The AlloyDB table to copy the data from with a length limit of 256
|
317
|
+
# characters.
|
318
|
+
# Corresponds to the JSON property `tableId`
|
319
|
+
# @return [String]
|
320
|
+
attr_accessor :table_id
|
321
|
+
|
322
|
+
def initialize(**args)
|
323
|
+
update!(**args)
|
324
|
+
end
|
325
|
+
|
326
|
+
# Update properties of this object
|
327
|
+
def update!(**args)
|
328
|
+
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
329
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
330
|
+
@gcs_staging_dir = args[:gcs_staging_dir] if args.key?(:gcs_staging_dir)
|
331
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
332
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
333
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
279
337
|
# Defines an answer.
|
280
338
|
class GoogleCloudDiscoveryengineV1Answer
|
281
339
|
include Google::Apis::Core::Hashable
|
@@ -459,6 +517,21 @@ module Google
|
|
459
517
|
# @return [String]
|
460
518
|
attr_accessor :session
|
461
519
|
|
520
|
+
# The user labels applied to a resource must meet the following requirements: *
|
521
|
+
# Each resource can have multiple labels, up to a maximum of 64. * Each label
|
522
|
+
# must be a key-value pair. * Keys have a minimum length of 1 character and a
|
523
|
+
# maximum length of 63 characters and cannot be empty. Values can be empty and
|
524
|
+
# have a maximum length of 63 characters. * Keys and values can contain only
|
525
|
+
# lowercase letters, numeric characters, underscores, and dashes. All characters
|
526
|
+
# must use UTF-8 encoding, and international characters are allowed. * The key
|
527
|
+
# portion of a label must be unique. However, you can use the same key with
|
528
|
+
# multiple resources. * Keys must start with a lowercase letter or international
|
529
|
+
# character. See [Google Cloud Document](https://cloud.google.com/resource-
|
530
|
+
# manager/docs/creating-managing-labels#requirements) for more details.
|
531
|
+
# Corresponds to the JSON property `userLabels`
|
532
|
+
# @return [Hash<String,String>]
|
533
|
+
attr_accessor :user_labels
|
534
|
+
|
462
535
|
# A unique identifier for tracking visitors. For example, this could be
|
463
536
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
464
537
|
# visitor on a single device. This unique identifier should not change if the
|
@@ -484,6 +557,7 @@ module Google
|
|
484
557
|
@safety_spec = args[:safety_spec] if args.key?(:safety_spec)
|
485
558
|
@search_spec = args[:search_spec] if args.key?(:search_spec)
|
486
559
|
@session = args[:session] if args.key?(:session)
|
560
|
+
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
487
561
|
@user_pseudo_id = args[:user_pseudo_id] if args.key?(:user_pseudo_id)
|
488
562
|
end
|
489
563
|
end
|
@@ -778,6 +852,15 @@ module Google
|
|
778
852
|
# @return [String]
|
779
853
|
attr_accessor :order_by
|
780
854
|
|
855
|
+
# Specifies the search result mode. If unspecified, the search result mode is
|
856
|
+
# based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.
|
857
|
+
# DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`.
|
858
|
+
# * Otherwise, it defaults to `DOCUMENTS`. See [parse and chunk documents](
|
859
|
+
# https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents)
|
860
|
+
# Corresponds to the JSON property `searchResultMode`
|
861
|
+
# @return [String]
|
862
|
+
attr_accessor :search_result_mode
|
863
|
+
|
781
864
|
def initialize(**args)
|
782
865
|
update!(**args)
|
783
866
|
end
|
@@ -789,6 +872,7 @@ module Google
|
|
789
872
|
@filter = args[:filter] if args.key?(:filter)
|
790
873
|
@max_return_results = args[:max_return_results] if args.key?(:max_return_results)
|
791
874
|
@order_by = args[:order_by] if args.key?(:order_by)
|
875
|
+
@search_result_mode = args[:search_result_mode] if args.key?(:search_result_mode)
|
792
876
|
end
|
793
877
|
end
|
794
878
|
|
@@ -1904,6 +1988,164 @@ module Google
|
|
1904
1988
|
end
|
1905
1989
|
end
|
1906
1990
|
|
1991
|
+
# Chunk captures all raw metadata information of items to be recommended or
|
1992
|
+
# searched in the chunk mode.
|
1993
|
+
class GoogleCloudDiscoveryengineV1Chunk
|
1994
|
+
include Google::Apis::Core::Hashable
|
1995
|
+
|
1996
|
+
# Metadata of the current chunk. This field is only populated on SearchService.
|
1997
|
+
# Search API.
|
1998
|
+
# Corresponds to the JSON property `chunkMetadata`
|
1999
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata]
|
2000
|
+
attr_accessor :chunk_metadata
|
2001
|
+
|
2002
|
+
# Content is a string from a document (parsed content).
|
2003
|
+
# Corresponds to the JSON property `content`
|
2004
|
+
# @return [String]
|
2005
|
+
attr_accessor :content
|
2006
|
+
|
2007
|
+
# Output only. This field is OUTPUT_ONLY. It contains derived data that are not
|
2008
|
+
# in the original input document.
|
2009
|
+
# Corresponds to the JSON property `derivedStructData`
|
2010
|
+
# @return [Hash<String,Object>]
|
2011
|
+
attr_accessor :derived_struct_data
|
2012
|
+
|
2013
|
+
# Document metadata contains the information of the document of the current
|
2014
|
+
# chunk.
|
2015
|
+
# Corresponds to the JSON property `documentMetadata`
|
2016
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata]
|
2017
|
+
attr_accessor :document_metadata
|
2018
|
+
|
2019
|
+
# Unique chunk ID of the current chunk.
|
2020
|
+
# Corresponds to the JSON property `id`
|
2021
|
+
# @return [String]
|
2022
|
+
attr_accessor :id
|
2023
|
+
|
2024
|
+
# The full resource name of the chunk. Format: `projects/`project`/locations/`
|
2025
|
+
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch`/
|
2026
|
+
# documents/`document_id`/chunks/`chunk_id``. This field must be a UTF-8 encoded
|
2027
|
+
# string with a length limit of 1024 characters.
|
2028
|
+
# Corresponds to the JSON property `name`
|
2029
|
+
# @return [String]
|
2030
|
+
attr_accessor :name
|
2031
|
+
|
2032
|
+
# Page span of the chunk.
|
2033
|
+
# Corresponds to the JSON property `pageSpan`
|
2034
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkPageSpan]
|
2035
|
+
attr_accessor :page_span
|
2036
|
+
|
2037
|
+
# Output only. Represents the relevance score based on similarity. Higher score
|
2038
|
+
# indicates higher chunk relevance. The score is in range [-1.0, 1.0]. Only
|
2039
|
+
# populated on SearchService.SearchResponse.
|
2040
|
+
# Corresponds to the JSON property `relevanceScore`
|
2041
|
+
# @return [Float]
|
2042
|
+
attr_accessor :relevance_score
|
2043
|
+
|
2044
|
+
def initialize(**args)
|
2045
|
+
update!(**args)
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
# Update properties of this object
|
2049
|
+
def update!(**args)
|
2050
|
+
@chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
|
2051
|
+
@content = args[:content] if args.key?(:content)
|
2052
|
+
@derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
|
2053
|
+
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
2054
|
+
@id = args[:id] if args.key?(:id)
|
2055
|
+
@name = args[:name] if args.key?(:name)
|
2056
|
+
@page_span = args[:page_span] if args.key?(:page_span)
|
2057
|
+
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
2058
|
+
end
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# Metadata of the current chunk. This field is only populated on SearchService.
|
2062
|
+
# Search API.
|
2063
|
+
class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
|
2064
|
+
include Google::Apis::Core::Hashable
|
2065
|
+
|
2066
|
+
# The next chunks of the current chunk. The number is controlled by
|
2067
|
+
# SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is only
|
2068
|
+
# populated on SearchService.Search API.
|
2069
|
+
# Corresponds to the JSON property `nextChunks`
|
2070
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk>]
|
2071
|
+
attr_accessor :next_chunks
|
2072
|
+
|
2073
|
+
# The previous chunks of the current chunk. The number is controlled by
|
2074
|
+
# SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. This field is
|
2075
|
+
# only populated on SearchService.Search API.
|
2076
|
+
# Corresponds to the JSON property `previousChunks`
|
2077
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk>]
|
2078
|
+
attr_accessor :previous_chunks
|
2079
|
+
|
2080
|
+
def initialize(**args)
|
2081
|
+
update!(**args)
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
# Update properties of this object
|
2085
|
+
def update!(**args)
|
2086
|
+
@next_chunks = args[:next_chunks] if args.key?(:next_chunks)
|
2087
|
+
@previous_chunks = args[:previous_chunks] if args.key?(:previous_chunks)
|
2088
|
+
end
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# Document metadata contains the information of the document of the current
|
2092
|
+
# chunk.
|
2093
|
+
class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata
|
2094
|
+
include Google::Apis::Core::Hashable
|
2095
|
+
|
2096
|
+
# Data representation. The structured JSON data for the document. It should
|
2097
|
+
# conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown.
|
2098
|
+
# Corresponds to the JSON property `structData`
|
2099
|
+
# @return [Hash<String,Object>]
|
2100
|
+
attr_accessor :struct_data
|
2101
|
+
|
2102
|
+
# Title of the document.
|
2103
|
+
# Corresponds to the JSON property `title`
|
2104
|
+
# @return [String]
|
2105
|
+
attr_accessor :title
|
2106
|
+
|
2107
|
+
# Uri of the document.
|
2108
|
+
# Corresponds to the JSON property `uri`
|
2109
|
+
# @return [String]
|
2110
|
+
attr_accessor :uri
|
2111
|
+
|
2112
|
+
def initialize(**args)
|
2113
|
+
update!(**args)
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
# Update properties of this object
|
2117
|
+
def update!(**args)
|
2118
|
+
@struct_data = args[:struct_data] if args.key?(:struct_data)
|
2119
|
+
@title = args[:title] if args.key?(:title)
|
2120
|
+
@uri = args[:uri] if args.key?(:uri)
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
# Page span of the chunk.
|
2125
|
+
class GoogleCloudDiscoveryengineV1ChunkPageSpan
|
2126
|
+
include Google::Apis::Core::Hashable
|
2127
|
+
|
2128
|
+
# The end page of the chunk.
|
2129
|
+
# Corresponds to the JSON property `pageEnd`
|
2130
|
+
# @return [Fixnum]
|
2131
|
+
attr_accessor :page_end
|
2132
|
+
|
2133
|
+
# The start page of the chunk.
|
2134
|
+
# Corresponds to the JSON property `pageStart`
|
2135
|
+
# @return [Fixnum]
|
2136
|
+
attr_accessor :page_start
|
2137
|
+
|
2138
|
+
def initialize(**args)
|
2139
|
+
update!(**args)
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
# Update properties of this object
|
2143
|
+
def update!(**args)
|
2144
|
+
@page_end = args[:page_end] if args.key?(:page_end)
|
2145
|
+
@page_start = args[:page_start] if args.key?(:page_start)
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
|
1907
2149
|
# Cloud SQL source import data from.
|
1908
2150
|
class GoogleCloudDiscoveryengineV1CloudSqlSource
|
1909
2151
|
include Google::Apis::Core::Hashable
|
@@ -3136,6 +3378,11 @@ module Google
|
|
3136
3378
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
|
3137
3379
|
include Google::Apis::Core::Hashable
|
3138
3380
|
|
3381
|
+
# Configuration for chunking config.
|
3382
|
+
# Corresponds to the JSON property `chunkingConfig`
|
3383
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig]
|
3384
|
+
attr_accessor :chunking_config
|
3385
|
+
|
3139
3386
|
# Related configurations applied to a specific type of document parser.
|
3140
3387
|
# Corresponds to the JSON property `defaultParsingConfig`
|
3141
3388
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig]
|
@@ -3163,12 +3410,60 @@ module Google
|
|
3163
3410
|
|
3164
3411
|
# Update properties of this object
|
3165
3412
|
def update!(**args)
|
3413
|
+
@chunking_config = args[:chunking_config] if args.key?(:chunking_config)
|
3166
3414
|
@default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
|
3167
3415
|
@name = args[:name] if args.key?(:name)
|
3168
3416
|
@parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
|
3169
3417
|
end
|
3170
3418
|
end
|
3171
3419
|
|
3420
|
+
# Configuration for chunking config.
|
3421
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
|
3422
|
+
include Google::Apis::Core::Hashable
|
3423
|
+
|
3424
|
+
# Configuration for the layout based chunking.
|
3425
|
+
# Corresponds to the JSON property `layoutBasedChunkingConfig`
|
3426
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig]
|
3427
|
+
attr_accessor :layout_based_chunking_config
|
3428
|
+
|
3429
|
+
def initialize(**args)
|
3430
|
+
update!(**args)
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
# Update properties of this object
|
3434
|
+
def update!(**args)
|
3435
|
+
@layout_based_chunking_config = args[:layout_based_chunking_config] if args.key?(:layout_based_chunking_config)
|
3436
|
+
end
|
3437
|
+
end
|
3438
|
+
|
3439
|
+
# Configuration for the layout based chunking.
|
3440
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
|
3441
|
+
include Google::Apis::Core::Hashable
|
3442
|
+
|
3443
|
+
# The token size limit for each chunk. Supported values: 100-500 (inclusive).
|
3444
|
+
# Default value: 500.
|
3445
|
+
# Corresponds to the JSON property `chunkSize`
|
3446
|
+
# @return [Fixnum]
|
3447
|
+
attr_accessor :chunk_size
|
3448
|
+
|
3449
|
+
# Whether to include appending different levels of headings to chunks from the
|
3450
|
+
# middle of the document to prevent context loss. Default value: False.
|
3451
|
+
# Corresponds to the JSON property `includeAncestorHeadings`
|
3452
|
+
# @return [Boolean]
|
3453
|
+
attr_accessor :include_ancestor_headings
|
3454
|
+
alias_method :include_ancestor_headings?, :include_ancestor_headings
|
3455
|
+
|
3456
|
+
def initialize(**args)
|
3457
|
+
update!(**args)
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# Update properties of this object
|
3461
|
+
def update!(**args)
|
3462
|
+
@chunk_size = args[:chunk_size] if args.key?(:chunk_size)
|
3463
|
+
@include_ancestor_headings = args[:include_ancestor_headings] if args.key?(:include_ancestor_headings)
|
3464
|
+
end
|
3465
|
+
end
|
3466
|
+
|
3172
3467
|
# Related configurations applied to a specific type of document parser.
|
3173
3468
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
3174
3469
|
include Google::Apis::Core::Hashable
|
@@ -3178,6 +3473,11 @@ module Google
|
|
3178
3473
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig]
|
3179
3474
|
attr_accessor :digital_parsing_config
|
3180
3475
|
|
3476
|
+
# The layout parsing configurations for documents.
|
3477
|
+
# Corresponds to the JSON property `layoutParsingConfig`
|
3478
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig]
|
3479
|
+
attr_accessor :layout_parsing_config
|
3480
|
+
|
3181
3481
|
# The OCR parsing configurations for documents.
|
3182
3482
|
# Corresponds to the JSON property `ocrParsingConfig`
|
3183
3483
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig]
|
@@ -3190,6 +3490,7 @@ module Google
|
|
3190
3490
|
# Update properties of this object
|
3191
3491
|
def update!(**args)
|
3192
3492
|
@digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
|
3493
|
+
@layout_parsing_config = args[:layout_parsing_config] if args.key?(:layout_parsing_config)
|
3193
3494
|
@ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
|
3194
3495
|
end
|
3195
3496
|
end
|
@@ -3207,6 +3508,19 @@ module Google
|
|
3207
3508
|
end
|
3208
3509
|
end
|
3209
3510
|
|
3511
|
+
# The layout parsing configurations for documents.
|
3512
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
3513
|
+
include Google::Apis::Core::Hashable
|
3514
|
+
|
3515
|
+
def initialize(**args)
|
3516
|
+
update!(**args)
|
3517
|
+
end
|
3518
|
+
|
3519
|
+
# Update properties of this object
|
3520
|
+
def update!(**args)
|
3521
|
+
end
|
3522
|
+
end
|
3523
|
+
|
3210
3524
|
# The OCR parsing configurations for documents.
|
3211
3525
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
|
3212
3526
|
include Google::Apis::Core::Hashable
|
@@ -3792,6 +4106,11 @@ module Google
|
|
3792
4106
|
class GoogleCloudDiscoveryengineV1ImportDocumentsRequest
|
3793
4107
|
include Google::Apis::Core::Hashable
|
3794
4108
|
|
4109
|
+
# AlloyDB source import data from.
|
4110
|
+
# Corresponds to the JSON property `alloyDbSource`
|
4111
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlloyDbSource]
|
4112
|
+
attr_accessor :alloy_db_source
|
4113
|
+
|
3795
4114
|
# Whether to automatically generate IDs for the documents if absent. If set to `
|
3796
4115
|
# true`, Document.ids are automatically generated based on the hash of the
|
3797
4116
|
# payload, where IDs may not be consistent during multiple imports. In which
|
@@ -3889,6 +4208,7 @@ module Google
|
|
3889
4208
|
|
3890
4209
|
# Update properties of this object
|
3891
4210
|
def update!(**args)
|
4211
|
+
@alloy_db_source = args[:alloy_db_source] if args.key?(:alloy_db_source)
|
3892
4212
|
@auto_generate_ids = args[:auto_generate_ids] if args.key?(:auto_generate_ids)
|
3893
4213
|
@bigquery_source = args[:bigquery_source] if args.key?(:bigquery_source)
|
3894
4214
|
@bigtable_source = args[:bigtable_source] if args.key?(:bigtable_source)
|
@@ -5580,11 +5900,26 @@ module Google
|
|
5580
5900
|
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
|
5581
5901
|
include Google::Apis::Core::Hashable
|
5582
5902
|
|
5903
|
+
# Specifies the chunk spec to be returned from the search response. Only
|
5904
|
+
# available if the SearchRequest.ContentSearchSpec.search_result_mode is set to
|
5905
|
+
# CHUNKS
|
5906
|
+
# Corresponds to the JSON property `chunkSpec`
|
5907
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec]
|
5908
|
+
attr_accessor :chunk_spec
|
5909
|
+
|
5583
5910
|
# A specification for configuring the extractive content in a search response.
|
5584
5911
|
# Corresponds to the JSON property `extractiveContentSpec`
|
5585
5912
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec]
|
5586
5913
|
attr_accessor :extractive_content_spec
|
5587
5914
|
|
5915
|
+
# Specifies the search result mode. If unspecified, the search result mode is
|
5916
|
+
# based on DataStore.DocumentProcessingConfig.chunking_config: * If DataStore.
|
5917
|
+
# DocumentProcessingConfig.chunking_config is specified, it defaults to `CHUNKS`.
|
5918
|
+
# * Otherwise, it defaults to `DOCUMENTS`.
|
5919
|
+
# Corresponds to the JSON property `searchResultMode`
|
5920
|
+
# @return [String]
|
5921
|
+
attr_accessor :search_result_mode
|
5922
|
+
|
5588
5923
|
# A specification for configuring snippets in a search response.
|
5589
5924
|
# Corresponds to the JSON property `snippetSpec`
|
5590
5925
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec]
|
@@ -5601,12 +5936,43 @@ module Google
|
|
5601
5936
|
|
5602
5937
|
# Update properties of this object
|
5603
5938
|
def update!(**args)
|
5939
|
+
@chunk_spec = args[:chunk_spec] if args.key?(:chunk_spec)
|
5604
5940
|
@extractive_content_spec = args[:extractive_content_spec] if args.key?(:extractive_content_spec)
|
5941
|
+
@search_result_mode = args[:search_result_mode] if args.key?(:search_result_mode)
|
5605
5942
|
@snippet_spec = args[:snippet_spec] if args.key?(:snippet_spec)
|
5606
5943
|
@summary_spec = args[:summary_spec] if args.key?(:summary_spec)
|
5607
5944
|
end
|
5608
5945
|
end
|
5609
5946
|
|
5947
|
+
# Specifies the chunk spec to be returned from the search response. Only
|
5948
|
+
# available if the SearchRequest.ContentSearchSpec.search_result_mode is set to
|
5949
|
+
# CHUNKS
|
5950
|
+
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec
|
5951
|
+
include Google::Apis::Core::Hashable
|
5952
|
+
|
5953
|
+
# The number of next chunks to be returned of the current chunk. The maximum
|
5954
|
+
# allowed value is 3. If not specified, no next chunks will be returned.
|
5955
|
+
# Corresponds to the JSON property `numNextChunks`
|
5956
|
+
# @return [Fixnum]
|
5957
|
+
attr_accessor :num_next_chunks
|
5958
|
+
|
5959
|
+
# The number of previous chunks to be returned of the current chunk. The maximum
|
5960
|
+
# allowed value is 3. If not specified, no previous chunks will be returned.
|
5961
|
+
# Corresponds to the JSON property `numPreviousChunks`
|
5962
|
+
# @return [Fixnum]
|
5963
|
+
attr_accessor :num_previous_chunks
|
5964
|
+
|
5965
|
+
def initialize(**args)
|
5966
|
+
update!(**args)
|
5967
|
+
end
|
5968
|
+
|
5969
|
+
# Update properties of this object
|
5970
|
+
def update!(**args)
|
5971
|
+
@num_next_chunks = args[:num_next_chunks] if args.key?(:num_next_chunks)
|
5972
|
+
@num_previous_chunks = args[:num_previous_chunks] if args.key?(:num_previous_chunks)
|
5973
|
+
end
|
5974
|
+
end
|
5975
|
+
|
5610
5976
|
# A specification for configuring the extractive content in a search response.
|
5611
5977
|
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec
|
5612
5978
|
include Google::Apis::Core::Hashable
|
@@ -6258,6 +6624,12 @@ module Google
|
|
6258
6624
|
class GoogleCloudDiscoveryengineV1SearchResponseSearchResult
|
6259
6625
|
include Google::Apis::Core::Hashable
|
6260
6626
|
|
6627
|
+
# Chunk captures all raw metadata information of items to be recommended or
|
6628
|
+
# searched in the chunk mode.
|
6629
|
+
# Corresponds to the JSON property `chunk`
|
6630
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk]
|
6631
|
+
attr_accessor :chunk
|
6632
|
+
|
6261
6633
|
# Document captures all raw metadata information of items to be recommended or
|
6262
6634
|
# searched.
|
6263
6635
|
# Corresponds to the JSON property `document`
|
@@ -6275,6 +6647,7 @@ module Google
|
|
6275
6647
|
|
6276
6648
|
# Update properties of this object
|
6277
6649
|
def update!(**args)
|
6650
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
6278
6651
|
@document = args[:document] if args.key?(:document)
|
6279
6652
|
@id = args[:id] if args.key?(:id)
|
6280
6653
|
end
|
@@ -11211,6 +11584,11 @@ module Google
|
|
11211
11584
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
|
11212
11585
|
include Google::Apis::Core::Hashable
|
11213
11586
|
|
11587
|
+
# Configuration for chunking config.
|
11588
|
+
# Corresponds to the JSON property `chunkingConfig`
|
11589
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig]
|
11590
|
+
attr_accessor :chunking_config
|
11591
|
+
|
11214
11592
|
# Related configurations applied to a specific type of document parser.
|
11215
11593
|
# Corresponds to the JSON property `defaultParsingConfig`
|
11216
11594
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig]
|
@@ -11238,12 +11616,60 @@ module Google
|
|
11238
11616
|
|
11239
11617
|
# Update properties of this object
|
11240
11618
|
def update!(**args)
|
11619
|
+
@chunking_config = args[:chunking_config] if args.key?(:chunking_config)
|
11241
11620
|
@default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
|
11242
11621
|
@name = args[:name] if args.key?(:name)
|
11243
11622
|
@parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
|
11244
11623
|
end
|
11245
11624
|
end
|
11246
11625
|
|
11626
|
+
# Configuration for chunking config.
|
11627
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
|
11628
|
+
include Google::Apis::Core::Hashable
|
11629
|
+
|
11630
|
+
# Configuration for the layout based chunking.
|
11631
|
+
# Corresponds to the JSON property `layoutBasedChunkingConfig`
|
11632
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig]
|
11633
|
+
attr_accessor :layout_based_chunking_config
|
11634
|
+
|
11635
|
+
def initialize(**args)
|
11636
|
+
update!(**args)
|
11637
|
+
end
|
11638
|
+
|
11639
|
+
# Update properties of this object
|
11640
|
+
def update!(**args)
|
11641
|
+
@layout_based_chunking_config = args[:layout_based_chunking_config] if args.key?(:layout_based_chunking_config)
|
11642
|
+
end
|
11643
|
+
end
|
11644
|
+
|
11645
|
+
# Configuration for the layout based chunking.
|
11646
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
|
11647
|
+
include Google::Apis::Core::Hashable
|
11648
|
+
|
11649
|
+
# The token size limit for each chunk. Supported values: 100-500 (inclusive).
|
11650
|
+
# Default value: 500.
|
11651
|
+
# Corresponds to the JSON property `chunkSize`
|
11652
|
+
# @return [Fixnum]
|
11653
|
+
attr_accessor :chunk_size
|
11654
|
+
|
11655
|
+
# Whether to include appending different levels of headings to chunks from the
|
11656
|
+
# middle of the document to prevent context loss. Default value: False.
|
11657
|
+
# Corresponds to the JSON property `includeAncestorHeadings`
|
11658
|
+
# @return [Boolean]
|
11659
|
+
attr_accessor :include_ancestor_headings
|
11660
|
+
alias_method :include_ancestor_headings?, :include_ancestor_headings
|
11661
|
+
|
11662
|
+
def initialize(**args)
|
11663
|
+
update!(**args)
|
11664
|
+
end
|
11665
|
+
|
11666
|
+
# Update properties of this object
|
11667
|
+
def update!(**args)
|
11668
|
+
@chunk_size = args[:chunk_size] if args.key?(:chunk_size)
|
11669
|
+
@include_ancestor_headings = args[:include_ancestor_headings] if args.key?(:include_ancestor_headings)
|
11670
|
+
end
|
11671
|
+
end
|
11672
|
+
|
11247
11673
|
# Related configurations applied to a specific type of document parser.
|
11248
11674
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
|
11249
11675
|
include Google::Apis::Core::Hashable
|
@@ -11253,6 +11679,11 @@ module Google
|
|
11253
11679
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig]
|
11254
11680
|
attr_accessor :digital_parsing_config
|
11255
11681
|
|
11682
|
+
# The layout parsing configurations for documents.
|
11683
|
+
# Corresponds to the JSON property `layoutParsingConfig`
|
11684
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig]
|
11685
|
+
attr_accessor :layout_parsing_config
|
11686
|
+
|
11256
11687
|
# The OCR parsing configurations for documents.
|
11257
11688
|
# Corresponds to the JSON property `ocrParsingConfig`
|
11258
11689
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig]
|
@@ -11265,6 +11696,7 @@ module Google
|
|
11265
11696
|
# Update properties of this object
|
11266
11697
|
def update!(**args)
|
11267
11698
|
@digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
|
11699
|
+
@layout_parsing_config = args[:layout_parsing_config] if args.key?(:layout_parsing_config)
|
11268
11700
|
@ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
|
11269
11701
|
end
|
11270
11702
|
end
|
@@ -11282,6 +11714,19 @@ module Google
|
|
11282
11714
|
end
|
11283
11715
|
end
|
11284
11716
|
|
11717
|
+
# The layout parsing configurations for documents.
|
11718
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
11719
|
+
include Google::Apis::Core::Hashable
|
11720
|
+
|
11721
|
+
def initialize(**args)
|
11722
|
+
update!(**args)
|
11723
|
+
end
|
11724
|
+
|
11725
|
+
# Update properties of this object
|
11726
|
+
def update!(**args)
|
11727
|
+
end
|
11728
|
+
end
|
11729
|
+
|
11285
11730
|
# The OCR parsing configurations for documents.
|
11286
11731
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
11287
11732
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1
|
18
18
|
# Version of the google-apis-discoveryengine_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudDiscoveryengineV1AlloyDbSource
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleCloudDiscoveryengineV1Answer
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -358,6 +364,30 @@ module Google
|
|
358
364
|
include Google::Apis::Core::JsonObjectSupport
|
359
365
|
end
|
360
366
|
|
367
|
+
class GoogleCloudDiscoveryengineV1Chunk
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class GoogleCloudDiscoveryengineV1ChunkPageSpan
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
361
391
|
class GoogleCloudDiscoveryengineV1CloudSqlSource
|
362
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
393
|
|
@@ -568,6 +598,18 @@ module Google
|
|
568
598
|
include Google::Apis::Core::JsonObjectSupport
|
569
599
|
end
|
570
600
|
|
601
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
607
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
571
613
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
572
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
615
|
|
@@ -580,6 +622,12 @@ module Google
|
|
580
622
|
include Google::Apis::Core::JsonObjectSupport
|
581
623
|
end
|
582
624
|
|
625
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
583
631
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
|
584
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
633
|
|
@@ -976,6 +1024,12 @@ module Google
|
|
976
1024
|
include Google::Apis::Core::JsonObjectSupport
|
977
1025
|
end
|
978
1026
|
|
1027
|
+
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1029
|
+
|
1030
|
+
include Google::Apis::Core::JsonObjectSupport
|
1031
|
+
end
|
1032
|
+
|
979
1033
|
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec
|
980
1034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
1035
|
|
@@ -1942,6 +1996,18 @@ module Google
|
|
1942
1996
|
include Google::Apis::Core::JsonObjectSupport
|
1943
1997
|
end
|
1944
1998
|
|
1999
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
|
2000
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2001
|
+
|
2002
|
+
include Google::Apis::Core::JsonObjectSupport
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
|
2006
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2007
|
+
|
2008
|
+
include Google::Apis::Core::JsonObjectSupport
|
2009
|
+
end
|
2010
|
+
|
1945
2011
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
|
1946
2012
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1947
2013
|
|
@@ -1954,6 +2020,12 @@ module Google
|
|
1954
2020
|
include Google::Apis::Core::JsonObjectSupport
|
1955
2021
|
end
|
1956
2022
|
|
2023
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2025
|
+
|
2026
|
+
include Google::Apis::Core::JsonObjectSupport
|
2027
|
+
end
|
2028
|
+
|
1957
2029
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
1958
2030
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1959
2031
|
|
@@ -2268,6 +2340,18 @@ module Google
|
|
2268
2340
|
end
|
2269
2341
|
end
|
2270
2342
|
|
2343
|
+
class GoogleCloudDiscoveryengineV1AlloyDbSource
|
2344
|
+
# @private
|
2345
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2346
|
+
property :cluster_id, as: 'clusterId'
|
2347
|
+
property :database_id, as: 'databaseId'
|
2348
|
+
property :gcs_staging_dir, as: 'gcsStagingDir'
|
2349
|
+
property :location_id, as: 'locationId'
|
2350
|
+
property :project_id, as: 'projectId'
|
2351
|
+
property :table_id, as: 'tableId'
|
2352
|
+
end
|
2353
|
+
end
|
2354
|
+
|
2271
2355
|
class GoogleCloudDiscoveryengineV1Answer
|
2272
2356
|
# @private
|
2273
2357
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2323,6 +2407,7 @@ module Google
|
|
2323
2407
|
property :search_spec, as: 'searchSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec::Representation
|
2324
2408
|
|
2325
2409
|
property :session, as: 'session'
|
2410
|
+
hash :user_labels, as: 'userLabels'
|
2326
2411
|
property :user_pseudo_id, as: 'userPseudoId'
|
2327
2412
|
end
|
2328
2413
|
end
|
@@ -2414,6 +2499,7 @@ module Google
|
|
2414
2499
|
property :filter, as: 'filter'
|
2415
2500
|
property :max_return_results, as: 'maxReturnResults'
|
2416
2501
|
property :order_by, as: 'orderBy'
|
2502
|
+
property :search_result_mode, as: 'searchResultMode'
|
2417
2503
|
end
|
2418
2504
|
end
|
2419
2505
|
|
@@ -2752,6 +2838,50 @@ module Google
|
|
2752
2838
|
end
|
2753
2839
|
end
|
2754
2840
|
|
2841
|
+
class GoogleCloudDiscoveryengineV1Chunk
|
2842
|
+
# @private
|
2843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2844
|
+
property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata::Representation
|
2845
|
+
|
2846
|
+
property :content, as: 'content'
|
2847
|
+
hash :derived_struct_data, as: 'derivedStructData'
|
2848
|
+
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata::Representation
|
2849
|
+
|
2850
|
+
property :id, as: 'id'
|
2851
|
+
property :name, as: 'name'
|
2852
|
+
property :page_span, as: 'pageSpan', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkPageSpan, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkPageSpan::Representation
|
2853
|
+
|
2854
|
+
property :relevance_score, as: 'relevanceScore'
|
2855
|
+
end
|
2856
|
+
end
|
2857
|
+
|
2858
|
+
class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
|
2859
|
+
# @private
|
2860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2861
|
+
collection :next_chunks, as: 'nextChunks', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk::Representation
|
2862
|
+
|
2863
|
+
collection :previous_chunks, as: 'previousChunks', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk::Representation
|
2864
|
+
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata
|
2869
|
+
# @private
|
2870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2871
|
+
hash :struct_data, as: 'structData'
|
2872
|
+
property :title, as: 'title'
|
2873
|
+
property :uri, as: 'uri'
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
class GoogleCloudDiscoveryengineV1ChunkPageSpan
|
2878
|
+
# @private
|
2879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2880
|
+
property :page_end, as: 'pageEnd'
|
2881
|
+
property :page_start, as: 'pageStart'
|
2882
|
+
end
|
2883
|
+
end
|
2884
|
+
|
2755
2885
|
class GoogleCloudDiscoveryengineV1CloudSqlSource
|
2756
2886
|
# @private
|
2757
2887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3086,6 +3216,8 @@ module Google
|
|
3086
3216
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
|
3087
3217
|
# @private
|
3088
3218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3219
|
+
property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig::Representation
|
3220
|
+
|
3089
3221
|
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
|
3090
3222
|
|
3091
3223
|
property :name, as: 'name'
|
@@ -3094,11 +3226,29 @@ module Google
|
|
3094
3226
|
end
|
3095
3227
|
end
|
3096
3228
|
|
3229
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
|
3230
|
+
# @private
|
3231
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3232
|
+
property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
|
3233
|
+
|
3234
|
+
end
|
3235
|
+
end
|
3236
|
+
|
3237
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
|
3238
|
+
# @private
|
3239
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3240
|
+
property :chunk_size, as: 'chunkSize'
|
3241
|
+
property :include_ancestor_headings, as: 'includeAncestorHeadings'
|
3242
|
+
end
|
3243
|
+
end
|
3244
|
+
|
3097
3245
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
3098
3246
|
# @private
|
3099
3247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3100
3248
|
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
|
3101
3249
|
|
3250
|
+
property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
|
3251
|
+
|
3102
3252
|
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
|
3103
3253
|
|
3104
3254
|
end
|
@@ -3110,6 +3260,12 @@ module Google
|
|
3110
3260
|
end
|
3111
3261
|
end
|
3112
3262
|
|
3263
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
3264
|
+
# @private
|
3265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3266
|
+
end
|
3267
|
+
end
|
3268
|
+
|
3113
3269
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
|
3114
3270
|
# @private
|
3115
3271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3268,6 +3424,8 @@ module Google
|
|
3268
3424
|
class GoogleCloudDiscoveryengineV1ImportDocumentsRequest
|
3269
3425
|
# @private
|
3270
3426
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3427
|
+
property :alloy_db_source, as: 'alloyDbSource', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlloyDbSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlloyDbSource::Representation
|
3428
|
+
|
3271
3429
|
property :auto_generate_ids, as: 'autoGenerateIds'
|
3272
3430
|
property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigQuerySource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigQuerySource::Representation
|
3273
3431
|
|
@@ -3754,8 +3912,11 @@ module Google
|
|
3754
3912
|
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
|
3755
3913
|
# @private
|
3756
3914
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3915
|
+
property :chunk_spec, as: 'chunkSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec::Representation
|
3916
|
+
|
3757
3917
|
property :extractive_content_spec, as: 'extractiveContentSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec::Representation
|
3758
3918
|
|
3919
|
+
property :search_result_mode, as: 'searchResultMode'
|
3759
3920
|
property :snippet_spec, as: 'snippetSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec::Representation
|
3760
3921
|
|
3761
3922
|
property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec::Representation
|
@@ -3763,6 +3924,14 @@ module Google
|
|
3763
3924
|
end
|
3764
3925
|
end
|
3765
3926
|
|
3927
|
+
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec
|
3928
|
+
# @private
|
3929
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3930
|
+
property :num_next_chunks, as: 'numNextChunks'
|
3931
|
+
property :num_previous_chunks, as: 'numPreviousChunks'
|
3932
|
+
end
|
3933
|
+
end
|
3934
|
+
|
3766
3935
|
class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec
|
3767
3936
|
# @private
|
3768
3937
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3917,6 +4086,8 @@ module Google
|
|
3917
4086
|
class GoogleCloudDiscoveryengineV1SearchResponseSearchResult
|
3918
4087
|
# @private
|
3919
4088
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4089
|
+
property :chunk, as: 'chunk', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk::Representation
|
4090
|
+
|
3920
4091
|
property :document, as: 'document', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document::Representation
|
3921
4092
|
|
3922
4093
|
property :id, as: 'id'
|
@@ -5310,6 +5481,8 @@ module Google
|
|
5310
5481
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
|
5311
5482
|
# @private
|
5312
5483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5484
|
+
property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig::Representation
|
5485
|
+
|
5313
5486
|
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
|
5314
5487
|
|
5315
5488
|
property :name, as: 'name'
|
@@ -5318,11 +5491,29 @@ module Google
|
|
5318
5491
|
end
|
5319
5492
|
end
|
5320
5493
|
|
5494
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
|
5495
|
+
# @private
|
5496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5497
|
+
property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
|
5498
|
+
|
5499
|
+
end
|
5500
|
+
end
|
5501
|
+
|
5502
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
|
5503
|
+
# @private
|
5504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5505
|
+
property :chunk_size, as: 'chunkSize'
|
5506
|
+
property :include_ancestor_headings, as: 'includeAncestorHeadings'
|
5507
|
+
end
|
5508
|
+
end
|
5509
|
+
|
5321
5510
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
|
5322
5511
|
# @private
|
5323
5512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5324
5513
|
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
|
5325
5514
|
|
5515
|
+
property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
|
5516
|
+
|
5326
5517
|
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
|
5327
5518
|
|
5328
5519
|
end
|
@@ -5334,6 +5525,12 @@ module Google
|
|
5334
5525
|
end
|
5335
5526
|
end
|
5336
5527
|
|
5528
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
5529
|
+
# @private
|
5530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5531
|
+
end
|
5532
|
+
end
|
5533
|
+
|
5337
5534
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
5338
5535
|
# @private
|
5339
5536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -858,7 +858,8 @@ module Google
|
|
858
858
|
# @param [String] parent
|
859
859
|
# Required. Full resource name of parent data store. Format: `projects/`
|
860
860
|
# project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
|
861
|
-
# `data_store_id``
|
861
|
+
# `data_store_id`` or `projects/`project_number`/locations/`location_id`/
|
862
|
+
# collections/`collection_id`/engines/`engine_id``.
|
862
863
|
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Control] google_cloud_discoveryengine_v1_control_object
|
863
864
|
# @param [String] control_id
|
864
865
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -963,6 +964,8 @@ module Google
|
|
963
964
|
# @param [String] parent
|
964
965
|
# Required. The data store resource name. Format: `projects/`project_number`/
|
965
966
|
# locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
|
967
|
+
# or `projects/`project_number`/locations/`location_id`/collections/`
|
968
|
+
# collection_id`/engines/`engine_id``.
|
966
969
|
# @param [String] filter
|
967
970
|
# Optional. A filter to apply on the list results. Supported features: * List
|
968
971
|
# all the products under the parent branch if filter is unset. Currently this
|
@@ -2944,7 +2947,8 @@ module Google
|
|
2944
2947
|
# @param [String] parent
|
2945
2948
|
# Required. Full resource name of parent data store. Format: `projects/`
|
2946
2949
|
# project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
|
2947
|
-
# `data_store_id``
|
2950
|
+
# `data_store_id`` or `projects/`project_number`/locations/`location_id`/
|
2951
|
+
# collections/`collection_id`/engines/`engine_id``.
|
2948
2952
|
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Control] google_cloud_discoveryengine_v1_control_object
|
2949
2953
|
# @param [String] control_id
|
2950
2954
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -3049,6 +3053,8 @@ module Google
|
|
3049
3053
|
# @param [String] parent
|
3050
3054
|
# Required. The data store resource name. Format: `projects/`project_number`/
|
3051
3055
|
# locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
|
3056
|
+
# or `projects/`project_number`/locations/`location_id`/collections/`
|
3057
|
+
# collection_id`/engines/`engine_id``.
|
3052
3058
|
# @param [String] filter
|
3053
3059
|
# Optional. A filter to apply on the list results. Supported features: * List
|
3054
3060
|
# all the products under the parent branch if filter is unset. Currently this
|
@@ -4535,7 +4541,8 @@ module Google
|
|
4535
4541
|
# @param [String] parent
|
4536
4542
|
# Required. Full resource name of parent data store. Format: `projects/`
|
4537
4543
|
# project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
|
4538
|
-
# `data_store_id``
|
4544
|
+
# `data_store_id`` or `projects/`project_number`/locations/`location_id`/
|
4545
|
+
# collections/`collection_id`/engines/`engine_id``.
|
4539
4546
|
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Control] google_cloud_discoveryengine_v1_control_object
|
4540
4547
|
# @param [String] control_id
|
4541
4548
|
# Required. The ID to use for the Control, which will become the final component
|
@@ -4640,6 +4647,8 @@ module Google
|
|
4640
4647
|
# @param [String] parent
|
4641
4648
|
# Required. The data store resource name. Format: `projects/`project_number`/
|
4642
4649
|
# locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
|
4650
|
+
# or `projects/`project_number`/locations/`location_id`/collections/`
|
4651
|
+
# collection_id`/engines/`engine_id``.
|
4643
4652
|
# @param [String] filter
|
4644
4653
|
# Optional. A filter to apply on the list results. Supported features: * List
|
4645
4654
|
# all the products under the parent branch if filter is unset. Currently this
|
@@ -6273,6 +6282,54 @@ module Google
|
|
6273
6282
|
execute_or_queue_command(command, &block)
|
6274
6283
|
end
|
6275
6284
|
|
6285
|
+
# Writes a single user event from the browser. This uses a GET request to due to
|
6286
|
+
# browser restriction of POST-ing to a third-party domain. This method is used
|
6287
|
+
# only by the Discovery Engine API JavaScript pixel and Google Tag Manager.
|
6288
|
+
# Users should not call this method directly.
|
6289
|
+
# @param [String] parent
|
6290
|
+
# Required. The parent DataStore resource name, such as `projects/`project`/
|
6291
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store``.
|
6292
|
+
# @param [Fixnum] ets
|
6293
|
+
# The event timestamp in milliseconds. This prevents browser caching of
|
6294
|
+
# otherwise identical get requests. The name is abbreviated to reduce the
|
6295
|
+
# payload bytes.
|
6296
|
+
# @param [String] uri
|
6297
|
+
# The URL including cgi-parameters but excluding the hash fragment with a length
|
6298
|
+
# limit of 5,000 characters. This is often more useful than the referer URL,
|
6299
|
+
# because many browsers only send the domain for third-party requests.
|
6300
|
+
# @param [String] user_event
|
6301
|
+
# Required. URL encoded UserEvent proto with a length limit of 2,000,000
|
6302
|
+
# characters.
|
6303
|
+
# @param [String] fields
|
6304
|
+
# Selector specifying which fields to include in a partial response.
|
6305
|
+
# @param [String] quota_user
|
6306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6308
|
+
# @param [Google::Apis::RequestOptions] options
|
6309
|
+
# Request-specific options
|
6310
|
+
#
|
6311
|
+
# @yield [result, err] Result & error if block supplied
|
6312
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleApiHttpBody] parsed result object
|
6313
|
+
# @yieldparam err [StandardError] error object if request failed
|
6314
|
+
#
|
6315
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleApiHttpBody]
|
6316
|
+
#
|
6317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6320
|
+
def collect_project_location_user_event(parent, ets: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6321
|
+
command = make_simple_command(:get, 'v1/{+parent}/userEvents:collect', options)
|
6322
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleApiHttpBody::Representation
|
6323
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleApiHttpBody
|
6324
|
+
command.params['parent'] = parent unless parent.nil?
|
6325
|
+
command.query['ets'] = ets unless ets.nil?
|
6326
|
+
command.query['uri'] = uri unless uri.nil?
|
6327
|
+
command.query['userEvent'] = user_event unless user_event.nil?
|
6328
|
+
command.query['fields'] = fields unless fields.nil?
|
6329
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6330
|
+
execute_or_queue_command(command, &block)
|
6331
|
+
end
|
6332
|
+
|
6276
6333
|
# Writes a single user event.
|
6277
6334
|
# @param [String] parent
|
6278
6335
|
# Required. The parent resource name. If the write user event action is applied
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|