Vision AI V1 API - Class Google::Cloud::VisionAI::V1::LiveVideoAnalytics::Rest::ServiceStub (v0.1.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_analysis

def create_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_analysis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_operator

def create_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_operator REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_process

def create_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_process REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_analysis

def delete_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_analysis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_operator

def delete_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_operator REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_process

def delete_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_process REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_analyses

def list_analyses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListAnalysesResponse

Baseline implementation for the list_analyses REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_analysis

def update_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_analysis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_operator

def update_operator(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_operator REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_process

def update_process(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_process REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)