Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::EndpointService::Rest::ServiceStub.
REST service stub for the EndpointService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_endpoint
def create_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_endpoint REST call
- request_pb (::Google::Cloud::AIPlatform::V1::CreateEndpointRequest) — 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_endpoint
def delete_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_endpoint REST call
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteEndpointRequest) — 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)
#deploy_model
def deploy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the deploy_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::DeployModelRequest) — 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_endpoint
def get_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Endpoint
Baseline implementation for the get_endpoint REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetEndpointRequest) — 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::Endpoint)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Endpoint) — 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_endpoints
def list_endpoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListEndpointsResponse
Baseline implementation for the list_endpoints REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListEndpointsRequest) — 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::ListEndpointsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListEndpointsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#mutate_deployed_model
def mutate_deployed_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the mutate_deployed_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::MutateDeployedModelRequest) — 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)
#undeploy_model
def undeploy_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the undeploy_model REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UndeployModelRequest) — 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)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_endpoint
def update_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::Endpoint
Baseline implementation for the update_endpoint REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UpdateEndpointRequest) — 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::Endpoint)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::Endpoint) — A result object deserialized from the server's reply
- (::ArgumentError)