google-apis-contentwarehouse_v1 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,15 +87,6 @@ module Google
87
87
  end
88
88
 
89
89
  # Sets the access control policy for a resource. Replaces any existing policy.
90
- # You can set ACL with condition for projects only. Supported operators are: `=`,
91
- # `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `
92
- # DocumentSchemaId` or property name and the right of the operator is a number
93
- # or a quoted string. You must escape backslash (\\) and quote (\") characters.
94
- # Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for
95
- # example, "((A AND B AND C) OR D) AND E"), a maximum of 10 comparisons are
96
- # allowed in the expression. The expression must be < 6000 bytes in length.
97
- # Sample condition: `"DocumentSchemaId = \"some schema id\" " OR SchemaId.
98
- # floatPropertyName >= 10`
99
90
  # @param [String] resource
100
91
  # Required. REQUIRED: The resource for which the policy is being requested.
101
92
  # Format for document: projects/`project_number`/locations/`location`/documents/`
@@ -165,6 +156,40 @@ module Google
165
156
  execute_or_queue_command(command, &block)
166
157
  end
167
158
 
159
+ # Run a predefined pipeline.
160
+ # @param [String] name
161
+ # Required. The resource name which owns the resources of the pipeline. Format:
162
+ # projects/`project_number`/locations/`location`.
163
+ # @param [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineRequest] google_cloud_contentwarehouse_v1_run_pipeline_request_object
164
+ # @param [String] fields
165
+ # Selector specifying which fields to include in a partial response.
166
+ # @param [String] quota_user
167
+ # Available to use for quota purposes for server-side applications. Can be any
168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
169
+ # @param [Google::Apis::RequestOptions] options
170
+ # Request-specific options
171
+ #
172
+ # @yield [result, err] Result & error if block supplied
173
+ # @yieldparam result [Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation] parsed result object
174
+ # @yieldparam err [StandardError] error object if request failed
175
+ #
176
+ # @return [Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation]
177
+ #
178
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
179
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
180
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
181
+ def run_project_location_pipeline(name, google_cloud_contentwarehouse_v1_run_pipeline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
182
+ command = make_simple_command(:post, 'v1/{+name}:runPipeline', options)
183
+ command.request_representation = Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineRequest::Representation
184
+ command.request_object = google_cloud_contentwarehouse_v1_run_pipeline_request_object
185
+ command.response_representation = Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation::Representation
186
+ command.response_class = Google::Apis::ContentwarehouseV1::GoogleLongrunningOperation
187
+ command.params['name'] = name unless name.nil?
188
+ command.query['fields'] = fields unless fields.nil?
189
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
190
+ execute_or_queue_command(command, &block)
191
+ end
192
+
168
193
  # Creates a document schema.
169
194
  # @param [String] parent
170
195
  # Required. The parent name.
@@ -624,15 +649,6 @@ module Google
624
649
  end
625
650
 
626
651
  # Sets the access control policy for a resource. Replaces any existing policy.
627
- # You can set ACL with condition for projects only. Supported operators are: `=`,
628
- # `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `
629
- # DocumentSchemaId` or property name and the right of the operator is a number
630
- # or a quoted string. You must escape backslash (\\) and quote (\") characters.
631
- # Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for
632
- # example, "((A AND B AND C) OR D) AND E"), a maximum of 10 comparisons are
633
- # allowed in the expression. The expression must be < 6000 bytes in length.
634
- # Sample condition: `"DocumentSchemaId = \"some schema id\" " OR SchemaId.
635
- # floatPropertyName >= 10`
636
652
  # @param [String] resource
637
653
  # Required. REQUIRED: The resource for which the policy is being requested.
638
654
  # Format for document: projects/`project_number`/locations/`location`/documents/`
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.7.0
4
+ version: 0.9.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-01-15 00:00:00.000000000 Z
11
+ date: 2023-02-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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.9.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: []