GkeHubMembershipService

google.cloud.gkehub.v1beta1. GkeHubMembershipService

Represents a GkeHubMembershipService

Constructor

new GkeHubMembershipService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new GkeHubMembershipService 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.v1beta1.ICreateMembershipRequest

CreateMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.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.v1beta1.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.v1beta1.IDeleteMembershipRequest

DeleteMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.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.v1beta1.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.v1beta1.IGenerateConnectManifestRequest

GenerateConnectManifestRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifestCallback

Node-style callback called with the error, if any, and GenerateConnectManifestResponse

Returns:
Type Description
undefined

generateConnectManifest(request) → {Promise.<google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse>}

Calls GenerateConnectManifest.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IGenerateConnectManifestRequest

GenerateConnectManifestRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.gkehub.v1beta1.GenerateConnectManifestResponse>

Promise

generateExclusivityManifest(request, callback) → {undefined}

Calls GenerateExclusivityManifest.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest

GenerateExclusivityManifestRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifestCallback

Node-style callback called with the error, if any, and GenerateExclusivityManifestResponse

Returns:
Type Description
undefined

generateExclusivityManifest(request) → {Promise.<google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse>}

Calls GenerateExclusivityManifest.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IGenerateExclusivityManifestRequest

GenerateExclusivityManifestRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse>

Promise

getMembership(request, callback) → {undefined}

Calls GetMembership.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IGetMembershipRequest

GetMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembershipCallback

Node-style callback called with the error, if any, and Membership

Returns:
Type Description
undefined

getMembership(request) → {Promise.<google.cloud.gkehub.v1beta1.Membership>}

Calls GetMembership.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IGetMembershipRequest

GetMembershipRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.gkehub.v1beta1.Membership>

Promise

listMemberships(request, callback) → {undefined}

Calls ListMemberships.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IListMembershipsRequest

ListMembershipsRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMembershipsCallback

Node-style callback called with the error, if any, and ListMembershipsResponse

Returns:
Type Description
undefined

listMemberships(request) → {Promise.<google.cloud.gkehub.v1beta1.ListMembershipsResponse>}

Calls ListMemberships.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IListMembershipsRequest

ListMembershipsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.gkehub.v1beta1.ListMembershipsResponse>

Promise

updateMembership(request, callback) → {undefined}

Calls UpdateMembership.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IUpdateMembershipRequest

UpdateMembershipRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.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.v1beta1.IUpdateMembershipRequest

UpdateMembershipRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

validateExclusivity(request, callback) → {undefined}

Calls ValidateExclusivity.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IValidateExclusivityRequest

ValidateExclusivityRequest message or plain object

callback google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivityCallback

Node-style callback called with the error, if any, and ValidateExclusivityResponse

Returns:
Type Description
undefined

validateExclusivity(request) → {Promise.<google.cloud.gkehub.v1beta1.ValidateExclusivityResponse>}

Calls ValidateExclusivity.

Parameters:
Name Type Description
request google.cloud.gkehub.v1beta1.IValidateExclusivityRequest

ValidateExclusivityRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.gkehub.v1beta1.ValidateExclusivityResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {GkeHubMembershipService}

Creates new GkeHubMembershipService 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
GkeHubMembershipService

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.v1beta1.GenerateConnectManifestResponse <optional>

GenerateConnectManifestResponse

GenerateExclusivityManifestCallback(error, responseopt)

Callback as used by generateExclusivityManifest.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gkehub.v1beta1.GenerateExclusivityManifestResponse <optional>

GenerateExclusivityManifestResponse

GetMembershipCallback(error, responseopt)

Callback as used by getMembership.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gkehub.v1beta1.Membership <optional>

Membership

ListMembershipsCallback(error, responseopt)

Callback as used by listMemberships.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gkehub.v1beta1.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

ValidateExclusivityCallback(error, responseopt)

Callback as used by validateExclusivity.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gkehub.v1beta1.ValidateExclusivityResponse <optional>

ValidateExclusivityResponse