Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeArtifact

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

The definition of a runtime artifact.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RuntimeArtifact

Returns a new instance of GoogleCloudAiplatformV1beta1RuntimeArtifact.



48903
48904
48905
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48903

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

Instance Attribute Details

#custom_propertiesHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value>

The custom properties of the artifact. Deprecated. Use RuntimeArtifact. metadata instead. Corresponds to the JSON property customProperties



48875
48876
48877
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48875

def custom_properties
  @custom_properties
end

#metadataHash<String,Object>

Properties of the Artifact. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


48880
48881
48882
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48880

def 
  @metadata
end

#nameString

The name of an artifact. Corresponds to the JSON property name

Returns:

  • (String)


48885
48886
48887
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48885

def name
  @name
end

#propertiesHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value>

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead. Corresponds to the JSON property properties



48891
48892
48893
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48891

def properties
  @properties
end

#typeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ArtifactTypeSchema

The definition of a artifact type in MLMD. Corresponds to the JSON property type



48896
48897
48898
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48896

def type
  @type
end

#uriString

The URI of the artifact. Corresponds to the JSON property uri

Returns:

  • (String)


48901
48902
48903
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48901

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48908
48909
48910
48911
48912
48913
48914
48915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48908

def update!(**args)
  @custom_properties = args[:custom_properties] if args.key?(:custom_properties)
  @metadata = args[:metadata] if args.key?(:metadata)
  @name = args[:name] if args.key?(:name)
  @properties = args[:properties] if args.key?(:properties)
  @type = args[:type] if args.key?(:type)
  @uri = args[:uri] if args.key?(:uri)
end