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.



61395
61396
61397
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61395

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



61383
61384
61385
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61383

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


61388
61389
61390
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61388

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



61393
61394
61395
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61393

def updated_artifacts
  @updated_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61400
61401
61402
61403
61404
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 61400

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