Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::MetadataService::Rest::ServiceStub (v0.56.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::MetadataService::Rest::ServiceStub.

REST service stub for the MetadataService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#add_context_artifacts_and_executions

def add_context_artifacts_and_executions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::AddContextArtifactsAndExecutionsResponse

Baseline implementation for the add_context_artifacts_and_executions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#add_context_children

def add_context_children(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::AddContextChildrenResponse

Baseline implementation for the add_context_children REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#add_execution_events

def add_execution_events(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::AddExecutionEventsResponse

Baseline implementation for the add_execution_events REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_artifact

def create_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Artifact

Baseline implementation for the create_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_context

def create_context(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Context

Baseline implementation for the create_context REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_execution

def create_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Execution

Baseline implementation for the create_execution REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_metadata_schema

def create_metadata_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::MetadataSchema

Baseline implementation for the create_metadata_schema REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_metadata_store

def create_metadata_store(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_metadata_store REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_artifact

def delete_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_context

def delete_context(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_context REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_execution

def delete_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_execution REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_metadata_store

def delete_metadata_store(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_metadata_store REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_artifact

def get_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Artifact

Baseline implementation for the get_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_context

def get_context(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Context

Baseline implementation for the get_context REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_execution

def get_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Execution

Baseline implementation for the get_execution REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_metadata_schema

def get_metadata_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::MetadataSchema

Baseline implementation for the get_metadata_schema REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_metadata_store

def get_metadata_store(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::MetadataStore

Baseline implementation for the get_metadata_store REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_artifacts

def list_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListArtifactsResponse

Baseline implementation for the list_artifacts REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_contexts

def list_contexts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListContextsResponse

Baseline implementation for the list_contexts REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_executions

def list_executions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListExecutionsResponse

Baseline implementation for the list_executions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_metadata_schemas

def list_metadata_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListMetadataSchemasResponse

Baseline implementation for the list_metadata_schemas REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_metadata_stores

def list_metadata_stores(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListMetadataStoresResponse

Baseline implementation for the list_metadata_stores REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#purge_artifacts

def purge_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the purge_artifacts REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#purge_contexts

def purge_contexts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the purge_contexts REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#purge_executions

def purge_executions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the purge_executions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_artifact_lineage_subgraph

def query_artifact_lineage_subgraph(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::LineageSubgraph

Baseline implementation for the query_artifact_lineage_subgraph REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_context_lineage_subgraph

def query_context_lineage_subgraph(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::LineageSubgraph

Baseline implementation for the query_context_lineage_subgraph REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#query_execution_inputs_and_outputs

def query_execution_inputs_and_outputs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::LineageSubgraph

Baseline implementation for the query_execution_inputs_and_outputs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#remove_context_children

def remove_context_children(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::RemoveContextChildrenResponse

Baseline implementation for the remove_context_children REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_artifact

def update_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Artifact

Baseline implementation for the update_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_context

def update_context(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Context

Baseline implementation for the update_context REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_execution

def update_execution(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Execution

Baseline implementation for the update_execution REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)