RuntimeProjectAttachmentService

google.cloud.apihub.v1. RuntimeProjectAttachmentService

Represents a RuntimeProjectAttachmentService

Constructor

new RuntimeProjectAttachmentService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new RuntimeProjectAttachmentService 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

createRuntimeProjectAttachment(request, callback) → {undefined}

Calls CreateRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.ICreateRuntimeProjectAttachmentRequest

CreateRuntimeProjectAttachmentRequest message or plain object

callback google.cloud.apihub.v1.RuntimeProjectAttachmentService.CreateRuntimeProjectAttachmentCallback

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

Returns:
Type Description
undefined

createRuntimeProjectAttachment(request) → {Promise.<google.cloud.apihub.v1.RuntimeProjectAttachment>}

Calls CreateRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.ICreateRuntimeProjectAttachmentRequest

CreateRuntimeProjectAttachmentRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.apihub.v1.RuntimeProjectAttachment>

Promise

deleteRuntimeProjectAttachment(request, callback) → {undefined}

Calls DeleteRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.IDeleteRuntimeProjectAttachmentRequest

DeleteRuntimeProjectAttachmentRequest message or plain object

callback google.cloud.apihub.v1.RuntimeProjectAttachmentService.DeleteRuntimeProjectAttachmentCallback

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

Returns:
Type Description
undefined

deleteRuntimeProjectAttachment(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.IDeleteRuntimeProjectAttachmentRequest

DeleteRuntimeProjectAttachmentRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getRuntimeProjectAttachment(request, callback) → {undefined}

Calls GetRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.IGetRuntimeProjectAttachmentRequest

GetRuntimeProjectAttachmentRequest message or plain object

callback google.cloud.apihub.v1.RuntimeProjectAttachmentService.GetRuntimeProjectAttachmentCallback

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

Returns:
Type Description
undefined

getRuntimeProjectAttachment(request) → {Promise.<google.cloud.apihub.v1.RuntimeProjectAttachment>}

Calls GetRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.IGetRuntimeProjectAttachmentRequest

GetRuntimeProjectAttachmentRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.apihub.v1.RuntimeProjectAttachment>

Promise

listRuntimeProjectAttachments(request, callback) → {undefined}

Calls ListRuntimeProjectAttachments.

Parameters:
Name Type Description
request google.cloud.apihub.v1.IListRuntimeProjectAttachmentsRequest

ListRuntimeProjectAttachmentsRequest message or plain object

callback google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachmentsCallback

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

Returns:
Type Description
undefined

listRuntimeProjectAttachments(request) → {Promise.<google.cloud.apihub.v1.ListRuntimeProjectAttachmentsResponse>}

Calls ListRuntimeProjectAttachments.

Parameters:
Name Type Description
request google.cloud.apihub.v1.IListRuntimeProjectAttachmentsRequest

ListRuntimeProjectAttachmentsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.apihub.v1.ListRuntimeProjectAttachmentsResponse>

Promise

lookupRuntimeProjectAttachment(request, callback) → {undefined}

Calls LookupRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.ILookupRuntimeProjectAttachmentRequest

LookupRuntimeProjectAttachmentRequest message or plain object

callback google.cloud.apihub.v1.RuntimeProjectAttachmentService.LookupRuntimeProjectAttachmentCallback

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

Returns:
Type Description
undefined

lookupRuntimeProjectAttachment(request) → {Promise.<google.cloud.apihub.v1.LookupRuntimeProjectAttachmentResponse>}

Calls LookupRuntimeProjectAttachment.

Parameters:
Name Type Description
request google.cloud.apihub.v1.ILookupRuntimeProjectAttachmentRequest

LookupRuntimeProjectAttachmentRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.apihub.v1.LookupRuntimeProjectAttachmentResponse>

Promise

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

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

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CreateRuntimeProjectAttachmentCallback(error, responseopt)

Callback as used by createRuntimeProjectAttachment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.apihub.v1.RuntimeProjectAttachment <optional>

RuntimeProjectAttachment

DeleteRuntimeProjectAttachmentCallback(error, responseopt)

Callback as used by deleteRuntimeProjectAttachment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetRuntimeProjectAttachmentCallback(error, responseopt)

Callback as used by getRuntimeProjectAttachment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.apihub.v1.RuntimeProjectAttachment <optional>

RuntimeProjectAttachment

ListRuntimeProjectAttachmentsCallback(error, responseopt)

Callback as used by listRuntimeProjectAttachments.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.apihub.v1.ListRuntimeProjectAttachmentsResponse <optional>

ListRuntimeProjectAttachmentsResponse

LookupRuntimeProjectAttachmentCallback(error, responseopt)

Callback as used by lookupRuntimeProjectAttachment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.apihub.v1.LookupRuntimeProjectAttachmentResponse <optional>

LookupRuntimeProjectAttachmentResponse