google-apis-contentwarehouse_v1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module ContentwarehouseV1
23
- # contentwarehouse API
23
+ # Document AI Warehouse API
24
24
  #
25
25
  #
26
26
  #
@@ -825,6 +825,37 @@ module Google
825
825
  execute_or_queue_command(command, &block)
826
826
  end
827
827
 
828
+ # Gets the latest state of a long-running operation. Clients can use this method
829
+ # to poll the operation result at intervals as recommended by the API service.
830
+ # @param [String] name
831
+ # The name of the operation resource.
832
+ # @param [String] fields
833
+ # Selector specifying which fields to include in a partial response.
834
+ # @param [String] quota_user
835
+ # Available to use for quota purposes for server-side applications. Can be any
836
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
837
+ # @param [Google::Apis::RequestOptions] options
838
+ # Request-specific options
839
+ #
840
+ # @yield [result, err] Result & error if block supplied
841
+ # @yieldparam result [Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation] parsed result object
842
+ # @yieldparam err [StandardError] error object if request failed
843
+ #
844
+ # @return [Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation]
845
+ #
846
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
847
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
848
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
849
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
850
+ command = make_simple_command(:get, 'v1/{+name}', options)
851
+ command.response_representation = Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation::Representation
852
+ command.response_class = Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation
853
+ command.params['name'] = name unless name.nil?
854
+ command.query['fields'] = fields unless fields.nil?
855
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
856
+ execute_or_queue_command(command, &block)
857
+ end
858
+
828
859
  # Creates a ruleset.
829
860
  # @param [String] parent
830
861
  # Required. The parent name. Format: projects/`project_number`/locations/`
@@ -19,13 +19,13 @@ require 'google/apis/contentwarehouse_v1/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # contentwarehouse API
22
+ # Document AI Warehouse API
23
23
  #
24
24
  #
25
25
  #
26
26
  # @see https://cloud.google.com/document-warehouse
27
27
  module ContentwarehouseV1
28
- # Version of the contentwarehouse API this client connects to.
28
+ # Version of the Document AI Warehouse API this client connects to.
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
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.4.0
4
+ version: 0.6.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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -30,12 +30,12 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for contentwarehouse API V1. Simple REST
34
- clients are Ruby client libraries that provide access to Google services via their
35
- HTTP REST API endpoints. These libraries are generated and updated automatically
33
+ description: This is the simple REST client for Document AI Warehouse API V1. Simple
34
+ REST clients are Ruby client libraries that provide access to Google services via
35
+ their HTTP REST API endpoints. These libraries are generated and updated automatically
36
36
  based on the discovery documents published by the service, and they handle most
37
37
  concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
- use this client to access the contentwarehouse API, but note that some services
38
+ use this client to access the Document AI Warehouse API, but note that some services
39
39
  may provide a separate modern client that is easier to use.
40
40
  email: googleapis-packages@google.com
41
41
  executables: []
@@ -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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.6.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: []
@@ -78,5 +78,5 @@ requirements: []
78
78
  rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for contentwarehouse API V1
81
+ summary: Simple REST client for Document AI Warehouse API V1
82
82
  test_files: []