google-apis-discoveryengine_v1beta 0.36.0 → 0.37.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: 01f2d3a831427c5aac680eb27c3aacb83cd8a2acd8d8a0e1b7ab58c1eb663585
4
+ data.tar.gz: 6a2f47dff8212e99e08f27bb4e26bf1b279530e2bb85b33671961cfcb94f2fec
5
5
  SHA512:
6
- metadata.gz: e3ed2f2da8cb22104bd2845b2751367f593d74967c803d921050a47fbb3233953a6c50ebd954f676cdb9e11e19f40324de38cc99b095960244f117f6d5b3a077
7
- data.tar.gz: 2d0390630d94778e7944b8801f41ad6ac32ba2e4df51d6c22ca8938c31345c7f1a34ea9e2901bffb9a595f4da051d858fb5198c41f0c60585bf617fbe94c0196
6
+ metadata.gz: 50fcea48a857bf233e80633397e7f0e48f2d214aad5264bf841633d6fd6f486cd7e8a0c4d918eb798f20d4d233059dcf66b3c243e91416139e1f4523c2eb4114
7
+ data.tar.gz: 4a92e9d6c3bac16dbe1ff12a4248288eb62480b72190be4ae16d07251b708fbc34b009b89beb3aa161526c38349b42c6e3324e58b1c61350f3744d8eedfb468a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.37.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240227
6
+
3
7
  ### v0.36.0 (2024-02-24)
4
8
 
5
9
  * 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
 
@@ -1912,7 +2096,8 @@ module Google
1912
2096
  # file type. Supported keys: * `pdf`: Override parsing config for PDF files,
1913
2097
  # either digital parsing, ocr parsing or layout parsing is supported. * `html`:
1914
2098
  # Override parsing config for HTML files, only digital parsing and or layout
1915
- # parsing are supported.
2099
+ # parsing are supported. * `docx`: Override parsing config for DOCX files, only
2100
+ # digital parsing and or layout parsing are supported.
1916
2101
  # Corresponds to the JSON property `parsingConfigOverrides`
1917
2102
  # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig>]
1918
2103
  attr_accessor :parsing_config_overrides
@@ -2006,6 +2191,14 @@ module Google
2006
2191
  class GoogleCloudDiscoveryengineV1alphaEngine
2007
2192
  include Google::Apis::Core::Hashable
2008
2193
 
2194
+ # Whether the search engine can associate with multiple data stores. If true,
2195
+ # the generic search engine can associate with one or more data stores. This is
2196
+ # an input-only field.
2197
+ # Corresponds to the JSON property `allowMultipleDataStoresSearchEngine`
2198
+ # @return [Boolean]
2199
+ attr_accessor :allow_multiple_data_stores_search_engine
2200
+ alias_method :allow_multiple_data_stores_search_engine?, :allow_multiple_data_stores_search_engine
2201
+
2009
2202
  # Configurations for a Chat Engine.
2010
2203
  # Corresponds to the JSON property `chatEngineConfig`
2011
2204
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig]
@@ -2096,6 +2289,7 @@ module Google
2096
2289
 
2097
2290
  # Update properties of this object
2098
2291
  def update!(**args)
2292
+ @allow_multiple_data_stores_search_engine = args[:allow_multiple_data_stores_search_engine] if args.key?(:allow_multiple_data_stores_search_engine)
2099
2293
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
2100
2294
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
2101
2295
  @common_config = args[:common_config] if args.key?(:common_config)
@@ -2561,6 +2755,50 @@ module Google
2561
2755
  end
2562
2756
  end
2563
2757
 
2758
+ # Identity Provider Config.
2759
+ class GoogleCloudDiscoveryengineV1alphaIdpConfig
2760
+ include Google::Apis::Core::Hashable
2761
+
2762
+ # Third party IDP Config.
2763
+ # Corresponds to the JSON property `externalIdpConfig`
2764
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig]
2765
+ attr_accessor :external_idp_config
2766
+
2767
+ # Identity provider type configured.
2768
+ # Corresponds to the JSON property `idpType`
2769
+ # @return [String]
2770
+ attr_accessor :idp_type
2771
+
2772
+ def initialize(**args)
2773
+ update!(**args)
2774
+ end
2775
+
2776
+ # Update properties of this object
2777
+ def update!(**args)
2778
+ @external_idp_config = args[:external_idp_config] if args.key?(:external_idp_config)
2779
+ @idp_type = args[:idp_type] if args.key?(:idp_type)
2780
+ end
2781
+ end
2782
+
2783
+ # Third party IDP Config.
2784
+ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
2785
+ include Google::Apis::Core::Hashable
2786
+
2787
+ # Workforce pool name. Example: "locations/global/workforcePools/pool_id"
2788
+ # Corresponds to the JSON property `workforcePoolName`
2789
+ # @return [String]
2790
+ attr_accessor :workforce_pool_name
2791
+
2792
+ def initialize(**args)
2793
+ update!(**args)
2794
+ end
2795
+
2796
+ # Update properties of this object
2797
+ def update!(**args)
2798
+ @workforce_pool_name = args[:workforce_pool_name] if args.key?(:workforce_pool_name)
2799
+ end
2800
+ end
2801
+
2564
2802
  # Metadata related to the progress of the ImportDocuments operation. This is
2565
2803
  # returned by the google.longrunning.Operation.metadata field.
2566
2804
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
@@ -2878,6 +3116,11 @@ module Google
2878
3116
  # @return [Fixnum]
2879
3117
  attr_accessor :failure_count
2880
3118
 
3119
+ # Count of entries that were ignored as entries were not found.
3120
+ # Corresponds to the JSON property `ignoredCount`
3121
+ # @return [Fixnum]
3122
+ attr_accessor :ignored_count
3123
+
2881
3124
  # Count of entries that were deleted successfully.
2882
3125
  # Corresponds to the JSON property `successCount`
2883
3126
  # @return [Fixnum]
@@ -2897,6 +3140,7 @@ module Google
2897
3140
  def update!(**args)
2898
3141
  @create_time = args[:create_time] if args.key?(:create_time)
2899
3142
  @failure_count = args[:failure_count] if args.key?(:failure_count)
3143
+ @ignored_count = args[:ignored_count] if args.key?(:ignored_count)
2900
3144
  @success_count = args[:success_count] if args.key?(:success_count)
2901
3145
  @update_time = args[:update_time] if args.key?(:update_time)
2902
3146
  end
@@ -3856,6 +4100,11 @@ module Google
3856
4100
  class GoogleCloudDiscoveryengineV1betaConverseConversationRequest
3857
4101
  include Google::Apis::Core::Hashable
3858
4102
 
4103
+ # Boost specification to boost certain documents.
4104
+ # Corresponds to the JSON property `boostSpec`
4105
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
4106
+ attr_accessor :boost_spec
4107
+
3859
4108
  # External conversation proto definition.
3860
4109
  # Corresponds to the JSON property `conversation`
3861
4110
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation]
@@ -3922,6 +4171,7 @@ module Google
3922
4171
 
3923
4172
  # Update properties of this object
3924
4173
  def update!(**args)
4174
+ @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
3925
4175
  @conversation = args[:conversation] if args.key?(:conversation)
3926
4176
  @filter = args[:filter] if args.key?(:filter)
3927
4177
  @query = args[:query] if args.key?(:query)
@@ -4165,6 +4415,13 @@ module Google
4165
4415
  # @return [String]
4166
4416
  attr_accessor :display_name
4167
4417
 
4418
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
4419
+ # defaults to digital parser. The first call to DataStoreService.
4420
+ # UpdateDocumentProcessingConfig method will initialize the config.
4421
+ # Corresponds to the JSON property `documentProcessingConfig`
4422
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig]
4423
+ attr_accessor :document_processing_config
4424
+
4168
4425
  # Immutable. The industry vertical that the data store registers.
4169
4426
  # Corresponds to the JSON property `industryVertical`
4170
4427
  # @return [String]
@@ -4186,6 +4443,11 @@ module Google
4186
4443
  # @return [Array<String>]
4187
4444
  attr_accessor :solution_types
4188
4445
 
4446
+ # Defines the structure and layout of a type of document data.
4447
+ # Corresponds to the JSON property `startingSchema`
4448
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema]
4449
+ attr_accessor :starting_schema
4450
+
4189
4451
  def initialize(**args)
4190
4452
  update!(**args)
4191
4453
  end
@@ -4196,9 +4458,11 @@ module Google
4196
4458
  @create_time = args[:create_time] if args.key?(:create_time)
4197
4459
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
4198
4460
  @display_name = args[:display_name] if args.key?(:display_name)
4461
+ @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
4199
4462
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
4200
4463
  @name = args[:name] if args.key?(:name)
4201
4464
  @solution_types = args[:solution_types] if args.key?(:solution_types)
4465
+ @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
4202
4466
  end
4203
4467
  end
4204
4468
 
@@ -4311,6 +4575,19 @@ module Google
4311
4575
  end
4312
4576
  end
4313
4577
 
4578
+ # The digital parsing configurations for documents.
4579
+ class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
4580
+ include Google::Apis::Core::Hashable
4581
+
4582
+ def initialize(**args)
4583
+ update!(**args)
4584
+ end
4585
+
4586
+ # Update properties of this object
4587
+ def update!(**args)
4588
+ end
4589
+ end
4590
+
4314
4591
  # Metadata related to the progress of the SiteSearchEngineService.
4315
4592
  # DisableAdvancedSiteSearch operation. This will be returned by the google.
4316
4593
  # longrunning.Operation.metadata field.
@@ -4388,6 +4665,13 @@ module Google
4388
4665
  # @return [String]
4389
4666
  attr_accessor :id
4390
4667
 
4668
+ # Output only. The last time the document was indexed. If this field is set, the
4669
+ # document could be returned in search results. This field is OUTPUT_ONLY. If
4670
+ # this field is not populated, it means the document has never been indexed.
4671
+ # Corresponds to the JSON property `indexTime`
4672
+ # @return [String]
4673
+ attr_accessor :index_time
4674
+
4391
4675
  # The JSON string representation of the document. It should conform to the
4392
4676
  # registered Schema or an `INVALID_ARGUMENT` error is thrown.
4393
4677
  # Corresponds to the JSON property `jsonData`
@@ -4429,6 +4713,7 @@ module Google
4429
4713
  @content = args[:content] if args.key?(:content)
4430
4714
  @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
4431
4715
  @id = args[:id] if args.key?(:id)
4716
+ @index_time = args[:index_time] if args.key?(:index_time)
4432
4717
  @json_data = args[:json_data] if args.key?(:json_data)
4433
4718
  @name = args[:name] if args.key?(:name)
4434
4719
  @parent_document_id = args[:parent_document_id] if args.key?(:parent_document_id)
@@ -4530,6 +4815,70 @@ module Google
4530
4815
  end
4531
4816
  end
4532
4817
 
4818
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
4819
+ # defaults to digital parser. The first call to DataStoreService.
4820
+ # UpdateDocumentProcessingConfig method will initialize the config.
4821
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
4822
+ include Google::Apis::Core::Hashable
4823
+
4824
+ # Related configurations applied to a specific type of document parser.
4825
+ # Corresponds to the JSON property `defaultParsingConfig`
4826
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig]
4827
+ attr_accessor :default_parsing_config
4828
+
4829
+ # The full resource name of the Document Processing Config. Format: `projects/*/
4830
+ # locations/*/collections/*/dataStores/*/documentProcessingConfig`.
4831
+ # Corresponds to the JSON property `name`
4832
+ # @return [String]
4833
+ attr_accessor :name
4834
+
4835
+ # Map from file type to override the default parsing configuration based on the
4836
+ # file type. Supported keys: * `pdf`: Override parsing config for PDF files,
4837
+ # either digital parsing, ocr parsing or layout parsing is supported. * `html`:
4838
+ # Override parsing config for HTML files, only digital parsing and or layout
4839
+ # parsing are supported. * `docx`: Override parsing config for DOCX files, only
4840
+ # digital parsing and or layout parsing are supported.
4841
+ # Corresponds to the JSON property `parsingConfigOverrides`
4842
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig>]
4843
+ attr_accessor :parsing_config_overrides
4844
+
4845
+ def initialize(**args)
4846
+ update!(**args)
4847
+ end
4848
+
4849
+ # Update properties of this object
4850
+ def update!(**args)
4851
+ @default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
4852
+ @name = args[:name] if args.key?(:name)
4853
+ @parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
4854
+ end
4855
+ end
4856
+
4857
+ # Related configurations applied to a specific type of document parser.
4858
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
4859
+ include Google::Apis::Core::Hashable
4860
+
4861
+ # The digital parsing configurations for documents.
4862
+ # Corresponds to the JSON property `digitalParsingConfig`
4863
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig]
4864
+ attr_accessor :digital_parsing_config
4865
+
4866
+ # The OCR parsing configurations for documents.
4867
+ # Corresponds to the JSON property `ocrParsingConfig`
4868
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig]
4869
+ attr_accessor :ocr_parsing_config
4870
+
4871
+ def initialize(**args)
4872
+ update!(**args)
4873
+ end
4874
+
4875
+ # Update properties of this object
4876
+ def update!(**args)
4877
+ @digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
4878
+ @ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
4879
+ end
4880
+ end
4881
+
4533
4882
  # Double list.
4534
4883
  class GoogleCloudDiscoveryengineV1betaDoubleList
4535
4884
  include Google::Apis::Core::Hashable
@@ -5612,6 +5961,34 @@ module Google
5612
5961
  end
5613
5962
  end
5614
5963
 
5964
+ # The OCR parsing configurations for documents.
5965
+ class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
5966
+ include Google::Apis::Core::Hashable
5967
+
5968
+ # Apply additional enhanced OCR processing to a list of document elements.
5969
+ # Supported values: * `table`: advanced table parsing model.
5970
+ # Corresponds to the JSON property `enhancedDocumentElements`
5971
+ # @return [Array<String>]
5972
+ attr_accessor :enhanced_document_elements
5973
+
5974
+ # If true, will use native text instead of OCR text on pages containing native
5975
+ # text.
5976
+ # Corresponds to the JSON property `useNativeText`
5977
+ # @return [Boolean]
5978
+ attr_accessor :use_native_text
5979
+ alias_method :use_native_text?, :use_native_text
5980
+
5981
+ def initialize(**args)
5982
+ update!(**args)
5983
+ end
5984
+
5985
+ # Update properties of this object
5986
+ def update!(**args)
5987
+ @enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements)
5988
+ @use_native_text = args[:use_native_text] if args.key?(:use_native_text)
5989
+ end
5990
+ end
5991
+
5615
5992
  # Detailed page information.
5616
5993
  class GoogleCloudDiscoveryengineV1betaPageInfo
5617
5994
  include Google::Apis::Core::Hashable
@@ -5721,6 +6098,11 @@ module Google
5721
6098
  # @return [Fixnum]
5722
6099
  attr_accessor :failure_count
5723
6100
 
6101
+ # Count of entries that were ignored as entries were not found.
6102
+ # Corresponds to the JSON property `ignoredCount`
6103
+ # @return [Fixnum]
6104
+ attr_accessor :ignored_count
6105
+
5724
6106
  # Count of entries that were deleted successfully.
5725
6107
  # Corresponds to the JSON property `successCount`
5726
6108
  # @return [Fixnum]
@@ -5740,6 +6122,7 @@ module Google
5740
6122
  def update!(**args)
5741
6123
  @create_time = args[:create_time] if args.key?(:create_time)
5742
6124
  @failure_count = args[:failure_count] if args.key?(:failure_count)
6125
+ @ignored_count = args[:ignored_count] if args.key?(:ignored_count)
5743
6126
  @success_count = args[:success_count] if args.key?(:success_count)
5744
6127
  @update_time = args[:update_time] if args.key?(:update_time)
5745
6128
  end
@@ -6458,8 +6841,8 @@ module Google
6458
6841
  # An expression which specifies a boost condition. The syntax and supported
6459
6842
  # fields are the same as a filter expression. See SearchRequest.filter for
6460
6843
  # 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"))
6844
+ # "doc_1" or "doc_2", and color "Red" or "Blue": * (document_id: ANY("doc_1", "
6845
+ # doc_2")) AND (color: ANY("Red", "Blue"))
6463
6846
  # Corresponds to the JSON property `condition`
6464
6847
  # @return [String]
6465
6848
  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.37.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 = "20240227"
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
 
@@ -484,6 +514,18 @@ module Google
484
514
  include Google::Apis::Core::JsonObjectSupport
485
515
  end
486
516
 
517
+ class GoogleCloudDiscoveryengineV1alphaIdpConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
487
529
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
488
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
531
 
@@ -814,6 +856,12 @@ module Google
814
856
  include Google::Apis::Core::JsonObjectSupport
815
857
  end
816
858
 
859
+ class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
817
865
  class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
818
866
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
867
 
@@ -850,6 +898,18 @@ module Google
850
898
  include Google::Apis::Core::JsonObjectSupport
851
899
  end
852
900
 
901
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
853
913
  class GoogleCloudDiscoveryengineV1betaDoubleList
854
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
915
 
@@ -1060,6 +1120,12 @@ module Google
1060
1120
  include Google::Apis::Core::JsonObjectSupport
1061
1121
  end
1062
1122
 
1123
+ class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1063
1129
  class GoogleCloudDiscoveryengineV1betaPageInfo
1064
1130
  class Representation < Google::Apis::Core::JsonRepresentation; end
1065
1131
 
@@ -1585,9 +1651,13 @@ module Google
1585
1651
  property :create_time, as: 'createTime'
1586
1652
  property :default_schema_id, as: 'defaultSchemaId'
1587
1653
  property :display_name, as: 'displayName'
1654
+ property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfig::Representation
1655
+
1588
1656
  property :industry_vertical, as: 'industryVertical'
1589
1657
  property :name, as: 'name'
1590
1658
  collection :solution_types, as: 'solutionTypes'
1659
+ property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1Schema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1Schema::Representation
1660
+
1591
1661
  end
1592
1662
  end
1593
1663
 
@@ -1623,6 +1693,12 @@ module Google
1623
1693
  end
1624
1694
  end
1625
1695
 
1696
+ class GoogleCloudDiscoveryengineV1DigitalParsingConfig
1697
+ # @private
1698
+ class Representation < Google::Apis::Core::JsonRepresentation
1699
+ end
1700
+ end
1701
+
1626
1702
  class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
1627
1703
  # @private
1628
1704
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1637,6 +1713,27 @@ module Google
1637
1713
  end
1638
1714
  end
1639
1715
 
1716
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
1717
+ # @private
1718
+ class Representation < Google::Apis::Core::JsonRepresentation
1719
+ property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
1720
+
1721
+ property :name, as: 'name'
1722
+ hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
1723
+
1724
+ end
1725
+ end
1726
+
1727
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
1728
+ # @private
1729
+ class Representation < Google::Apis::Core::JsonRepresentation
1730
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DigitalParsingConfig::Representation
1731
+
1732
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1OcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1OcrParsingConfig::Representation
1733
+
1734
+ end
1735
+ end
1736
+
1640
1737
  class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
1641
1738
  # @private
1642
1739
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1780,11 +1877,20 @@ module Google
1780
1877
  end
1781
1878
  end
1782
1879
 
1880
+ class GoogleCloudDiscoveryengineV1OcrParsingConfig
1881
+ # @private
1882
+ class Representation < Google::Apis::Core::JsonRepresentation
1883
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
1884
+ property :use_native_text, as: 'useNativeText'
1885
+ end
1886
+ end
1887
+
1783
1888
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
1784
1889
  # @private
1785
1890
  class Representation < Google::Apis::Core::JsonRepresentation
1786
1891
  property :create_time, as: 'createTime'
1787
1892
  property :failure_count, :numeric_string => true, as: 'failureCount'
1893
+ property :ignored_count, :numeric_string => true, as: 'ignoredCount'
1788
1894
  property :success_count, :numeric_string => true, as: 'successCount'
1789
1895
  property :update_time, as: 'updateTime'
1790
1896
  end
@@ -1880,6 +1986,15 @@ module Google
1880
1986
  end
1881
1987
  end
1882
1988
 
1989
+ class GoogleCloudDiscoveryengineV1alphaAclConfig
1990
+ # @private
1991
+ class Representation < Google::Apis::Core::JsonRepresentation
1992
+ property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
1993
+
1994
+ property :name, as: 'name'
1995
+ end
1996
+ end
1997
+
1883
1998
  class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
1884
1999
  # @private
1885
2000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1931,13 +2046,20 @@ module Google
1931
2046
  class GoogleCloudDiscoveryengineV1alphaDataStore
1932
2047
  # @private
1933
2048
  class Representation < Google::Apis::Core::JsonRepresentation
2049
+ property :acl_enabled, as: 'aclEnabled'
1934
2050
  property :content_config, as: 'contentConfig'
1935
2051
  property :create_time, as: 'createTime'
1936
2052
  property :default_schema_id, as: 'defaultSchemaId'
1937
2053
  property :display_name, as: 'displayName'
2054
+ property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig::Representation
2055
+
2056
+ property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
2057
+
1938
2058
  property :industry_vertical, as: 'industryVertical'
1939
2059
  property :name, as: 'name'
1940
2060
  collection :solution_types, as: 'solutionTypes'
2061
+ property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema::Representation
2062
+
1941
2063
  end
1942
2064
  end
1943
2065
 
@@ -2035,6 +2157,7 @@ module Google
2035
2157
  class GoogleCloudDiscoveryengineV1alphaEngine
2036
2158
  # @private
2037
2159
  class Representation < Google::Apis::Core::JsonRepresentation
2160
+ property :allow_multiple_data_stores_search_engine, as: 'allowMultipleDataStoresSearchEngine'
2038
2161
  property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
2039
2162
 
2040
2163
  property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
@@ -2165,6 +2288,22 @@ module Google
2165
2288
  end
2166
2289
  end
2167
2290
 
2291
+ class GoogleCloudDiscoveryengineV1alphaIdpConfig
2292
+ # @private
2293
+ class Representation < Google::Apis::Core::JsonRepresentation
2294
+ property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig::Representation
2295
+
2296
+ property :idp_type, as: 'idpType'
2297
+ end
2298
+ end
2299
+
2300
+ class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
2301
+ # @private
2302
+ class Representation < Google::Apis::Core::JsonRepresentation
2303
+ property :workforce_pool_name, as: 'workforcePoolName'
2304
+ end
2305
+ end
2306
+
2168
2307
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
2169
2308
  # @private
2170
2309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2260,6 +2399,7 @@ module Google
2260
2399
  class Representation < Google::Apis::Core::JsonRepresentation
2261
2400
  property :create_time, as: 'createTime'
2262
2401
  property :failure_count, :numeric_string => true, as: 'failureCount'
2402
+ property :ignored_count, :numeric_string => true, as: 'ignoredCount'
2263
2403
  property :success_count, :numeric_string => true, as: 'successCount'
2264
2404
  property :update_time, as: 'updateTime'
2265
2405
  end
@@ -2548,6 +2688,8 @@ module Google
2548
2688
  class GoogleCloudDiscoveryengineV1betaConverseConversationRequest
2549
2689
  # @private
2550
2690
  class Representation < Google::Apis::Core::JsonRepresentation
2691
+ property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
2692
+
2551
2693
  property :conversation, as: 'conversation', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation::Representation
2552
2694
 
2553
2695
  property :filter, as: 'filter'
@@ -2630,9 +2772,13 @@ module Google
2630
2772
  property :create_time, as: 'createTime'
2631
2773
  property :default_schema_id, as: 'defaultSchemaId'
2632
2774
  property :display_name, as: 'displayName'
2775
+ property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
2776
+
2633
2777
  property :industry_vertical, as: 'industryVertical'
2634
2778
  property :name, as: 'name'
2635
2779
  collection :solution_types, as: 'solutionTypes'
2780
+ property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema::Representation
2781
+
2636
2782
  end
2637
2783
  end
2638
2784
 
@@ -2668,6 +2814,12 @@ module Google
2668
2814
  end
2669
2815
  end
2670
2816
 
2817
+ class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
2818
+ # @private
2819
+ class Representation < Google::Apis::Core::JsonRepresentation
2820
+ end
2821
+ end
2822
+
2671
2823
  class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
2672
2824
  # @private
2673
2825
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2695,6 +2847,7 @@ module Google
2695
2847
 
2696
2848
  hash :derived_struct_data, as: 'derivedStructData'
2697
2849
  property :id, as: 'id'
2850
+ property :index_time, as: 'indexTime'
2698
2851
  property :json_data, as: 'jsonData'
2699
2852
  property :name, as: 'name'
2700
2853
  property :parent_document_id, as: 'parentDocumentId'
@@ -2723,6 +2876,27 @@ module Google
2723
2876
  end
2724
2877
  end
2725
2878
 
2879
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
2880
+ # @private
2881
+ class Representation < Google::Apis::Core::JsonRepresentation
2882
+ property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
2883
+
2884
+ property :name, as: 'name'
2885
+ hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
2886
+
2887
+ end
2888
+ end
2889
+
2890
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
2891
+ # @private
2892
+ class Representation < Google::Apis::Core::JsonRepresentation
2893
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig::Representation
2894
+
2895
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaOcrParsingConfig::Representation
2896
+
2897
+ end
2898
+ end
2899
+
2726
2900
  class GoogleCloudDiscoveryengineV1betaDoubleList
2727
2901
  # @private
2728
2902
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3051,6 +3225,14 @@ module Google
3051
3225
  end
3052
3226
  end
3053
3227
 
3228
+ class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
3229
+ # @private
3230
+ class Representation < Google::Apis::Core::JsonRepresentation
3231
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
3232
+ property :use_native_text, as: 'useNativeText'
3233
+ end
3234
+ end
3235
+
3054
3236
  class GoogleCloudDiscoveryengineV1betaPageInfo
3055
3237
  # @private
3056
3238
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3076,6 +3258,7 @@ module Google
3076
3258
  class Representation < Google::Apis::Core::JsonRepresentation
3077
3259
  property :create_time, as: 'createTime'
3078
3260
  property :failure_count, :numeric_string => true, as: 'failureCount'
3261
+ property :ignored_count, :numeric_string => true, as: 'ignoredCount'
3079
3262
  property :success_count, :numeric_string => true, as: 'successCount'
3080
3263
  property :update_time, as: 'updateTime'
3081
3264
  end
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.37.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-03 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.37.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: []