Represents a ClusterManager
Inheritance
$protobuf.rpc.Service > protos.google.container.v1.ClusterManagerPackage
@google-cloud/containerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ClusterManager service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
cancelOperation(request, callback)
public cancelOperation(request: google.container.v1.ICancelOperationRequest, callback: google.container.v1.ClusterManager.CancelOperationCallback): void;
Calls CancelOperation.
Parameters | |
---|---|
Name | Description |
request |
ICancelOperationRequest
CancelOperationRequest message or plain object |
callback |
CancelOperationCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
cancelOperation(request)
public cancelOperation(request: google.container.v1.ICancelOperationRequest): Promise<google.protobuf.Empty>;
Calls CancelOperation.
Parameter | |
---|---|
Name | Description |
request |
ICancelOperationRequest
CancelOperationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> |
Promise |
checkAutopilotCompatibility(request, callback)
public checkAutopilotCompatibility(request: google.container.v1.ICheckAutopilotCompatibilityRequest, callback: google.container.v1.ClusterManager.CheckAutopilotCompatibilityCallback): void;
Calls CheckAutopilotCompatibility.
Parameters | |
---|---|
Name | Description |
request |
ICheckAutopilotCompatibilityRequest
CheckAutopilotCompatibilityRequest message or plain object |
callback |
CheckAutopilotCompatibilityCallback
Node-style callback called with the error, if any, and CheckAutopilotCompatibilityResponse |
Returns | |
---|---|
Type | Description |
void |
checkAutopilotCompatibility(request)
public checkAutopilotCompatibility(request: google.container.v1.ICheckAutopilotCompatibilityRequest): Promise<google.container.v1.CheckAutopilotCompatibilityResponse>;
Calls CheckAutopilotCompatibility.
Parameter | |
---|---|
Name | Description |
request |
ICheckAutopilotCompatibilityRequest
CheckAutopilotCompatibilityRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.CheckAutopilotCompatibilityResponse> |
Promise |
completeIPRotation(request, callback)
public completeIPRotation(request: google.container.v1.ICompleteIPRotationRequest, callback: google.container.v1.ClusterManager.CompleteIPRotationCallback): void;
Calls CompleteIPRotation.
Parameters | |
---|---|
Name | Description |
request |
ICompleteIPRotationRequest
CompleteIPRotationRequest message or plain object |
callback |
CompleteIPRotationCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
completeIPRotation(request)
public completeIPRotation(request: google.container.v1.ICompleteIPRotationRequest): Promise<google.container.v1.Operation>;
Calls CompleteIPRotation.
Parameter | |
---|---|
Name | Description |
request |
ICompleteIPRotationRequest
CompleteIPRotationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Operation> |
Promise |
completeNodePoolUpgrade(request, callback)
public completeNodePoolUpgrade(request: google.container.v1.ICompleteNodePoolUpgradeRequest, callback: google.container.v1.ClusterManager.CompleteNodePoolUpgradeCallback): void;
Calls CompleteNodePoolUpgrade.
Parameters | |
---|---|
Name | Description |
request |
ICompleteNodePoolUpgradeRequest
CompleteNodePoolUpgradeRequest message or plain object |
callback |
CompleteNodePoolUpgradeCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
completeNodePoolUpgrade(request)
public completeNodePoolUpgrade(request: google.container.v1.ICompleteNodePoolUpgradeRequest): Promise<google.protobuf.Empty>;
Calls CompleteNodePoolUpgrade.
Parameter | |
---|---|
Name | Description |
request |
ICompleteNodePoolUpgradeRequest
CompleteNodePoolUpgradeRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ClusterManager;
Creates new ClusterManager service using the specified rpc implementation.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
ClusterManager |
RPC service. Useful where requests and/or responses are streamed. |
createCluster(request, callback)
public createCluster(request: google.container.v1.ICreateClusterRequest, callback: google.container.v1.ClusterManager.CreateClusterCallback): void;
Calls CreateCluster.
Parameters | |
---|---|
Name | Description |
request |
ICreateClusterRequest
CreateClusterRequest message or plain object |
callback |
CreateClusterCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createCluster(request)
public createCluster(request: google.container.v1.ICreateClusterRequest): Promise<google.container.v1.Operation>;
Calls CreateCluster.
Parameter | |
---|---|
Name | Description |
request |
ICreateClusterRequest
CreateClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Operation> |
Promise |
createNodePool(request, callback)
public createNodePool(request: google.container.v1.ICreateNodePoolRequest, callback: google.container.v1.ClusterManager.CreateNodePoolCallback): void;
Calls CreateNodePool.
Parameters | |
---|---|
Name | Description |
request |
ICreateNodePoolRequest
CreateNodePoolRequest message or plain object |
callback |
CreateNodePoolCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createNodePool(request)
public createNodePool(request: google.container.v1.ICreateNodePoolRequest): Promise<google.container.v1.Operation>;
Calls CreateNodePool.
Parameter | |
---|---|
Name | Description |
request |
ICreateNodePoolRequest
CreateNodePoolRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Operation> |
Promise |
deleteCluster(request, callback)
public deleteCluster(request: google.container.v1.IDeleteClusterRequest, callback: google.container.v1.ClusterManager.DeleteClusterCallback): void;
Calls DeleteCluster.
Parameters | |
---|---|
Name | Description |
request |
IDeleteClusterRequest
DeleteClusterRequest message or plain object |
callback |
DeleteClusterCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteCluster(request)
public deleteCluster(request: google.container.v1.IDeleteClusterRequest): Promise<google.container.v1.Operation>;
Calls DeleteCluster.
Parameter | |
---|---|
Name | Description |
request |
IDeleteClusterRequest
DeleteClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Operation> |
Promise |
deleteNodePool(request, callback)
public deleteNodePool(request: google.container.v1.IDeleteNodePoolRequest, callback: google.container.v1.ClusterManager.DeleteNodePoolCallback): void;
Calls DeleteNodePool.
Parameters | |
---|---|
Name | Description |
request |
IDeleteNodePoolRequest
DeleteNodePoolRequest message or plain object |
callback |
DeleteNodePoolCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteNodePool(request)
public deleteNodePool(request: google.container.v1.IDeleteNodePoolRequest): Promise<google.container.v1.Operation>;
Calls DeleteNodePool.
Parameter | |
---|---|
Name | Description |
request |
IDeleteNodePoolRequest
DeleteNodePoolRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Operation> |
Promise |
getCluster(request, callback)
public getCluster(request: google.container.v1.IGetClusterRequest, callback: google.container.v1.ClusterManager.GetClusterCallback): void;
Calls GetCluster.
Parameters | |
---|---|
Name | Description |
request |
IGetClusterRequest
GetClusterRequest message or plain object |
callback |
GetClusterCallback
Node-style callback called with the error, if any, and Cluster |
Returns | |
---|---|
Type | Description |
void |
getCluster(request)
public getCluster(request: google.container.v1.IGetClusterRequest): Promise<google.container.v1.Cluster>;
Calls GetCluster.
Parameter | |
---|---|
Name | Description |
request |
IGetClusterRequest
GetClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Cluster> |
Promise |
getJSONWebKeys(request, callback)
public getJSONWebKeys(request: google.container.v1.IGetJSONWebKeysRequest, callback: google.container.v1.ClusterManager.GetJSONWebKeysCallback): void;
Calls GetJSONWebKeys.
Parameters | |
---|---|
Name | Description |
request |
IGetJSONWebKeysRequest
GetJSONWebKeysRequest message or plain object |
callback |
GetJSONWebKeysCallback
Node-style callback called with the error, if any, and GetJSONWebKeysResponse |
Returns | |
---|---|
Type | Description |
void |
getJSONWebKeys(request)
public getJSONWebKeys(request: google.container.v1.IGetJSONWebKeysRequest): Promise<google.container.v1.GetJSONWebKeysResponse>;
Calls GetJSONWebKeys.
Parameter | |
---|---|
Name | Description |
request |
IGetJSONWebKeysRequest
GetJSONWebKeysRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.GetJSONWebKeysResponse> |
Promise |
getNodePool(request, callback)
public getNodePool(request: google.container.v1.IGetNodePoolRequest, callback: google.container.v1.ClusterManager.GetNodePoolCallback): void;
Calls GetNodePool.
Parameters | |
---|---|
Name | Description |
request |
IGetNodePoolRequest
GetNodePoolRequest message or plain object |
callback |
GetNodePoolCallback
Node-style callback called with the error, if any, and NodePool |
Returns | |
---|---|
Type | Description |
void |
getNodePool(request)
public getNodePool(request: google.container.v1.IGetNodePoolRequest): Promise<google.container.v1.NodePool>;
Calls GetNodePool.
Parameter | |
---|---|
Name | Description |
request |
IGetNodePoolRequest
GetNodePoolRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.NodePool> |
Promise |
getOperation(request, callback)
public getOperation(request: google.container.v1.IGetOperationRequest, callback: google.container.v1.ClusterManager.GetOperationCallback): void;
Calls GetOperation.
Parameters | |
---|---|
Name | Description |
request |
IGetOperationRequest
GetOperationRequest message or plain object |
callback |
GetOperationCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
getOperation(request)
public getOperation(request: google.container.v1.IGetOperationRequest): Promise<google.container.v1.Operation>;
Calls GetOperation.
Parameter | |
---|---|
Name | Description |
request |
IGetOperationRequest
GetOperationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.Operation> |
Promise |
getServerConfig(request, callback)
public getServerConfig(request: google.container.v1.IGetServerConfigRequest, callback: google.container.v1.ClusterManager.GetServerConfigCallback): void;
Calls GetServerConfig.
Parameters | |
---|---|
Name | Description |
request |
IGetServerConfigRequest
GetServerConfigRequest message or plain object |
callback |
GetServerConfigCallback
Node-style callback called with the error, if any, and ServerConfig |
Returns | |
---|---|
Type | Description |
void |
getServerConfig(request)
public getServerConfig(request: google.container.v1.IGetServerConfigRequest): Promise<google.container.v1.ServerConfig>;
Calls GetServerConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetServerConfigRequest
GetServerConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.ServerConfig> |
Promise |
listClusters(request, callback)
public listClusters(request: google.container.v1.IListClustersRequest, callback: google.container.v1.ClusterManager.ListClustersCallback): void;
Calls ListClusters.
Parameters | |
---|---|
Name | Description |
request |
IListClustersRequest
ListClustersRequest message or plain object |
callback |
ListClustersCallback
Node-style callback called with the error, if any, and ListClustersResponse |
Returns | |
---|---|
Type | Description |
void |
listClusters(request)
public listClusters(request: google.container.v1.IListClustersRequest): Promise<google.container.v1.ListClustersResponse>;
Calls ListClusters.
Parameter | |
---|---|
Name | Description |
request |
IListClustersRequest
ListClustersRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.ListClustersResponse> |
Promise |
listNodePools(request, callback)
public listNodePools(request: google.container.v1.IListNodePoolsRequest, callback: google.container.v1.ClusterManager.ListNodePoolsCallback): void;
Calls ListNodePools.
Parameters | |
---|---|
Name | Description |
request |
IListNodePoolsRequest
ListNodePoolsRequest message or plain object |
callback |
ListNodePoolsCallback
Node-style callback called with the error, if any, and ListNodePoolsResponse |
Returns | |
---|---|
Type | Description |
void |
listNodePools(request)
public listNodePools(request: google.container.v1.IListNodePoolsRequest): Promise<google.container.v1.ListNodePoolsResponse>;
Calls ListNodePools.
Parameter | |
---|---|
Name | Description |
request |
IListNodePoolsRequest
ListNodePoolsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.ListNodePoolsResponse> |
Promise |
listOperations(request, callback)
public listOperations(request: google.container.v1.IListOperationsRequest, callback: google.container.v1.ClusterManager.ListOperationsCallback): void;
Calls ListOperations.
Parameters | |
---|---|
Name | Description |
request |
IListOperationsRequest
ListOperationsRequest message or plain object |
callback |
ListOperationsCallback
Node-style callback called with the error, if any, and ListOperationsResponse |
Returns | |
---|---|
Type | Description |
void |
listOperations(request)
public listOperations(request: google.container.v1.IListOperationsRequest): Promise<google.container.v1.ListOperationsResponse>;
Calls ListOperations.
Parameter | |
---|---|
Name | Description |
request |
IListOperationsRequest
ListOperationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.ListOperationsResponse> |
Promise |
listUsableSubnetworks(request, callback)
public listUsableSubnetworks(request: google.container.v1.IListUsableSubnetworksRequest, callback: google.container.v1.ClusterManager.ListUsableSubnetworksCallback): void;
Calls ListUsableSubnetworks.
Parameters | |
---|---|
Name | Description |
request |
IListUsableSubnetworksRequest
ListUsableSubnetworksRequest message or plain object |
callback |
ListUsableSubnetworksCallback
Node-style callback called with the error, if any, and ListUsableSubnetworksResponse |
Returns | |
---|---|
Type | Description |
void |
listUsableSubnetworks(request)
public listUsableSubnetworks(request: google.container.v1.IListUsableSubnetworksRequest): Promise<google.container.v1.ListUsableSubnetworksResponse>;
Calls ListUsableSubnetworks.
Parameter | |
---|---|
Name | Description |
request |
IListUsableSubnetworksRequest
ListUsableSubnetworksRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.container.v1.ListUsableSubnetworksResponse> |
Promise |
rollbackNodePoolUpgrade(request, callback)
public rollbackNodePoolUpgrade(request: google.container.v1.IRollbackNodePoolUpgradeRequest, callback: google.container.v1.