Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Request message for MetadataService.AddContextArtifactsAndExecutions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest

Returns a new instance of GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest.



1250
1251
1252
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1250

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

Instance Attribute Details

#artifactsArray<String>

The resource names of the Artifacts to attribute to the Context. Format: projects/project/locations/location/metadataStores/metadatastore/ artifacts/artifact` Corresponds to the JSON propertyartifacts`

Returns:

  • (Array<String>)


1241
1242
1243
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1241

def artifacts
  @artifacts
end

#executionsArray<String>

The resource names of the Executions to associate with the Context. Format: projects/project/locations/location/metadataStores/metadatastore/ executions/execution` Corresponds to the JSON propertyexecutions`

Returns:

  • (Array<String>)


1248
1249
1250
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1248

def executions
  @executions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1255
1256
1257
1258
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1255

def update!(**args)
  @artifacts = args[:artifacts] if args.key?(:artifacts)
  @executions = args[:executions] if args.key?(:executions)
end