Skip to content

Commit

Permalink
feat: Automated regeneration of dataflow v1b3 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 23, 2020
1 parent 5cf13c7 commit 15bee13
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
3 changes: 3 additions & 0 deletions api_names_out.yaml
Expand Up @@ -62272,6 +62272,9 @@
"/dataflow:v1b3/LaunchFlexTemplateParameter/launchOptions/launch_option": launch_option
"/dataflow:v1b3/LaunchFlexTemplateParameter/parameters": parameters
"/dataflow:v1b3/LaunchFlexTemplateParameter/parameters/parameter": parameter
"/dataflow:v1b3/LaunchFlexTemplateParameter/transformNameMappings": transform_name_mappings
"/dataflow:v1b3/LaunchFlexTemplateParameter/transformNameMappings/transform_name_mapping": transform_name_mapping
"/dataflow:v1b3/LaunchFlexTemplateParameter/update": update
"/dataflow:v1b3/LaunchFlexTemplateRequest": launch_flex_template_request
"/dataflow:v1b3/LaunchFlexTemplateRequest/launchParameter": launch_parameter
"/dataflow:v1b3/LaunchFlexTemplateRequest/validateOnly": validate_only
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dataflow_v1b3.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20201023'
REVISION = '20201117'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
18 changes: 17 additions & 1 deletion generated/google/apis/dataflow_v1b3/classes.rb
Expand Up @@ -2481,7 +2481,8 @@ class LaunchFlexTemplateParameter
# @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]
attr_accessor :environment

# Required. The job name to use for the created job.
# Required. The job name to use for the created job. For update job request, job
# name should be same as the existing running job.
# Corresponds to the JSON property `jobName`
# @return [String]
attr_accessor :job_name
Expand All @@ -2497,6 +2498,19 @@ class LaunchFlexTemplateParameter
# @return [Hash<String,String>]
attr_accessor :parameters

# Users need to set transform_name_mappings Ex:`"oldTransformName":"
# newTransformName",...`'
# Corresponds to the JSON property `transformNameMappings`
# @return [Hash<String,String>]
attr_accessor :transform_name_mappings

# Set this to true if you are sending a request to update a running streaming
# job. When set, the job name should be the same as the running job.
# Corresponds to the JSON property `update`
# @return [Boolean]
attr_accessor :update
alias_method :update?, :update

def initialize(**args)
update!(**args)
end
Expand All @@ -2509,6 +2523,8 @@ def update!(**args)
@job_name = args[:job_name] if args.key?(:job_name)
@launch_options = args[:launch_options] if args.key?(:launch_options)
@parameters = args[:parameters] if args.key?(:parameters)
@transform_name_mappings = args[:transform_name_mappings] if args.key?(:transform_name_mappings)
@update = args[:update] if args.key?(:update)
end
end

Expand Down
2 changes: 2 additions & 0 deletions generated/google/apis/dataflow_v1b3/representations.rb
Expand Up @@ -1714,6 +1714,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :job_name, as: 'jobName'
hash :launch_options, as: 'launchOptions'
hash :parameters, as: 'parameters'
hash :transform_name_mappings, as: 'transformNameMappings'
property :update, as: 'update'
end
end

Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dataflow_v1b3/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "455198a94f1c155381cefdf548adcba65b5384a2"
"sha": "5cf13c7513f641f61fc53c7b2adda475ab7ba41a"
}
}
]
Expand Down

0 comments on commit 15bee13

Please sign in to comment.