Class protos.google.cloud.gkemulticloud.v1.AttachedClusters (0.3.2)

Represents an AttachedClusters

Inheritance

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

Package

@google-cloud/gkemulticloud

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new AttachedClusters service.

Parameters
NameDescription
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): AttachedClusters;

Creates new AttachedClusters service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
AttachedClusters

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

createAttachedCluster(request, callback)

public createAttachedCluster(request: google.cloud.gkemulticloud.v1.ICreateAttachedClusterRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedClusterCallback): void;

Calls CreateAttachedCluster.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.ICreateAttachedClusterRequest

CreateAttachedClusterRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedClusterCallback

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

Returns
TypeDescription
void

createAttachedCluster(request)

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

Calls CreateAttachedCluster.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.ICreateAttachedClusterRequest

CreateAttachedClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteAttachedCluster(request, callback)

public deleteAttachedCluster(request: google.cloud.gkemulticloud.v1.IDeleteAttachedClusterRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedClusterCallback): void;

Calls DeleteAttachedCluster.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.IDeleteAttachedClusterRequest

DeleteAttachedClusterRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedClusterCallback

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

Returns
TypeDescription
void

deleteAttachedCluster(request)

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

Calls DeleteAttachedCluster.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.IDeleteAttachedClusterRequest

DeleteAttachedClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

generateAttachedClusterInstallManifest(request, callback)

public generateAttachedClusterInstallManifest(request: google.cloud.gkemulticloud.v1.IGenerateAttachedClusterInstallManifestRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifestCallback): void;

Calls GenerateAttachedClusterInstallManifest.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.IGenerateAttachedClusterInstallManifestRequest

GenerateAttachedClusterInstallManifestRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifestCallback

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

Returns
TypeDescription
void

generateAttachedClusterInstallManifest(request)

public generateAttachedClusterInstallManifest(request: google.cloud.gkemulticloud.v1.IGenerateAttachedClusterInstallManifestRequest): Promise<google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse>;

Calls GenerateAttachedClusterInstallManifest.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.IGenerateAttachedClusterInstallManifestRequest

GenerateAttachedClusterInstallManifestRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse>

Promise

getAttachedCluster(request, callback)

public getAttachedCluster(request: google.cloud.gkemulticloud.v1.IGetAttachedClusterRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedClusterCallback): void;

Calls GetAttachedCluster.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.IGetAttachedClusterRequest

GetAttachedClusterRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedClusterCallback

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

Returns
TypeDescription
void

getAttachedCluster(request)

public getAttachedCluster(request: google.cloud.gkemulticloud.v1.IGetAttachedClusterRequest): Promise<google.cloud.gkemulticloud.v1.AttachedCluster>;

Calls GetAttachedCluster.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.IGetAttachedClusterRequest

GetAttachedClusterRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkemulticloud.v1.AttachedCluster>

Promise

getAttachedServerConfig(request, callback)

public getAttachedServerConfig(request: google.cloud.gkemulticloud.v1.IGetAttachedServerConfigRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfigCallback): void;

Calls GetAttachedServerConfig.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.IGetAttachedServerConfigRequest

GetAttachedServerConfigRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfigCallback

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

Returns
TypeDescription
void

getAttachedServerConfig(request)

public getAttachedServerConfig(request: google.cloud.gkemulticloud.v1.IGetAttachedServerConfigRequest): Promise<google.cloud.gkemulticloud.v1.AttachedServerConfig>;

Calls GetAttachedServerConfig.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.IGetAttachedServerConfigRequest

GetAttachedServerConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkemulticloud.v1.AttachedServerConfig>

Promise

importAttachedCluster(request, callback)

public importAttachedCluster(request: google.cloud.gkemulticloud.v1.IImportAttachedClusterRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedClusterCallback): void;

Calls ImportAttachedCluster.

Parameters
NameDescription
request IImportAttachedClusterRequest

ImportAttachedClusterRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedClusterCallback

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

Returns
TypeDescription
void

importAttachedCluster(request)

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

Calls ImportAttachedCluster.

Parameter
NameDescription
request IImportAttachedClusterRequest

ImportAttachedClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

listAttachedClusters(request, callback)

public listAttachedClusters(request: google.cloud.gkemulticloud.v1.IListAttachedClustersRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClustersCallback): void;

Calls ListAttachedClusters.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.IListAttachedClustersRequest

ListAttachedClustersRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClustersCallback

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

Returns
TypeDescription
void

listAttachedClusters(request)

public listAttachedClusters(request: google.cloud.gkemulticloud.v1.IListAttachedClustersRequest): Promise<google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>;

Calls ListAttachedClusters.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.IListAttachedClustersRequest

ListAttachedClustersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>

Promise

updateAttachedCluster(request, callback)

public updateAttachedCluster(request: google.cloud.gkemulticloud.v1.IUpdateAttachedClusterRequest, callback: google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedClusterCallback): void;

Calls UpdateAttachedCluster.

Parameters
NameDescription
request google.cloud.gkemulticloud.v1.IUpdateAttachedClusterRequest

UpdateAttachedClusterRequest message or plain object

callback google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedClusterCallback

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

Returns
TypeDescription
void

updateAttachedCluster(request)

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

Calls UpdateAttachedCluster.

Parameter
NameDescription
request google.cloud.gkemulticloud.v1.IUpdateAttachedClusterRequest

UpdateAttachedClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise