Represents a GkeHub
Inheritance
$protobuf.rpc.Service > protos.google.cloud.gkehub.v1.GkeHubPackage
@google-cloud/gke-hub!Constructors
(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.v1.ICreateFeatureRequest, callback: google.cloud.gkehub.v1.GkeHub.CreateFeatureCallback): void;
Calls CreateFeature.
Name | Description |
request |
ICreateFeatureRequest
CreateFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.CreateFeatureCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createFeature(request)
public createFeature(request: google.cloud.gkehub.v1.ICreateFeatureRequest): Promise<google.longrunning.Operation>;
Calls CreateFeature.
Name | Description |
request |
ICreateFeatureRequest
CreateFeatureRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
createMembership(request, callback)
public createMembership(request: google.cloud.gkehub.v1.ICreateMembershipRequest, callback: google.cloud.gkehub.v1.GkeHub.CreateMembershipCallback): void;
Calls CreateMembership.
Name | Description |
request |
ICreateMembershipRequest
CreateMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.CreateMembershipCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createMembership(request)
public createMembership(request: google.cloud.gkehub.v1.ICreateMembershipRequest): Promise<google.longrunning.Operation>;
Calls CreateMembership.
Name | Description |
request |
ICreateMembershipRequest
CreateMembershipRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteFeature(request, callback)
public deleteFeature(request: google.cloud.gkehub.v1.IDeleteFeatureRequest, callback: google.cloud.gkehub.v1.GkeHub.DeleteFeatureCallback): void;
Calls DeleteFeature.
Name | Description |
request |
google.cloud.gkehub.v1.IDeleteFeatureRequest
DeleteFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.DeleteFeatureCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteFeature(request)
public deleteFeature(request: google.cloud.gkehub.v1.IDeleteFeatureRequest): Promise<google.longrunning.Operation>;
Calls DeleteFeature.
Name | Description |
request |
google.cloud.gkehub.v1.IDeleteFeatureRequest
DeleteFeatureRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteMembership(request, callback)
public deleteMembership(request: google.cloud.gkehub.v1.IDeleteMembershipRequest, callback: google.cloud.gkehub.v1.GkeHub.DeleteMembershipCallback): void;
Calls DeleteMembership.
Name | Description |
request |
IDeleteMembershipRequest
DeleteMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.DeleteMembershipCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteMembership(request)
public deleteMembership(request: google.cloud.gkehub.v1.IDeleteMembershipRequest): Promise<google.longrunning.Operation>;
Calls DeleteMembership.
Name | Description |
request |
IDeleteMembershipRequest
DeleteMembershipRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
generateConnectManifest(request, callback)
public generateConnectManifest(request: google.cloud.gkehub.v1.IGenerateConnectManifestRequest, callback: google.cloud.gkehub.v1.GkeHub.GenerateConnectManifestCallback): void;
Calls GenerateConnectManifest.
Name | Description |
request |
google.cloud.gkehub.v1.IGenerateConnectManifestRequest
GenerateConnectManifestRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.GenerateConnectManifestCallback
Node-style callback called with the error, if any, and GenerateConnectManifestResponse |
Type | Description |
void |
generateConnectManifest(request)
public generateConnectManifest(request: google.cloud.gkehub.v1.IGenerateConnectManifestRequest): Promise<google.cloud.gkehub.v1.GenerateConnectManifestResponse>;
Calls GenerateConnectManifest.
Name | Description |
request |
google.cloud.gkehub.v1.IGenerateConnectManifestRequest
GenerateConnectManifestRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1.GenerateConnectManifestResponse> | Promise |
getFeature(request, callback)
public getFeature(request: google.cloud.gkehub.v1.IGetFeatureRequest, callback: google.cloud.gkehub.v1.GkeHub.GetFeatureCallback): void;
Calls GetFeature.
Name | Description |
request |
IGetFeatureRequest
GetFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.GetFeatureCallback
Node-style callback called with the error, if any, and Feature |
Type | Description |
void |
getFeature(request)
public getFeature(request: google.cloud.gkehub.v1.IGetFeatureRequest): Promise<google.cloud.gkehub.v1.Feature>;
Calls GetFeature.
Name | Description |
request |
IGetFeatureRequest
GetFeatureRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1.Feature> | Promise |
getMembership(request, callback)
public getMembership(request: google.cloud.gkehub.v1.IGetMembershipRequest, callback: google.cloud.gkehub.v1.GkeHub.GetMembershipCallback): void;
Calls GetMembership.
Name | Description |
request |
IGetMembershipRequest
GetMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.GetMembershipCallback
Node-style callback called with the error, if any, and Membership |
Type | Description |
void |
getMembership(request)
public getMembership(request: google.cloud.gkehub.v1.IGetMembershipRequest): Promise<google.cloud.gkehub.v1.Membership>;
Calls GetMembership.
Name | Description |
request |
IGetMembershipRequest
GetMembershipRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1.Membership> | Promise |
listFeatures(request, callback)
public listFeatures(request: google.cloud.gkehub.v1.IListFeaturesRequest, callback: google.cloud.gkehub.v1.GkeHub.ListFeaturesCallback): void;
Calls ListFeatures.
Name | Description |
request |
google.cloud.gkehub.v1.IListFeaturesRequest
ListFeaturesRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.ListFeaturesCallback
Node-style callback called with the error, if any, and ListFeaturesResponse |
Type | Description |
void |
listFeatures(request)
public listFeatures(request: google.cloud.gkehub.v1.IListFeaturesRequest): Promise<google.cloud.gkehub.v1.ListFeaturesResponse>;
Calls ListFeatures.
Name | Description |
request |
google.cloud.gkehub.v1.IListFeaturesRequest
ListFeaturesRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1.ListFeaturesResponse> | Promise |
listMemberships(request, callback)
public listMemberships(request: google.cloud.gkehub.v1.IListMembershipsRequest, callback: google.cloud.gkehub.v1.GkeHub.ListMembershipsCallback): void;
Calls ListMemberships.
Name | Description |
request |
IListMembershipsRequest
ListMembershipsRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.ListMembershipsCallback
Node-style callback called with the error, if any, and ListMembershipsResponse |
Type | Description |
void |
listMemberships(request)
public listMemberships(request: google.cloud.gkehub.v1.IListMembershipsRequest): Promise<google.cloud.gkehub.v1.ListMembershipsResponse>;
Calls ListMemberships.
Name | Description |
request |
IListMembershipsRequest
ListMembershipsRequest message or plain object |
Type | Description |
Promise<google.cloud.gkehub.v1.ListMembershipsResponse> | Promise |
updateFeature(request, callback)
public updateFeature(request: google.cloud.gkehub.v1.IUpdateFeatureRequest, callback: google.cloud.gkehub.v1.GkeHub.UpdateFeatureCallback): void;
Calls UpdateFeature.
Name | Description |
request |
IUpdateFeatureRequest
UpdateFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.UpdateFeatureCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateFeature(request)
public updateFeature(request: google.cloud.gkehub.v1.IUpdateFeatureRequest): Promise<google.longrunning.Operation>;
Calls UpdateFeature.
Name | Description |
request |
IUpdateFeatureRequest
UpdateFeatureRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateMembership(request, callback)
public updateMembership(request: google.cloud.gkehub.v1.IUpdateMembershipRequest, callback: google.cloud.gkehub.v1.GkeHub.UpdateMembershipCallback): void;
Calls UpdateMembership.
Name | Description |
request |
google.cloud.gkehub.v1.IUpdateMembershipRequest
UpdateMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.UpdateMembershipCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateMembership(request)
public updateMembership(request: google.cloud.gkehub.v1.IUpdateMembershipRequest): Promise<google.longrunning.Operation>;
Calls UpdateMembership.
Name | Description |
request |
google.cloud.gkehub.v1.IUpdateMembershipRequest
UpdateMembershipRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |