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

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

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

Inherits

  • Object

Methods

#create_deployment_resource_pool

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

Baseline implementation for the create_deployment_resource_pool REST call

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

#delete_deployment_resource_pool

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

Baseline implementation for the delete_deployment_resource_pool 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_deployment_resource_pool

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

Baseline implementation for the get_deployment_resource_pool 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_deployment_resource_pools

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

Baseline implementation for the list_deployment_resource_pools REST call

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

#query_deployed_models

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

Baseline implementation for the query_deployed_models 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_deployment_resource_pool

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

Baseline implementation for the update_deployment_resource_pool REST call

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