Class Instance (0.1.0)

Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describing Instance object

Attributes

Name Description
name str
Output only. name of resource
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Create timestamp
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Update timestamp
labels MutableMapping[str, str]
Labels as key value pairs
display_name str
Required. A user friendly display name for the solution.
description str
A description for this application.
input_resources MutableSequence[google.cloud.visionai_v1alpha1.types.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
output_resources MutableSequence[google.cloud.visionai_v1alpha1.types.Instance.OutputResource]
All the output resources associated to one application instance.
state google.cloud.visionai_v1alpha1.types.Instance.State
State of the instance.

Classes

InputResource

InputResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message of input resource used in one application instance.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

OutputResource

OutputResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message of output resource used in one application instance.

State

State(value)

State of the Instance