Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest

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

Overview

Request message for PipelineService.BatchCancelPipelineJobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest

Returns a new instance of GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest.



1197
1198
1199
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1197

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>)


1195
1196
1197
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1195

def names
  @names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1202
1203
1204
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1202

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