Represents a GkeHub
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gkehub.v1beta.GkeHubPackage
@google-cloud/gke-hubConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new GkeHub service.
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): GkeHub;
Creates new GkeHub service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
GkeHub | RPC service. Useful where requests and/or responses are streamed. |
createFeature(request, callback)
public createFeature(request: google.cloud.gkehub.v1beta.ICreateFeatureRequest, callback: google.cloud.gkehub.v1beta.GkeHub.CreateFeatureCallback): void;
Calls CreateFeature.
Name | Description |
request |
google.cloud.gkehub.v1beta.ICreateFeatureRequest
CreateFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1beta.GkeHub.CreateFeatureCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createFeature(request)
public createFeature(request: google.cloud.gkehub.v1beta.ICreateFeatureRequest): Promise<google.longrunning.Operation>;
Calls CreateFeature.
Name | Description |
request |
google.cloud.gkehub.v1beta.ICreateFeatureRequest
CreateFeatureRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteFeature(request, callback)
public deleteFeature(request: google.cloud.gkehub.v1beta.IDeleteFeatureRequest, callback: google.cloud.gkehub.v1beta.GkeHub.DeleteFeatureCallback): void;
Calls DeleteFeature.
Name | Description |
request |
IDeleteFeatureRequest
DeleteFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1beta.GkeHub.DeleteFeatureCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteFeature(request)
public deleteFeature(request: google.cloud.gkehub.v1beta.IDeleteFeatureRequest): Promise<google.longrunning.Operation>;
Calls DeleteFeature.
Name | Description |
request |
IDeleteFeatureRequest
DeleteFeatureRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getFeature(request, callback)
public getFeature(request: google.cloud.gkehub.v1beta.IGetFeatureRequest, callback: google.cloud.gkehub.v1beta.GkeHub.GetFeatureCallback): void;
Calls GetFeature.
Name | Description |
request |
google.cloud.gkehub.v1beta.IGetFeatureRequest
GetFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1beta.GkeHub.GetFeatureCallback
Node-style callback called with the error, if any, and Feature |
Type | Description |
void |
getFeature(request)
public getFeature(request: google.cloud.gkehub.v1beta.IGetFeatureRequest): Promise<google.cloud.gkehub.v1beta.Feature>;
Calls GetFeature.
Name | Description |
request |
google.cloud.gkehub.v1beta.IGetFeatureRequest
GetFeatureRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1beta.Feature> | Promise |
listFeatures(request, callback)
public listFeatures(request: google.cloud.gkehub.v1beta.IListFeaturesRequest, callback: google.cloud.gkehub.v1beta.GkeHub.ListFeaturesCallback): void;
Calls ListFeatures.
Name | Description |
request |
google.cloud.gkehub.v1beta.IListFeaturesRequest
ListFeaturesRequest message or plain object |
callback |
google.cloud.gkehub.v1beta.GkeHub.ListFeaturesCallback
Node-style callback called with the error, if any, and ListFeaturesResponse |
Type | Description |
void |
listFeatures(request)
public listFeatures(request: google.cloud.gkehub.v1beta.IListFeaturesRequest): Promise<google.cloud.gkehub.v1beta.ListFeaturesResponse>;
Calls ListFeatures.
Name | Description |
request |
google.cloud.gkehub.v1beta.IListFeaturesRequest
ListFeaturesRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1beta.ListFeaturesResponse> | Promise |
updateFeature(request, callback)
public updateFeature(request: google.cloud.gkehub.v1beta.IUpdateFeatureRequest, callback: google.cloud.gkehub.v1beta.GkeHub.UpdateFeatureCallback): void;
Calls UpdateFeature.
Name | Description |
request |
google.cloud.gkehub.v1beta.IUpdateFeatureRequest
UpdateFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1beta.GkeHub.UpdateFeatureCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateFeature(request)
public updateFeature(request: google.cloud.gkehub.v1beta.IUpdateFeatureRequest): Promise<google.longrunning.Operation>;
Calls UpdateFeature.
Name | Description |
request |
google.cloud.gkehub.v1beta.IUpdateFeatureRequest
UpdateFeatureRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |