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.



59981
59982
59983
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59981

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



59969
59970
59971
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59969

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


59974
59975
59976
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59974

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



59979
59980
59981
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59979

def updated_artifacts
  @updated_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59986
59987
59988
59989
59990
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 59986

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