google-apis-discoveryengine_v1beta 0.37.0 → 0.38.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01f2d3a831427c5aac680eb27c3aacb83cd8a2acd8d8a0e1b7ab58c1eb663585
4
- data.tar.gz: 6a2f47dff8212e99e08f27bb4e26bf1b279530e2bb85b33671961cfcb94f2fec
3
+ metadata.gz: 8e224efad85da9f29e68734e3689aba19acce1e9b474e734e5a668b4f24f9a49
4
+ data.tar.gz: c36f569ba53ae66f4fe0d91dc3d5dac4857a6326f2b91acd410754e4c7b5ff8a
5
5
  SHA512:
6
- metadata.gz: 50fcea48a857bf233e80633397e7f0e48f2d214aad5264bf841633d6fd6f486cd7e8a0c4d918eb798f20d4d233059dcf66b3c243e91416139e1f4523c2eb4114
7
- data.tar.gz: 4a92e9d6c3bac16dbe1ff12a4248288eb62480b72190be4ae16d07251b708fbc34b009b89beb3aa161526c38349b42c6e3324e58b1c61350f3744d8eedfb468a
6
+ metadata.gz: 1d8d66338d79f3379f4187547c091620f551ab93f94a9a5c0b6d5c4227c117d3265938c0eb237545d98d7469c3fd92626d10ee0009e172b7e3f638a9bde41fad
7
+ data.tar.gz: 9a2d9d1c99d251fab496545a6d8e4b53229d98522ab2dcf1224bdf24a7052d3f95a9d71644f3e1223086b7e113cc9687e417543c3081f020911563d964813edc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.38.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240229
6
+
3
7
  ### v0.37.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240227
@@ -2076,6 +2076,11 @@ module Google
2076
2076
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
2077
2077
  include Google::Apis::Core::Hashable
2078
2078
 
2079
+ # Configuration for chunking config.
2080
+ # Corresponds to the JSON property `chunkingConfig`
2081
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig]
2082
+ attr_accessor :chunking_config
2083
+
2079
2084
  # Related configurations applied to a specific type of document parser.
2080
2085
  # Corresponds to the JSON property `defaultParsingConfig`
2081
2086
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig]
@@ -2108,6 +2113,7 @@ module Google
2108
2113
 
2109
2114
  # Update properties of this object
2110
2115
  def update!(**args)
2116
+ @chunking_config = args[:chunking_config] if args.key?(:chunking_config)
2111
2117
  @default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
2112
2118
  @name = args[:name] if args.key?(:name)
2113
2119
  @ocr_config = args[:ocr_config] if args.key?(:ocr_config)
@@ -2115,6 +2121,53 @@ module Google
2115
2121
  end
2116
2122
  end
2117
2123
 
2124
+ # Configuration for chunking config.
2125
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig
2126
+ include Google::Apis::Core::Hashable
2127
+
2128
+ # Configuration for the layout based chunking.
2129
+ # Corresponds to the JSON property `layoutBasedChunkingConfig`
2130
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig]
2131
+ attr_accessor :layout_based_chunking_config
2132
+
2133
+ def initialize(**args)
2134
+ update!(**args)
2135
+ end
2136
+
2137
+ # Update properties of this object
2138
+ def update!(**args)
2139
+ @layout_based_chunking_config = args[:layout_based_chunking_config] if args.key?(:layout_based_chunking_config)
2140
+ end
2141
+ end
2142
+
2143
+ # Configuration for the layout based chunking.
2144
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
2145
+ include Google::Apis::Core::Hashable
2146
+
2147
+ # The token size limit for each chunk. Supported values: 100-500 (inclusive).
2148
+ # Default value: 500.
2149
+ # Corresponds to the JSON property `chunkSize`
2150
+ # @return [Fixnum]
2151
+ attr_accessor :chunk_size
2152
+
2153
+ # Whether to include appending different levels of headings to chunks from the
2154
+ # middle of the document to prevent context loss. Default value: False.
2155
+ # Corresponds to the JSON property `includeAncestorHeadings`
2156
+ # @return [Boolean]
2157
+ attr_accessor :include_ancestor_headings
2158
+ alias_method :include_ancestor_headings?, :include_ancestor_headings
2159
+
2160
+ def initialize(**args)
2161
+ update!(**args)
2162
+ end
2163
+
2164
+ # Update properties of this object
2165
+ def update!(**args)
2166
+ @chunk_size = args[:chunk_size] if args.key?(:chunk_size)
2167
+ @include_ancestor_headings = args[:include_ancestor_headings] if args.key?(:include_ancestor_headings)
2168
+ end
2169
+ end
2170
+
2118
2171
  # Related configurations applied to a specific type of document parser.
2119
2172
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
2120
2173
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240227"
25
+ REVISION = "20240229"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,18 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
421
433
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
422
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
435
 
@@ -2118,6 +2130,8 @@ module Google
2118
2130
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
2119
2131
  # @private
2120
2132
  class Representation < Google::Apis::Core::JsonRepresentation
2133
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig::Representation
2134
+
2121
2135
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
2122
2136
 
2123
2137
  property :name, as: 'name'
@@ -2128,6 +2142,22 @@ module Google
2128
2142
  end
2129
2143
  end
2130
2144
 
2145
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig
2146
+ # @private
2147
+ class Representation < Google::Apis::Core::JsonRepresentation
2148
+ property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
2149
+
2150
+ end
2151
+ end
2152
+
2153
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
2154
+ # @private
2155
+ class Representation < Google::Apis::Core::JsonRepresentation
2156
+ property :chunk_size, as: 'chunkSize'
2157
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
2158
+ end
2159
+ end
2160
+
2131
2161
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
2132
2162
  # @private
2133
2163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -144,7 +144,7 @@ module Google
144
144
  # imported search events. * `document-completable` - Using suggestions taken
145
145
  # directly from user-imported document fields marked as completable. Default
146
146
  # values: * `document` is the default model for regular dataStores. * `search-
147
- # history` is the default model for site search dataStores.
147
+ # history` is the default model for site search dataStores. *
148
148
  # @param [String] user_pseudo_id
149
149
  # A unique identifier for tracking visitors. For example, this could be
150
150
  # implemented with an HTTP cookie, which should be able to uniquely identify a
@@ -3095,7 +3095,7 @@ module Google
3095
3095
  # imported search events. * `document-completable` - Using suggestions taken
3096
3096
  # directly from user-imported document fields marked as completable. Default
3097
3097
  # values: * `document` is the default model for regular dataStores. * `search-
3098
- # history` is the default model for site search dataStores.
3098
+ # history` is the default model for site search dataStores. *
3099
3099
  # @param [String] user_pseudo_id
3100
3100
  # A unique identifier for tracking visitors. For example, this could be
3101
3101
  # implemented with an HTTP cookie, which should be able to uniquely identify a
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []