Temporal Docs PHP SDK API Version 2.20 (latest release) Release notes

Documentation

OperatorClientInterface extends GrpcClientInterface

Table of Contents

Methods

AddOrUpdateRemoteCluster()  : AddOrUpdateRemoteClusterResponse
AddOrUpdateRemoteCluster adds or updates remote cluster.
AddSearchAttributes()  : AddSearchAttributesResponse
AddSearchAttributes add custom search attributes.
close()  : void
Close the communication channel associated with this stub.
CreateNexusEndpoint()  : CreateNexusEndpointResponse
Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of ALREADY_EXISTS.
DeleteNamespace()  : DeleteNamespaceResponse
DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.
DeleteNexusEndpoint()  : DeleteNexusEndpointResponse
Delete an incoming Nexus service by ID.
getConnection()  : ConnectionInterface
getContext()  : ContextInterface
GetNexusEndpoint()  : GetNexusEndpointResponse
Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.
ListClusters()  : ListClustersResponse
ListClusters returns information about Temporal clusters.
ListNexusEndpoints()  : ListNexusEndpointsResponse
List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results.
ListSearchAttributes()  : ListSearchAttributesResponse
ListSearchAttributes returns comprehensive information about search attributes.
RemoveRemoteCluster()  : RemoveRemoteClusterResponse
RemoveRemoteCluster removes remote cluster.
RemoveSearchAttributes()  : RemoveSearchAttributesResponse
RemoveSearchAttributes removes custom search attributes.
UpdateNexusEndpoint()  : UpdateNexusEndpointResponse
Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match.
withAuthKey()  : static
withContext()  : static

Methods

AddOrUpdateRemoteCluster()

AddOrUpdateRemoteCluster adds or updates remote cluster.

public AddOrUpdateRemoteCluster(AddOrUpdateRemoteClusterRequest $arg[, ContextInterface|null $ctx = null ]) : AddOrUpdateRemoteClusterResponse
Parameters
$arg : AddOrUpdateRemoteClusterRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
AddOrUpdateRemoteClusterResponse

AddSearchAttributes()

AddSearchAttributes add custom search attributes.

public AddSearchAttributes(AddSearchAttributesRequest $arg[, ContextInterface|null $ctx = null ]) : AddSearchAttributesResponse

Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails,

Parameters
$arg : AddSearchAttributesRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
AddSearchAttributesResponse

close()

Close the communication channel associated with this stub.

public close() : void

CreateNexusEndpoint()

Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of ALREADY_EXISTS.

public CreateNexusEndpoint(CreateNexusEndpointRequest $arg[, ContextInterface|null $ctx = null ]) : CreateNexusEndpointResponse

Returns the created endpoint with its initial version. You may use this version for subsequent updates.

Parameters
$arg : CreateNexusEndpointRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateNexusEndpointResponse

DeleteNamespace()

DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.

public DeleteNamespace(DeleteNamespaceRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteNamespaceResponse
Parameters
$arg : DeleteNamespaceRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteNamespaceResponse

GetNexusEndpoint()

Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates.

public GetNexusEndpoint(GetNexusEndpointRequest $arg[, ContextInterface|null $ctx = null ]) : GetNexusEndpointResponse
Parameters
$arg : GetNexusEndpointRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetNexusEndpointResponse

ListNexusEndpoints()

List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results.

public ListNexusEndpoints(ListNexusEndpointsRequest $arg[, ContextInterface|null $ctx = null ]) : ListNexusEndpointsResponse

An empty next_page_token indicates that there are no more results. During pagination, a newly added service with an ID lexicographically earlier than the previous page's last endpoint's ID may be missed.

Parameters
$arg : ListNexusEndpointsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
ListNexusEndpointsResponse

ListSearchAttributes()

ListSearchAttributes returns comprehensive information about search attributes.

public ListSearchAttributes(ListSearchAttributesRequest $arg[, ContextInterface|null $ctx = null ]) : ListSearchAttributesResponse
Parameters
$arg : ListSearchAttributesRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
ListSearchAttributesResponse

RemoveSearchAttributes()

RemoveSearchAttributes removes custom search attributes.

public RemoveSearchAttributes(RemoveSearchAttributesRequest $arg[, ContextInterface|null $ctx = null ]) : RemoveSearchAttributesResponse

Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered

Parameters
$arg : RemoveSearchAttributesRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
RemoveSearchAttributesResponse

UpdateNexusEndpoint()

Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match.

public UpdateNexusEndpoint(UpdateNexusEndpointRequest $arg[, ContextInterface|null $ctx = null ]) : UpdateNexusEndpointResponse

Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update.

Parameters
$arg : UpdateNexusEndpointRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
UpdateNexusEndpointResponse

withAuthKey()

public withAuthKey(Stringable|string $key) : static
Parameters
$key : Stringable|string
Return values
static
On this page

Search results