google-apis-contentwarehouse_v1 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentwarehouseV1
18
18
  # Version of the google-apis-contentwarehouse_v1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230725"
25
+ REVISION = "20230804"
26
26
  end
27
27
  end
28
28
  end
@@ -5710,6 +5710,12 @@ module Google
5710
5710
  include Google::Apis::Core::JsonObjectSupport
5711
5711
  end
5712
5712
 
5713
+ class GoogleCloudContentwarehouseV1ExportToCdwPipeline
5714
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5715
+
5716
+ include Google::Apis::Core::JsonObjectSupport
5717
+ end
5718
+
5713
5719
  class GoogleCloudContentwarehouseV1FetchAclRequest
5714
5720
  class Representation < Google::Apis::Core::JsonRepresentation; end
5715
5721
 
@@ -5740,6 +5746,18 @@ module Google
5740
5746
  include Google::Apis::Core::JsonObjectSupport
5741
5747
  end
5742
5748
 
5749
+ class GoogleCloudContentwarehouseV1GcsIngestPipeline
5750
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5751
+
5752
+ include Google::Apis::Core::JsonObjectSupport
5753
+ end
5754
+
5755
+ class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
5756
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5757
+
5758
+ include Google::Apis::Core::JsonObjectSupport
5759
+ end
5760
+
5743
5761
  class GoogleCloudContentwarehouseV1GetDocumentRequest
5744
5762
  class Representation < Google::Apis::Core::JsonRepresentation; end
5745
5763
 
@@ -5764,6 +5782,12 @@ module Google
5764
5782
  include Google::Apis::Core::JsonObjectSupport
5765
5783
  end
5766
5784
 
5785
+ class GoogleCloudContentwarehouseV1IngestPipelineConfig
5786
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5787
+
5788
+ include Google::Apis::Core::JsonObjectSupport
5789
+ end
5790
+
5767
5791
  class GoogleCloudContentwarehouseV1InitializeProjectRequest
5768
5792
  class Representation < Google::Apis::Core::JsonRepresentation; end
5769
5793
 
@@ -5860,6 +5884,12 @@ module Google
5860
5884
  include Google::Apis::Core::JsonObjectSupport
5861
5885
  end
5862
5886
 
5887
+ class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
5888
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5889
+
5890
+ include Google::Apis::Core::JsonObjectSupport
5891
+ end
5892
+
5863
5893
  class GoogleCloudContentwarehouseV1ProcessorInfo
5864
5894
  class Representation < Google::Apis::Core::JsonRepresentation; end
5865
5895
 
@@ -6004,6 +6034,12 @@ module Google
6004
6034
  include Google::Apis::Core::JsonObjectSupport
6005
6035
  end
6006
6036
 
6037
+ class GoogleCloudContentwarehouseV1RunPipelineRequest
6038
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6039
+
6040
+ include Google::Apis::Core::JsonObjectSupport
6041
+ end
6042
+
6007
6043
  class GoogleCloudContentwarehouseV1SearchDocumentsRequest
6008
6044
  class Representation < Google::Apis::Core::JsonRepresentation; end
6009
6045
 
@@ -13942,6 +13978,12 @@ module Google
13942
13978
  include Google::Apis::Core::JsonObjectSupport
13943
13979
  end
13944
13980
 
13981
+ class StorageGraphBfgRwjPolicyMetadata
13982
+ class Representation < Google::Apis::Core::JsonRepresentation; end
13983
+
13984
+ include Google::Apis::Core::JsonObjectSupport
13985
+ end
13986
+
13945
13987
  class StorageGraphBfgSpiiCertification
13946
13988
  class Representation < Google::Apis::Core::JsonRepresentation; end
13947
13989
 
@@ -21136,6 +21178,7 @@ module Google
21136
21178
  property :is_play_generic_music, as: 'isPlayGenericMusic'
21137
21179
  property :is_podcast_generic_intent, as: 'isPodcastGenericIntent'
21138
21180
  property :is_podcast_intent, as: 'isPodcastIntent'
21181
+ property :is_sage_disabled_intent, as: 'isSageDisabledIntent'
21139
21182
  property :is_sage_intent, as: 'isSageIntent'
21140
21183
  property :is_tvm_intent, as: 'isTvmIntent'
21141
21184
  property :is_valid_smarthome_intent, as: 'isValidSmarthomeIntent'
@@ -22168,7 +22211,6 @@ module Google
22168
22211
  property :image_indexing_info, as: 'imageIndexingInfo', class: Google::Apis::ContentwarehouseV1::ImageSearchImageIndexingInfo, decorator: Google::Apis::ContentwarehouseV1::ImageSearchImageIndexingInfo::Representation
22169
22212
 
22170
22213
  property :indexing_ts, :numeric_string => true, as: 'indexingTs'
22171
- property :is_sibling_deletion, as: 'isSiblingDeletion'
22172
22214
  property :no_longer_canonical_timestamp, :numeric_string => true, as: 'noLongerCanonicalTimestamp'
22173
22215
  property :normalized_click_score, as: 'normalizedClickScore'
22174
22216
  property :raw_navboost, as: 'rawNavboost'
@@ -26841,6 +26883,16 @@ module Google
26841
26883
  end
26842
26884
  end
26843
26885
 
26886
+ class GoogleCloudContentwarehouseV1ExportToCdwPipeline
26887
+ # @private
26888
+ class Representation < Google::Apis::Core::JsonRepresentation
26889
+ property :doc_ai_dataset, as: 'docAiDataset'
26890
+ collection :documents, as: 'documents'
26891
+ property :export_folder_path, as: 'exportFolderPath'
26892
+ property :training_split_ratio, as: 'trainingSplitRatio'
26893
+ end
26894
+ end
26895
+
26844
26896
  class GoogleCloudContentwarehouseV1FetchAclRequest
26845
26897
  # @private
26846
26898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26880,6 +26932,33 @@ module Google
26880
26932
  end
26881
26933
  end
26882
26934
 
26935
+ class GoogleCloudContentwarehouseV1GcsIngestPipeline
26936
+ # @private
26937
+ class Representation < Google::Apis::Core::JsonRepresentation
26938
+ property :input_path, as: 'inputPath'
26939
+ property :pipeline_config, as: 'pipelineConfig', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig::Representation
26940
+
26941
+ property :processor_type, as: 'processorType'
26942
+ property :schema_name, as: 'schemaName'
26943
+ property :skip_ingested_documents, as: 'skipIngestedDocuments'
26944
+ end
26945
+ end
26946
+
26947
+ class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
26948
+ # @private
26949
+ class Representation < Google::Apis::Core::JsonRepresentation
26950
+ collection :extract_processor_infos, as: 'extractProcessorInfos', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo::Representation
26951
+
26952
+ property :input_path, as: 'inputPath'
26953
+ property :pipeline_config, as: 'pipelineConfig', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig::Representation
26954
+
26955
+ property :processor_results_folder_path, as: 'processorResultsFolderPath'
26956
+ property :skip_ingested_documents, as: 'skipIngestedDocuments'
26957
+ property :split_classify_processor_info, as: 'splitClassifyProcessorInfo', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo::Representation
26958
+
26959
+ end
26960
+ end
26961
+
26883
26962
  class GoogleCloudContentwarehouseV1GetDocumentRequest
26884
26963
  # @private
26885
26964
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26915,6 +26994,16 @@ module Google
26915
26994
  end
26916
26995
  end
26917
26996
 
26997
+ class GoogleCloudContentwarehouseV1IngestPipelineConfig
26998
+ # @private
26999
+ class Representation < Google::Apis::Core::JsonRepresentation
27000
+ property :document_acl_policy, as: 'documentAclPolicy', class: Google::Apis::ContentwarehouseV1::GoogleIamV1Policy, decorator: Google::Apis::ContentwarehouseV1::GoogleIamV1Policy::Representation
27001
+
27002
+ property :enable_document_text_extraction, as: 'enableDocumentTextExtraction'
27003
+ property :folder, as: 'folder'
27004
+ end
27005
+ end
27006
+
26918
27007
  class GoogleCloudContentwarehouseV1InitializeProjectRequest
26919
27008
  # @private
26920
27009
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27050,6 +27139,17 @@ module Google
27050
27139
  end
27051
27140
  end
27052
27141
 
27142
+ class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
27143
+ # @private
27144
+ class Representation < Google::Apis::Core::JsonRepresentation
27145
+ collection :documents, as: 'documents'
27146
+ property :export_folder_path, as: 'exportFolderPath'
27147
+ property :processor_info, as: 'processorInfo', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo::Representation
27148
+
27149
+ property :processor_results_folder_path, as: 'processorResultsFolderPath'
27150
+ end
27151
+ end
27152
+
27053
27153
  class GoogleCloudContentwarehouseV1ProcessorInfo
27054
27154
  # @private
27055
27155
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27314,6 +27414,22 @@ module Google
27314
27414
  end
27315
27415
  end
27316
27416
 
27417
+ class GoogleCloudContentwarehouseV1RunPipelineRequest
27418
+ # @private
27419
+ class Representation < Google::Apis::Core::JsonRepresentation
27420
+ property :export_cdw_pipeline, as: 'exportCdwPipeline', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline::Representation
27421
+
27422
+ property :gcs_ingest_pipeline, as: 'gcsIngestPipeline', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline::Representation
27423
+
27424
+ property :gcs_ingest_with_doc_ai_processors_pipeline, as: 'gcsIngestWithDocAiProcessorsPipeline', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline::Representation
27425
+
27426
+ property :process_with_doc_ai_pipeline, as: 'processWithDocAiPipeline', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline::Representation
27427
+
27428
+ property :request_metadata, as: 'requestMetadata', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata::Representation
27429
+
27430
+ end
27431
+ end
27432
+
27317
27433
  class GoogleCloudContentwarehouseV1SearchDocumentsRequest
27318
27434
  # @private
27319
27435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -29620,6 +29736,8 @@ module Google
29620
29736
 
29621
29737
  property :golden7_soapbox_summary, as: 'golden7SoapboxSummary', class: Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData, decorator: Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData::Representation
29622
29738
 
29739
+ property :golden7_soapbox_tracks_blob_info, as: 'golden7SoapboxTracksBlobInfo', class: Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaSignalsBlobInfo, decorator: Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaSignalsBlobInfo::Representation
29740
+
29623
29741
  property :inline_playback, as: 'inlinePlayback', class: Google::Apis::ContentwarehouseV1::VideoCrawlVideoInlinePlaybackMetadata, decorator: Google::Apis::ContentwarehouseV1::VideoCrawlVideoInlinePlaybackMetadata::Representation
29624
29742
 
29625
29743
  property :language_identification, as: 'languageIdentification', class: Google::Apis::ContentwarehouseV1::VideoTimedtextS4AliResults, decorator: Google::Apis::ContentwarehouseV1::VideoTimedtextS4AliResults::Representation
@@ -29632,6 +29750,8 @@ module Google
29632
29750
 
29633
29751
  property :media_info, as: 'mediaInfo', class: Google::Apis::ContentwarehouseV1::VideoMediaInfo, decorator: Google::Apis::ContentwarehouseV1::VideoMediaInfo::Representation
29634
29752
 
29753
+ property :multi_thumbnails_frame_perdocs, as: 'multiThumbnailsFramePerdocs', class: Google::Apis::ContentwarehouseV1::ImageRepositoryFramePerdocs, decorator: Google::Apis::ContentwarehouseV1::ImageRepositoryFramePerdocs::Representation
29754
+
29635
29755
  property :representative_frame_data, as: 'representativeFrameData', class: Google::Apis::ContentwarehouseV1::ImageData, decorator: Google::Apis::ContentwarehouseV1::ImageData::Representation
29636
29756
 
29637
29757
  property :s3_asr, as: 's3Asr', class: Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals, decorator: Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals::Representation
@@ -39689,6 +39809,7 @@ module Google
39689
39809
  property :value_double, as: 'valueDouble'
39690
39810
  property :value_float, as: 'valueFloat'
39691
39811
  property :value_int32, as: 'valueInt32'
39812
+ property :value_string, as: 'valueString'
39692
39813
  property :value_uint32, as: 'valueUint32'
39693
39814
  property :version_id, as: 'versionId'
39694
39815
  end
@@ -41561,7 +41682,6 @@ module Google
41561
41682
  property :common_ngram_prob, as: 'commonNgramProb'
41562
41683
  property :entity_idf, as: 'entityIdf'
41563
41684
  property :name_capitalization_prob, as: 'nameCapitalizationProb'
41564
- property :person_prob, as: 'personProb'
41565
41685
  end
41566
41686
  end
41567
41687
 
@@ -44392,6 +44512,7 @@ module Google
44392
44512
 
44393
44513
  property :contain_user_quotes, as: 'containUserQuotes'
44394
44514
  property :contain_vulgar_candidates, as: 'containVulgarCandidates'
44515
+ property :disable_ng3_scoring, as: 'disableNg3Scoring'
44395
44516
  property :disable_query_features, as: 'disableQueryFeatures'
44396
44517
  property :snippet_brain_selected_candidate_index, as: 'snippetBrainSelectedCandidateIndex'
44397
44518
  property :snippetsbrain_model_info, as: 'snippetsbrainModelInfo', class: Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetsBrainModelInfo, decorator: Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetsBrainModelInfo::Representation
@@ -45385,6 +45506,8 @@ module Google
45385
45506
 
45386
45507
  collection :policy_data_scope_keys, as: 'policyDataScopeKeys'
45387
45508
  property :policy_source_type, as: 'policySourceType'
45509
+ property :rwj_policy_metadata, as: 'rwjPolicyMetadata', class: Google::Apis::ContentwarehouseV1::StorageGraphBfgRwjPolicyMetadata, decorator: Google::Apis::ContentwarehouseV1::StorageGraphBfgRwjPolicyMetadata::Representation
45510
+
45388
45511
  property :ump_policy_metadata, as: 'umpPolicyMetadata', class: Google::Apis::ContentwarehouseV1::StorageGraphBfgUmpPolicyMetadata, decorator: Google::Apis::ContentwarehouseV1::StorageGraphBfgUmpPolicyMetadata::Representation
45389
45512
 
45390
45513
  end
@@ -45398,6 +45521,13 @@ module Google
45398
45521
  end
45399
45522
  end
45400
45523
 
45524
+ class StorageGraphBfgRwjPolicyMetadata
45525
+ # @private
45526
+ class Representation < Google::Apis::Core::JsonRepresentation
45527
+ collection :eligible_surfaces, as: 'eligibleSurfaces'
45528
+ end
45529
+ end
45530
+
45401
45531
  class StorageGraphBfgSpiiCertification
45402
45532
  # @private
45403
45533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -191,6 +191,40 @@ module Google
191
191
  execute_or_queue_command(command, &block)
192
192
  end
193
193
 
194
+ # Run a predefined pipeline.
195
+ # @param [String] name
196
+ # Required. The resource name which owns the resources of the pipeline. Format:
197
+ # projects/`project_number`/locations/`location`.
198
+ # @param [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineRequest] google_cloud_contentwarehouse_v1_run_pipeline_request_object
199
+ # @param [String] fields
200
+ # Selector specifying which fields to include in a partial response.
201
+ # @param [String] quota_user
202
+ # Available to use for quota purposes for server-side applications. Can be any
203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
204
+ # @param [Google::Apis::RequestOptions] options
205
+ # Request-specific options
206
+ #
207
+ # @yield [result, err] Result & error if block supplied
208
+ # @yieldparam result [Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation] parsed result object
209
+ # @yieldparam err [StandardError] error object if request failed
210
+ #
211
+ # @return [Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation]
212
+ #
213
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
214
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
215
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
216
+ def run_project_location_pipeline(name, google_cloud_contentwarehouse_v1_run_pipeline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
217
+ command = make_simple_command(:post, 'v1/{+name}:runPipeline', options)
218
+ command.request_representation = Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineRequest::Representation
219
+ command.request_object = google_cloud_contentwarehouse_v1_run_pipeline_request_object
220
+ command.response_representation = Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation::Representation
221
+ command.response_class = Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation
222
+ command.params['name'] = name unless name.nil?
223
+ command.query['fields'] = fields unless fields.nil?
224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
225
+ execute_or_queue_command(command, &block)
226
+ end
227
+
194
228
  # Creates a document schema.
195
229
  # @param [String] parent
196
230
  # Required. The parent name.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contentwarehouse_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-20 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-contentwarehouse_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contentwarehouse_v1
63
63
  post_install_message:
64
64
  rdoc_options: []