description:Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
description:Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
JoinNodeRequest:
Nodes:
type:object
type:object
properties:
properties:
nodeNames:
nodeIp:
type:array
type:string
items:
nodeName:
type:string
JoinNodeResponse:
type:object
properties:
code:
type:integer
format:int32
message:
type:string
type:string
NodeReply:
PoolNodeReply:
type:object
type:object
properties:
properties:
ip:
ip:
@ -271,8 +237,7 @@ components:
coreTotal:
coreTotal:
type:string
type:string
memoryUsed:
memoryUsed:
type:integer
type:string
format:int32
memoryTotal:
memoryTotal:
type:string
type:string
uid:
uid:
@ -300,47 +265,90 @@ components:
type:string
type:string
diskSize:
diskSize:
type:string
type:string
resourcePools:
nodeId:
type:string
RemoveNodeRequest:
type:object
properties:
nodeId:
type:string
ResourcePoolCreateRequest:
type:object
properties:
poolName:
type:string
nodes:
type:array
type:array
items:
items:
type:string
$ref:'#/components/schemas/Nodes'
NodesReply:
ResourcePoolDeleteRequest:
type:object
properties:
poolId:
type:string
ResourcePoolDetailResponse:
type:object
type:object
properties:
properties:
list:
list:
type:array
type:array
items:
items:
$ref:'#/components/schemas/NodeReply'
$ref:'#/components/schemas/PoolNodeReply'
Status:
ResourcePoolListData:
type:object
type:object
properties:
properties:
code:
poolId:
type:integer
description:The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
format:int32
message:
type:string
type:string
description:A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
poolName:
details:
type:string
cpuCores:
type:string
nodeNum:
type:string
gpuNum:
type:string
availableMemory:
type:string
totalMemory:
type:string
diskSize:
type:string
nodeList:
type:array
type:array
items:
items:
$ref:'#/components/schemas/GoogleProtobufAny'
$ref:'#/components/schemas/Nodes'
description:A list of messages that carry the error details. There is a common set of message types for APIs to use.
ResourcePoolListResponse:
description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data:error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
UpdateNodeStatusRequest:
type:object
type:object
properties:
properties:
nodeName:
data:
type:array
items:
$ref:'#/components/schemas/ResourcePoolListData'
ResourcePoolUpdateRequest:
type:object
properties:
poolId:
type:string
type:string
status:
poolName:
type:string
type:string
UpdateNodeStatusResponse:
nodes:
type:array
items:
$ref:'#/components/schemas/Nodes'
Status:
type:object
type:object
properties:
properties:
code:
code:
type:integer
type:integer
description:The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
format:int32
format:int32
message:
message:
type:string
type:string
description:A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details:
type:array
items:
$ref:'#/components/schemas/GoogleProtobufAny'
description:A list of messages that carry the error details. There is a common set of message types for APIs to use.
description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data:error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'