Represents an AttachedClusters
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gkemulticloud.v1.AttachedClustersPackage
@google-cloud/gkemulticloudConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AttachedClusters 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): AttachedClusters;
Creates new AttachedClusters 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 |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
createAttachedCluster(request)
public createAttachedCluster(request: google.cloud.gkemulticloud.v1.ICreateAttachedClusterRequest): Promise<google.longrunning.Operation>;
Calls CreateAttachedCluster.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.ICreateAttachedClusterRequest
CreateAttachedClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
deleteAttachedCluster(request)
public deleteAttachedCluster(request: google.cloud.gkemulticloud.v1.IDeleteAttachedClusterRequest): Promise<google.longrunning.Operation>;
Calls DeleteAttachedCluster.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.IDeleteAttachedClusterRequest
DeleteAttachedClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
generateAttachedClusterInstallManifest(request)
public generateAttachedClusterInstallManifest(request: google.cloud.gkemulticloud.v1.IGenerateAttachedClusterInstallManifestRequest): Promise<google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse>;
Calls GenerateAttachedClusterInstallManifest.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.IGenerateAttachedClusterInstallManifestRequest
GenerateAttachedClusterInstallManifestRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getAttachedCluster(request)
public getAttachedCluster(request: google.cloud.gkemulticloud.v1.IGetAttachedClusterRequest): Promise<google.cloud.gkemulticloud.v1.AttachedCluster>;
Calls GetAttachedCluster.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.IGetAttachedClusterRequest
GetAttachedClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getAttachedServerConfig(request)
public getAttachedServerConfig(request: google.cloud.gkemulticloud.v1.IGetAttachedServerConfigRequest): Promise<google.cloud.gkemulticloud.v1.AttachedServerConfig>;
Calls GetAttachedServerConfig.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.IGetAttachedServerConfigRequest
GetAttachedServerConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
importAttachedCluster(request)
public importAttachedCluster(request: google.cloud.gkemulticloud.v1.IImportAttachedClusterRequest): Promise<google.longrunning.Operation>;
Calls ImportAttachedCluster.
Parameter | |
---|---|
Name | Description |
request |
IImportAttachedClusterRequest
ImportAttachedClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
listAttachedClusters(request)
public listAttachedClusters(request: google.cloud.gkemulticloud.v1.IListAttachedClustersRequest): Promise<google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>;
Calls ListAttachedClusters.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.IListAttachedClustersRequest
ListAttachedClustersRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
updateAttachedCluster(request)
public updateAttachedCluster(request: google.cloud.gkemulticloud.v1.IUpdateAttachedClusterRequest): Promise<google.longrunning.Operation>;
Calls UpdateAttachedCluster.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.gkemulticloud.v1.IUpdateAttachedClusterRequest
UpdateAttachedClusterRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |