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.



62195
62196
62197
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 62195

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



62183
62184
62185
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 62183

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


62188
62189
62190
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 62188

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



62193
62194
62195
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 62193

def updated_artifacts
  @updated_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



62200
62201
62202
62203
62204
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 62200

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