Class protos.google.cloud.gkemulticloud.v1.AwsClusters (1.5.0)

Represents an AwsClusters

Inheritance

$protobuf.rpc.Service > protos.google.cloud.gkemulticloud.v1.AwsClusters

Package

@google-cloud/gkemulticloud

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new AwsClusters service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AwsClusters;

Creates new AwsClusters 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
AwsClusters

RPC service. Useful where requests and/or responses are streamed.

createAwsCluster(request, callback)

public createAwsCluster(request: google.cloud.gkemulticloud.v1.ICreateAwsClusterRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsClusterCallback): void;

Calls CreateAwsCluster.

Parameters
Name Description
request ICreateAwsClusterRequest

CreateAwsClusterRequest message or plain object

callback CreateAwsClusterCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

createAwsCluster(request)

public createAwsCluster(request: google.cloud.gkemulticloud.v1.ICreateAwsClusterRequest): Promise<google.longrunning.Operation>;

Calls CreateAwsCluster.

Parameter
Name Description
request ICreateAwsClusterRequest

CreateAwsClusterRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

createAwsNodePool(request, callback)

public createAwsNodePool(request: google.cloud.gkemulticloud.v1.ICreateAwsNodePoolRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsNodePoolCallback): void;

Calls CreateAwsNodePool.

Parameters
Name Description
request ICreateAwsNodePoolRequest

CreateAwsNodePoolRequest message or plain object

callback CreateAwsNodePoolCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

createAwsNodePool(request)

public createAwsNodePool(request: google.cloud.gkemulticloud.v1.ICreateAwsNodePoolRequest): Promise<google.longrunning.Operation>;

Calls CreateAwsNodePool.

Parameter
Name Description
request ICreateAwsNodePoolRequest

CreateAwsNodePoolRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

deleteAwsCluster(request, callback)

public deleteAwsCluster(request: google.cloud.gkemulticloud.v1.IDeleteAwsClusterRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsClusterCallback): void;

Calls DeleteAwsCluster.

Parameters
Name Description
request IDeleteAwsClusterRequest

DeleteAwsClusterRequest message or plain object

callback DeleteAwsClusterCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

deleteAwsCluster(request)

public deleteAwsCluster(request: google.cloud.gkemulticloud.v1.IDeleteAwsClusterRequest): Promise<google.longrunning.Operation>;

Calls DeleteAwsCluster.

Parameter
Name Description
request IDeleteAwsClusterRequest

DeleteAwsClusterRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

deleteAwsNodePool(request, callback)

public deleteAwsNodePool(request: google.cloud.gkemulticloud.v1.IDeleteAwsNodePoolRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsNodePoolCallback): void;

Calls DeleteAwsNodePool.

Parameters
Name Description
request IDeleteAwsNodePoolRequest

DeleteAwsNodePoolRequest message or plain object

callback DeleteAwsNodePoolCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

deleteAwsNodePool(request)

public deleteAwsNodePool(request: google.cloud.gkemulticloud.v1.IDeleteAwsNodePoolRequest): Promise<google.longrunning.Operation>;

Calls DeleteAwsNodePool.

Parameter
Name Description
request IDeleteAwsNodePoolRequest

DeleteAwsNodePoolRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

generateAwsAccessToken(request, callback)

public generateAwsAccessToken(request: google.cloud.gkemulticloud.v1.IGenerateAwsAccessTokenRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsAccessTokenCallback): void;

Calls GenerateAwsAccessToken.

Parameters
Name Description
request IGenerateAwsAccessTokenRequest

GenerateAwsAccessTokenRequest message or plain object

callback GenerateAwsAccessTokenCallback

Node-style callback called with the error, if any, and GenerateAwsAccessTokenResponse

Returns
Type Description
void

generateAwsAccessToken(request)

public generateAwsAccessToken(request: google.cloud.gkemulticloud.v1.IGenerateAwsAccessTokenRequest): Promise<google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>;

Calls GenerateAwsAccessToken.

Parameter
Name Description
request IGenerateAwsAccessTokenRequest

GenerateAwsAccessTokenRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>

Promise

generateAwsClusterAgentToken(request, callback)

public generateAwsClusterAgentToken(request: google.cloud.gkemulticloud.v1.IGenerateAwsClusterAgentTokenRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsClusterAgentTokenCallback): void;

Calls GenerateAwsClusterAgentToken.

Parameters
Name Description
request IGenerateAwsClusterAgentTokenRequest

GenerateAwsClusterAgentTokenRequest message or plain object

callback GenerateAwsClusterAgentTokenCallback

Node-style callback called with the error, if any, and GenerateAwsClusterAgentTokenResponse

Returns
Type Description
void

generateAwsClusterAgentToken(request)

public generateAwsClusterAgentToken(request: google.cloud.gkemulticloud.v1.IGenerateAwsClusterAgentTokenRequest): Promise<google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>;

Calls GenerateAwsClusterAgentToken.

Parameter
Name Description
request IGenerateAwsClusterAgentTokenRequest

GenerateAwsClusterAgentTokenRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>

Promise

getAwsCluster(request, callback)

public getAwsCluster(request: google.cloud.gkemulticloud.v1.IGetAwsClusterRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GetAwsClusterCallback): void;

Calls GetAwsCluster.

Parameters
Name Description
request IGetAwsClusterRequest

GetAwsClusterRequest message or plain object

callback GetAwsClusterCallback

Node-style callback called with the error, if any, and AwsCluster

Returns
Type Description
void

getAwsCluster(request)

public getAwsCluster(request: google.cloud.gkemulticloud.v1.IGetAwsClusterRequest): Promise<google.cloud.gkemulticloud.v1.AwsCluster>;

Calls GetAwsCluster.

Parameter
Name Description
request IGetAwsClusterRequest

GetAwsClusterRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.AwsCluster>

Promise

getAwsJsonWebKeys(request, callback)

public getAwsJsonWebKeys(request: google.cloud.gkemulticloud.v1.IGetAwsJsonWebKeysRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GetAwsJsonWebKeysCallback): void;

Calls GetAwsJsonWebKeys.

Parameters
Name Description
request IGetAwsJsonWebKeysRequest

GetAwsJsonWebKeysRequest message or plain object

callback GetAwsJsonWebKeysCallback

Node-style callback called with the error, if any, and AwsJsonWebKeys

Returns
Type Description
void

getAwsJsonWebKeys(request)

public getAwsJsonWebKeys(request: google.cloud.gkemulticloud.v1.IGetAwsJsonWebKeysRequest): Promise<google.cloud.gkemulticloud.v1.AwsJsonWebKeys>;

Calls GetAwsJsonWebKeys.

Parameter
Name Description
request IGetAwsJsonWebKeysRequest

GetAwsJsonWebKeysRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.AwsJsonWebKeys>

Promise

getAwsNodePool(request, callback)

public getAwsNodePool(request: google.cloud.gkemulticloud.v1.IGetAwsNodePoolRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GetAwsNodePoolCallback): void;

Calls GetAwsNodePool.

Parameters
Name Description
request IGetAwsNodePoolRequest

GetAwsNodePoolRequest message or plain object

callback GetAwsNodePoolCallback

Node-style callback called with the error, if any, and AwsNodePool

Returns
Type Description
void

getAwsNodePool(request)

public getAwsNodePool(request: google.cloud.gkemulticloud.v1.IGetAwsNodePoolRequest): Promise<google.cloud.gkemulticloud.v1.AwsNodePool>;

Calls GetAwsNodePool.

Parameter
Name Description
request IGetAwsNodePoolRequest

GetAwsNodePoolRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.AwsNodePool>

Promise

getAwsOpenIdConfig(request, callback)

public getAwsOpenIdConfig(request: google.cloud.gkemulticloud.v1.IGetAwsOpenIdConfigRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GetAwsOpenIdConfigCallback): void;

Calls GetAwsOpenIdConfig.

Parameters
Name Description
request IGetAwsOpenIdConfigRequest

GetAwsOpenIdConfigRequest message or plain object

callback GetAwsOpenIdConfigCallback

Node-style callback called with the error, if any, and AwsOpenIdConfig

Returns
Type Description
void

getAwsOpenIdConfig(request)

public getAwsOpenIdConfig(request: google.cloud.gkemulticloud.v1.IGetAwsOpenIdConfigRequest): Promise<google.cloud.gkemulticloud.v1.AwsOpenIdConfig>;

Calls GetAwsOpenIdConfig.

Parameter
Name Description
request IGetAwsOpenIdConfigRequest

GetAwsOpenIdConfigRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.AwsOpenIdConfig>

Promise

getAwsServerConfig(request, callback)

public getAwsServerConfig(request: google.cloud.gkemulticloud.v1.IGetAwsServerConfigRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfigCallback): void;

Calls GetAwsServerConfig.

Parameters
Name Description
request IGetAwsServerConfigRequest

GetAwsServerConfigRequest message or plain object

callback GetAwsServerConfigCallback

Node-style callback called with the error, if any, and AwsServerConfig

Returns
Type Description
void

getAwsServerConfig(request)

public getAwsServerConfig(request: google.cloud.gkemulticloud.v1.IGetAwsServerConfigRequest): Promise<google.cloud.gkemulticloud.v1.AwsServerConfig>;

Calls GetAwsServerConfig.

Parameter
Name Description
request IGetAwsServerConfigRequest

GetAwsServerConfigRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.AwsServerConfig>

Promise

listAwsClusters(request, callback)

public listAwsClusters(request: google.cloud.gkemulticloud.v1.IListAwsClustersRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClustersCallback): void;

Calls ListAwsClusters.

Parameters
Name Description
request IListAwsClustersRequest

ListAwsClustersRequest message or plain object

callback ListAwsClustersCallback

Node-style callback called with the error, if any, and ListAwsClustersResponse

Returns
Type Description
void

listAwsClusters(request)

public listAwsClusters(request: google.cloud.gkemulticloud.v1.IListAwsClustersRequest): Promise<google.cloud.gkemulticloud.v1.ListAwsClustersResponse>;

Calls ListAwsClusters.

Parameter
Name Description
request IListAwsClustersRequest

ListAwsClustersRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.ListAwsClustersResponse>

Promise

listAwsNodePools(request, callback)

public listAwsNodePools(request: google.cloud.gkemulticloud.v1.IListAwsNodePoolsRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePoolsCallback): void;

Calls ListAwsNodePools.

Parameters
Name Description
request IListAwsNodePoolsRequest

ListAwsNodePoolsRequest message or plain object

callback ListAwsNodePoolsCallback

Node-style callback called with the error, if any, and ListAwsNodePoolsResponse

Returns
Type Description
void

listAwsNodePools(request)

public listAwsNodePools(request: google.cloud.gkemulticloud.v1.IListAwsNodePoolsRequest): Promise<google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>;

Calls ListAwsNodePools.

Parameter
Name Description
request IListAwsNodePoolsRequest

ListAwsNodePoolsRequest message or plain object

Returns
Type Description
Promise<google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>

Promise

rollbackAwsNodePoolUpdate(request, callback)

public rollbackAwsNodePoolUpdate(request: google.cloud.gkemulticloud.v1.IRollbackAwsNodePoolUpdateRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.RollbackAwsNodePoolUpdateCallback): void;

Calls RollbackAwsNodePoolUpdate.

Parameters
Name Description
request IRollbackAwsNodePoolUpdateRequest

RollbackAwsNodePoolUpdateRequest message or plain object

callback RollbackAwsNodePoolUpdateCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

rollbackAwsNodePoolUpdate(request)

public rollbackAwsNodePoolUpdate(request: google.cloud.gkemulticloud.v1.IRollbackAwsNodePoolUpdateRequest): Promise<google.longrunning.Operation>;

Calls RollbackAwsNodePoolUpdate.

Parameter
Name Description
request IRollbackAwsNodePoolUpdateRequest

RollbackAwsNodePoolUpdateRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

updateAwsCluster(request, callback)

public updateAwsCluster(request: google.cloud.gkemulticloud.v1.IUpdateAwsClusterRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsClusterCallback): void;

Calls UpdateAwsCluster.

Parameters
Name Description
request IUpdateAwsClusterRequest

UpdateAwsClusterRequest message or plain object

callback UpdateAwsClusterCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

updateAwsCluster(request)

public updateAwsCluster(request: google.cloud.gkemulticloud.v1.IUpdateAwsClusterRequest): Promise<google.longrunning.Operation>;

Calls UpdateAwsCluster.

Parameter
Name Description
request IUpdateAwsClusterRequest

UpdateAwsClusterRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

updateAwsNodePool(request, callback)

public updateAwsNodePool(request: google.cloud.gkemulticloud.v1.IUpdateAwsNodePoolRequest, callback: google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsNodePoolCallback): void;

Calls UpdateAwsNodePool.

Parameters
Name Description
request IUpdateAwsNodePoolRequest

UpdateAwsNodePoolRequest message or plain object

callback UpdateAwsNodePoolCallback

Node-style callback called with the error, if any, and Operation

Returns
Type Description
void

updateAwsNodePool(request)

public updateAwsNodePool(request: google.cloud.gkemulticloud.v1.IUpdateAwsNodePoolRequest): Promise<google.longrunning.Operation>;

Calls UpdateAwsNodePool.

Parameter
Name Description
request IUpdateAwsNodePoolRequest

UpdateAwsNodePoolRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise