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
- request_pb (::Google::Cloud::AIPlatform::V1::CreateDeploymentResourcePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteDeploymentResourcePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::AIPlatform::V1::GetDeploymentResourcePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::DeploymentResourcePool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::DeploymentResourcePool) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AIPlatform::V1::QueryDeployedModelsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::QueryDeployedModelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::QueryDeployedModelsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)