Skip to main content

Class: ExportSink

namespace.v1.ExportSink

Represents an ExportSink.

Properties​

errorMessage​

• errorMessage: string

An error message describing any issues with the export sink, if applicable.


health​

• health: Health

The health status of the export sink.


lastHealthCheckTime​

• Optional lastHealthCheckTime: null | $Properties

The timestamp of the last health check performed on the export sink.


latestDataExportTime​

• Optional latestDataExportTime: null | $Properties

The timestamp of the latest successful data export.


name​

• name: string

The unique name of the export sink, once set it can't be changed


resourceVersion​

• resourceVersion: string

The version of the export sink resource.


spec​

• Optional spec: null | $Properties

The specification details of the export sink.


state​

• state: ResourceState

The current state of the export sink.

Methods​

toJSON​

▸ toJSON(): Object

Converts this ExportSink to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): ExportSink & $Properties

Creates a new ExportSink instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

ExportSink & $Properties

ExportSink instance

▸ create(properties?): ExportSink

Parameters​

NameType
properties?$Properties

Returns​

ExportSink


decode​

▸ decode(reader, length?): ExportSink & $Properties

Decodes an ExportSink message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns​

ExportSink & $Properties

ExportSink

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): ExportSink & $Properties

Decodes an ExportSink message from the specified reader or buffer, length delimited.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

ExportSink & $Properties

ExportSink

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode​

▸ encode(message, writer?): Writer

Encodes the specified ExportSink message. Does not implicitly temporal.api.cloud.namespace.v1.ExportSink.verify|verify messages.

Parameters​

NameTypeDescription
message$PropertiesExportSink message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

NameTypeDescription
message$PropertiesExportSink message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): ExportSink

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

ExportSink

ExportSink


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageExportSinkExportSink
options?IConversionOptionsConversion options

Returns​

Object

Plain object