Vision AI V1 API - Class Google::Cloud::VisionAI::V1::Instance::InputResource (v0.3.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Instance::InputResource.

Message of input resource used in one application instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotated_stream

def annotated_stream() -> ::Google::Cloud::VisionAI::V1::StreamWithAnnotation
Returns

#annotated_stream=

def annotated_stream=(value) -> ::Google::Cloud::VisionAI::V1::StreamWithAnnotation
Parameter
Returns

#annotations

def annotations() -> ::Google::Cloud::VisionAI::V1::ResourceAnnotations
Returns

#annotations=

def annotations=(value) -> ::Google::Cloud::VisionAI::V1::ResourceAnnotations
Parameter
Returns

#consumer_node

def consumer_node() -> ::String
Returns
  • (::String) — The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input

#consumer_node=

def consumer_node=(value) -> ::String
Parameter
  • value (::String) — The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input
Returns
  • (::String) — The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input

#data_type

def data_type() -> ::Google::Cloud::VisionAI::V1::DataType
Returns

#data_type=

def data_type=(value) -> ::Google::Cloud::VisionAI::V1::DataType
Parameter
Returns

#input_resource

def input_resource() -> ::String
Returns
  • (::String) — The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a".

#input_resource=

def input_resource=(value) -> ::String
Parameter
  • value (::String) — The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a".
Returns
  • (::String) — The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a".

#input_resource_binding

def input_resource_binding() -> ::String
Returns
  • (::String) — The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.

#input_resource_binding=

def input_resource_binding=(value) -> ::String
Parameter
  • value (::String) — The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.
Returns
  • (::String) — The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding.