Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest

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

Overview

Request message for PipelineService.BatchCancelPipelineJobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest

Returns a new instance of GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest.



1350
1351
1352
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1350

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

Instance Attribute Details

#namesArray<String>

Required. The names of the PipelineJobs to cancel. A maximum of 32 PipelineJobs can be cancelled in a batch. Format: projects/project/ locations/location/pipelineJobs/pipelineJob` Corresponds to the JSON propertynames`

Returns:

  • (Array<String>)


1348
1349
1350
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1348

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1355
1356
1357
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1355

def update!(**args)
  @names = args[:names] if args.key?(:names)
end