Skip to main content

Class: DeleteConnectivityRuleResponse

cloudservice.v1.DeleteConnectivityRuleResponse

Represents a DeleteConnectivityRuleResponse.

Implements

Constructors

constructor

new DeleteConnectivityRuleResponse(properties?): DeleteConnectivityRuleResponse

Constructs a new DeleteConnectivityRuleResponse.

Parameters

NameTypeDescription
properties?IDeleteConnectivityRuleResponseProperties to set

Returns

DeleteConnectivityRuleResponse

Properties

asyncOperation

Optional asyncOperation: null | IAsyncOperation

The async operation

Implementation of

IDeleteConnectivityRuleResponse.asyncOperation

Methods

toJSON

toJSON(): Object

Converts this DeleteConnectivityRuleResponse to JSON.

Returns

Object

JSON object


create

create(properties?): DeleteConnectivityRuleResponse

Creates a new DeleteConnectivityRuleResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?IDeleteConnectivityRuleResponseProperties to set

Returns

DeleteConnectivityRuleResponse

DeleteConnectivityRuleResponse instance


decode

decode(reader, length?): DeleteConnectivityRuleResponse

Decodes a DeleteConnectivityRuleResponse message from the specified reader or buffer.

Parameters

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

Returns

DeleteConnectivityRuleResponse

DeleteConnectivityRuleResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DeleteConnectivityRuleResponse

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DeleteConnectivityRuleResponse

DeleteConnectivityRuleResponse

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

Parameters

NameTypeDescription
messageIDeleteConnectivityRuleResponseDeleteConnectivityRuleResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
messageIDeleteConnectivityRuleResponseDeleteConnectivityRuleResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): DeleteConnectivityRuleResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DeleteConnectivityRuleResponse

DeleteConnectivityRuleResponse


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DeleteConnectivityRuleResponse

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageDeleteConnectivityRuleResponseDeleteConnectivityRuleResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object