MetadataService class final

Service for reading and writing metadata entries.

Constructors

MetadataService({required Client client})
Creates a MetadataService using client for transport.
MetadataService.fromApiKey([String? apiKey])
Creates a MetadataService that does authentication through an API key.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request) Future<AddContextArtifactsAndExecutionsResponse>
Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.
addContextChildren(AddContextChildrenRequest request) Future<AddContextChildrenResponse>
Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.
addExecutionEvents(AddExecutionEventsRequest request) Future<AddExecutionEventsResponse>
Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.
cancelOperation(CancelOperationRequest request) Future<void>
Provides the Operations service functionality in this service.
close() → void
Closes the client and cleans up any resources associated with it.
createArtifact(CreateArtifactRequest request) Future<Artifact>
Creates an Artifact associated with a MetadataStore.
createContext(CreateContextRequest request) Future<Context>
Creates a Context associated with a MetadataStore.
createExecution(CreateExecutionRequest request) Future<Execution>
Creates an Execution associated with a MetadataStore.
createMetadataSchema(CreateMetadataSchemaRequest request) Future<MetadataSchema>
Creates a MetadataSchema.
createMetadataStore(CreateMetadataStoreRequest request) Future<Operation<MetadataStore, CreateMetadataStoreOperationMetadata>>
Initializes a MetadataStore, including allocation of resources.
deleteArtifact(DeleteArtifactRequest request) Future<Operation<Empty, DeleteOperationMetadata>>
Deletes an Artifact.
deleteContext(DeleteContextRequest request) Future<Operation<Empty, DeleteOperationMetadata>>
Deletes a stored Context.
deleteExecution(DeleteExecutionRequest request) Future<Operation<Empty, DeleteOperationMetadata>>
Deletes an Execution.
deleteMetadataStore(DeleteMetadataStoreRequest request) Future<Operation<Empty, DeleteMetadataStoreOperationMetadata>>
Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).
deleteOperation(DeleteOperationRequest request) Future<void>
Provides the Operations service functionality in this service.
getArtifact(GetArtifactRequest request) Future<Artifact>
Retrieves a specific Artifact.
getContext(GetContextRequest request) Future<Context>
Retrieves a specific Context.
getExecution(GetExecutionRequest request) Future<Execution>
Retrieves a specific Execution.
getIamPolicy(GetIamPolicyRequest request) Future<Policy>
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
getLocation(GetLocationRequest request) Future<Location>
Gets information about a location.
getMetadataSchema(GetMetadataSchemaRequest request) Future<MetadataSchema>
Retrieves a specific MetadataSchema.
getMetadataStore(GetMetadataStoreRequest request) Future<MetadataStore>
Retrieves a specific MetadataStore.
getOperation<T extends ProtoMessage, S extends ProtoMessage>(Operation<T, S> request) Future<Operation<T, S>>
Provides the Operations service functionality in this service.
listArtifacts(ListArtifactsRequest request) Future<ListArtifactsResponse>
Lists Artifacts in the MetadataStore.
listContexts(ListContextsRequest request) Future<ListContextsResponse>
Lists Contexts on the MetadataStore.
listExecutions(ListExecutionsRequest request) Future<ListExecutionsResponse>
Lists Executions in the MetadataStore.
listLocations(ListLocationsRequest request) Future<ListLocationsResponse>
Lists information about the supported locations for this service.
listMetadataSchemas(ListMetadataSchemasRequest request) Future<ListMetadataSchemasResponse>
Lists MetadataSchemas.
listMetadataStores(ListMetadataStoresRequest request) Future<ListMetadataStoresResponse>
Lists MetadataStores for a Location.
listOperations(ListOperationsRequest request) Future<ListOperationsResponse>
Provides the Operations service functionality in this service.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeArtifacts(PurgeArtifactsRequest request) Future<Operation<PurgeArtifactsResponse, PurgeArtifactsMetadata>>
Purges Artifacts.
purgeContexts(PurgeContextsRequest request) Future<Operation<PurgeContextsResponse, PurgeContextsMetadata>>
Purges Contexts.
purgeExecutions(PurgeExecutionsRequest request) Future<Operation<PurgeExecutionsResponse, PurgeExecutionsMetadata>>
Purges Executions.
queryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request) Future<LineageSubgraph>
Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.
queryContextLineageSubgraph(QueryContextLineageSubgraphRequest request) Future<LineageSubgraph>
Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.
queryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request) Future<LineageSubgraph>
Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.
removeContextChildren(RemoveContextChildrenRequest request) Future<RemoveContextChildrenResponse>
Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.
setIamPolicy(SetIamPolicyRequest request) Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy.
testIamPermissions(TestIamPermissionsRequest request) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
toString() String
A string representation of this object.
inherited
updateArtifact(UpdateArtifactRequest request) Future<Artifact>
Updates a stored Artifact.
updateContext(UpdateContextRequest request) Future<Context>
Updates a stored Context.
updateExecution(UpdateExecutionRequest request) Future<Execution>
Updates a stored Execution.
waitOperation(WaitOperationRequest request) Future<Operation<ProtoMessage, ProtoMessage>>
Provides the Operations service functionality in this service.

Operators

operator ==(Object other) bool
The equality operator.
inherited