リソース: インスタンス
Instance オブジェクトについて説明するメッセージ
JSON 表現 |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "displayName": string, "description": string, "inputResources": [ { object ( |
フィールド | |
---|---|
name |
出力専用。リソースの名前 |
createTime |
出力専用。[出力専用] 作成タイムスタンプ RFC3339 UTC「Zulu」形式のタイムスタンプ。精度はナノ秒まで、小数点以下は最大 9 桁。例: |
updateTime |
出力専用。[出力専用] 更新タイムスタンプ RFC3339 UTC「Zulu」形式のタイムスタンプ。精度はナノ秒まで、小数点以下は最大 9 桁。例: |
labels |
Key-Value ペアとしてのラベル。
|
displayName |
必須。ソリューションのわかりやすい表示名。 |
description |
このインスタンスの説明。 |
inputResources[] |
現在のアプリケーション インスタンスの入力リソース。例: inputResources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a |
outputResources[] |
1 つのアプリケーション インスタンスに関連付けられているすべての出力リソース。 |
state |
インスタンスの状態。 |
InputResource
1 つのアプリケーション インスタンスで使用される入力リソースのメッセージ。
JSON 表現 |
---|
{ "consumerNode": string, "inputResourceBinding": string, "annotations": { object ( |
フィールド | |
---|---|
consumerNode |
入力リソースを受信するグラフノードの名前。例: inputResource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumerNode: stream-input |
inputResourceBinding |
入力バインディングが 1 つしかない場合は、現在の入力リソースを使用する特定の入力リソース バインディングは無視できます。 |
annotations |
リソース アノテーションが含まれている。 |
共用体フィールド input_resource_information 。必須。アプリケーション インスタンスへの入力を指定します。input_resource_information は次のいずれかになります。 |
|
inputResource |
直接入力リソース名。インスタンスタイプが STREAMING_PREDICTION の場合、入力リソースの形式は「projects/123/locations/us-central1/clusters/456/streams/stream-a」です。インスタンスタイプが Cloud Storage 入力コンテナの BATCH_PREDICTION の場合、入力リソースの形式は「gs://bucket-a」です。 |
annotatedStream |
入力リソースが VisionAI ストリームの場合は、代わりに annotatedStream を使用して関連するアノテーションを指定できます。 |
ResourceAnnotations
リソースの一般的なアノテーションを説明するメッセージ。
JSON 表現 |
---|
{ "applicationAnnotations": [ { object ( |
フィールド | |
---|---|
applicationAnnotations[] |
アプリケーション全体に適用されるアノテーション。 |
nodeAnnotations[] |
アプリケーションの特定のノードに適用されるアノテーション。アプリケーションとノードの両方に同じタイプのアノテーションが適用されている場合、グローバル アプリケーションのアノテーションに加えて、ノード アノテーションが追加されます。たとえば、アプリ全体に 1 つのアクティブ ゾーン アノテーションがあり、占有状況分析プロセッサに 1 つのアクティブ ゾーン アノテーションがある場合、占有状況分析プロセッサには 2 つのアクティブ ゾーンが定義されます。 |
ApplicationNodeAnnotation
アプリケーション ノードに固有のアノテーションを説明するメッセージ。このメッセージは StreamWithAnnotation.NodeAnnotation の重複です。
JSON 表現 |
---|
{
"node": string,
"annotations": [
{
object ( |
フィールド | |
---|---|
node |
アプリケーション グラフのノード名。 |
annotations[] |
ノード固有のストリームのアノテーション。 |
OutputResource
1 つのアプリケーション インスタンスで使用される出力リソースのメッセージ。
JSON 表現 |
---|
{ "outputResource": string, "producerNode": string, "outputResourceBinding": string, "isTemporary": boolean, "autogen": boolean } |
フィールド | |
---|---|
outputResource |
現在のアプリケーション インスタンスの出力リソース名。 |
producerNode |
出力リソース名を生成するグラフノードの名前。例: outputResource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producerNode: occupancy-counting |
outputResourceBinding |
現在の OutputResource を生成する特定の出力リソース バインディング。 |
isTemporary |
出力専用。出力リソースが一時的であるかどうか。つまり、リソースがアプリケーションのデプロイ中に生成されるかどうか。一時リソースは、アプリケーションのアンデプロイ中に削除されます。 |
autogen |
出力専用。出力リソースが Vision AI App Platform によって自動的に作成されるかどうか。 |
州
インスタンスの状態
列挙型 | |
---|---|
STATE_UNSPECIFIED |
デフォルト値。この値は、状態を省略した場合に使用されます。 |
CREATING |
状態は CREATING。 |
CREATED |
状態は CREATED です。 |
DEPLOYING |
ステータス: DEPLOYING。 |
DEPLOYED |
状態 DEPLOYED。 |
UNDEPLOYING |
ステータスは UNDEPLOYING です。 |
DELETED |
ステータス DELETED。 |
ERROR |
状態が ERROR です。 |
UPDATING |
ステータスの更新 |
DELETING |
状態: 削除中。 |
FIXING |
状態の修正。 |
メソッド |
|
---|---|
|
1 つのインスタンスの詳細を取得します。 |
|
指定されたプロジェクトとロケーションでのインスタンスを一覧で表示します。 |