Skip to main content

Class: GetAccountAuditLogSinkResponse

cloudservice.v1.GetAccountAuditLogSinkResponse

Represents a GetAccountAuditLogSinkResponse.

Properties​

sink​

• Optional sink: null | $Properties

The audit log sink retrieved.

Methods​

toJSON​

▸ toJSON(): Object

Converts this GetAccountAuditLogSinkResponse to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): GetAccountAuditLogSinkResponse & $Shape

Creates a new GetAccountAuditLogSinkResponse instance using the specified properties.

Parameters​

NameTypeDescription
properties?$ShapeProperties to set

Returns​

GetAccountAuditLogSinkResponse & $Shape

GetAccountAuditLogSinkResponse instance

▸ create(properties?): GetAccountAuditLogSinkResponse

Parameters​

NameType
properties?$Properties

Returns​

GetAccountAuditLogSinkResponse


decode​

▸ decode(reader, length?): GetAccountAuditLogSinkResponse & $Shape

Decodes a GetAccountAuditLogSinkResponse message from the specified reader or buffer.

Parameters​

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

Returns​

GetAccountAuditLogSinkResponse & $Shape

GetAccountAuditLogSinkResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): GetAccountAuditLogSinkResponse & $Shape

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

GetAccountAuditLogSinkResponse & $Shape

GetAccountAuditLogSinkResponse

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 GetAccountAuditLogSinkResponse message. Does not implicitly temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse.verify|verify messages.

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): GetAccountAuditLogSinkResponse

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

GetAccountAuditLogSinkResponse

GetAccountAuditLogSinkResponse


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageGetAccountAuditLogSinkResponseGetAccountAuditLogSinkResponse
options?IConversionOptionsConversion options

Returns​

Object

Plain object