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
createMembership(request, callback) → {undefined}
Calls CreateMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.ICreateMembershipRequest |
CreateMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.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.v1alpha2.ICreateMembershipRequest |
CreateMembershipRequest 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.v1alpha2.IDeleteMembershipRequest |
DeleteMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.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.v1alpha2.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.v1alpha2.IGenerateConnectManifestRequest |
GenerateConnectManifestRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.GkeHub.GenerateConnectManifestCallback |
Node-style callback called with the error, if any, and GenerateConnectManifestResponse |
Returns:
Type | Description |
---|---|
undefined |
generateConnectManifest(request) → {Promise.<google.cloud.gkehub.v1alpha2.GenerateConnectManifestResponse>}
Calls GenerateConnectManifest.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IGenerateConnectManifestRequest |
GenerateConnectManifestRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1alpha2.GenerateConnectManifestResponse> |
Promise |
getMembership(request, callback) → {undefined}
Calls GetMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IGetMembershipRequest |
GetMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.GkeHub.GetMembershipCallback |
Node-style callback called with the error, if any, and Membership |
Returns:
Type | Description |
---|---|
undefined |
getMembership(request) → {Promise.<google.cloud.gkehub.v1alpha2.Membership>}
Calls GetMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IGetMembershipRequest |
GetMembershipRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1alpha2.Membership> |
Promise |
initializeHub(request, callback) → {undefined}
Calls InitializeHub.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IInitializeHubRequest |
InitializeHubRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.GkeHub.InitializeHubCallback |
Node-style callback called with the error, if any, and InitializeHubResponse |
Returns:
Type | Description |
---|---|
undefined |
initializeHub(request) → {Promise.<google.cloud.gkehub.v1alpha2.InitializeHubResponse>}
Calls InitializeHub.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IInitializeHubRequest |
InitializeHubRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1alpha2.InitializeHubResponse> |
Promise |
listMemberships(request, callback) → {undefined}
Calls ListMemberships.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IListMembershipsRequest |
ListMembershipsRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.GkeHub.ListMembershipsCallback |
Node-style callback called with the error, if any, and ListMembershipsResponse |
Returns:
Type | Description |
---|---|
undefined |
listMemberships(request) → {Promise.<google.cloud.gkehub.v1alpha2.ListMembershipsResponse>}
Calls ListMemberships.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IListMembershipsRequest |
ListMembershipsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.gkehub.v1alpha2.ListMembershipsResponse> |
Promise |
updateMembership(request, callback) → {undefined}
Calls UpdateMembership.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.gkehub.v1alpha2.IUpdateMembershipRequest |
UpdateMembershipRequest message or plain object |
callback |
google.cloud.gkehub.v1alpha2.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.v1alpha2.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
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 |
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.v1alpha2.GenerateConnectManifestResponse |
<optional> |
GenerateConnectManifestResponse |
GetMembershipCallback(error, responseopt)
Callback as used by getMembership.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1alpha2.Membership |
<optional> |
Membership |
InitializeHubCallback(error, responseopt)
Callback as used by initializeHub.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1alpha2.InitializeHubResponse |
<optional> |
InitializeHubResponse |
ListMembershipsCallback(error, responseopt)
Callback as used by listMemberships.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.gkehub.v1alpha2.ListMembershipsResponse |
<optional> |
ListMembershipsResponse |
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 |