Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Instance.
Message describing Instance object Next ID: 12
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Create timestamp
#description
def description() -> ::String
Returns
- (::String) — A description for this instance.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — A description for this instance.
Returns
- (::String) — A description for this instance.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. A user friendly display name for the solution.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. A user friendly display name for the solution.
Returns
- (::String) — Required. A user friendly display name for the solution.
#input_resources
def input_resources() -> ::Array<::Google::Cloud::VisionAI::V1::Instance::InputResource>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Instance::InputResource>) — The input resources for the current application instance. For example: input_resources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a
#input_resources=
def input_resources=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Instance::InputResource>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::Instance::InputResource>) — The input resources for the current application instance. For example: input_resources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Instance::InputResource>) — The input resources for the current application instance. For example: input_resources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a
#instance_type
def instance_type() -> ::Google::Cloud::VisionAI::V1::Instance::InstanceType
Returns
- (::Google::Cloud::VisionAI::V1::Instance::InstanceType) — The instance type for the current instance.
#instance_type=
def instance_type=(value) -> ::Google::Cloud::VisionAI::V1::Instance::InstanceType
Parameter
- value (::Google::Cloud::VisionAI::V1::Instance::InstanceType) — The instance type for the current instance.
Returns
- (::Google::Cloud::VisionAI::V1::Instance::InstanceType) — The instance type for the current instance.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs
#name
def name() -> ::String
Returns
- (::String) — Output only. name of resource
#output_resources
def output_resources() -> ::Array<::Google::Cloud::VisionAI::V1::Instance::OutputResource>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Instance::OutputResource>) — All the output resources associated to one application instance.
#output_resources=
def output_resources=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Instance::OutputResource>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::Instance::OutputResource>) — All the output resources associated to one application instance.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Instance::OutputResource>) — All the output resources associated to one application instance.
#state
def state() -> ::Google::Cloud::VisionAI::V1::Instance::State
Returns
- (::Google::Cloud::VisionAI::V1::Instance::State) — State of the instance.
#state=
def state=(value) -> ::Google::Cloud::VisionAI::V1::Instance::State
Parameter
- value (::Google::Cloud::VisionAI::V1::Instance::State) — State of the instance.
Returns
- (::Google::Cloud::VisionAI::V1::Instance::State) — State of the instance.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Update timestamp