google-apis-discoveryengine_v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240526"
25
+ REVISION = "20240612"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleCloudDiscoveryengineV1AlloyDbSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class GoogleCloudDiscoveryengineV1Answer
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -358,6 +364,30 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class GoogleCloudDiscoveryengineV1Chunk
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudDiscoveryengineV1ChunkPageSpan
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
361
391
  class GoogleCloudDiscoveryengineV1CloudSqlSource
362
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
393
 
@@ -568,6 +598,18 @@ module Google
568
598
  include Google::Apis::Core::JsonObjectSupport
569
599
  end
570
600
 
601
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
571
613
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
572
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
615
 
@@ -580,6 +622,12 @@ module Google
580
622
  include Google::Apis::Core::JsonObjectSupport
581
623
  end
582
624
 
625
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
583
631
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
584
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
633
 
@@ -976,6 +1024,12 @@ module Google
976
1024
  include Google::Apis::Core::JsonObjectSupport
977
1025
  end
978
1026
 
1027
+ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
979
1033
  class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec
980
1034
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
1035
 
@@ -1636,6 +1690,12 @@ module Google
1636
1690
  include Google::Apis::Core::JsonObjectSupport
1637
1691
  end
1638
1692
 
1693
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
1694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1695
+
1696
+ include Google::Apis::Core::JsonObjectSupport
1697
+ end
1698
+
1639
1699
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
1640
1700
  class Representation < Google::Apis::Core::JsonRepresentation; end
1641
1701
 
@@ -1942,6 +2002,18 @@ module Google
1942
2002
  include Google::Apis::Core::JsonObjectSupport
1943
2003
  end
1944
2004
 
2005
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
2006
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2007
+
2008
+ include Google::Apis::Core::JsonObjectSupport
2009
+ end
2010
+
2011
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
2012
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2013
+
2014
+ include Google::Apis::Core::JsonObjectSupport
2015
+ end
2016
+
1945
2017
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
1946
2018
  class Representation < Google::Apis::Core::JsonRepresentation; end
1947
2019
 
@@ -1954,6 +2026,12 @@ module Google
1954
2026
  include Google::Apis::Core::JsonObjectSupport
1955
2027
  end
1956
2028
 
2029
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
2030
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2031
+
2032
+ include Google::Apis::Core::JsonObjectSupport
2033
+ end
2034
+
1957
2035
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
1958
2036
  class Representation < Google::Apis::Core::JsonRepresentation; end
1959
2037
 
@@ -2050,6 +2128,12 @@ module Google
2050
2128
  include Google::Apis::Core::JsonObjectSupport
2051
2129
  end
2052
2130
 
2131
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
2132
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2133
+
2134
+ include Google::Apis::Core::JsonObjectSupport
2135
+ end
2136
+
2053
2137
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
2054
2138
  class Representation < Google::Apis::Core::JsonRepresentation; end
2055
2139
 
@@ -2268,6 +2352,18 @@ module Google
2268
2352
  end
2269
2353
  end
2270
2354
 
2355
+ class GoogleCloudDiscoveryengineV1AlloyDbSource
2356
+ # @private
2357
+ class Representation < Google::Apis::Core::JsonRepresentation
2358
+ property :cluster_id, as: 'clusterId'
2359
+ property :database_id, as: 'databaseId'
2360
+ property :gcs_staging_dir, as: 'gcsStagingDir'
2361
+ property :location_id, as: 'locationId'
2362
+ property :project_id, as: 'projectId'
2363
+ property :table_id, as: 'tableId'
2364
+ end
2365
+ end
2366
+
2271
2367
  class GoogleCloudDiscoveryengineV1Answer
2272
2368
  # @private
2273
2369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2323,6 +2419,7 @@ module Google
2323
2419
  property :search_spec, as: 'searchSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec::Representation
2324
2420
 
2325
2421
  property :session, as: 'session'
2422
+ hash :user_labels, as: 'userLabels'
2326
2423
  property :user_pseudo_id, as: 'userPseudoId'
2327
2424
  end
2328
2425
  end
@@ -2414,6 +2511,7 @@ module Google
2414
2511
  property :filter, as: 'filter'
2415
2512
  property :max_return_results, as: 'maxReturnResults'
2416
2513
  property :order_by, as: 'orderBy'
2514
+ property :search_result_mode, as: 'searchResultMode'
2417
2515
  end
2418
2516
  end
2419
2517
 
@@ -2752,6 +2850,50 @@ module Google
2752
2850
  end
2753
2851
  end
2754
2852
 
2853
+ class GoogleCloudDiscoveryengineV1Chunk
2854
+ # @private
2855
+ class Representation < Google::Apis::Core::JsonRepresentation
2856
+ property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata::Representation
2857
+
2858
+ property :content, as: 'content'
2859
+ hash :derived_struct_data, as: 'derivedStructData'
2860
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata::Representation
2861
+
2862
+ property :id, as: 'id'
2863
+ property :name, as: 'name'
2864
+ property :page_span, as: 'pageSpan', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkPageSpan, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkPageSpan::Representation
2865
+
2866
+ property :relevance_score, as: 'relevanceScore'
2867
+ end
2868
+ end
2869
+
2870
+ class GoogleCloudDiscoveryengineV1ChunkChunkMetadata
2871
+ # @private
2872
+ class Representation < Google::Apis::Core::JsonRepresentation
2873
+ collection :next_chunks, as: 'nextChunks', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk::Representation
2874
+
2875
+ collection :previous_chunks, as: 'previousChunks', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk::Representation
2876
+
2877
+ end
2878
+ end
2879
+
2880
+ class GoogleCloudDiscoveryengineV1ChunkDocumentMetadata
2881
+ # @private
2882
+ class Representation < Google::Apis::Core::JsonRepresentation
2883
+ hash :struct_data, as: 'structData'
2884
+ property :title, as: 'title'
2885
+ property :uri, as: 'uri'
2886
+ end
2887
+ end
2888
+
2889
+ class GoogleCloudDiscoveryengineV1ChunkPageSpan
2890
+ # @private
2891
+ class Representation < Google::Apis::Core::JsonRepresentation
2892
+ property :page_end, as: 'pageEnd'
2893
+ property :page_start, as: 'pageStart'
2894
+ end
2895
+ end
2896
+
2755
2897
  class GoogleCloudDiscoveryengineV1CloudSqlSource
2756
2898
  # @private
2757
2899
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3086,6 +3228,8 @@ module Google
3086
3228
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
3087
3229
  # @private
3088
3230
  class Representation < Google::Apis::Core::JsonRepresentation
3231
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig::Representation
3232
+
3089
3233
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
3090
3234
 
3091
3235
  property :name, as: 'name'
@@ -3094,11 +3238,29 @@ module Google
3094
3238
  end
3095
3239
  end
3096
3240
 
3241
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
3242
+ # @private
3243
+ class Representation < Google::Apis::Core::JsonRepresentation
3244
+ property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
3245
+
3246
+ end
3247
+ end
3248
+
3249
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
3250
+ # @private
3251
+ class Representation < Google::Apis::Core::JsonRepresentation
3252
+ property :chunk_size, as: 'chunkSize'
3253
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
3254
+ end
3255
+ end
3256
+
3097
3257
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
3098
3258
  # @private
3099
3259
  class Representation < Google::Apis::Core::JsonRepresentation
3100
3260
  property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
3101
3261
 
3262
+ property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
3263
+
3102
3264
  property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
3103
3265
 
3104
3266
  end
@@ -3110,6 +3272,12 @@ module Google
3110
3272
  end
3111
3273
  end
3112
3274
 
3275
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
3276
+ # @private
3277
+ class Representation < Google::Apis::Core::JsonRepresentation
3278
+ end
3279
+ end
3280
+
3113
3281
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
3114
3282
  # @private
3115
3283
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3268,6 +3436,8 @@ module Google
3268
3436
  class GoogleCloudDiscoveryengineV1ImportDocumentsRequest
3269
3437
  # @private
3270
3438
  class Representation < Google::Apis::Core::JsonRepresentation
3439
+ property :alloy_db_source, as: 'alloyDbSource', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlloyDbSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlloyDbSource::Representation
3440
+
3271
3441
  property :auto_generate_ids, as: 'autoGenerateIds'
3272
3442
  property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigQuerySource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigQuerySource::Representation
3273
3443
 
@@ -3717,6 +3887,7 @@ module Google
3717
3887
  property :filter, as: 'filter'
3718
3888
  property :image_query, as: 'imageQuery', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery::Representation
3719
3889
 
3890
+ property :language_code, as: 'languageCode'
3720
3891
  property :offset, as: 'offset'
3721
3892
  property :order_by, as: 'orderBy'
3722
3893
  property :page_size, as: 'pageSize'
@@ -3754,8 +3925,11 @@ module Google
3754
3925
  class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
3755
3926
  # @private
3756
3927
  class Representation < Google::Apis::Core::JsonRepresentation
3928
+ property :chunk_spec, as: 'chunkSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec::Representation
3929
+
3757
3930
  property :extractive_content_spec, as: 'extractiveContentSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec::Representation
3758
3931
 
3932
+ property :search_result_mode, as: 'searchResultMode'
3759
3933
  property :snippet_spec, as: 'snippetSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec::Representation
3760
3934
 
3761
3935
  property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec::Representation
@@ -3763,6 +3937,14 @@ module Google
3763
3937
  end
3764
3938
  end
3765
3939
 
3940
+ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec
3941
+ # @private
3942
+ class Representation < Google::Apis::Core::JsonRepresentation
3943
+ property :num_next_chunks, as: 'numNextChunks'
3944
+ property :num_previous_chunks, as: 'numPreviousChunks'
3945
+ end
3946
+ end
3947
+
3766
3948
  class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec
3767
3949
  # @private
3768
3950
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3917,6 +4099,8 @@ module Google
3917
4099
  class GoogleCloudDiscoveryengineV1SearchResponseSearchResult
3918
4100
  # @private
3919
4101
  class Representation < Google::Apis::Core::JsonRepresentation
4102
+ property :chunk, as: 'chunk', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Chunk::Representation
4103
+
3920
4104
  property :document, as: 'document', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Document::Representation
3921
4105
 
3922
4106
  property :id, as: 'id'
@@ -4499,6 +4683,8 @@ module Google
4499
4683
  property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
4500
4684
 
4501
4685
  property :industry_vertical, as: 'industryVertical'
4686
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
4687
+
4502
4688
  property :name, as: 'name'
4503
4689
  collection :solution_types, as: 'solutionTypes'
4504
4690
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSchema::Representation
@@ -4846,6 +5032,16 @@ module Google
4846
5032
  end
4847
5033
  end
4848
5034
 
5035
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
5036
+ # @private
5037
+ class Representation < Google::Apis::Core::JsonRepresentation
5038
+ property :language, as: 'language'
5039
+ property :language_code, as: 'languageCode'
5040
+ property :normalized_language_code, as: 'normalizedLanguageCode'
5041
+ property :region, as: 'region'
5042
+ end
5043
+ end
5044
+
4849
5045
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
4850
5046
  # @private
4851
5047
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5254,6 +5450,8 @@ module Google
5254
5450
  property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
5255
5451
 
5256
5452
  property :industry_vertical, as: 'industryVertical'
5453
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
5454
+
5257
5455
  property :name, as: 'name'
5258
5456
  collection :solution_types, as: 'solutionTypes'
5259
5457
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSchema::Representation
@@ -5310,6 +5508,8 @@ module Google
5310
5508
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
5311
5509
  # @private
5312
5510
  class Representation < Google::Apis::Core::JsonRepresentation
5511
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig::Representation
5512
+
5313
5513
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
5314
5514
 
5315
5515
  property :name, as: 'name'
@@ -5318,11 +5518,29 @@ module Google
5318
5518
  end
5319
5519
  end
5320
5520
 
5521
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
5522
+ # @private
5523
+ class Representation < Google::Apis::Core::JsonRepresentation
5524
+ property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
5525
+
5526
+ end
5527
+ end
5528
+
5529
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
5530
+ # @private
5531
+ class Representation < Google::Apis::Core::JsonRepresentation
5532
+ property :chunk_size, as: 'chunkSize'
5533
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
5534
+ end
5535
+ end
5536
+
5321
5537
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
5322
5538
  # @private
5323
5539
  class Representation < Google::Apis::Core::JsonRepresentation
5324
5540
  property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
5325
5541
 
5542
+ property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
5543
+
5326
5544
  property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
5327
5545
 
5328
5546
  end
@@ -5334,6 +5552,12 @@ module Google
5334
5552
  end
5335
5553
  end
5336
5554
 
5555
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
5556
+ # @private
5557
+ class Representation < Google::Apis::Core::JsonRepresentation
5558
+ end
5559
+ end
5560
+
5337
5561
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
5338
5562
  # @private
5339
5563
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5486,6 +5710,16 @@ module Google
5486
5710
  end
5487
5711
  end
5488
5712
 
5713
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
5714
+ # @private
5715
+ class Representation < Google::Apis::Core::JsonRepresentation
5716
+ property :language, as: 'language'
5717
+ property :language_code, as: 'languageCode'
5718
+ property :normalized_language_code, as: 'normalizedLanguageCode'
5719
+ property :region, as: 'region'
5720
+ end
5721
+ end
5722
+
5489
5723
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
5490
5724
  # @private
5491
5725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -858,7 +858,8 @@ module Google
858
858
  # @param [String] parent
859
859
  # Required. Full resource name of parent data store. Format: `projects/`
860
860
  # project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
861
- # `data_store_id``
861
+ # `data_store_id`` or `projects/`project_number`/locations/`location_id`/
862
+ # collections/`collection_id`/engines/`engine_id``.
862
863
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Control] google_cloud_discoveryengine_v1_control_object
863
864
  # @param [String] control_id
864
865
  # Required. The ID to use for the Control, which will become the final component
@@ -963,6 +964,8 @@ module Google
963
964
  # @param [String] parent
964
965
  # Required. The data store resource name. Format: `projects/`project_number`/
965
966
  # locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
967
+ # or `projects/`project_number`/locations/`location_id`/collections/`
968
+ # collection_id`/engines/`engine_id``.
966
969
  # @param [String] filter
967
970
  # Optional. A filter to apply on the list results. Supported features: * List
968
971
  # all the products under the parent branch if filter is unset. Currently this
@@ -2944,7 +2947,8 @@ module Google
2944
2947
  # @param [String] parent
2945
2948
  # Required. Full resource name of parent data store. Format: `projects/`
2946
2949
  # project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
2947
- # `data_store_id``
2950
+ # `data_store_id`` or `projects/`project_number`/locations/`location_id`/
2951
+ # collections/`collection_id`/engines/`engine_id``.
2948
2952
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Control] google_cloud_discoveryengine_v1_control_object
2949
2953
  # @param [String] control_id
2950
2954
  # Required. The ID to use for the Control, which will become the final component
@@ -3049,6 +3053,8 @@ module Google
3049
3053
  # @param [String] parent
3050
3054
  # Required. The data store resource name. Format: `projects/`project_number`/
3051
3055
  # locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
3056
+ # or `projects/`project_number`/locations/`location_id`/collections/`
3057
+ # collection_id`/engines/`engine_id``.
3052
3058
  # @param [String] filter
3053
3059
  # Optional. A filter to apply on the list results. Supported features: * List
3054
3060
  # all the products under the parent branch if filter is unset. Currently this
@@ -4535,7 +4541,8 @@ module Google
4535
4541
  # @param [String] parent
4536
4542
  # Required. Full resource name of parent data store. Format: `projects/`
4537
4543
  # project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
4538
- # `data_store_id``
4544
+ # `data_store_id`` or `projects/`project_number`/locations/`location_id`/
4545
+ # collections/`collection_id`/engines/`engine_id``.
4539
4546
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Control] google_cloud_discoveryengine_v1_control_object
4540
4547
  # @param [String] control_id
4541
4548
  # Required. The ID to use for the Control, which will become the final component
@@ -4640,6 +4647,8 @@ module Google
4640
4647
  # @param [String] parent
4641
4648
  # Required. The data store resource name. Format: `projects/`project_number`/
4642
4649
  # locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
4650
+ # or `projects/`project_number`/locations/`location_id`/collections/`
4651
+ # collection_id`/engines/`engine_id``.
4643
4652
  # @param [String] filter
4644
4653
  # Optional. A filter to apply on the list results. Supported features: * List
4645
4654
  # all the products under the parent branch if filter is unset. Currently this
@@ -6273,6 +6282,54 @@ module Google
6273
6282
  execute_or_queue_command(command, &block)
6274
6283
  end
6275
6284
 
6285
+ # Writes a single user event from the browser. This uses a GET request to due to
6286
+ # browser restriction of POST-ing to a third-party domain. This method is used
6287
+ # only by the Discovery Engine API JavaScript pixel and Google Tag Manager.
6288
+ # Users should not call this method directly.
6289
+ # @param [String] parent
6290
+ # Required. The parent DataStore resource name, such as `projects/`project`/
6291
+ # locations/`location`/collections/`collection`/dataStores/`data_store``.
6292
+ # @param [Fixnum] ets
6293
+ # The event timestamp in milliseconds. This prevents browser caching of
6294
+ # otherwise identical get requests. The name is abbreviated to reduce the
6295
+ # payload bytes.
6296
+ # @param [String] uri
6297
+ # The URL including cgi-parameters but excluding the hash fragment with a length
6298
+ # limit of 5,000 characters. This is often more useful than the referer URL,
6299
+ # because many browsers only send the domain for third-party requests.
6300
+ # @param [String] user_event
6301
+ # Required. URL encoded UserEvent proto with a length limit of 2,000,000
6302
+ # characters.
6303
+ # @param [String] fields
6304
+ # Selector specifying which fields to include in a partial response.
6305
+ # @param [String] quota_user
6306
+ # Available to use for quota purposes for server-side applications. Can be any
6307
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6308
+ # @param [Google::Apis::RequestOptions] options
6309
+ # Request-specific options
6310
+ #
6311
+ # @yield [result, err] Result & error if block supplied
6312
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleApiHttpBody] parsed result object
6313
+ # @yieldparam err [StandardError] error object if request failed
6314
+ #
6315
+ # @return [Google::Apis::DiscoveryengineV1::GoogleApiHttpBody]
6316
+ #
6317
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6318
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6319
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6320
+ def collect_project_location_user_event(parent, ets: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
6321
+ command = make_simple_command(:get, 'v1/{+parent}/userEvents:collect', options)
6322
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleApiHttpBody::Representation
6323
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleApiHttpBody
6324
+ command.params['parent'] = parent unless parent.nil?
6325
+ command.query['ets'] = ets unless ets.nil?
6326
+ command.query['uri'] = uri unless uri.nil?
6327
+ command.query['userEvent'] = user_event unless user_event.nil?
6328
+ command.query['fields'] = fields unless fields.nil?
6329
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6330
+ execute_or_queue_command(command, &block)
6331
+ end
6332
+
6276
6333
  # Writes a single user event.
6277
6334
  # @param [String] parent
6278
6335
  # Required. The parent resource name. If the write user event action is applied
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
63
63
  post_install_message:
64
64
  rdoc_options: []