Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AppPlatform::Rest::ServiceStub.
REST service stub for the AppPlatform service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#add_application_stream_input
def add_application_stream_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the add_application_stream_input REST call
- request_pb (::Google::Cloud::VisionAI::V1::AddApplicationStreamInputRequest) — 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)
#create_application
def create_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_application REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateApplicationRequest) — 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)
#create_application_instances
def create_application_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_application_instances REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateApplicationInstancesRequest) — 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)
#create_draft
def create_draft(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_draft REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateDraftRequest) — 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)
#create_processor
def create_processor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_processor REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateProcessorRequest) — 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_application
def delete_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_application REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteApplicationRequest) — 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_application_instances
def delete_application_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_application_instances REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteApplicationInstancesRequest) — 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_draft
def delete_draft(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_draft REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteDraftRequest) — 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_processor
def delete_processor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_processor REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteProcessorRequest) — 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_application
def deploy_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the deploy_application REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeployApplicationRequest) — 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_application
def get_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Application
Baseline implementation for the get_application REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetApplicationRequest) — 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::VisionAI::V1::Application)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Application) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_draft
def get_draft(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Draft
Baseline implementation for the get_draft REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetDraftRequest) — 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::VisionAI::V1::Draft)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Draft) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_instance
def get_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Instance
Baseline implementation for the get_instance REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetInstanceRequest) — 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::VisionAI::V1::Instance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Instance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_processor
def get_processor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Processor
Baseline implementation for the get_processor REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetProcessorRequest) — 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::VisionAI::V1::Processor)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Processor) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_applications
def list_applications(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListApplicationsResponse
Baseline implementation for the list_applications REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListApplicationsRequest) — 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::VisionAI::V1::ListApplicationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListApplicationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_drafts
def list_drafts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListDraftsResponse
Baseline implementation for the list_drafts REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListDraftsRequest) — 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::VisionAI::V1::ListDraftsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListDraftsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_instances
def list_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListInstancesResponse
Baseline implementation for the list_instances REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListInstancesRequest) — 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::VisionAI::V1::ListInstancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListInstancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_prebuilt_processors
def list_prebuilt_processors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListPrebuiltProcessorsResponse
Baseline implementation for the list_prebuilt_processors REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListPrebuiltProcessorsRequest) — 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::VisionAI::V1::ListPrebuiltProcessorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListPrebuiltProcessorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_processors
def list_processors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListProcessorsResponse
Baseline implementation for the list_processors REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListProcessorsRequest) — 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::VisionAI::V1::ListProcessorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListProcessorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#remove_application_stream_input
def remove_application_stream_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the remove_application_stream_input REST call
- request_pb (::Google::Cloud::VisionAI::V1::RemoveApplicationStreamInputRequest) — 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_application
def undeploy_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the undeploy_application REST call
- request_pb (::Google::Cloud::VisionAI::V1::UndeployApplicationRequest) — 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_application
def update_application(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_application REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateApplicationRequest) — 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)
#update_application_instances
def update_application_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_application_instances REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateApplicationInstancesRequest) — 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)
#update_application_stream_input
def update_application_stream_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_application_stream_input REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateApplicationStreamInputRequest) — 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)
#update_draft
def update_draft(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_draft REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateDraftRequest) — 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)
#update_processor
def update_processor(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_processor REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateProcessorRequest) — 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)