google-apis-dataflow_v1b3 0.36.0 → 0.38.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: f48d1436d5b6c587486d5b5152f8f302e19cc1bf733a96cb197cedd765896a3a
|
4
|
+
data.tar.gz: 4459e2458b86e1aeb311bf9c19a16109554f1b1bdb9cd35930c24444a9030ed7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c302169ac9f078414de6234c345d4402b51388870803d86aa60824d9c3ee55a9181142f7d0d1a13dd9effffd16c189ca930a23a125390d92f69020e4eb5a8709
|
7
|
+
data.tar.gz: e28772b3000868d7c7fc2e085fa7c8dc568b6ddfc3c6fd5e8bccaac1bbf11067aa17a86d3d4e6b5c5db20a5e8a3063c5ffd124c84a67c2bb0188142ba4cb9e1a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataflow_v1b3
|
2
2
|
|
3
|
+
### v0.38.0 (2023-05-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230427
|
6
|
+
|
7
|
+
### v0.37.0 (2023-03-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230313
|
10
|
+
|
3
11
|
### v0.36.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -2191,6 +2191,13 @@ module Google
|
|
2191
2191
|
# @return [String]
|
2192
2192
|
attr_accessor :requested_state
|
2193
2193
|
|
2194
|
+
# Additional job parameters that can only be updated during runtime using the
|
2195
|
+
# projects.jobs.update method. These fields have no effect when specified during
|
2196
|
+
# job creation.
|
2197
|
+
# Corresponds to the JSON property `runtimeUpdatableParams`
|
2198
|
+
# @return [Google::Apis::DataflowV1b3::RuntimeUpdatableParams]
|
2199
|
+
attr_accessor :runtime_updatable_params
|
2200
|
+
|
2194
2201
|
# Reserved for future use. This field is set only in responses from the server;
|
2195
2202
|
# it is ignored if it is set in any requests.
|
2196
2203
|
# Corresponds to the JSON property `satisfiesPzs`
|
@@ -2267,6 +2274,7 @@ module Google
|
|
2267
2274
|
@replace_job_id = args[:replace_job_id] if args.key?(:replace_job_id)
|
2268
2275
|
@replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id)
|
2269
2276
|
@requested_state = args[:requested_state] if args.key?(:requested_state)
|
2277
|
+
@runtime_updatable_params = args[:runtime_updatable_params] if args.key?(:runtime_updatable_params)
|
2270
2278
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2271
2279
|
@stage_states = args[:stage_states] if args.key?(:stage_states)
|
2272
2280
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -2422,6 +2430,11 @@ module Google
|
|
2422
2430
|
# @return [Array<Google::Apis::DataflowV1b3::SpannerIoDetails>]
|
2423
2431
|
attr_accessor :spanner_details
|
2424
2432
|
|
2433
|
+
# List of display properties to help UI filter jobs.
|
2434
|
+
# Corresponds to the JSON property `userDisplayProperties`
|
2435
|
+
# @return [Hash<String,String>]
|
2436
|
+
attr_accessor :user_display_properties
|
2437
|
+
|
2425
2438
|
def initialize(**args)
|
2426
2439
|
update!(**args)
|
2427
2440
|
end
|
@@ -2435,6 +2448,7 @@ module Google
|
|
2435
2448
|
@pubsub_details = args[:pubsub_details] if args.key?(:pubsub_details)
|
2436
2449
|
@sdk_version = args[:sdk_version] if args.key?(:sdk_version)
|
2437
2450
|
@spanner_details = args[:spanner_details] if args.key?(:spanner_details)
|
2451
|
+
@user_display_properties = args[:user_display_properties] if args.key?(:user_display_properties)
|
2438
2452
|
end
|
2439
2453
|
end
|
2440
2454
|
|
@@ -3390,6 +3404,13 @@ module Google
|
|
3390
3404
|
# @return [Hash<String,String>]
|
3391
3405
|
attr_accessor :custom_metadata
|
3392
3406
|
|
3407
|
+
# Optional. Specifies a group name for this parameter to be rendered under.
|
3408
|
+
# Group header text will be rendered exactly as specified in this field. Only
|
3409
|
+
# considered when parent_name is NOT provided.
|
3410
|
+
# Corresponds to the JSON property `groupName`
|
3411
|
+
# @return [String]
|
3412
|
+
attr_accessor :group_name
|
3413
|
+
|
3393
3414
|
# Required. The help text to display for the parameter.
|
3394
3415
|
# Corresponds to the JSON property `helpText`
|
3395
3416
|
# @return [String]
|
@@ -3416,6 +3437,21 @@ module Google
|
|
3416
3437
|
# @return [String]
|
3417
3438
|
attr_accessor :param_type
|
3418
3439
|
|
3440
|
+
# Optional. Specifies the name of the parent parameter. Used in conjunction with
|
3441
|
+
# 'parent_trigger_values' to make this parameter conditional (will only be
|
3442
|
+
# rendered conditionally). Should be mappable to a ParameterMetadata.name field.
|
3443
|
+
# Corresponds to the JSON property `parentName`
|
3444
|
+
# @return [String]
|
3445
|
+
attr_accessor :parent_name
|
3446
|
+
|
3447
|
+
# Optional. The value(s) of the 'parent_name' parameter which will trigger this
|
3448
|
+
# parameter to be shown. If left empty, ANY non-empty value in parent_name will
|
3449
|
+
# trigger this parameter to be shown. Only considered when this parameter is
|
3450
|
+
# conditional (when 'parent_name' has been provided).
|
3451
|
+
# Corresponds to the JSON property `parentTriggerValues`
|
3452
|
+
# @return [Array<String>]
|
3453
|
+
attr_accessor :parent_trigger_values
|
3454
|
+
|
3419
3455
|
# Optional. Regexes that the parameter must match.
|
3420
3456
|
# Corresponds to the JSON property `regexes`
|
3421
3457
|
# @return [Array<String>]
|
@@ -3428,11 +3464,14 @@ module Google
|
|
3428
3464
|
# Update properties of this object
|
3429
3465
|
def update!(**args)
|
3430
3466
|
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
3467
|
+
@group_name = args[:group_name] if args.key?(:group_name)
|
3431
3468
|
@help_text = args[:help_text] if args.key?(:help_text)
|
3432
3469
|
@is_optional = args[:is_optional] if args.key?(:is_optional)
|
3433
3470
|
@label = args[:label] if args.key?(:label)
|
3434
3471
|
@name = args[:name] if args.key?(:name)
|
3435
3472
|
@param_type = args[:param_type] if args.key?(:param_type)
|
3473
|
+
@parent_name = args[:parent_name] if args.key?(:parent_name)
|
3474
|
+
@parent_trigger_values = args[:parent_trigger_values] if args.key?(:parent_trigger_values)
|
3436
3475
|
@regexes = args[:regexes] if args.key?(:regexes)
|
3437
3476
|
end
|
3438
3477
|
end
|
@@ -4085,6 +4124,35 @@ module Google
|
|
4085
4124
|
end
|
4086
4125
|
end
|
4087
4126
|
|
4127
|
+
# Additional job parameters that can only be updated during runtime using the
|
4128
|
+
# projects.jobs.update method. These fields have no effect when specified during
|
4129
|
+
# job creation.
|
4130
|
+
class RuntimeUpdatableParams
|
4131
|
+
include Google::Apis::Core::Hashable
|
4132
|
+
|
4133
|
+
# The maximum number of workers to cap autoscaling at. This field is currently
|
4134
|
+
# only supported for Streaming Engine jobs.
|
4135
|
+
# Corresponds to the JSON property `maxNumWorkers`
|
4136
|
+
# @return [Fixnum]
|
4137
|
+
attr_accessor :max_num_workers
|
4138
|
+
|
4139
|
+
# The minimum number of workers to scale down to. This field is currently only
|
4140
|
+
# supported for Streaming Engine jobs.
|
4141
|
+
# Corresponds to the JSON property `minNumWorkers`
|
4142
|
+
# @return [Fixnum]
|
4143
|
+
attr_accessor :min_num_workers
|
4144
|
+
|
4145
|
+
def initialize(**args)
|
4146
|
+
update!(**args)
|
4147
|
+
end
|
4148
|
+
|
4149
|
+
# Update properties of this object
|
4150
|
+
def update!(**args)
|
4151
|
+
@max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers)
|
4152
|
+
@min_num_workers = args[:min_num_workers] if args.key?(:min_num_workers)
|
4153
|
+
end
|
4154
|
+
end
|
4155
|
+
|
4088
4156
|
# SDK Information.
|
4089
4157
|
class SdkInfo
|
4090
4158
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataflowV1b3
|
18
18
|
# Version of the google-apis-dataflow_v1b3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230427"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -604,6 +604,12 @@ module Google
|
|
604
604
|
include Google::Apis::Core::JsonObjectSupport
|
605
605
|
end
|
606
606
|
|
607
|
+
class RuntimeUpdatableParams
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
607
613
|
class SdkInfo
|
608
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
615
|
|
@@ -1603,6 +1609,8 @@ module Google
|
|
1603
1609
|
property :replace_job_id, as: 'replaceJobId'
|
1604
1610
|
property :replaced_by_job_id, as: 'replacedByJobId'
|
1605
1611
|
property :requested_state, as: 'requestedState'
|
1612
|
+
property :runtime_updatable_params, as: 'runtimeUpdatableParams', class: Google::Apis::DataflowV1b3::RuntimeUpdatableParams, decorator: Google::Apis::DataflowV1b3::RuntimeUpdatableParams::Representation
|
1613
|
+
|
1606
1614
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
1607
1615
|
collection :stage_states, as: 'stageStates', class: Google::Apis::DataflowV1b3::ExecutionStageState, decorator: Google::Apis::DataflowV1b3::ExecutionStageState::Representation
|
1608
1616
|
|
@@ -1667,6 +1675,7 @@ module Google
|
|
1667
1675
|
|
1668
1676
|
collection :spanner_details, as: 'spannerDetails', class: Google::Apis::DataflowV1b3::SpannerIoDetails, decorator: Google::Apis::DataflowV1b3::SpannerIoDetails::Representation
|
1669
1677
|
|
1678
|
+
hash :user_display_properties, as: 'userDisplayProperties'
|
1670
1679
|
end
|
1671
1680
|
end
|
1672
1681
|
|
@@ -1938,11 +1947,14 @@ module Google
|
|
1938
1947
|
# @private
|
1939
1948
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1940
1949
|
hash :custom_metadata, as: 'customMetadata'
|
1950
|
+
property :group_name, as: 'groupName'
|
1941
1951
|
property :help_text, as: 'helpText'
|
1942
1952
|
property :is_optional, as: 'isOptional'
|
1943
1953
|
property :label, as: 'label'
|
1944
1954
|
property :name, as: 'name'
|
1945
1955
|
property :param_type, as: 'paramType'
|
1956
|
+
property :parent_name, as: 'parentName'
|
1957
|
+
collection :parent_trigger_values, as: 'parentTriggerValues'
|
1946
1958
|
collection :regexes, as: 'regexes'
|
1947
1959
|
end
|
1948
1960
|
end
|
@@ -2121,6 +2133,14 @@ module Google
|
|
2121
2133
|
end
|
2122
2134
|
end
|
2123
2135
|
|
2136
|
+
class RuntimeUpdatableParams
|
2137
|
+
# @private
|
2138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2139
|
+
property :max_num_workers, as: 'maxNumWorkers'
|
2140
|
+
property :min_num_workers, as: 'minNumWorkers'
|
2141
|
+
end
|
2142
|
+
end
|
2143
|
+
|
2124
2144
|
class SdkInfo
|
2125
2145
|
# @private
|
2126
2146
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -414,6 +414,13 @@ module Google
|
|
414
414
|
# @param [String] location
|
415
415
|
# The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/
|
416
416
|
# regional-endpoints) that contains this job.
|
417
|
+
# @param [String] update_mask
|
418
|
+
# The list of fields to update relative to Job. If empty, only RequestedJobState
|
419
|
+
# will be considered for update. If the FieldMask is not empty and
|
420
|
+
# RequestedJobState is none/empty, The fields specified in the update mask will
|
421
|
+
# be the only ones considered for update. If both RequestedJobState and
|
422
|
+
# update_mask are specified, we will first handle RequestedJobState and then the
|
423
|
+
# update_mask fields.
|
417
424
|
# @param [String] fields
|
418
425
|
# Selector specifying which fields to include in a partial response.
|
419
426
|
# @param [String] quota_user
|
@@ -431,7 +438,7 @@ module Google
|
|
431
438
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
-
def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
441
|
+
def update_project_job(project_id, job_id, job_object = nil, location: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
442
|
command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options)
|
436
443
|
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
437
444
|
command.request_object = job_object
|
@@ -440,6 +447,7 @@ module Google
|
|
440
447
|
command.params['projectId'] = project_id unless project_id.nil?
|
441
448
|
command.params['jobId'] = job_id unless job_id.nil?
|
442
449
|
command.query['location'] = location unless location.nil?
|
450
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
443
451
|
command.query['fields'] = fields unless fields.nil?
|
444
452
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
445
453
|
execute_or_queue_command(command, &block)
|
@@ -1018,6 +1026,13 @@ module Google
|
|
1018
1026
|
# @param [String] job_id
|
1019
1027
|
# The job ID.
|
1020
1028
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
1029
|
+
# @param [String] update_mask
|
1030
|
+
# The list of fields to update relative to Job. If empty, only RequestedJobState
|
1031
|
+
# will be considered for update. If the FieldMask is not empty and
|
1032
|
+
# RequestedJobState is none/empty, The fields specified in the update mask will
|
1033
|
+
# be the only ones considered for update. If both RequestedJobState and
|
1034
|
+
# update_mask are specified, we will first handle RequestedJobState and then the
|
1035
|
+
# update_mask fields.
|
1021
1036
|
# @param [String] fields
|
1022
1037
|
# Selector specifying which fields to include in a partial response.
|
1023
1038
|
# @param [String] quota_user
|
@@ -1035,7 +1050,7 @@ module Google
|
|
1035
1050
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1036
1051
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
1052
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
|
-
def update_project_location_job(project_id, location, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1053
|
+
def update_project_location_job(project_id, location, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1039
1054
|
command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options)
|
1040
1055
|
command.request_representation = Google::Apis::DataflowV1b3::Job::Representation
|
1041
1056
|
command.request_object = job_object
|
@@ -1044,6 +1059,7 @@ module Google
|
|
1044
1059
|
command.params['projectId'] = project_id unless project_id.nil?
|
1045
1060
|
command.params['location'] = location unless location.nil?
|
1046
1061
|
command.params['jobId'] = job_id unless job_id.nil?
|
1062
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1047
1063
|
command.query['fields'] = fields unless fields.nil?
|
1048
1064
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1049
1065
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataflow_v1b3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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-
|
11
|
+
date: 2023-05-14 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-dataflow_v1b3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataflow_v1b3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|