Skip to main content

Class: PublicConnectivityRule

A public connectivity rule allows access to the namespace via the public internet.

Properties​

enableStableIps​

enableStableIps: boolean

Flag to determine namespace is connected via a predictable set of IPs on public internet temporal:versioning:min_version=v0.15.0

Methods​

toJSON()​

toJSON(): object

Converts this PublicConnectivityRule to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): PublicConnectivityRule & $Properties

Creates a new PublicConnectivityRule instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

PublicConnectivityRule & $Properties

PublicConnectivityRule instance

Call Signature​

static create(properties?): PublicConnectivityRule

Creates a new PublicConnectivityRule instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

PublicConnectivityRule

PublicConnectivityRule instance


decode()​

static decode(reader, length?): PublicConnectivityRule & $Properties

Decodes a PublicConnectivityRule message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

PublicConnectivityRule & $Properties

PublicConnectivityRule

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): PublicConnectivityRule & $Properties

Decodes a PublicConnectivityRule message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

PublicConnectivityRule & $Properties

PublicConnectivityRule

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified PublicConnectivityRule message. Does not implicitly temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule.verify|verify messages.

Parameters​

message​

$Properties

PublicConnectivityRule message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified PublicConnectivityRule message, length delimited. Does not implicitly temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule.verify|verify messages.

Parameters​

message​

$Properties

PublicConnectivityRule message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): PublicConnectivityRule

Creates a PublicConnectivityRule message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

{[k: string]: any; }

Plain object

Returns​

PublicConnectivityRule

PublicConnectivityRule


toObject()​

static toObject(message, options?): object

Creates a plain object from a PublicConnectivityRule message. Also converts values to other types if specified.

Parameters​

message​

PublicConnectivityRule

PublicConnectivityRule

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object