Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::LiveVideoAnalytics::Rest::ServiceStub.
REST service stub for the LiveVideoAnalytics service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#batch_run_process
def batch_run_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the batch_run_process REST call
- request_pb (::Google::Cloud::VisionAI::V1::BatchRunProcessRequest) — 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_analysis
def create_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_analysis REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateAnalysisRequest) — 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_operator
def create_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_operator REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateOperatorRequest) — 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_process
def create_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_process REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateProcessRequest) — 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_analysis
def delete_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_analysis REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteAnalysisRequest) — 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_operator
def delete_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_operator REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteOperatorRequest) — 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_process
def delete_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_process REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteProcessRequest) — 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_analysis
def get_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Analysis
Baseline implementation for the get_analysis REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetAnalysisRequest) — 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::Analysis)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Analysis) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_operator
def get_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Operator
Baseline implementation for the get_operator REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetOperatorRequest) — 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::Operator)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Operator) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_process
def get_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Process
Baseline implementation for the get_process REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetProcessRequest) — 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::Process)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Process) — 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_analyses
def list_analyses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListAnalysesResponse
Baseline implementation for the list_analyses REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListAnalysesRequest) — 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::ListAnalysesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListAnalysesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_operators
def list_operators(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListOperatorsResponse
Baseline implementation for the list_operators REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListOperatorsRequest) — 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::ListOperatorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListOperatorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_processes
def list_processes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListProcessesResponse
Baseline implementation for the list_processes REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListProcessesRequest) — 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::ListProcessesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListProcessesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_public_operators
def list_public_operators(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListPublicOperatorsResponse
Baseline implementation for the list_public_operators REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListPublicOperatorsRequest) — 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::ListPublicOperatorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListPublicOperatorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#resolve_operator_info
def resolve_operator_info(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ResolveOperatorInfoResponse
Baseline implementation for the resolve_operator_info REST call
- request_pb (::Google::Cloud::VisionAI::V1::ResolveOperatorInfoRequest) — 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::ResolveOperatorInfoResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ResolveOperatorInfoResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_analysis
def update_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_analysis REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateAnalysisRequest) — 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_operator
def update_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_operator REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateOperatorRequest) — 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_process
def update_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_process REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateProcessRequest) — 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)