Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::StreamsService::Rest::ServiceStub.
REST service stub for the StreamsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_cluster
def create_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_cluster REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateClusterRequest) — 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_event
def create_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_event REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateEventRequest) — 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_series
def create_series(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_series REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateSeriesRequest) — 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_stream
def create_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_stream REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateStreamRequest) — 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_cluster
def delete_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_cluster REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteClusterRequest) — 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_event
def delete_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_event REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteEventRequest) — 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_series
def delete_series(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_series REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteSeriesRequest) — 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_stream
def delete_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_stream REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteStreamRequest) — 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)
#generate_stream_hls_token
def generate_stream_hls_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse
Baseline implementation for the generate_stream_hls_token REST call
- request_pb (::Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenRequest) — 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::GenerateStreamHlsTokenResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_cluster
def get_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Cluster
Baseline implementation for the get_cluster REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetClusterRequest) — 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::Cluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Cluster) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_event
def get_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Event
Baseline implementation for the get_event REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetEventRequest) — 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::Event)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Event) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_series
def get_series(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Series
Baseline implementation for the get_series REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetSeriesRequest) — 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::Series)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Series) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_stream
def get_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Stream
Baseline implementation for the get_stream REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetStreamRequest) — 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::Stream)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Stream) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_stream_thumbnail
def get_stream_thumbnail(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the get_stream_thumbnail REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetStreamThumbnailRequest) — 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)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_clusters
def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListClustersResponse
Baseline implementation for the list_clusters REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListClustersRequest) — 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::ListClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListClustersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_events
def list_events(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListEventsResponse
Baseline implementation for the list_events REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListEventsRequest) — 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::ListEventsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListEventsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_series
def list_series(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListSeriesResponse
Baseline implementation for the list_series REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListSeriesRequest) — 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::ListSeriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListSeriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_streams
def list_streams(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListStreamsResponse
Baseline implementation for the list_streams REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListStreamsRequest) — 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::ListStreamsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListStreamsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#materialize_channel
def materialize_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the materialize_channel REST call
- request_pb (::Google::Cloud::VisionAI::V1::MaterializeChannelRequest) — 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_cluster
def update_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_cluster REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateClusterRequest) — 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_event
def update_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_event REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateEventRequest) — 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_series
def update_series(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_series REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateSeriesRequest) — 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_stream
def update_stream(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_stream REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateStreamRequest) — 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)