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.



64082
64083
64084
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64082

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



64070
64071
64072
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64070

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


64075
64076
64077
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64075

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



64080
64081
64082
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64080

def updated_artifacts
  @updated_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



64087
64088
64089
64090
64091
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64087

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