Constructor
new GkeHub(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new GkeHub service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createFeature(request, callback) → {undefined}
Calls CreateFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.ICreateFeatureRequest |
CreateFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.CreateFeatureCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createFeature(request) → {Promise.<google.longrunning.Operation>}
Calls CreateFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.ICreateFeatureRequest |
CreateFeatureRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
createMembership(request, callback) → {undefined}
Calls CreateMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.ICreateMembershipRequest |
CreateMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.CreateMembershipCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
createMembership(request) → {Promise.<google.longrunning.Operation>}
Calls CreateMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.ICreateMembershipRequest |
CreateMembershipRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteFeature(request, callback) → {undefined}
Calls DeleteFeature.
Parameters:
Name | Type | 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 |
Returns:
Type | Description |
---|---|
undefined |
deleteFeature(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IDeleteFeatureRequest |
DeleteFeatureRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
deleteMembership(request, callback) → {undefined}
Calls DeleteMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IDeleteMembershipRequest |
DeleteMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.DeleteMembershipCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
deleteMembership(request) → {Promise.<google.longrunning.Operation>}
Calls DeleteMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IDeleteMembershipRequest |
DeleteMembershipRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
generateConnectManifest(request, callback) → {undefined}
Calls GenerateConnectManifest.
Parameters:
Name | Type | 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 |
Returns:
Type | Description |
---|---|
undefined |
generateConnectManifest(request) → {Promise.<google.cloud.gkehub.v1.GenerateConnectManifestResponse>}
Calls GenerateConnectManifest.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IGenerateConnectManifestRequest |
GenerateConnectManifestRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1.GenerateConnectManifestResponse> |
Promise |
getFeature(request, callback) → {undefined}
Calls GetFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IGetFeatureRequest |
GetFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.GetFeatureCallback |
Node-style callback called with the error, if any, and Feature |
Returns:
Type | Description |
---|---|
undefined |
getFeature(request) → {Promise.<google.cloud.gkehub.v1.Feature>}
Calls GetFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IGetFeatureRequest |
GetFeatureRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1.Feature> |
Promise |
getMembership(request, callback) → {undefined}
Calls GetMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IGetMembershipRequest |
GetMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.GetMembershipCallback |
Node-style callback called with the error, if any, and Membership |
Returns:
Type | Description |
---|---|
undefined |
getMembership(request) → {Promise.<google.cloud.gkehub.v1.Membership>}
Calls GetMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IGetMembershipRequest |
GetMembershipRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1.Membership> |
Promise |
listFeatures(request, callback) → {undefined}
Calls ListFeatures.
Parameters:
Name | Type | 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 |
Returns:
Type | Description |
---|---|
undefined |
listFeatures(request) → {Promise.<google.cloud.gkehub.v1.ListFeaturesResponse>}
Calls ListFeatures.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IListFeaturesRequest |
ListFeaturesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1.ListFeaturesResponse> |
Promise |
listMemberships(request, callback) → {undefined}
Calls ListMemberships.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IListMembershipsRequest |
ListMembershipsRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.ListMembershipsCallback |
Node-style callback called with the error, if any, and ListMembershipsResponse |
Returns:
Type | Description |
---|---|
undefined |
listMemberships(request) → {Promise.<google.cloud.gkehub.v1.ListMembershipsResponse>}
Calls ListMemberships.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IListMembershipsRequest |
ListMembershipsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1.ListMembershipsResponse> |
Promise |
updateFeature(request, callback) → {undefined}
Calls UpdateFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IUpdateFeatureRequest |
UpdateFeatureRequest message or plain object |
callback |
google.cloud.gkehub.v1.GkeHub.UpdateFeatureCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
updateFeature(request) → {Promise.<google.longrunning.Operation>}
Calls UpdateFeature.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IUpdateFeatureRequest |
UpdateFeatureRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
updateMembership(request, callback) → {undefined}
Calls UpdateMembership.
Parameters:
Name | Type | 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 |
Returns:
Type | Description |
---|---|
undefined |
updateMembership(request) → {Promise.<google.longrunning.Operation>}
Calls UpdateMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1.IUpdateMembershipRequest |
UpdateMembershipRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {GkeHub}
Creates new GkeHub service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
GkeHub |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateFeatureCallback(error, responseopt)
Callback as used by createFeature.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CreateMembershipCallback(error, responseopt)
Callback as used by createMembership.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteFeatureCallback(error, responseopt)
Callback as used by deleteFeature.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteMembershipCallback(error, responseopt)
Callback as used by deleteMembership.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
GenerateConnectManifestCallback(error, responseopt)
Callback as used by generateConnectManifest.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1.GenerateConnectManifestResponse |
<optional> |
GenerateConnectManifestResponse |
GetFeatureCallback(error, responseopt)
Callback as used by getFeature.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1.Feature |
<optional> |
Feature |
GetMembershipCallback(error, responseopt)
Callback as used by getMembership.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1.Membership |
<optional> |
Membership |
ListFeaturesCallback(error, responseopt)
Callback as used by listFeatures.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1.ListFeaturesResponse |
<optional> |
ListFeaturesResponse |
ListMembershipsCallback(error, responseopt)
Callback as used by listMemberships.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1.ListMembershipsResponse |
<optional> |
ListMembershipsResponse |
UpdateFeatureCallback(error, responseopt)
Callback as used by updateFeature.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
UpdateMembershipCallback(error, responseopt)
Callback as used by updateMembership.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |