google-apis-datapipelines_v1 0.3.0 → 0.6.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: ec61f82be27b79860bfb4bf95c17249e3d4adaab879ae1a2441476c0f87293c2
4
- data.tar.gz: '09f8c06dd5472039d0b527940393bbf92c228fa4242fe14e7302bb2378bf74a6'
3
+ metadata.gz: 5cd4aa2c83bdf6fb371261700d982d94800ceb2e165391bb6f6e35e33f5a1063
4
+ data.tar.gz: '099c0722006809b3469b6e242aa8527fe7baf4a51ba07ee9cedef5814150491c'
5
5
  SHA512:
6
- metadata.gz: 579d3f987efb60bd905fd3fe08d4ec01a16e4b62f655315aa7b6833606b51dbab4a7e71527cf2e731b6373574e8c2ec288945a3edd15a0c7df64bb3ae62897dc
7
- data.tar.gz: bac944d1eb9a9be96d501608983dca3444b041c8a7f97192791414606ee8d7e231288c3c4af989ff9f7469e8a2610de9c34eea6e552a3f4b1a3b13f3facd915e
6
+ metadata.gz: e26c0320ec023836f1468dab3b0af76988ad09481a86692fbb30e1a611ae4007ccdb5dfa27fb092573dbacabfe327e23ee805cebf32ba63d78a882acb0063610
7
+ data.tar.gz: c9a18ba3f5cc564d1626acd5aaa8155e77093ca0dd6e6d9229a4c8e30724abd48838ef8242a98010fd6d7acb3cdf6c378566a5a803bfcd4353314f229e1a3fd0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-datapipelines_v1
2
2
 
3
+ ### v0.6.0 (2022-06-04)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.5.0 (2022-03-30)
8
+
9
+ * Regenerated from discovery document revision 20220319
10
+
11
+ ### v0.4.0 (2022-01-13)
12
+
13
+ * Regenerated from discovery document revision 20220103
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.3.0 (2021-12-16)
4
17
 
5
18
  * 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
@@ -847,8 +874,7 @@ module Google
847
874
  # A generic empty message that you can re-use to avoid defining duplicated empty
848
875
  # messages in your APIs. A typical example is to use it as the request or the
849
876
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
850
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
851
- # `Empty` is empty JSON object ````.
877
+ # protobuf.Empty) returns (google.protobuf.Empty); `
852
878
  class GoogleProtobufEmpty
853
879
  include Google::Apis::Core::Hashable
854
880
 
@@ -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.3.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211203"
25
+ REVISION = "20220319"
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.3.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datapipelines_v1/v0.6.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.4
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Data pipelines API V1