Skip to main content

GCPPubSubParameters

@webda/gcp


Class: GCPPubSubParameters

Defined in: gcp/src/services/pubsub.service.ts:8

Configuration for GCPPubSubService

Extends​

  • ServiceParameters

Constructors​

Constructor​

new GCPPubSubParameters(): GCPPubSubParameters

Returns​

GCPPubSubParameters

Inherited from​

ServiceParameters.constructor

Properties​

subscriptionOptions?​

optional subscriptionOptions?: CreateSubscriptionOptions

Defined in: gcp/src/services/pubsub.service.ts:16

Subscription options to pass to GCP


topic​

topic: string

Defined in: gcp/src/services/pubsub.service.ts:12

Topic to use on GCP


type​

type: string

Defined in: core/lib/services/serviceparameters.d.ts:8

Type of the service

Inherited from​

ServiceParameters.type

Methods​

load()​

load(params?): this

Defined in: core/lib/services/serviceparameters.d.ts:18

Load raw parameters by assigning them onto this instance

Parameters​

params?​

any

the service parameters

Returns​

this

this for chaining

Inherited from​

ServiceParameters.load


update()​

update(params, delta): this

Defined in: core/lib/services/serviceparameters.d.ts:25

Update parameters and call watchers if a parameter was changed

Parameters​

params​

any

the service parameters

delta​

any

the delta

Returns​

this

this for chaining

Inherited from​

ServiceParameters.update


with()​

with(callback): this

Defined in: core/lib/services/serviceparameters.d.ts:31

Watch for changes on the parameters and call watchers when a parameter is changed

Parameters​

callback​

(params) => void

the callback function

Returns​

this

this for chaining

Inherited from​

ServiceParameters.with