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.



611
612
613
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 611

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


602
603
604
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 602

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


609
610
611
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 609

def executions
  @executions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



616
617
618
619
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 616

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