google-apis-contentwarehouse_v1 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/`
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.3.0
4
+ version: 0.5.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.5.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: []