Class: ExportSinkSpec
Represents an ExportSinkSpec.
Properties
enabled
enabled:
boolean
A flag indicating whether the export sink is enabled or not.
gcs?
optionalgcs?:$Properties|null
This is a feature under development. We will allow GCS sink support for GCP Namespaces. The GCS configuration details when destination_type is GCS.
name
name:
string
The unique name of the export sink, it can't be changed once set.
s3?
optionals3?:$Properties|null
The S3 configuration details when destination_type is S3.
Methods
toJSON()
toJSON():
object
Converts this ExportSinkSpec to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):ExportSinkSpec&$Properties
Creates a new ExportSinkSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ExportSinkSpec & $Properties
ExportSinkSpec instance
Call Signature
staticcreate(properties?):ExportSinkSpec
Creates a new ExportSinkSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ExportSinkSpec
ExportSinkSpec instance
decode()
staticdecode(reader,length?):ExportSinkSpec&$Properties
Decodes an ExportSinkSpec 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
ExportSinkSpec & $Properties
ExportSinkSpec
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):ExportSinkSpec&$Properties
Decodes an ExportSinkSpec message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
ExportSinkSpec & $Properties
ExportSinkSpec
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified ExportSinkSpec message. Does not implicitly temporal.api.cloud.namespace.v1.ExportSinkSpec.verify|verify messages.
Parameters
message
ExportSinkSpec message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ExportSinkSpec message, length delimited. Does not implicitly temporal.api.cloud.namespace.v1.ExportSinkSpec.verify|verify messages.
Parameters
message
ExportSinkSpec message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):ExportSinkSpec
Creates an ExportSinkSpec message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
ExportSinkSpec
ExportSinkSpec
toObject()
statictoObject(message,options?):object
Creates a plain object from an ExportSinkSpec message. Also converts values to other types if specified.
Parameters
message
ExportSinkSpec
ExportSinkSpec
options?
IConversionOptions
Conversion options
Returns
object
Plain object