Class: UpdateNamespaceExportSinkRequest
cloudservice.v1.UpdateNamespaceExportSinkRequest
Represents an UpdateNamespaceExportSinkRequest.
Implements
Constructors
constructor
• new UpdateNamespaceExportSinkRequest(properties?
): UpdateNamespaceExportSinkRequest
Constructs a new UpdateNamespaceExportSinkRequest.
Parameters
Name | Type | Description |
---|---|---|
properties? | IUpdateNamespaceExportSinkRequest | Properties to set |
Returns
UpdateNamespaceExportSinkRequest
Properties
asyncOperationId
• asyncOperationId: string
The ID to use for this async operation - optional.
Implementation of
IUpdateNamespaceExportSinkRequest.asyncOperationId
namespace
• namespace: string
The namespace to which the sink belongs.
Implementation of
IUpdateNamespaceExportSinkRequest.namespace
resourceVersion
• resourceVersion: string
The version of the sink to update. The latest version can be retrieved using the GetNamespaceExportSink call.
Implementation of
IUpdateNamespaceExportSinkRequest.resourceVersion
spec
• Optional
spec: null
| IExportSinkSpec
The updated export sink specification.
Implementation of
IUpdateNamespaceExportSinkRequest.spec
Methods
toJSON
▸ toJSON(): Object
Converts this UpdateNamespaceExportSinkRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): UpdateNamespaceExportSinkRequest
Creates a new UpdateNamespaceExportSinkRequest instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IUpdateNamespaceExportSinkRequest | Properties to set |
Returns
UpdateNamespaceExportSinkRequest
UpdateNamespaceExportSinkRequest instance
decode
▸ decode(reader
, length?
): UpdateNamespaceExportSinkRequest
Decodes an UpdateNamespaceExportSinkRequest message from the specified reader or buffer.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
UpdateNamespaceExportSinkRequest
UpdateNamespaceExportSinkRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): UpdateNamespaceExportSinkRequest
Decodes an UpdateNamespaceExportSinkRequest message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
UpdateNamespaceExportSinkRequest
UpdateNamespaceExportSinkRequest
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 UpdateNamespaceExportSinkRequest message. Does not implicitly temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IUpdateNamespaceExportSinkRequest | UpdateNamespaceExportSinkRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message
, writer?
): Writer
Encodes the specified UpdateNamespaceExportSinkRequest message, length delimited. Does not implicitly temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IUpdateNamespaceExportSinkRequest | UpdateNamespaceExportSinkRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object
): UpdateNamespaceExportSinkRequest
Creates an UpdateNamespaceExportSinkRequest message from a plain object. Also converts values to their respective internal types.
Parameters
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
UpdateNamespaceExportSinkRequest
UpdateNamespaceExportSinkRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for UpdateNamespaceExportSinkRequest
Parameters
Name | Type | Description |
---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
toObject
▸ toObject(message
, options?
): Object
Creates a plain object from an UpdateNamespaceExportSinkRequest message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | UpdateNamespaceExportSinkRequest | UpdateNamespaceExportSinkRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object