Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SpecialistPoolService::Rest::ServiceStub.
REST service stub for the SpecialistPoolService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_specialist_pool
def create_specialist_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_specialist_pool REST call
- request_pb (::Google::Cloud::AIPlatform::V1::CreateSpecialistPoolRequest) — 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_specialist_pool
def delete_specialist_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_specialist_pool REST call
- request_pb (::Google::Cloud::AIPlatform::V1::DeleteSpecialistPoolRequest) — 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_specialist_pool
def get_specialist_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::SpecialistPool
Baseline implementation for the get_specialist_pool REST call
- request_pb (::Google::Cloud::AIPlatform::V1::GetSpecialistPoolRequest) — 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::SpecialistPool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::SpecialistPool) — 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_specialist_pools
def list_specialist_pools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ListSpecialistPoolsResponse
Baseline implementation for the list_specialist_pools REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ListSpecialistPoolsRequest) — 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::ListSpecialistPoolsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ListSpecialistPoolsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_specialist_pool
def update_specialist_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_specialist_pool REST call
- request_pb (::Google::Cloud::AIPlatform::V1::UpdateSpecialistPoolRequest) — 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)