Skip to main content

Class: GetConnectivityRulesRequest

cloudservice.v1.GetConnectivityRulesRequest

Represents a GetConnectivityRulesRequest.

Properties

namespace

namespace: string

Filter connectivity rule by the namespace id.


pageSize

pageSize: number

The requested size of the page to retrieve. Optional, defaults to 100.


pageToken

pageToken: string

The page token if this is continuing from another response. Optional, defaults to empty.

Methods

toJSON

toJSON(): Object

Converts this GetConnectivityRulesRequest to JSON.

Returns

Object

JSON object


create

create(properties?): GetConnectivityRulesRequest & $Properties

Creates a new GetConnectivityRulesRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

GetConnectivityRulesRequest & $Properties

GetConnectivityRulesRequest instance

create(properties?): GetConnectivityRulesRequest

Parameters

NameType
properties?$Properties

Returns

GetConnectivityRulesRequest


decode

decode(reader, length?): GetConnectivityRulesRequest & $Properties

Decodes a GetConnectivityRulesRequest message from the specified reader or buffer.

Parameters

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

Returns

GetConnectivityRulesRequest & $Properties

GetConnectivityRulesRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): GetConnectivityRulesRequest & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

GetConnectivityRulesRequest & $Properties

GetConnectivityRulesRequest

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): GetConnectivityRulesRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

GetConnectivityRulesRequest

GetConnectivityRulesRequest


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageGetConnectivityRulesRequestGetConnectivityRulesRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object