google-apis-documentai_v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7264f2e11261512860e6b2550a42071af784a30195bc9eb6e0e7c23836c41d18
4
- data.tar.gz: a2bcbf339c5fd5f54a4d2ef8349e74a5e07765de1a5e41c784c7728c2347b81a
3
+ metadata.gz: 4f8b387974f000ad29b8a6659adc4e3ae12dbf9a5641a404366533cec9a41654
4
+ data.tar.gz: 501f4ba6b4c44a7ce5b42337cdf2d529128fc2d8f0faf4ddfbe2b3fc74ea4262
5
5
  SHA512:
6
- metadata.gz: ab8d59686858d7bac29214c4bda3485855d084213c8db254246696220b61d20845cfc09ca0f588cfd345afd167d1928d6730a2c75bddfa8728f5f77f5c1859e9
7
- data.tar.gz: 6ed13b7ec3a102fd809131defc5b6925d9bada3572824aced7bc49f1a478ec1f2b778f5128ddaf6c13cbc224cc6341f1e6194d32453f4ad8673752810af7816d
6
+ metadata.gz: 66e257ec0bb0999db5003755a44be44b674d87d094c99308ae48218469eed7fd5ea3a502b63ec88be42bf48b48072a226fde36d255709ebdb07d4d22261d380a
7
+ data.tar.gz: 4daf249b04c4ff0340ccf8a000e5aab25b37d8299e9ff0fea9b80f9d2f5ae508fc250d5b0c3b5a97bf8e4b8b281f3a07e52098e7aae551c98a1052d38263f68c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.4.0 (2021-05-25)
4
+
5
+ * Regenerated from discovery document revision 20210520
6
+
3
7
  ### v0.3.0 (2021-05-19)
4
8
 
5
9
  * Unspecified changes
@@ -6137,19 +6137,6 @@ module Google
6137
6137
  end
6138
6138
  end
6139
6139
 
6140
- # The request message for Operations.CancelOperation.
6141
- class GoogleLongrunningCancelOperationRequest
6142
- include Google::Apis::Core::Hashable
6143
-
6144
- def initialize(**args)
6145
- update!(**args)
6146
- end
6147
-
6148
- # Update properties of this object
6149
- def update!(**args)
6150
- end
6151
- end
6152
-
6153
6140
  # The response message for Operations.ListOperations.
6154
6141
  class GoogleLongrunningListOperationsResponse
6155
6142
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210507"
25
+ REVISION = "20210520"
26
26
  end
27
27
  end
28
28
  end
@@ -1036,12 +1036,6 @@ module Google
1036
1036
  include Google::Apis::Core::JsonObjectSupport
1037
1037
  end
1038
1038
 
1039
- class GoogleLongrunningCancelOperationRequest
1040
- class Representation < Google::Apis::Core::JsonRepresentation; end
1041
-
1042
- include Google::Apis::Core::JsonObjectSupport
1043
- end
1044
-
1045
1039
  class GoogleLongrunningListOperationsResponse
1046
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
1047
1041
 
@@ -2914,12 +2908,6 @@ module Google
2914
2908
  end
2915
2909
  end
2916
2910
 
2917
- class GoogleLongrunningCancelOperationRequest
2918
- # @private
2919
- class Representation < Google::Apis::Core::JsonRepresentation
2920
- end
2921
- end
2922
-
2923
2911
  class GoogleLongrunningListOperationsResponse
2924
2912
  # @private
2925
2913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,17 +51,12 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Starts asynchronous cancellation on a long-running operation. The server makes
55
- # a best effort to cancel the operation, but success is not guaranteed. If the
56
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
57
- # Clients can use Operations.GetOperation or other methods to check whether the
58
- # cancellation succeeded or whether the operation completed despite cancellation.
59
- # On successful cancellation, the operation is not deleted; instead, it becomes
60
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
61
- # corresponding to `Code.CANCELLED`.
54
+ # Deletes a long-running operation. This method indicates that the client is no
55
+ # longer interested in the operation result. It does not cancel the operation.
56
+ # If the server doesn't support this method, it returns `google.rpc.Code.
57
+ # UNIMPLEMENTED`.
62
58
  # @param [String] name
63
- # The name of the operation resource to be cancelled.
64
- # @param [Google::Apis::DocumentaiV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
59
+ # The name of the operation resource to be deleted.
65
60
  # @param [String] fields
66
61
  # Selector specifying which fields to include in a partial response.
67
62
  # @param [String] quota_user
@@ -79,10 +74,8 @@ module Google
79
74
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
75
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
76
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
- def cancel_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
83
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
84
- command.request_representation = Google::Apis::DocumentaiV1::GoogleLongrunningCancelOperationRequest::Representation
85
- command.request_object = google_longrunning_cancel_operation_request_object
77
+ def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:delete, 'v1/{+name}', options)
86
79
  command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
87
80
  command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
88
81
  command.params['name'] = name unless name.nil?
@@ -91,12 +84,9 @@ module Google
91
84
  execute_or_queue_command(command, &block)
92
85
  end
93
86
 
94
- # Deletes a long-running operation. This method indicates that the client is no
95
- # longer interested in the operation result. It does not cancel the operation.
96
- # If the server doesn't support this method, it returns `google.rpc.Code.
97
- # UNIMPLEMENTED`.
87
+ # Gets information about a location.
98
88
  # @param [String] name
99
- # The name of the operation resource to be deleted.
89
+ # Resource name for the location.
100
90
  # @param [String] fields
101
91
  # Selector specifying which fields to include in a partial response.
102
92
  # @param [String] quota_user
@@ -106,40 +96,37 @@ module Google
106
96
  # Request-specific options
107
97
  #
108
98
  # @yield [result, err] Result & error if block supplied
109
- # @yieldparam result [Google::Apis::DocumentaiV1::GoogleProtobufEmpty] parsed result object
99
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation] parsed result object
110
100
  # @yieldparam err [StandardError] error object if request failed
111
101
  #
112
- # @return [Google::Apis::DocumentaiV1::GoogleProtobufEmpty]
102
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation]
113
103
  #
114
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
- def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
118
- command = make_simple_command(:delete, 'v1/{+name}', options)
119
- command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
120
- command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
107
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:get, 'v1/{+name}', options)
109
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation::Representation
110
+ command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation
121
111
  command.params['name'] = name unless name.nil?
122
112
  command.query['fields'] = fields unless fields.nil?
123
113
  command.query['quotaUser'] = quota_user unless quota_user.nil?
124
114
  execute_or_queue_command(command, &block)
125
115
  end
126
116
 
127
- # Lists operations that match the specified filter in the request. If the server
128
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
129
- # binding allows API services to override the binding to use different resource
130
- # name schemes, such as `users/*/operations`. To override the binding, API
131
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
132
- # service configuration. For backwards compatibility, the default name includes
133
- # the operations collection id, however overriding users must ensure the name
134
- # binding is the parent resource, without the operations collection id.
117
+ # Lists information about the supported locations for this service.
135
118
  # @param [String] name
136
- # The name of the operation's parent resource.
119
+ # The resource that owns the locations collection, if applicable.
137
120
  # @param [String] filter
138
- # The standard list filter.
121
+ # A filter to narrow down results to a preferred subset. The filtering language
122
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
123
+ # AIP-160](https://google.aip.dev/160).
139
124
  # @param [Fixnum] page_size
140
- # The standard list page size.
125
+ # The maximum number of results to return. If not set, the service selects a
126
+ # default.
141
127
  # @param [String] page_token
142
- # The standard list page token.
128
+ # A page token received from the `next_page_token` field in the response. Send
129
+ # that page token to receive the subsequent page.
143
130
  # @param [String] fields
144
131
  # Selector specifying which fields to include in a partial response.
145
132
  # @param [String] quota_user
@@ -149,18 +136,18 @@ module Google
149
136
  # Request-specific options
150
137
  #
151
138
  # @yield [result, err] Result & error if block supplied
152
- # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse] parsed result object
139
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse] parsed result object
153
140
  # @yieldparam err [StandardError] error object if request failed
154
141
  #
155
- # @return [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse]
142
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse]
156
143
  #
157
144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
158
145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
159
146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
160
- def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
161
- command = make_simple_command(:get, 'v1/{+name}', options)
162
- command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
163
- command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
147
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
148
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
149
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse::Representation
150
+ command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse
164
151
  command.params['name'] = name unless name.nil?
165
152
  command.query['filter'] = filter unless filter.nil?
166
153
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -170,9 +157,16 @@ module Google
170
157
  execute_or_queue_command(command, &block)
171
158
  end
172
159
 
173
- # Gets information about a location.
160
+ # Starts asynchronous cancellation on a long-running operation. The server makes
161
+ # a best effort to cancel the operation, but success is not guaranteed. If the
162
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
163
+ # Clients can use Operations.GetOperation or other methods to check whether the
164
+ # cancellation succeeded or whether the operation completed despite cancellation.
165
+ # On successful cancellation, the operation is not deleted; instead, it becomes
166
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
167
+ # corresponding to `Code.CANCELLED`.
174
168
  # @param [String] name
175
- # Resource name for the location.
169
+ # The name of the operation resource to be cancelled.
176
170
  # @param [String] fields
177
171
  # Selector specifying which fields to include in a partial response.
178
172
  # @param [String] quota_user
@@ -182,37 +176,28 @@ module Google
182
176
  # Request-specific options
183
177
  #
184
178
  # @yield [result, err] Result & error if block supplied
185
- # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation] parsed result object
179
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleProtobufEmpty] parsed result object
186
180
  # @yieldparam err [StandardError] error object if request failed
187
181
  #
188
- # @return [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation]
182
+ # @return [Google::Apis::DocumentaiV1::GoogleProtobufEmpty]
189
183
  #
190
184
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
191
185
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
186
  # @raise [Google::Apis::AuthorizationError] Authorization is required
193
- def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
194
- command = make_simple_command(:get, 'v1/{+name}', options)
195
- command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation::Representation
196
- command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation
187
+ def cancel_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
188
+ command = make_simple_command(:delete, 'v1/{+name}', options)
189
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
190
+ command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
197
191
  command.params['name'] = name unless name.nil?
198
192
  command.query['fields'] = fields unless fields.nil?
199
193
  command.query['quotaUser'] = quota_user unless quota_user.nil?
200
194
  execute_or_queue_command(command, &block)
201
195
  end
202
196
 
203
- # Lists information about the supported locations for this service.
197
+ # Gets the latest state of a long-running operation. Clients can use this method
198
+ # to poll the operation result at intervals as recommended by the API service.
204
199
  # @param [String] name
205
- # The resource that owns the locations collection, if applicable.
206
- # @param [String] filter
207
- # A filter to narrow down results to a preferred subset. The filtering language
208
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
209
- # AIP-160](https://google.aip.dev/160).
210
- # @param [Fixnum] page_size
211
- # The maximum number of results to return. If not set, the service selects a
212
- # default.
213
- # @param [String] page_token
214
- # A page token received from the `next_page_token` field in the response. Send
215
- # that page token to receive the subsequent page.
200
+ # The name of the operation resource.
216
201
  # @param [String] fields
217
202
  # Selector specifying which fields to include in a partial response.
218
203
  # @param [String] quota_user
@@ -222,31 +207,40 @@ module Google
222
207
  # Request-specific options
223
208
  #
224
209
  # @yield [result, err] Result & error if block supplied
225
- # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse] parsed result object
210
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningOperation] parsed result object
226
211
  # @yieldparam err [StandardError] error object if request failed
227
212
  #
228
- # @return [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse]
213
+ # @return [Google::Apis::DocumentaiV1::GoogleLongrunningOperation]
229
214
  #
230
215
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
231
216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
232
217
  # @raise [Google::Apis::AuthorizationError] Authorization is required
233
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
234
- command = make_simple_command(:get, 'v1/{+name}/locations', options)
235
- command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse::Representation
236
- command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse
218
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
219
+ command = make_simple_command(:get, 'v1/{+name}', options)
220
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
221
+ command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningOperation
237
222
  command.params['name'] = name unless name.nil?
238
- command.query['filter'] = filter unless filter.nil?
239
- command.query['pageSize'] = page_size unless page_size.nil?
240
- command.query['pageToken'] = page_token unless page_token.nil?
241
223
  command.query['fields'] = fields unless fields.nil?
242
224
  command.query['quotaUser'] = quota_user unless quota_user.nil?
243
225
  execute_or_queue_command(command, &block)
244
226
  end
245
227
 
246
- # Gets the latest state of a long-running operation. Clients can use this method
247
- # to poll the operation result at intervals as recommended by the API service.
228
+ # Lists operations that match the specified filter in the request. If the server
229
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
230
+ # binding allows API services to override the binding to use different resource
231
+ # name schemes, such as `users/*/operations`. To override the binding, API
232
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
233
+ # service configuration. For backwards compatibility, the default name includes
234
+ # the operations collection id, however overriding users must ensure the name
235
+ # binding is the parent resource, without the operations collection id.
248
236
  # @param [String] name
249
- # The name of the operation resource.
237
+ # The name of the operation's parent resource.
238
+ # @param [String] filter
239
+ # The standard list filter.
240
+ # @param [Fixnum] page_size
241
+ # The standard list page size.
242
+ # @param [String] page_token
243
+ # The standard list page token.
250
244
  # @param [String] fields
251
245
  # Selector specifying which fields to include in a partial response.
252
246
  # @param [String] quota_user
@@ -256,19 +250,22 @@ module Google
256
250
  # Request-specific options
257
251
  #
258
252
  # @yield [result, err] Result & error if block supplied
259
- # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningOperation] parsed result object
253
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse] parsed result object
260
254
  # @yieldparam err [StandardError] error object if request failed
261
255
  #
262
- # @return [Google::Apis::DocumentaiV1::GoogleLongrunningOperation]
256
+ # @return [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse]
263
257
  #
264
258
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
265
259
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
266
260
  # @raise [Google::Apis::AuthorizationError] Authorization is required
267
- def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
261
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
268
262
  command = make_simple_command(:get, 'v1/{+name}', options)
269
- command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
270
- command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningOperation
263
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
264
+ command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
271
265
  command.params['name'] = name unless name.nil?
266
+ command.query['filter'] = filter unless filter.nil?
267
+ command.query['pageSize'] = page_size unless page_size.nil?
268
+ command.query['pageToken'] = page_token unless page_token.nil?
272
269
  command.query['fields'] = fields unless fields.nil?
273
270
  command.query['quotaUser'] = quota_user unless quota_user.nil?
274
271
  execute_or_queue_command(command, &block)
@@ -561,6 +558,43 @@ module Google
561
558
  execute_or_queue_command(command, &block)
562
559
  end
563
560
 
561
+ # Starts asynchronous cancellation on a long-running operation. The server makes
562
+ # a best effort to cancel the operation, but success is not guaranteed. If the
563
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
564
+ # Clients can use Operations.GetOperation or other methods to check whether the
565
+ # cancellation succeeded or whether the operation completed despite cancellation.
566
+ # On successful cancellation, the operation is not deleted; instead, it becomes
567
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
568
+ # corresponding to `Code.CANCELLED`.
569
+ # @param [String] name
570
+ # The name of the operation resource to be cancelled.
571
+ # @param [String] fields
572
+ # Selector specifying which fields to include in a partial response.
573
+ # @param [String] quota_user
574
+ # Available to use for quota purposes for server-side applications. Can be any
575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
576
+ # @param [Google::Apis::RequestOptions] options
577
+ # Request-specific options
578
+ #
579
+ # @yield [result, err] Result & error if block supplied
580
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleProtobufEmpty] parsed result object
581
+ # @yieldparam err [StandardError] error object if request failed
582
+ #
583
+ # @return [Google::Apis::DocumentaiV1::GoogleProtobufEmpty]
584
+ #
585
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
586
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
587
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
588
+ def cancel_uiv1beta3_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
589
+ command = make_simple_command(:delete, 'uiv1beta3/{+name}', options)
590
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
591
+ command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
592
+ command.params['name'] = name unless name.nil?
593
+ command.query['fields'] = fields unless fields.nil?
594
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
595
+ execute_or_queue_command(command, &block)
596
+ end
597
+
564
598
  # Gets the latest state of a long-running operation. Clients can use this method
565
599
  # to poll the operation result at intervals as recommended by the API service.
566
600
  # @param [String] name
@@ -591,6 +625,52 @@ module Google
591
625
  command.query['quotaUser'] = quota_user unless quota_user.nil?
592
626
  execute_or_queue_command(command, &block)
593
627
  end
628
+
629
+ # Lists operations that match the specified filter in the request. If the server
630
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
631
+ # binding allows API services to override the binding to use different resource
632
+ # name schemes, such as `users/*/operations`. To override the binding, API
633
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
634
+ # service configuration. For backwards compatibility, the default name includes
635
+ # the operations collection id, however overriding users must ensure the name
636
+ # binding is the parent resource, without the operations collection id.
637
+ # @param [String] name
638
+ # The name of the operation's parent resource.
639
+ # @param [String] filter
640
+ # The standard list filter.
641
+ # @param [Fixnum] page_size
642
+ # The standard list page size.
643
+ # @param [String] page_token
644
+ # The standard list page token.
645
+ # @param [String] fields
646
+ # Selector specifying which fields to include in a partial response.
647
+ # @param [String] quota_user
648
+ # Available to use for quota purposes for server-side applications. Can be any
649
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
650
+ # @param [Google::Apis::RequestOptions] options
651
+ # Request-specific options
652
+ #
653
+ # @yield [result, err] Result & error if block supplied
654
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse] parsed result object
655
+ # @yieldparam err [StandardError] error object if request failed
656
+ #
657
+ # @return [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse]
658
+ #
659
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
660
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
661
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
662
+ def list_uiv1beta3_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
663
+ command = make_simple_command(:get, 'uiv1beta3/{+name}', options)
664
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
665
+ command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
666
+ command.params['name'] = name unless name.nil?
667
+ command.query['filter'] = filter unless filter.nil?
668
+ command.query['pageSize'] = page_size unless page_size.nil?
669
+ command.query['pageToken'] = page_token unless page_token.nil?
670
+ command.query['fields'] = fields unless fields.nil?
671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
672
+ execute_or_queue_command(command, &block)
673
+ end
594
674
 
595
675
  protected
596
676
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.4.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
57
57
  post_install_message:
58
58
  rdoc_options: []