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.



538
539
540
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 538

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


529
530
531
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 529

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


536
537
538
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 536

def executions
  @executions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



543
544
545
546
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 543

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