google-apis-datapipelines_v1 0.3.0 → 0.4.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad9aa8f32db67a98cf589b7abde51bf04925c6cb30e2dee8324a65e6aa30ae67
|
4
|
+
data.tar.gz: 1753930891dc1996a3ad27497bad609acd2370aec1ae29d798196cdfd2b8b199
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e204d73a273e1ebc9ab2ecda5043ab98cc3c2690ba7566c11a9a20572f1070f75fb25bf11d093d272f443f52c92d8b61f3a158c0f8f363c00c9ff5ed1afbc21e
|
7
|
+
data.tar.gz: 74bc99172685e9b874cb4d1a9b32c864114d9fc0a6e25d76004507051b53c166d29de0e9674de60faf0400acfe6f9e5c7b69928a9775ae3260b20411e61f6909
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-datapipelines_v1
|
2
2
|
|
3
|
+
### v0.4.0 (2022-01-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220103
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
3
8
|
### v0.3.0 (2021-12-16)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20211203
|
@@ -447,6 +447,33 @@ module Google
|
|
447
447
|
end
|
448
448
|
end
|
449
449
|
|
450
|
+
# Response message for ListJobs
|
451
|
+
class GoogleCloudDatapipelinesV1ListJobsResponse
|
452
|
+
include Google::Apis::Core::Hashable
|
453
|
+
|
454
|
+
# Results that were accessible to the caller. Results are always in descending
|
455
|
+
# order of job creation date.
|
456
|
+
# Corresponds to the JSON property `jobs`
|
457
|
+
# @return [Array<Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Job>]
|
458
|
+
attr_accessor :jobs
|
459
|
+
|
460
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
461
|
+
# field is omitted, there are no subsequent pages.
|
462
|
+
# Corresponds to the JSON property `nextPageToken`
|
463
|
+
# @return [String]
|
464
|
+
attr_accessor :next_page_token
|
465
|
+
|
466
|
+
def initialize(**args)
|
467
|
+
update!(**args)
|
468
|
+
end
|
469
|
+
|
470
|
+
# Update properties of this object
|
471
|
+
def update!(**args)
|
472
|
+
@jobs = args[:jobs] if args.key?(:jobs)
|
473
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
450
477
|
# Response message for ListPipelines.
|
451
478
|
class GoogleCloudDatapipelinesV1ListPipelinesResponse
|
452
479
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatapipelinesV1
|
18
18
|
# Version of the google-apis-datapipelines_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudDatapipelinesV1ListJobsResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleCloudDatapipelinesV1ListPipelinesResponse
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -226,6 +232,15 @@ module Google
|
|
226
232
|
end
|
227
233
|
end
|
228
234
|
|
235
|
+
class GoogleCloudDatapipelinesV1ListJobsResponse
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
collection :jobs, as: 'jobs', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Job, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Job::Representation
|
239
|
+
|
240
|
+
property :next_page_token, as: 'nextPageToken'
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
229
244
|
class GoogleCloudDatapipelinesV1ListPipelinesResponse
|
230
245
|
# @private
|
231
246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -325,6 +325,48 @@ module Google
|
|
325
325
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
326
|
execute_or_queue_command(command, &block)
|
327
327
|
end
|
328
|
+
|
329
|
+
# Lists jobs for a given pipeline. Throws a "FORBIDDEN" error if the caller
|
330
|
+
# doesn't have permission to access it.
|
331
|
+
# @param [String] parent
|
332
|
+
# Required. The pipeline name. For example: `projects/PROJECT_ID/locations/
|
333
|
+
# LOCATION_ID/pipelines/PIPELINE_ID`.
|
334
|
+
# @param [Fixnum] page_size
|
335
|
+
# The maximum number of entities to return. The service may return fewer than
|
336
|
+
# this value, even if there are additional pages. If unspecified, the max limit
|
337
|
+
# will be determined by the backend implementation.
|
338
|
+
# @param [String] page_token
|
339
|
+
# A page token, received from a previous `ListJobs` call. Provide this to
|
340
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
341
|
+
# to `ListJobs` must match the call that provided the page token.
|
342
|
+
# @param [String] fields
|
343
|
+
# Selector specifying which fields to include in a partial response.
|
344
|
+
# @param [String] quota_user
|
345
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
346
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
347
|
+
# @param [Google::Apis::RequestOptions] options
|
348
|
+
# Request-specific options
|
349
|
+
#
|
350
|
+
# @yield [result, err] Result & error if block supplied
|
351
|
+
# @yieldparam result [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ListJobsResponse] parsed result object
|
352
|
+
# @yieldparam err [StandardError] error object if request failed
|
353
|
+
#
|
354
|
+
# @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ListJobsResponse]
|
355
|
+
#
|
356
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
357
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
358
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
359
|
+
def list_project_location_pipeline_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
360
|
+
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
361
|
+
command.response_representation = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ListJobsResponse::Representation
|
362
|
+
command.response_class = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ListJobsResponse
|
363
|
+
command.params['parent'] = parent unless parent.nil?
|
364
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
365
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
366
|
+
command.query['fields'] = fields unless fields.nil?
|
367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
368
|
+
execute_or_queue_command(command, &block)
|
369
|
+
end
|
328
370
|
|
329
371
|
protected
|
330
372
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datapipelines_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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: 2022-01-
|
11
|
+
date: 2022-01-17 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-datapipelines_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datapipelines_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datapipelines_v1/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datapipelines_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Data pipelines API V1
|