Class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datapipelines_v1/classes.rb,
lib/google/apis/datapipelines_v1/representations.rb,
lib/google/apis/datapipelines_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest

Returns a new instance of GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest.



345
346
347
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 345

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#launch_parameterGoogle::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter

Launch Flex Template parameter. Corresponds to the JSON property launchParameter



325
326
327
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 325

def launch_parameter
  @launch_parameter
end

#locationString

Required. The regional endpoint to which to direct the request. For example, us- central1, us-west1. Corresponds to the JSON property location

Returns:

  • (String)


332
333
334
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 332

def location
  @location
end

#project_idString

Required. The ID of the Cloud Platform project that the job belongs to. Corresponds to the JSON property projectId

Returns:

  • (String)


337
338
339
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 337

def project_id
  @project_id
end

#validate_onlyBoolean Also known as: validate_only?

If true, the request is validated but not actually executed. Defaults to false. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


342
343
344
# File 'lib/google/apis/datapipelines_v1/classes.rb', line 342

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



350
351
352
353
354
355
# 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