Skip to main content

Class: UpdateNamespaceTagsRequest

cloudservice.v1.UpdateNamespaceTagsRequest

Represents an UpdateNamespaceTagsRequest.

Properties​

asyncOperationId​

• asyncOperationId: string

The id to use for this async operation - optional.


namespace​

• namespace: string

The namespace to set tags for.


tagsToRemove​

• tagsToRemove: string[]

A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored. At least one of tags_to_upsert or tags_to_remove must be specified.


tagsToUpsert​

• tagsToUpsert: Object

A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated. At least one of tags_to_upsert or tags_to_remove must be specified.

Index signature​

▪ [k: string]: string

Methods​

toJSON​

▸ toJSON(): Object

Converts this UpdateNamespaceTagsRequest to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): UpdateNamespaceTagsRequest & $Properties

Creates a new UpdateNamespaceTagsRequest instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

UpdateNamespaceTagsRequest & $Properties

UpdateNamespaceTagsRequest instance

▸ create(properties?): UpdateNamespaceTagsRequest

Parameters​

NameType
properties?$Properties

Returns​

UpdateNamespaceTagsRequest


decode​

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

Decodes an UpdateNamespaceTagsRequest message from the specified reader or buffer.

Parameters​

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

Returns​

UpdateNamespaceTagsRequest & $Properties

UpdateNamespaceTagsRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): UpdateNamespaceTagsRequest & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

UpdateNamespaceTagsRequest & $Properties

UpdateNamespaceTagsRequest

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

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): UpdateNamespaceTagsRequest

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

UpdateNamespaceTagsRequest

UpdateNamespaceTagsRequest


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageUpdateNamespaceTagsRequestUpdateNamespaceTagsRequest
options?IConversionOptionsConversion options

Returns​

Object

Plain object