class Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest

A request to launch a Dataflow job from a Flex Template.

Attributes

launch_parameter[RW]

Launch Flex Template parameter. Corresponds to the JSON property ‘launchParameter` @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter]

location[RW]

Required. The [regional endpoint] (cloud.google.com/dataflow/docs/ concepts/regional-endpoints) to which to direct the request. For example, ‘us- central1`, `us-west1`. Corresponds to the JSON property `location` @return [String]

project_id[RW]

Required. The ID of the Cloud Platform project that the job belongs to. Corresponds to the JSON property ‘projectId` @return [String]

validate_only[RW]

If true, the request is validated but not actually executed. Defaults to false. Corresponds to the JSON property ‘validateOnly` @return [Boolean]

validate_only?[RW]

If true, the request is validated but not actually executed. Defaults to false. Corresponds to the JSON property ‘validateOnly` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datapipelines_v1/classes.rb, line 345
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datapipelines_v1/classes.rb, line 350
def update!(**args)
  @launch_parameter = args[:launch_parameter] if args.key?(:launch_parameter)
  @location = args[:location] if args.key?(:location)
  @project_id = args[:project_id] if args.key?(:project_id)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end