Class: 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()
Call Signature
staticcreate(properties?):UpdateNamespaceTagsRequest&$Properties
Creates a new UpdateNamespaceTagsRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UpdateNamespaceTagsRequest & $Properties
UpdateNamespaceTagsRequest instance
Call Signature
staticcreate(properties?):UpdateNamespaceTagsRequest
Creates a new UpdateNamespaceTagsRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UpdateNamespaceTagsRequest
UpdateNamespaceTagsRequest instance
decode()
staticdecode(reader,length?):UpdateNamespaceTagsRequest&$Properties
Decodes an UpdateNamespaceTagsRequest 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
UpdateNamespaceTagsRequest & $Properties
UpdateNamespaceTagsRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):UpdateNamespaceTagsRequest&$Properties
Decodes an UpdateNamespaceTagsRequest message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader 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()
staticencode(message,writer?):Writer
Encodes the specified UpdateNamespaceTagsRequest message. Does not implicitly temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.verify|verify messages.
Parameters
message
UpdateNamespaceTagsRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified UpdateNamespaceTagsRequest message, length delimited. Does not implicitly temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.verify|verify messages.
Parameters
message
UpdateNamespaceTagsRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):UpdateNamespaceTagsRequest
Creates an UpdateNamespaceTagsRequest message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
UpdateNamespaceTagsRequest
UpdateNamespaceTagsRequest
toObject()
statictoObject(message,options?):object
Creates a plain object from an UpdateNamespaceTagsRequest message. Also converts values to other types if specified.
Parameters
message
UpdateNamespaceTagsRequest
UpdateNamespaceTagsRequest
options?
IConversionOptions
Conversion options
Returns
object
Plain object