Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskArtifactChange

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

Describes changes to the artifact list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TaskArtifactChange

Returns a new instance of GoogleCloudAiplatformV1beta1TaskArtifactChange.



53315
53316
53317
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53315

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

Instance Attribute Details

#added_artifactsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskArtifact>

Optional. A list of brand-new artifacts created in this event. Corresponds to the JSON property addedArtifacts



53303
53304
53305
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53303

def added_artifacts
  @added_artifacts
end

#deleted_artifact_idsArray<String>

Optional. A list of artifact IDs that were removed in this event. Corresponds to the JSON property deletedArtifactIds

Returns:

  • (Array<String>)


53308
53309
53310
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53308

def deleted_artifact_ids
  @deleted_artifact_ids
end

#updated_artifactsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskArtifact>

Optional. A list of existing artifacts that were modified in this event. Corresponds to the JSON property updatedArtifacts



53313
53314
53315
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53313

def updated_artifacts
  @updated_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53320
53321
53322
53323
53324
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53320

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