google-apis-discoveryengine_v1beta 0.36.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 865982e6ec1fdf41ccf62b555ed56ed02184b9b8ccfa50e0f725e7f49b37e5ed
4
- data.tar.gz: c609701b9ffd193aa2728286f8b128f312d43f3cb6138b93392fbc74d902c4e8
3
+ metadata.gz: 8e224efad85da9f29e68734e3689aba19acce1e9b474e734e5a668b4f24f9a49
4
+ data.tar.gz: c36f569ba53ae66f4fe0d91dc3d5dac4857a6326f2b91acd410754e4c7b5ff8a
5
5
  SHA512:
6
- metadata.gz: e3ed2f2da8cb22104bd2845b2751367f593d74967c803d921050a47fbb3233953a6c50ebd954f676cdb9e11e19f40324de38cc99b095960244f117f6d5b3a077
7
- data.tar.gz: 2d0390630d94778e7944b8801f41ad6ac32ba2e4df51d6c22ca8938c31345c7f1a34ea9e2901bffb9a595f4da051d858fb5198c41f0c60585bf617fbe94c0196
6
+ metadata.gz: 1d8d66338d79f3379f4187547c091620f551ab93f94a9a5c0b6d5c4227c117d3265938c0eb237545d98d7469c3fd92626d10ee0009e172b7e3f638a9bde41fad
7
+ data.tar.gz: 9a2d9d1c99d251fab496545a6d8e4b53229d98522ab2dcf1224bdf24a7052d3f95a9d71644f3e1223086b7e113cc9687e417543c3081f020911563d964813edc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.37.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240227
10
+
3
11
  ### v0.36.0 (2024-02-24)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -459,6 +459,13 @@ module Google
459
459
  # @return [String]
460
460
  attr_accessor :display_name
461
461
 
462
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
463
+ # defaults to digital parser. The first call to DataStoreService.
464
+ # UpdateDocumentProcessingConfig method will initialize the config.
465
+ # Corresponds to the JSON property `documentProcessingConfig`
466
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfig]
467
+ attr_accessor :document_processing_config
468
+
462
469
  # Immutable. The industry vertical that the data store registers.
463
470
  # Corresponds to the JSON property `industryVertical`
464
471
  # @return [String]
@@ -480,6 +487,11 @@ module Google
480
487
  # @return [Array<String>]
481
488
  attr_accessor :solution_types
482
489
 
490
+ # Defines the structure and layout of a type of document data.
491
+ # Corresponds to the JSON property `startingSchema`
492
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1Schema]
493
+ attr_accessor :starting_schema
494
+
483
495
  def initialize(**args)
484
496
  update!(**args)
485
497
  end
@@ -490,9 +502,11 @@ module Google
490
502
  @create_time = args[:create_time] if args.key?(:create_time)
491
503
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
492
504
  @display_name = args[:display_name] if args.key?(:display_name)
505
+ @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
493
506
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
494
507
  @name = args[:name] if args.key?(:name)
495
508
  @solution_types = args[:solution_types] if args.key?(:solution_types)
509
+ @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
496
510
  end
497
511
  end
498
512
 
@@ -605,6 +619,19 @@ module Google
605
619
  end
606
620
  end
607
621
 
622
+ # The digital parsing configurations for documents.
623
+ class GoogleCloudDiscoveryengineV1DigitalParsingConfig
624
+ include Google::Apis::Core::Hashable
625
+
626
+ def initialize(**args)
627
+ update!(**args)
628
+ end
629
+
630
+ # Update properties of this object
631
+ def update!(**args)
632
+ end
633
+ end
634
+
608
635
  # Metadata related to the progress of the SiteSearchEngineService.
609
636
  # DisableAdvancedSiteSearch operation. This will be returned by the google.
610
637
  # longrunning.Operation.metadata field.
@@ -646,6 +673,70 @@ module Google
646
673
  end
647
674
  end
648
675
 
676
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
677
+ # defaults to digital parser. The first call to DataStoreService.
678
+ # UpdateDocumentProcessingConfig method will initialize the config.
679
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
680
+ include Google::Apis::Core::Hashable
681
+
682
+ # Related configurations applied to a specific type of document parser.
683
+ # Corresponds to the JSON property `defaultParsingConfig`
684
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig]
685
+ attr_accessor :default_parsing_config
686
+
687
+ # The full resource name of the Document Processing Config. Format: `projects/*/
688
+ # locations/*/collections/*/dataStores/*/documentProcessingConfig`.
689
+ # Corresponds to the JSON property `name`
690
+ # @return [String]
691
+ attr_accessor :name
692
+
693
+ # Map from file type to override the default parsing configuration based on the
694
+ # file type. Supported keys: * `pdf`: Override parsing config for PDF files,
695
+ # either digital parsing, ocr parsing or layout parsing is supported. * `html`:
696
+ # Override parsing config for HTML files, only digital parsing and or layout
697
+ # parsing are supported. * `docx`: Override parsing config for DOCX files, only
698
+ # digital parsing and or layout parsing are supported.
699
+ # Corresponds to the JSON property `parsingConfigOverrides`
700
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig>]
701
+ attr_accessor :parsing_config_overrides
702
+
703
+ def initialize(**args)
704
+ update!(**args)
705
+ end
706
+
707
+ # Update properties of this object
708
+ def update!(**args)
709
+ @default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
710
+ @name = args[:name] if args.key?(:name)
711
+ @parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
712
+ end
713
+ end
714
+
715
+ # Related configurations applied to a specific type of document parser.
716
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
717
+ include Google::Apis::Core::Hashable
718
+
719
+ # The digital parsing configurations for documents.
720
+ # Corresponds to the JSON property `digitalParsingConfig`
721
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DigitalParsingConfig]
722
+ attr_accessor :digital_parsing_config
723
+
724
+ # The OCR parsing configurations for documents.
725
+ # Corresponds to the JSON property `ocrParsingConfig`
726
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1OcrParsingConfig]
727
+ attr_accessor :ocr_parsing_config
728
+
729
+ def initialize(**args)
730
+ update!(**args)
731
+ end
732
+
733
+ # Update properties of this object
734
+ def update!(**args)
735
+ @digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
736
+ @ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
737
+ end
738
+ end
739
+
649
740
  # Metadata related to the progress of the SiteSearchEngineService.
650
741
  # EnableAdvancedSiteSearch operation. This will be returned by the google.
651
742
  # longrunning.Operation.metadata field.
@@ -1153,6 +1244,34 @@ module Google
1153
1244
  end
1154
1245
  end
1155
1246
 
1247
+ # The OCR parsing configurations for documents.
1248
+ class GoogleCloudDiscoveryengineV1OcrParsingConfig
1249
+ include Google::Apis::Core::Hashable
1250
+
1251
+ # Apply additional enhanced OCR processing to a list of document elements.
1252
+ # Supported values: * `table`: advanced table parsing model.
1253
+ # Corresponds to the JSON property `enhancedDocumentElements`
1254
+ # @return [Array<String>]
1255
+ attr_accessor :enhanced_document_elements
1256
+
1257
+ # If true, will use native text instead of OCR text on pages containing native
1258
+ # text.
1259
+ # Corresponds to the JSON property `useNativeText`
1260
+ # @return [Boolean]
1261
+ attr_accessor :use_native_text
1262
+ alias_method :use_native_text?, :use_native_text
1263
+
1264
+ def initialize(**args)
1265
+ update!(**args)
1266
+ end
1267
+
1268
+ # Update properties of this object
1269
+ def update!(**args)
1270
+ @enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements)
1271
+ @use_native_text = args[:use_native_text] if args.key?(:use_native_text)
1272
+ end
1273
+ end
1274
+
1156
1275
  # Metadata related to the progress of the PurgeDocuments operation. This will be
1157
1276
  # returned by the google.longrunning.Operation.metadata field.
1158
1277
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
@@ -1168,6 +1287,11 @@ module Google
1168
1287
  # @return [Fixnum]
1169
1288
  attr_accessor :failure_count
1170
1289
 
1290
+ # Count of entries that were ignored as entries were not found.
1291
+ # Corresponds to the JSON property `ignoredCount`
1292
+ # @return [Fixnum]
1293
+ attr_accessor :ignored_count
1294
+
1171
1295
  # Count of entries that were deleted successfully.
1172
1296
  # Corresponds to the JSON property `successCount`
1173
1297
  # @return [Fixnum]
@@ -1187,6 +1311,7 @@ module Google
1187
1311
  def update!(**args)
1188
1312
  @create_time = args[:create_time] if args.key?(:create_time)
1189
1313
  @failure_count = args[:failure_count] if args.key?(:failure_count)
1314
+ @ignored_count = args[:ignored_count] if args.key?(:ignored_count)
1190
1315
  @success_count = args[:success_count] if args.key?(:success_count)
1191
1316
  @update_time = args[:update_time] if args.key?(:update_time)
1192
1317
  end
@@ -1503,6 +1628,33 @@ module Google
1503
1628
  end
1504
1629
  end
1505
1630
 
1631
+ # Access Control Configuration.
1632
+ class GoogleCloudDiscoveryengineV1alphaAclConfig
1633
+ include Google::Apis::Core::Hashable
1634
+
1635
+ # Identity Provider Config.
1636
+ # Corresponds to the JSON property `idpConfig`
1637
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig]
1638
+ attr_accessor :idp_config
1639
+
1640
+ # Immutable. The full resource name of the acl configuration. Format: `projects/`
1641
+ # project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
1642
+ # string with a length limit of 1024 characters.
1643
+ # Corresponds to the JSON property `name`
1644
+ # @return [String]
1645
+ attr_accessor :name
1646
+
1647
+ def initialize(**args)
1648
+ update!(**args)
1649
+ end
1650
+
1651
+ # Update properties of this object
1652
+ def update!(**args)
1653
+ @idp_config = args[:idp_config] if args.key?(:idp_config)
1654
+ @name = args[:name] if args.key?(:name)
1655
+ end
1656
+ end
1657
+
1506
1658
  # Metadata related to the progress of the SiteSearchEngineService.
1507
1659
  # BatchCreateTargetSites operation. This will be returned by the google.
1508
1660
  # longrunning.Operation.metadata field.
@@ -1663,6 +1815,17 @@ module Google
1663
1815
  class GoogleCloudDiscoveryengineV1alphaDataStore
1664
1816
  include Google::Apis::Core::Hashable
1665
1817
 
1818
+ # Immutable. Whether data in the DataStore has ACL information. If set to `true`,
1819
+ # the source data must have ACL. ACL will be ingested when data is ingested by
1820
+ # DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
1821
+ # Document can't be accessed by calling DocumentService.GetDocument or
1822
+ # DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
1823
+ # industry vertical with non-`PUBLIC_WEBSITE` content config.
1824
+ # Corresponds to the JSON property `aclEnabled`
1825
+ # @return [Boolean]
1826
+ attr_accessor :acl_enabled
1827
+ alias_method :acl_enabled?, :acl_enabled
1828
+
1666
1829
  # Immutable. The content config of the data store. If this field is unset, the
1667
1830
  # server behavior defaults to ContentConfig.NO_CONTENT.
1668
1831
  # Corresponds to the JSON property `contentConfig`
@@ -1686,6 +1849,18 @@ module Google
1686
1849
  # @return [String]
1687
1850
  attr_accessor :display_name
1688
1851
 
1852
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
1853
+ # defaults to digital parser. The first call to DataStoreService.
1854
+ # UpdateDocumentProcessingConfig method will initialize the config.
1855
+ # Corresponds to the JSON property `documentProcessingConfig`
1856
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig]
1857
+ attr_accessor :document_processing_config
1858
+
1859
+ # Identity Provider Config.
1860
+ # Corresponds to the JSON property `idpConfig`
1861
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig]
1862
+ attr_accessor :idp_config
1863
+
1689
1864
  # Immutable. The industry vertical that the data store registers.
1690
1865
  # Corresponds to the JSON property `industryVertical`
1691
1866
  # @return [String]
@@ -1707,19 +1882,28 @@ module Google
1707
1882
  # @return [Array<String>]
1708
1883
  attr_accessor :solution_types
1709
1884
 
1885
+ # Defines the structure and layout of a type of document data.
1886
+ # Corresponds to the JSON property `startingSchema`
1887
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema]
1888
+ attr_accessor :starting_schema
1889
+
1710
1890
  def initialize(**args)
1711
1891
  update!(**args)
1712
1892
  end
1713
1893
 
1714
1894
  # Update properties of this object
1715
1895
  def update!(**args)
1896
+ @acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
1716
1897
  @content_config = args[:content_config] if args.key?(:content_config)
1717
1898
  @create_time = args[:create_time] if args.key?(:create_time)
1718
1899
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
1719
1900
  @display_name = args[:display_name] if args.key?(:display_name)
1901
+ @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
1902
+ @idp_config = args[:idp_config] if args.key?(:idp_config)
1720
1903
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
1721
1904
  @name = args[:name] if args.key?(:name)
1722
1905
  @solution_types = args[:solution_types] if args.key?(:solution_types)
1906
+ @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
1723
1907
  end
1724
1908
  end
1725
1909
 
@@ -1892,6 +2076,11 @@ module Google
1892
2076
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
1893
2077
  include Google::Apis::Core::Hashable
1894
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
+
1895
2084
  # Related configurations applied to a specific type of document parser.
1896
2085
  # Corresponds to the JSON property `defaultParsingConfig`
1897
2086
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig]
@@ -1912,7 +2101,8 @@ module Google
1912
2101
  # file type. Supported keys: * `pdf`: Override parsing config for PDF files,
1913
2102
  # either digital parsing, ocr parsing or layout parsing is supported. * `html`:
1914
2103
  # Override parsing config for HTML files, only digital parsing and or layout
1915
- # parsing are supported.
2104
+ # parsing are supported. * `docx`: Override parsing config for DOCX files, only
2105
+ # digital parsing and or layout parsing are supported.
1916
2106
  # Corresponds to the JSON property `parsingConfigOverrides`
1917
2107
  # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig>]
1918
2108
  attr_accessor :parsing_config_overrides
@@ -1923,6 +2113,7 @@ module Google
1923
2113
 
1924
2114
  # Update properties of this object
1925
2115
  def update!(**args)
2116
+ @chunking_config = args[:chunking_config] if args.key?(:chunking_config)
1926
2117
  @default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
1927
2118
  @name = args[:name] if args.key?(:name)
1928
2119
  @ocr_config = args[:ocr_config] if args.key?(:ocr_config)
@@ -1930,6 +2121,53 @@ module Google
1930
2121
  end
1931
2122
  end
1932
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
+
1933
2171
  # Related configurations applied to a specific type of document parser.
1934
2172
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
1935
2173
  include Google::Apis::Core::Hashable
@@ -2006,6 +2244,14 @@ module Google
2006
2244
  class GoogleCloudDiscoveryengineV1alphaEngine
2007
2245
  include Google::Apis::Core::Hashable
2008
2246
 
2247
+ # Whether the search engine can associate with multiple data stores. If true,
2248
+ # the generic search engine can associate with one or more data stores. This is
2249
+ # an input-only field.
2250
+ # Corresponds to the JSON property `allowMultipleDataStoresSearchEngine`
2251
+ # @return [Boolean]
2252
+ attr_accessor :allow_multiple_data_stores_search_engine
2253
+ alias_method :allow_multiple_data_stores_search_engine?, :allow_multiple_data_stores_search_engine
2254
+
2009
2255
  # Configurations for a Chat Engine.
2010
2256
  # Corresponds to the JSON property `chatEngineConfig`
2011
2257
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
@@ -2096,6 +2342,7 @@ module Google
2096
2342
 
2097
2343
  # Update properties of this object
2098
2344
  def update!(**args)
2345
+ @allow_multiple_data_stores_search_engine = args[:allow_multiple_data_stores_search_engine] if args.key?(:allow_multiple_data_stores_search_engine)
2099
2346
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
2100
2347
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
2101
2348
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -2561,6 +2808,50 @@ module Google
2561
2808
  end
2562
2809
  end
2563
2810
 
2811
+ # Identity Provider Config.
2812
+ class GoogleCloudDiscoveryengineV1alphaIdpConfig
2813
+ include Google::Apis::Core::Hashable
2814
+
2815
+ # Third party IDP Config.
2816
+ # Corresponds to the JSON property `externalIdpConfig`
2817
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig]
2818
+ attr_accessor :external_idp_config
2819
+
2820
+ # Identity provider type configured.
2821
+ # Corresponds to the JSON property `idpType`
2822
+ # @return [String]
2823
+ attr_accessor :idp_type
2824
+
2825
+ def initialize(**args)
2826
+ update!(**args)
2827
+ end
2828
+
2829
+ # Update properties of this object
2830
+ def update!(**args)
2831
+ @external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
2832
+ @idp_type = args[:idp_type] if args.key?(:idp_type)
2833
+ end
2834
+ end
2835
+
2836
+ # Third party IDP Config.
2837
+ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
2838
+ include Google::Apis::Core::Hashable
2839
+
2840
+ # Workforce pool name. Example: "locations/global/workforcePools/pool_id"
2841
+ # Corresponds to the JSON property `workforcePoolName`
2842
+ # @return [String]
2843
+ attr_accessor :workforce_pool_name
2844
+
2845
+ def initialize(**args)
2846
+ update!(**args)
2847
+ end
2848
+
2849
+ # Update properties of this object
2850
+ def update!(**args)
2851
+ @workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
2852
+ end
2853
+ end
2854
+
2564
2855
  # Metadata related to the progress of the ImportDocuments operation. This is
2565
2856
  # returned by the google.longrunning.Operation.metadata field.
2566
2857
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
@@ -2878,6 +3169,11 @@ module Google
2878
3169
  # @return [Fixnum]
2879
3170
  attr_accessor :failure_count
2880
3171
 
3172
+ # Count of entries that were ignored as entries were not found.
3173
+ # Corresponds to the JSON property `ignoredCount`
3174
+ # @return [Fixnum]
3175
+ attr_accessor :ignored_count
3176
+
2881
3177
  # Count of entries that were deleted successfully.
2882
3178
  # Corresponds to the JSON property `successCount`
2883
3179
  # @return [Fixnum]
@@ -2897,6 +3193,7 @@ module Google
2897
3193
  def update!(**args)
2898
3194
  @create_time = args[:create_time] if args.key?(:create_time)
2899
3195
  @failure_count = args[:failure_count] if args.key?(:failure_count)
3196
+ @ignored_count = args[:ignored_count] if args.key?(:ignored_count)
2900
3197
  @success_count = args[:success_count] if args.key?(:success_count)
2901
3198
  @update_time = args[:update_time] if args.key?(:update_time)
2902
3199
  end
@@ -3856,6 +4153,11 @@ module Google
3856
4153
  class GoogleCloudDiscoveryengineV1betaConverseConversationRequest
3857
4154
  include Google::Apis::Core::Hashable
3858
4155
 
4156
+ # Boost specification to boost certain documents.
4157
+ # Corresponds to the JSON property `boostSpec`
4158
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
4159
+ attr_accessor :boost_spec
4160
+
3859
4161
  # External conversation proto definition.
3860
4162
  # Corresponds to the JSON property `conversation`
3861
4163
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation]
@@ -3922,6 +4224,7 @@ module Google
3922
4224
 
3923
4225
  # Update properties of this object
3924
4226
  def update!(**args)
4227
+ @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
3925
4228
  @conversation = args[:conversation] if args.key?(:conversation)
3926
4229
  @filter = args[:filter] if args.key?(:filter)
3927
4230
  @query = args[:query] if args.key?(:query)
@@ -4165,6 +4468,13 @@ module Google
4165
4468
  # @return [String]
4166
4469
  attr_accessor :display_name
4167
4470
 
4471
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
4472
+ # defaults to digital parser. The first call to DataStoreService.
4473
+ # UpdateDocumentProcessingConfig method will initialize the config.
4474
+ # Corresponds to the JSON property `documentProcessingConfig`
4475
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig]
4476
+ attr_accessor :document_processing_config
4477
+
4168
4478
  # Immutable. The industry vertical that the data store registers.
4169
4479
  # Corresponds to the JSON property `industryVertical`
4170
4480
  # @return [String]
@@ -4186,6 +4496,11 @@ module Google
4186
4496
  # @return [Array<String>]
4187
4497
  attr_accessor :solution_types
4188
4498
 
4499
+ # Defines the structure and layout of a type of document data.
4500
+ # Corresponds to the JSON property `startingSchema`
4501
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema]
4502
+ attr_accessor :starting_schema
4503
+
4189
4504
  def initialize(**args)
4190
4505
  update!(**args)
4191
4506
  end
@@ -4196,9 +4511,11 @@ module Google
4196
4511
  @create_time = args[:create_time] if args.key?(:create_time)
4197
4512
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
4198
4513
  @display_name = args[:display_name] if args.key?(:display_name)
4514
+ @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
4199
4515
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
4200
4516
  @name = args[:name] if args.key?(:name)
4201
4517
  @solution_types = args[:solution_types] if args.key?(:solution_types)
4518
+ @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
4202
4519
  end
4203
4520
  end
4204
4521
 
@@ -4311,6 +4628,19 @@ module Google
4311
4628
  end
4312
4629
  end
4313
4630
 
4631
+ # The digital parsing configurations for documents.
4632
+ class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
4633
+ include Google::Apis::Core::Hashable
4634
+
4635
+ def initialize(**args)
4636
+ update!(**args)
4637
+ end
4638
+
4639
+ # Update properties of this object
4640
+ def update!(**args)
4641
+ end
4642
+ end
4643
+
4314
4644
  # Metadata related to the progress of the SiteSearchEngineService.
4315
4645
  # DisableAdvancedSiteSearch operation. This will be returned by the google.
4316
4646
  # longrunning.Operation.metadata field.
@@ -4388,6 +4718,13 @@ module Google
4388
4718
  # @return [String]
4389
4719
  attr_accessor :id
4390
4720
 
4721
+ # Output only. The last time the document was indexed. If this field is set, the
4722
+ # document could be returned in search results. This field is OUTPUT_ONLY. If
4723
+ # this field is not populated, it means the document has never been indexed.
4724
+ # Corresponds to the JSON property `indexTime`
4725
+ # @return [String]
4726
+ attr_accessor :index_time
4727
+
4391
4728
  # The JSON string representation of the document. It should conform to the
4392
4729
  # registered Schema or an `INVALID_ARGUMENT` error is thrown.
4393
4730
  # Corresponds to the JSON property `jsonData`
@@ -4429,6 +4766,7 @@ module Google
4429
4766
  @content = args[:content] if args.key?(:content)
4430
4767
  @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
4431
4768
  @id = args[:id] if args.key?(:id)
4769
+ @index_time = args[:index_time] if args.key?(:index_time)
4432
4770
  @json_data = args[:json_data] if args.key?(:json_data)
4433
4771
  @name = args[:name] if args.key?(:name)
4434
4772
  @parent_document_id = args[:parent_document_id] if args.key?(:parent_document_id)
@@ -4530,6 +4868,70 @@ module Google
4530
4868
  end
4531
4869
  end
4532
4870
 
4871
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
4872
+ # defaults to digital parser. The first call to DataStoreService.
4873
+ # UpdateDocumentProcessingConfig method will initialize the config.
4874
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
4875
+ include Google::Apis::Core::Hashable
4876
+
4877
+ # Related configurations applied to a specific type of document parser.
4878
+ # Corresponds to the JSON property `defaultParsingConfig`
4879
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig]
4880
+ attr_accessor :default_parsing_config
4881
+
4882
+ # The full resource name of the Document Processing Config. Format: `projects/*/
4883
+ # locations/*/collections/*/dataStores/*/documentProcessingConfig`.
4884
+ # Corresponds to the JSON property `name`
4885
+ # @return [String]
4886
+ attr_accessor :name
4887
+
4888
+ # Map from file type to override the default parsing configuration based on the
4889
+ # file type. Supported keys: * `pdf`: Override parsing config for PDF files,
4890
+ # either digital parsing, ocr parsing or layout parsing is supported. * `html`:
4891
+ # Override parsing config for HTML files, only digital parsing and or layout
4892
+ # parsing are supported. * `docx`: Override parsing config for DOCX files, only
4893
+ # digital parsing and or layout parsing are supported.
4894
+ # Corresponds to the JSON property `parsingConfigOverrides`
4895
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig>]
4896
+ attr_accessor :parsing_config_overrides
4897
+
4898
+ def initialize(**args)
4899
+ update!(**args)
4900
+ end
4901
+
4902
+ # Update properties of this object
4903
+ def update!(**args)
4904
+ @default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
4905
+ @name = args[:name] if args.key?(:name)
4906
+ @parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
4907
+ end
4908
+ end
4909
+
4910
+ # Related configurations applied to a specific type of document parser.
4911
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
4912
+ include Google::Apis::Core::Hashable
4913
+
4914
+ # The digital parsing configurations for documents.
4915
+ # Corresponds to the JSON property `digitalParsingConfig`
4916
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig]
4917
+ attr_accessor :digital_parsing_config
4918
+
4919
+ # The OCR parsing configurations for documents.
4920
+ # Corresponds to the JSON property `ocrParsingConfig`
4921
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig]
4922
+ attr_accessor :ocr_parsing_config
4923
+
4924
+ def initialize(**args)
4925
+ update!(**args)
4926
+ end
4927
+
4928
+ # Update properties of this object
4929
+ def update!(**args)
4930
+ @digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
4931
+ @ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
4932
+ end
4933
+ end
4934
+
4533
4935
  # Double list.
4534
4936
  class GoogleCloudDiscoveryengineV1betaDoubleList
4535
4937
  include Google::Apis::Core::Hashable
@@ -5612,6 +6014,34 @@ module Google
5612
6014
  end
5613
6015
  end
5614
6016
 
6017
+ # The OCR parsing configurations for documents.
6018
+ class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
6019
+ include Google::Apis::Core::Hashable
6020
+
6021
+ # Apply additional enhanced OCR processing to a list of document elements.
6022
+ # Supported values: * `table`: advanced table parsing model.
6023
+ # Corresponds to the JSON property `enhancedDocumentElements`
6024
+ # @return [Array<String>]
6025
+ attr_accessor :enhanced_document_elements
6026
+
6027
+ # If true, will use native text instead of OCR text on pages containing native
6028
+ # text.
6029
+ # Corresponds to the JSON property `useNativeText`
6030
+ # @return [Boolean]
6031
+ attr_accessor :use_native_text
6032
+ alias_method :use_native_text?, :use_native_text
6033
+
6034
+ def initialize(**args)
6035
+ update!(**args)
6036
+ end
6037
+
6038
+ # Update properties of this object
6039
+ def update!(**args)
6040
+ @enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements)
6041
+ @use_native_text = args[:use_native_text] if args.key?(:use_native_text)
6042
+ end
6043
+ end
6044
+
5615
6045
  # Detailed page information.
5616
6046
  class GoogleCloudDiscoveryengineV1betaPageInfo
5617
6047
  include Google::Apis::Core::Hashable
@@ -5721,6 +6151,11 @@ module Google
5721
6151
  # @return [Fixnum]
5722
6152
  attr_accessor :failure_count
5723
6153
 
6154
+ # Count of entries that were ignored as entries were not found.
6155
+ # Corresponds to the JSON property `ignoredCount`
6156
+ # @return [Fixnum]
6157
+ attr_accessor :ignored_count
6158
+
5724
6159
  # Count of entries that were deleted successfully.
5725
6160
  # Corresponds to the JSON property `successCount`
5726
6161
  # @return [Fixnum]
@@ -5740,6 +6175,7 @@ module Google
5740
6175
  def update!(**args)
5741
6176
  @create_time = args[:create_time] if args.key?(:create_time)
5742
6177
  @failure_count = args[:failure_count] if args.key?(:failure_count)
6178
+ @ignored_count = args[:ignored_count] if args.key?(:ignored_count)
5743
6179
  @success_count = args[:success_count] if args.key?(:success_count)
5744
6180
  @update_time = args[:update_time] if args.key?(:update_time)
5745
6181
  end
@@ -6458,8 +6894,8 @@ module Google
6458
6894
  # An expression which specifies a boost condition. The syntax and supported
6459
6895
  # fields are the same as a filter expression. See SearchRequest.filter for
6460
6896
  # detail syntax and limitations. Examples: * To boost documents with document ID
6461
- # "doc_1" or "doc_2", and color "Red" or "Blue": * (id: ANY("doc_1", "doc_2"))
6462
- # AND (color: ANY("Red","Blue"))
6897
+ # "doc_1" or "doc_2", and color "Red" or "Blue": * (document_id: ANY("doc_1", "
6898
+ # doc_2")) AND (color: ANY("Red", "Blue"))
6463
6899
  # Corresponds to the JSON property `condition`
6464
6900
  # @return [String]
6465
6901
  attr_accessor :condition
@@ -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.36.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 = "20240213"
25
+ REVISION = "20240229"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class GoogleCloudDiscoveryengineV1DigitalParsingConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -142,6 +148,18 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -232,6 +250,12 @@ module Google
232
250
  include Google::Apis::Core::JsonObjectSupport
233
251
  end
234
252
 
253
+ class GoogleCloudDiscoveryengineV1OcrParsingConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
235
259
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
236
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
261
 
@@ -298,6 +322,12 @@ module Google
298
322
  include Google::Apis::Core::JsonObjectSupport
299
323
  end
300
324
 
325
+ class GoogleCloudDiscoveryengineV1alphaAclConfig
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
301
331
  class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
302
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
333
 
@@ -388,6 +418,18 @@ module Google
388
418
  include Google::Apis::Core::JsonObjectSupport
389
419
  end
390
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
+
391
433
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
392
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
435
 
@@ -484,6 +526,18 @@ module Google
484
526
  include Google::Apis::Core::JsonObjectSupport
485
527
  end
486
528
 
529
+ class GoogleCloudDiscoveryengineV1alphaIdpConfig
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
487
541
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
488
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
543
 
@@ -814,6 +868,12 @@ module Google
814
868
  include Google::Apis::Core::JsonObjectSupport
815
869
  end
816
870
 
871
+ class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
817
877
  class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
818
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
879
 
@@ -850,6 +910,18 @@ module Google
850
910
  include Google::Apis::Core::JsonObjectSupport
851
911
  end
852
912
 
913
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
853
925
  class GoogleCloudDiscoveryengineV1betaDoubleList
854
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
927
 
@@ -1060,6 +1132,12 @@ module Google
1060
1132
  include Google::Apis::Core::JsonObjectSupport
1061
1133
  end
1062
1134
 
1135
+ class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1063
1141
  class GoogleCloudDiscoveryengineV1betaPageInfo
1064
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1065
1143
 
@@ -1585,9 +1663,13 @@ module Google
1585
1663
  property :create_time, as: 'createTime'
1586
1664
  property :default_schema_id, as: 'defaultSchemaId'
1587
1665
  property :display_name, as: 'displayName'
1666
+ property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfig::Representation
1667
+
1588
1668
  property :industry_vertical, as: 'industryVertical'
1589
1669
  property :name, as: 'name'
1590
1670
  collection :solution_types, as: 'solutionTypes'
1671
+ property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1Schema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1Schema::Representation
1672
+
1591
1673
  end
1592
1674
  end
1593
1675
 
@@ -1623,6 +1705,12 @@ module Google
1623
1705
  end
1624
1706
  end
1625
1707
 
1708
+ class GoogleCloudDiscoveryengineV1DigitalParsingConfig
1709
+ # @private
1710
+ class Representation < Google::Apis::Core::JsonRepresentation
1711
+ end
1712
+ end
1713
+
1626
1714
  class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
1627
1715
  # @private
1628
1716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1637,6 +1725,27 @@ module Google
1637
1725
  end
1638
1726
  end
1639
1727
 
1728
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
1729
+ # @private
1730
+ class Representation < Google::Apis::Core::JsonRepresentation
1731
+ property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
1732
+
1733
+ property :name, as: 'name'
1734
+ hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
1735
+
1736
+ end
1737
+ end
1738
+
1739
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
1740
+ # @private
1741
+ class Representation < Google::Apis::Core::JsonRepresentation
1742
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DigitalParsingConfig::Representation
1743
+
1744
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1OcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1OcrParsingConfig::Representation
1745
+
1746
+ end
1747
+ end
1748
+
1640
1749
  class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
1641
1750
  # @private
1642
1751
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1780,11 +1889,20 @@ module Google
1780
1889
  end
1781
1890
  end
1782
1891
 
1892
+ class GoogleCloudDiscoveryengineV1OcrParsingConfig
1893
+ # @private
1894
+ class Representation < Google::Apis::Core::JsonRepresentation
1895
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
1896
+ property :use_native_text, as: 'useNativeText'
1897
+ end
1898
+ end
1899
+
1783
1900
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
1784
1901
  # @private
1785
1902
  class Representation < Google::Apis::Core::JsonRepresentation
1786
1903
  property :create_time, as: 'createTime'
1787
1904
  property :failure_count, :numeric_string => true, as: 'failureCount'
1905
+ property :ignored_count, :numeric_string => true, as: 'ignoredCount'
1788
1906
  property :success_count, :numeric_string => true, as: 'successCount'
1789
1907
  property :update_time, as: 'updateTime'
1790
1908
  end
@@ -1880,6 +1998,15 @@ module Google
1880
1998
  end
1881
1999
  end
1882
2000
 
2001
+ class GoogleCloudDiscoveryengineV1alphaAclConfig
2002
+ # @private
2003
+ class Representation < Google::Apis::Core::JsonRepresentation
2004
+ property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
2005
+
2006
+ property :name, as: 'name'
2007
+ end
2008
+ end
2009
+
1883
2010
  class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
1884
2011
  # @private
1885
2012
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1931,13 +2058,20 @@ module Google
1931
2058
  class GoogleCloudDiscoveryengineV1alphaDataStore
1932
2059
  # @private
1933
2060
  class Representation < Google::Apis::Core::JsonRepresentation
2061
+ property :acl_enabled, as: 'aclEnabled'
1934
2062
  property :content_config, as: 'contentConfig'
1935
2063
  property :create_time, as: 'createTime'
1936
2064
  property :default_schema_id, as: 'defaultSchemaId'
1937
2065
  property :display_name, as: 'displayName'
2066
+ property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig::Representation
2067
+
2068
+ property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
2069
+
1938
2070
  property :industry_vertical, as: 'industryVertical'
1939
2071
  property :name, as: 'name'
1940
2072
  collection :solution_types, as: 'solutionTypes'
2073
+ property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema::Representation
2074
+
1941
2075
  end
1942
2076
  end
1943
2077
 
@@ -1996,6 +2130,8 @@ module Google
1996
2130
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
1997
2131
  # @private
1998
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
+
1999
2135
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
2000
2136
 
2001
2137
  property :name, as: 'name'
@@ -2006,6 +2142,22 @@ module Google
2006
2142
  end
2007
2143
  end
2008
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
+
2009
2161
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
2010
2162
  # @private
2011
2163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2035,6 +2187,7 @@ module Google
2035
2187
  class GoogleCloudDiscoveryengineV1alphaEngine
2036
2188
  # @private
2037
2189
  class Representation < Google::Apis::Core::JsonRepresentation
2190
+ property :allow_multiple_data_stores_search_engine, as: 'allowMultipleDataStoresSearchEngine'
2038
2191
  property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
2039
2192
 
2040
2193
  property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
@@ -2165,6 +2318,22 @@ module Google
2165
2318
  end
2166
2319
  end
2167
2320
 
2321
+ class GoogleCloudDiscoveryengineV1alphaIdpConfig
2322
+ # @private
2323
+ class Representation < Google::Apis::Core::JsonRepresentation
2324
+ property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig::Representation
2325
+
2326
+ property :idp_type, as: 'idpType'
2327
+ end
2328
+ end
2329
+
2330
+ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
2331
+ # @private
2332
+ class Representation < Google::Apis::Core::JsonRepresentation
2333
+ property :workforce_pool_name, as: 'workforcePoolName'
2334
+ end
2335
+ end
2336
+
2168
2337
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
2169
2338
  # @private
2170
2339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2260,6 +2429,7 @@ module Google
2260
2429
  class Representation < Google::Apis::Core::JsonRepresentation
2261
2430
  property :create_time, as: 'createTime'
2262
2431
  property :failure_count, :numeric_string => true, as: 'failureCount'
2432
+ property :ignored_count, :numeric_string => true, as: 'ignoredCount'
2263
2433
  property :success_count, :numeric_string => true, as: 'successCount'
2264
2434
  property :update_time, as: 'updateTime'
2265
2435
  end
@@ -2548,6 +2718,8 @@ module Google
2548
2718
  class GoogleCloudDiscoveryengineV1betaConverseConversationRequest
2549
2719
  # @private
2550
2720
  class Representation < Google::Apis::Core::JsonRepresentation
2721
+ property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
2722
+
2551
2723
  property :conversation, as: 'conversation', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation::Representation
2552
2724
 
2553
2725
  property :filter, as: 'filter'
@@ -2630,9 +2802,13 @@ module Google
2630
2802
  property :create_time, as: 'createTime'
2631
2803
  property :default_schema_id, as: 'defaultSchemaId'
2632
2804
  property :display_name, as: 'displayName'
2805
+ property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
2806
+
2633
2807
  property :industry_vertical, as: 'industryVertical'
2634
2808
  property :name, as: 'name'
2635
2809
  collection :solution_types, as: 'solutionTypes'
2810
+ property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema::Representation
2811
+
2636
2812
  end
2637
2813
  end
2638
2814
 
@@ -2668,6 +2844,12 @@ module Google
2668
2844
  end
2669
2845
  end
2670
2846
 
2847
+ class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
2848
+ # @private
2849
+ class Representation < Google::Apis::Core::JsonRepresentation
2850
+ end
2851
+ end
2852
+
2671
2853
  class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
2672
2854
  # @private
2673
2855
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2695,6 +2877,7 @@ module Google
2695
2877
 
2696
2878
  hash :derived_struct_data, as: 'derivedStructData'
2697
2879
  property :id, as: 'id'
2880
+ property :index_time, as: 'indexTime'
2698
2881
  property :json_data, as: 'jsonData'
2699
2882
  property :name, as: 'name'
2700
2883
  property :parent_document_id, as: 'parentDocumentId'
@@ -2723,6 +2906,27 @@ module Google
2723
2906
  end
2724
2907
  end
2725
2908
 
2909
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
2910
+ # @private
2911
+ class Representation < Google::Apis::Core::JsonRepresentation
2912
+ property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
2913
+
2914
+ property :name, as: 'name'
2915
+ hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
2916
+
2917
+ end
2918
+ end
2919
+
2920
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
2921
+ # @private
2922
+ class Representation < Google::Apis::Core::JsonRepresentation
2923
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig::Representation
2924
+
2925
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig::Representation
2926
+
2927
+ end
2928
+ end
2929
+
2726
2930
  class GoogleCloudDiscoveryengineV1betaDoubleList
2727
2931
  # @private
2728
2932
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3051,6 +3255,14 @@ module Google
3051
3255
  end
3052
3256
  end
3053
3257
 
3258
+ class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
3259
+ # @private
3260
+ class Representation < Google::Apis::Core::JsonRepresentation
3261
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
3262
+ property :use_native_text, as: 'useNativeText'
3263
+ end
3264
+ end
3265
+
3054
3266
  class GoogleCloudDiscoveryengineV1betaPageInfo
3055
3267
  # @private
3056
3268
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3076,6 +3288,7 @@ module Google
3076
3288
  class Representation < Google::Apis::Core::JsonRepresentation
3077
3289
  property :create_time, as: 'createTime'
3078
3290
  property :failure_count, :numeric_string => true, as: 'failureCount'
3291
+ property :ignored_count, :numeric_string => true, as: 'ignoredCount'
3079
3292
  property :success_count, :numeric_string => true, as: 'successCount'
3080
3293
  property :update_time, as: 'updateTime'
3081
3294
  end
@@ -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.36.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-02-25 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.36.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: []