Class: UpdateWorkerVersioningRulesRequest
workflowservice.v1.UpdateWorkerVersioningRulesRequest
(-- api-linter: core::0134::request-mask-required=disabled aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --) (-- api-linter: core::0134::request-resource-required=disabled aip.dev/not-precedent: GetWorkerBuildIdCompatibilityRequest RPC doesn't follow Google API format. --)
Implements
Constructors
constructor
• new UpdateWorkerVersioningRulesRequest(properties?
): UpdateWorkerVersioningRulesRequest
Constructs a new UpdateWorkerVersioningRulesRequest.
Parameters
Name | Type | Description |
---|---|---|
properties? | IUpdateWorkerVersioningRulesRequest | Properties to set |
Returns
UpdateWorkerVersioningRulesRequest
Properties
addCompatibleRedirectRule
• Optional
addCompatibleRedirectRule: null
| IAddCompatibleBuildIdRedirectRule
UpdateWorkerVersioningRulesRequest addCompatibleRedirectRule.
Implementation of
IUpdateWorkerVersioningRulesRequest.addCompatibleRedirectRule
commitBuildId
• Optional
commitBuildId: null
| ICommitBuildId
UpdateWorkerVersioningRulesRequest commitBuildId.
Implementation of
IUpdateWorkerVersioningRulesRequest.commitBuildId
conflictToken
• conflictToken: Uint8Array
A valid conflict_token can be taken from the previous ListWorkerVersioningRulesResponse or UpdateWorkerVersioningRulesResponse. An invalid token will cause this request to fail, ensuring that if the rules for this Task Queue have been modified between the previous and current operation, the request will fail instead of causing an unpredictable mutation.
Implementation of
IUpdateWorkerVersioningRulesRequest.conflictToken
deleteAssignmentRule
• Optional
deleteAssignmentRule: null
| IDeleteBuildIdAssignmentRule
UpdateWorkerVersioningRulesRequest deleteAssignmentRule.
Implementation of
IUpdateWorkerVersioningRulesRequest.deleteAssignmentRule
deleteCompatibleRedirectRule
• Optional
deleteCompatibleRedirectRule: null
| IDeleteCompatibleBuildIdRedirectRule
UpdateWorkerVersioningRulesRequest deleteCompatibleRedirectRule.
Implementation of
IUpdateWorkerVersioningRulesRequest.deleteCompatibleRedirectRule
insertAssignmentRule
• Optional
insertAssignmentRule: null
| IInsertBuildIdAssignmentRule
UpdateWorkerVersioningRulesRequest insertAssignmentRule.
Implementation of
IUpdateWorkerVersioningRulesRequest.insertAssignmentRule
namespace
• namespace: string
UpdateWorkerVersioningRulesRequest namespace.
Implementation of
IUpdateWorkerVersioningRulesRequest.namespace
operation
• Optional
operation: "insertAssignmentRule"
| "replaceAssignmentRule"
| "deleteAssignmentRule"
| "addCompatibleRedirectRule"
| "replaceCompatibleRedirectRule"
| "deleteCompatibleRedirectRule"
| "commitBuildId"
UpdateWorkerVersioningRulesRequest operation.
replaceAssignmentRule
• Optional
replaceAssignmentRule: null
| IReplaceBuildIdAssignmentRule
UpdateWorkerVersioningRulesRequest replaceAssignmentRule.
Implementation of
IUpdateWorkerVersioningRulesRequest.replaceAssignmentRule
replaceCompatibleRedirectRule
• Optional
replaceCompatibleRedirectRule: null
| IReplaceCompatibleBuildIdRedirectRule
UpdateWorkerVersioningRulesRequest replaceCompatibleRedirectRule.
Implementation of
IUpdateWorkerVersioningRulesRequest.replaceCompatibleRedirectRule
taskQueue
• taskQueue: string
UpdateWorkerVersioningRulesRequest taskQueue.
Implementation of
IUpdateWorkerVersioningRulesRequest.taskQueue
Methods
toJSON
▸ toJSON(): Object
Converts this UpdateWorkerVersioningRulesRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): UpdateWorkerVersioningRulesRequest
Creates a new UpdateWorkerVersioningRulesRequest instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IUpdateWorkerVersioningRulesRequest | Properties to set |
Returns
UpdateWorkerVersioningRulesRequest
UpdateWorkerVersioningRulesRequest instance
decode
▸ decode(reader
, length?
): UpdateWorkerVersioningRulesRequest
Decodes an UpdateWorkerVersioningRulesRequest 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
UpdateWorkerVersioningRulesRequest
UpdateWorkerVersioningRulesRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): UpdateWorkerVersioningRulesRequest
Decodes an UpdateWorkerVersioningRulesRequest message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
UpdateWorkerVersioningRulesRequest
UpdateWorkerVersioningRulesRequest
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 UpdateWorkerVersioningRulesRequest message. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IUpdateWorkerVersioningRulesRequest | UpdateWorkerVersioningRulesRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message
, writer?
): Writer
Encodes the specified UpdateWorkerVersioningRulesRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IUpdateWorkerVersioningRulesRequest | UpdateWorkerVersioningRulesRequest message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object
): UpdateWorkerVersioningRulesRequest
Creates an UpdateWorkerVersioningRulesRequest message from a plain object. Also converts values to their respective internal types.
Parameters
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
UpdateWorkerVersioningRulesRequest
UpdateWorkerVersioningRulesRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for UpdateWorkerVersioningRulesRequest
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 UpdateWorkerVersioningRulesRequest message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | UpdateWorkerVersioningRulesRequest | UpdateWorkerVersioningRulesRequest |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object