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

Documentation

CloudClient extends BaseClient
in package
implements CloudClientInterface

Table of Contents

Interfaces

CloudClientInterface

Constants

RETRYABLE_ERRORS  : mixed = [\Temporal\Client\GRPC\StatusCode::RESOURCE_EXH...

Properties

$apiVersion  : string

Methods

__construct()  : mixed
AddNamespaceRegion()  : AddNamespaceRegionResponse
AddUserGroupMember()  : AddUserGroupMemberResponse
Add a member to the group, can only be used with Cloud group types.
close()  : void
Close the communication channel associated with this stub.
create()  : static
CreateAccountAuditLogSink()  : CreateAccountAuditLogSinkResponse
Create an audit log sink
CreateApiKey()  : CreateApiKeyResponse
Create an API key
CreateBillingReport()  : CreateBillingReportResponse
Create a billing report
CreateConnectivityRule()  : CreateConnectivityRuleResponse
Creates a connectivity rule
CreateCustomRole()  : CreateCustomRoleResponse
Create a custom role
CreateNamespace()  : CreateNamespaceResponse
Create a new namespace
CreateNamespaceExportSink()  : CreateNamespaceExportSinkResponse
Create an export sink
CreateNexusEndpoint()  : CreateNexusEndpointResponse
Create a nexus endpoint
CreateProject()  : CreateProjectResponse
Create a new project
CreateServiceAccount()  : CreateServiceAccountResponse
Create a service account.
createSSL()  : static
CreateUser()  : CreateUserResponse
Create a user
CreateUserGroup()  : CreateUserGroupResponse
Create new a user group
DeleteAccountAuditLogSink()  : DeleteAccountAuditLogSinkResponse
Delete an audit log sink
DeleteApiKey()  : DeleteApiKeyResponse
Delete an API key
DeleteConnectivityRule()  : DeleteConnectivityRuleResponse
Deletes a connectivity rule by id
DeleteCustomRole()  : DeleteCustomRoleResponse
Delete a custom role
DeleteNamespace()  : DeleteNamespaceResponse
Delete a namespace
DeleteNamespaceExportSink()  : DeleteNamespaceExportSinkResponse
Delete an export sink
DeleteNamespaceRegion()  : DeleteNamespaceRegionResponse
DeleteNexusEndpoint()  : DeleteNexusEndpointResponse
Delete a nexus endpoint
DeleteProject()  : DeleteProjectResponse
Delete a project
DeleteServiceAccount()  : DeleteServiceAccountResponse
Delete a service account.
DeleteUser()  : DeleteUserResponse
Delete a user
DeleteUserGroup()  : DeleteUserGroupResponse
Delete a user group
FailoverNamespaceRegion()  : FailoverNamespaceRegionResponse
Failover a multi-region namespace
GetAccount()  : GetAccountResponse
Get account information.
GetAccountAuditLogSink()  : GetAccountAuditLogSinkResponse
Get an audit log sink
GetAccountAuditLogSinks()  : GetAccountAuditLogSinksResponse
Get audit log sinks
GetApiKey()  : GetApiKeyResponse
Get an API key
GetApiKeys()  : GetApiKeysResponse
Get all known API keys
GetAsyncOperation()  : GetAsyncOperationResponse
Get the latest information on an async operation
GetAuditLogs()  : GetAuditLogsResponse
Get audit logs
GetBillingReport()  : GetBillingReportResponse
Get a billing report
getConnection()  : ConnectionInterface
Note: Experimental
GetConnectivityRule()  : GetConnectivityRuleResponse
Gets a connectivity rule by id
GetConnectivityRules()  : GetConnectivityRulesResponse
Lists connectivity rules by account
getContext()  : ContextInterface
GetCurrentIdentity()  : GetCurrentIdentityResponse
Get information about the current authenticated user or service account principal
GetCustomRole()  : GetCustomRoleResponse
Get a custom role
GetCustomRoles()  : GetCustomRolesResponse
Get custom roles
GetNamespace()  : GetNamespaceResponse
Get a namespace
GetNamespaceCapacityInfo()  : GetNamespaceCapacityInfoResponse
Get namespace capacity information
GetNamespaceExportSink()  : GetNamespaceExportSinkResponse
Get an export sink
GetNamespaceExportSinks()  : GetNamespaceExportSinksResponse
Get export sinks
GetNamespaces()  : GetNamespacesResponse
Get all namespaces
GetNexusEndpoint()  : GetNexusEndpointResponse
Get a nexus endpoint
GetNexusEndpoints()  : GetNexusEndpointsResponse
Gets nexus endpoints
GetProject()  : GetProjectResponse
Get a project
GetProjects()  : GetProjectsResponse
Get all projects
GetProjectScopedServiceAccounts()  : GetProjectScopedServiceAccountsResponse
Get service accounts scoped to a project
GetRegion()  : GetRegionResponse
Get a region
GetRegions()  : GetRegionsResponse
Get all regions
GetServiceAccount()  : GetServiceAccountResponse
Get a service account.
GetServiceAccountNamespaceAssignments()  : GetServiceAccountNamespaceAssignmentsResponse
Get service accounts with access to a namespace
GetServiceAccountProjectAssignments()  : GetServiceAccountProjectAssignmentsResponse
Get service accounts with access to a project
GetServiceAccounts()  : GetServiceAccountsResponse
Get service accounts.
GetUsage()  : GetUsageResponse
WARNING: Pre-Release Feature Get usage data across namespaces
GetUser()  : GetUserResponse
Get a user
GetUserGroup()  : GetUserGroupResponse
Get a user group
GetUserGroupMembers()  : GetUserGroupMembersResponse
GetUserGroupNamespaceAssignments()  : GetUserGroupNamespaceAssignmentsResponse
Get user groups with access to a namespace
GetUserGroupProjectAssignments()  : GetUserGroupProjectAssignmentsResponse
Get user groups with access to a project
GetUserGroups()  : GetUserGroupsResponse
Get all user groups
GetUserNamespaceAssignments()  : GetUserNamespaceAssignmentsResponse
Get users with access to a namespace
GetUserProjectAssignments()  : GetUserProjectAssignmentsResponse
Get users with access to a project
GetUsers()  : GetUsersResponse
Gets all known users
RemoveUserGroupMember()  : RemoveUserGroupMemberResponse
Remove a member from the group, can only be used with Cloud group types.
RenameCustomSearchAttribute()  : RenameCustomSearchAttributeResponse
Rename an existing customer search attribute
SetServiceAccountNamespaceAccess()  : SetServiceAccountNamespaceAccessResponse
Set a service account's access to a namespace.
SetServiceAccountProjectAccess()  : SetServiceAccountProjectAccessResponse
Set a service account's access to a project
SetUserGroupNamespaceAccess()  : SetUserGroupNamespaceAccessResponse
Set a user group's access to a namespace
SetUserGroupProjectAccess()  : SetUserGroupProjectAccessResponse
Set a user group's access to a project
SetUserNamespaceAccess()  : SetUserNamespaceAccessResponse
Set a user's access to a namespace
SetUserProjectAccess()  : SetUserProjectAccessResponse
Set a user's access to a project
UpdateAccount()  : UpdateAccountResponse
Update account information.
UpdateAccountAuditLogSink()  : UpdateAccountAuditLogSinkResponse
Update an audit log sink
UpdateApiKey()  : UpdateApiKeyResponse
Update an API key
UpdateCustomRole()  : UpdateCustomRoleResponse
Update a custom role
UpdateNamespace()  : UpdateNamespaceResponse
Update a namespace
UpdateNamespaceExportSink()  : UpdateNamespaceExportSinkResponse
Update an export sink
UpdateNamespaceTags()  : UpdateNamespaceTagsResponse
Update the tags for a namespace
UpdateNexusEndpoint()  : UpdateNexusEndpointResponse
Update a nexus endpoint
UpdateProject()  : UpdateProjectResponse
Update a project
UpdateServiceAccount()  : UpdateServiceAccountResponse
Update a service account.
UpdateUser()  : UpdateUserResponse
Update a user
UpdateUserGroup()  : UpdateUserGroupResponse
Update a user group
ValidateAccountAuditLogSink()  : ValidateAccountAuditLogSinkResponse
Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink.
ValidateNamespaceExportSink()  : ValidateNamespaceExportSinkResponse
Validates an export sink configuration by delivering an empty test file to the specified sink.
withApiVersion()  : static
Pin the Cloud Operations API version.
withAuthKey()  : static
Set the authentication token for the service client.
withContext()  : static
withInterceptorPipeline()  : static
withPayloadLimits()  : static
createGrpcStub()  : BaseStub
invoke()  : mixed

Constants

RETRYABLE_ERRORS

public mixed RETRYABLE_ERRORS = [\Temporal\Client\GRPC\StatusCode::RESOURCE_EXHAUSTED, \Temporal\Client\GRPC\StatusCode::UNAVAILABLE, \Temporal\Client\GRPC\StatusCode::UNKNOWN]

Properties

Methods

__construct()

public final __construct(BaseStub|callable(): BaseStub $serviceClient) : mixed
Parameters
$serviceClient : BaseStub|callable(): BaseStub

Service Client or its factory

Tags
private

Use static factory methods instead

see
self::create()
self::createSSL()

AddUserGroupMember()

Add a member to the group, can only be used with Cloud group types.

public AddUserGroupMember(AddUserGroupMemberRequest $arg[, ContextInterface|null $ctx = null ]) : AddUserGroupMemberResponse
Parameters
$arg : AddUserGroupMemberRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
AddUserGroupMemberResponse

close()

Close the communication channel associated with this stub.

public close() : void

create()

public static create(non-empty-string $address) : static
Parameters
$address : non-empty-string

Temporal service address in format host:port

Tags
psalm-suppress

UndefinedClass

Return values
static

CreateAccountAuditLogSink()

Create an audit log sink

public CreateAccountAuditLogSink(CreateAccountAuditLogSinkRequest $arg[, ContextInterface|null $ctx = null ]) : CreateAccountAuditLogSinkResponse
Parameters
$arg : CreateAccountAuditLogSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateAccountAuditLogSinkResponse

CreateBillingReport()

Create a billing report

public CreateBillingReport(CreateBillingReportRequest $arg[, ContextInterface|null $ctx = null ]) : CreateBillingReportResponse
Parameters
$arg : CreateBillingReportRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateBillingReportResponse

CreateConnectivityRule()

Creates a connectivity rule

public CreateConnectivityRule(CreateConnectivityRuleRequest $arg[, ContextInterface|null $ctx = null ]) : CreateConnectivityRuleResponse
Parameters
$arg : CreateConnectivityRuleRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateConnectivityRuleResponse

CreateNamespaceExportSink()

Create an export sink

public CreateNamespaceExportSink(CreateNamespaceExportSinkRequest $arg[, ContextInterface|null $ctx = null ]) : CreateNamespaceExportSinkResponse
Parameters
$arg : CreateNamespaceExportSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateNamespaceExportSinkResponse

CreateNexusEndpoint()

Create a nexus endpoint

public CreateNexusEndpoint(CreateNexusEndpointRequest $arg[, ContextInterface|null $ctx = null ]) : CreateNexusEndpointResponse
Parameters
$arg : CreateNexusEndpointRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateNexusEndpointResponse

CreateServiceAccount()

Create a service account.

public CreateServiceAccount(CreateServiceAccountRequest $arg[, ContextInterface|null $ctx = null ]) : CreateServiceAccountResponse
Parameters
$arg : CreateServiceAccountRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
CreateServiceAccountResponse

createSSL()

public static createSSL(non-empty-string $address[, non-empty-string|null $crt = null ][, non-empty-string|null $clientKey = null ][, non-empty-string|null $clientPem = null ][, non-empty-string|null $overrideServerName = null ]) : static
Parameters
$address : non-empty-string

Temporal service address in format host:port

$crt : non-empty-string|null = null

Root certificates string or file in PEM format. If null provided, default gRPC root certificates are used.

$clientKey : non-empty-string|null = null

Client private key string or file in PEM format.

$clientPem : non-empty-string|null = null

Client certificate chain string or file in PEM format.

$overrideServerName : non-empty-string|null = null
Tags
psalm-suppress

UndefinedClass

UnusedVariable

Return values
static

DeleteAccountAuditLogSink()

Delete an audit log sink

public DeleteAccountAuditLogSink(DeleteAccountAuditLogSinkRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteAccountAuditLogSinkResponse
Parameters
$arg : DeleteAccountAuditLogSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteAccountAuditLogSinkResponse

DeleteConnectivityRule()

Deletes a connectivity rule by id

public DeleteConnectivityRule(DeleteConnectivityRuleRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteConnectivityRuleResponse
Parameters
$arg : DeleteConnectivityRuleRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteConnectivityRuleResponse

DeleteNamespaceExportSink()

Delete an export sink

public DeleteNamespaceExportSink(DeleteNamespaceExportSinkRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteNamespaceExportSinkResponse
Parameters
$arg : DeleteNamespaceExportSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteNamespaceExportSinkResponse

DeleteNamespaceRegion()

public DeleteNamespaceRegion(DeleteNamespaceRegionRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteNamespaceRegionResponse
Parameters
$arg : DeleteNamespaceRegionRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteNamespaceRegionResponse

DeleteNexusEndpoint()

Delete a nexus endpoint

public DeleteNexusEndpoint(DeleteNexusEndpointRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteNexusEndpointResponse
Parameters
$arg : DeleteNexusEndpointRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteNexusEndpointResponse

DeleteServiceAccount()

Delete a service account.

public DeleteServiceAccount(DeleteServiceAccountRequest $arg[, ContextInterface|null $ctx = null ]) : DeleteServiceAccountResponse
Parameters
$arg : DeleteServiceAccountRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
DeleteServiceAccountResponse

FailoverNamespaceRegion()

Failover a multi-region namespace

public FailoverNamespaceRegion(FailoverNamespaceRegionRequest $arg[, ContextInterface|null $ctx = null ]) : FailoverNamespaceRegionResponse
Parameters
$arg : FailoverNamespaceRegionRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
FailoverNamespaceRegionResponse

GetAccountAuditLogSink()

Get an audit log sink

public GetAccountAuditLogSink(GetAccountAuditLogSinkRequest $arg[, ContextInterface|null $ctx = null ]) : GetAccountAuditLogSinkResponse
Parameters
$arg : GetAccountAuditLogSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetAccountAuditLogSinkResponse

GetAccountAuditLogSinks()

Get audit log sinks

public GetAccountAuditLogSinks(GetAccountAuditLogSinksRequest $arg[, ContextInterface|null $ctx = null ]) : GetAccountAuditLogSinksResponse
Parameters
$arg : GetAccountAuditLogSinksRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetAccountAuditLogSinksResponse

GetAsyncOperation()

Get the latest information on an async operation

public GetAsyncOperation(GetAsyncOperationRequest $arg[, ContextInterface|null $ctx = null ]) : GetAsyncOperationResponse
Parameters
$arg : GetAsyncOperationRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetAsyncOperationResponse

GetConnectivityRule()

Gets a connectivity rule by id

public GetConnectivityRule(GetConnectivityRuleRequest $arg[, ContextInterface|null $ctx = null ]) : GetConnectivityRuleResponse
Parameters
$arg : GetConnectivityRuleRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetConnectivityRuleResponse

GetConnectivityRules()

Lists connectivity rules by account

public GetConnectivityRules(GetConnectivityRulesRequest $arg[, ContextInterface|null $ctx = null ]) : GetConnectivityRulesResponse
Parameters
$arg : GetConnectivityRulesRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetConnectivityRulesResponse

GetCurrentIdentity()

Get information about the current authenticated user or service account principal

public GetCurrentIdentity(GetCurrentIdentityRequest $arg[, ContextInterface|null $ctx = null ]) : GetCurrentIdentityResponse
Parameters
$arg : GetCurrentIdentityRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetCurrentIdentityResponse

GetNamespaceCapacityInfo()

Get namespace capacity information

public GetNamespaceCapacityInfo(GetNamespaceCapacityInfoRequest $arg[, ContextInterface|null $ctx = null ]) : GetNamespaceCapacityInfoResponse
Parameters
$arg : GetNamespaceCapacityInfoRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetNamespaceCapacityInfoResponse

GetNamespaceExportSink()

Get an export sink

public GetNamespaceExportSink(GetNamespaceExportSinkRequest $arg[, ContextInterface|null $ctx = null ]) : GetNamespaceExportSinkResponse
Parameters
$arg : GetNamespaceExportSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetNamespaceExportSinkResponse

GetNamespaceExportSinks()

Get export sinks

public GetNamespaceExportSinks(GetNamespaceExportSinksRequest $arg[, ContextInterface|null $ctx = null ]) : GetNamespaceExportSinksResponse
Parameters
$arg : GetNamespaceExportSinksRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetNamespaceExportSinksResponse

GetProjectScopedServiceAccounts()

Get service accounts scoped to a project

public GetProjectScopedServiceAccounts(GetProjectScopedServiceAccountsRequest $arg[, ContextInterface|null $ctx = null ]) : GetProjectScopedServiceAccountsResponse
Parameters
$arg : GetProjectScopedServiceAccountsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetProjectScopedServiceAccountsResponse

GetServiceAccountNamespaceAssignments()

Get service accounts with access to a namespace

public GetServiceAccountNamespaceAssignments(GetServiceAccountNamespaceAssignmentsRequest $arg[, ContextInterface|null $ctx = null ]) : GetServiceAccountNamespaceAssignmentsResponse
Parameters
$arg : GetServiceAccountNamespaceAssignmentsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetServiceAccountNamespaceAssignmentsResponse

GetServiceAccountProjectAssignments()

Get service accounts with access to a project

public GetServiceAccountProjectAssignments(GetServiceAccountProjectAssignmentsRequest $arg[, ContextInterface|null $ctx = null ]) : GetServiceAccountProjectAssignmentsResponse
Parameters
$arg : GetServiceAccountProjectAssignmentsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetServiceAccountProjectAssignmentsResponse

GetServiceAccounts()

Get service accounts.

public GetServiceAccounts(GetServiceAccountsRequest $arg[, ContextInterface|null $ctx = null ]) : GetServiceAccountsResponse
Parameters
$arg : GetServiceAccountsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetServiceAccountsResponse

GetUserGroupNamespaceAssignments()

Get user groups with access to a namespace

public GetUserGroupNamespaceAssignments(GetUserGroupNamespaceAssignmentsRequest $arg[, ContextInterface|null $ctx = null ]) : GetUserGroupNamespaceAssignmentsResponse
Parameters
$arg : GetUserGroupNamespaceAssignmentsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetUserGroupNamespaceAssignmentsResponse

GetUserGroupProjectAssignments()

Get user groups with access to a project

public GetUserGroupProjectAssignments(GetUserGroupProjectAssignmentsRequest $arg[, ContextInterface|null $ctx = null ]) : GetUserGroupProjectAssignmentsResponse
Parameters
$arg : GetUserGroupProjectAssignmentsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetUserGroupProjectAssignmentsResponse

GetUserNamespaceAssignments()

Get users with access to a namespace

public GetUserNamespaceAssignments(GetUserNamespaceAssignmentsRequest $arg[, ContextInterface|null $ctx = null ]) : GetUserNamespaceAssignmentsResponse
Parameters
$arg : GetUserNamespaceAssignmentsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetUserNamespaceAssignmentsResponse

GetUserProjectAssignments()

Get users with access to a project

public GetUserProjectAssignments(GetUserProjectAssignmentsRequest $arg[, ContextInterface|null $ctx = null ]) : GetUserProjectAssignmentsResponse
Parameters
$arg : GetUserProjectAssignmentsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
GetUserProjectAssignmentsResponse

RemoveUserGroupMember()

Remove a member from the group, can only be used with Cloud group types.

public RemoveUserGroupMember(RemoveUserGroupMemberRequest $arg[, ContextInterface|null $ctx = null ]) : RemoveUserGroupMemberResponse
Parameters
$arg : RemoveUserGroupMemberRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
RemoveUserGroupMemberResponse

RenameCustomSearchAttribute()

Rename an existing customer search attribute

public RenameCustomSearchAttribute(RenameCustomSearchAttributeRequest $arg[, ContextInterface|null $ctx = null ]) : RenameCustomSearchAttributeResponse
Parameters
$arg : RenameCustomSearchAttributeRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
RenameCustomSearchAttributeResponse

SetServiceAccountNamespaceAccess()

Set a service account's access to a namespace.

public SetServiceAccountNamespaceAccess(SetServiceAccountNamespaceAccessRequest $arg[, ContextInterface|null $ctx = null ]) : SetServiceAccountNamespaceAccessResponse
Parameters
$arg : SetServiceAccountNamespaceAccessRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
SetServiceAccountNamespaceAccessResponse

SetServiceAccountProjectAccess()

Set a service account's access to a project

public SetServiceAccountProjectAccess(SetServiceAccountProjectAccessRequest $arg[, ContextInterface|null $ctx = null ]) : SetServiceAccountProjectAccessResponse
Parameters
$arg : SetServiceAccountProjectAccessRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
SetServiceAccountProjectAccessResponse

SetUserGroupNamespaceAccess()

Set a user group's access to a namespace

public SetUserGroupNamespaceAccess(SetUserGroupNamespaceAccessRequest $arg[, ContextInterface|null $ctx = null ]) : SetUserGroupNamespaceAccessResponse
Parameters
$arg : SetUserGroupNamespaceAccessRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
SetUserGroupNamespaceAccessResponse

SetUserGroupProjectAccess()

Set a user group's access to a project

public SetUserGroupProjectAccess(SetUserGroupProjectAccessRequest $arg[, ContextInterface|null $ctx = null ]) : SetUserGroupProjectAccessResponse
Parameters
$arg : SetUserGroupProjectAccessRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
SetUserGroupProjectAccessResponse

SetUserNamespaceAccess()

Set a user's access to a namespace

public SetUserNamespaceAccess(SetUserNamespaceAccessRequest $arg[, ContextInterface|null $ctx = null ]) : SetUserNamespaceAccessResponse
Parameters
$arg : SetUserNamespaceAccessRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
SetUserNamespaceAccessResponse

SetUserProjectAccess()

Set a user's access to a project

public SetUserProjectAccess(SetUserProjectAccessRequest $arg[, ContextInterface|null $ctx = null ]) : SetUserProjectAccessResponse
Parameters
$arg : SetUserProjectAccessRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
SetUserProjectAccessResponse

UpdateAccountAuditLogSink()

Update an audit log sink

public UpdateAccountAuditLogSink(UpdateAccountAuditLogSinkRequest $arg[, ContextInterface|null $ctx = null ]) : UpdateAccountAuditLogSinkResponse
Parameters
$arg : UpdateAccountAuditLogSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
UpdateAccountAuditLogSinkResponse

UpdateNamespaceExportSink()

Update an export sink

public UpdateNamespaceExportSink(UpdateNamespaceExportSinkRequest $arg[, ContextInterface|null $ctx = null ]) : UpdateNamespaceExportSinkResponse
Parameters
$arg : UpdateNamespaceExportSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
UpdateNamespaceExportSinkResponse

UpdateNamespaceTags()

Update the tags for a namespace

public UpdateNamespaceTags(UpdateNamespaceTagsRequest $arg[, ContextInterface|null $ctx = null ]) : UpdateNamespaceTagsResponse
Parameters
$arg : UpdateNamespaceTagsRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
UpdateNamespaceTagsResponse

UpdateNexusEndpoint()

Update a nexus endpoint

public UpdateNexusEndpoint(UpdateNexusEndpointRequest $arg[, ContextInterface|null $ctx = null ]) : UpdateNexusEndpointResponse
Parameters
$arg : UpdateNexusEndpointRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
UpdateNexusEndpointResponse

UpdateServiceAccount()

Update a service account.

public UpdateServiceAccount(UpdateServiceAccountRequest $arg[, ContextInterface|null $ctx = null ]) : UpdateServiceAccountResponse
Parameters
$arg : UpdateServiceAccountRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
UpdateServiceAccountResponse

ValidateAccountAuditLogSink()

Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink.

public ValidateAccountAuditLogSink(ValidateAccountAuditLogSinkRequest $arg[, ContextInterface|null $ctx = null ]) : ValidateAccountAuditLogSinkResponse

The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs.

Parameters
$arg : ValidateAccountAuditLogSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
ValidateAccountAuditLogSinkResponse

ValidateNamespaceExportSink()

Validates an export sink configuration by delivering an empty test file to the specified sink.

public ValidateNamespaceExportSink(ValidateNamespaceExportSinkRequest $arg[, ContextInterface|null $ctx = null ]) : ValidateNamespaceExportSinkResponse

This operation verifies that the sink is correctly configured, accessible, and ready for data export.

Parameters
$arg : ValidateNamespaceExportSinkRequest
$ctx : ContextInterface|null = null
Tags
throws
ServiceClientException
Return values
ValidateNamespaceExportSinkResponse

withApiVersion()

Pin the Cloud Operations API version.

public withApiVersion(string $version) : static

Sets the temporal-cloud-api-version header on every call made by the returned client. A version already present on the call context is not overridden.

Parameters
$version : string
Tags
link
https://docs.temporal.io/ops
Return values
static

withAuthKey()

Set the authentication token for the service client.

public withAuthKey(Stringable|string $key) : static

This is the equivalent of providing an "Authorization" header with "Bearer " + the given key. This will overwrite any "Authorization" header that may be on the context before each request to the Temporal service. You may pass your own Stringable implementation to be able to change the key dynamically.

Parameters
$key : Stringable|string
Tags
link
https://docs.temporal.io/cloud/api-keys
Return values
static

withPayloadLimits()

public final withPayloadLimits(PayloadLimitOptions $options, LoggerInterface $logger) : static
Parameters
$options : PayloadLimitOptions
$logger : LoggerInterface
Tags
experimental

This API is experimental and may change in the future.

Return values
static

createGrpcStub()

protected static createGrpcStub(string $address, array<string|int, mixed> $options) : BaseStub
Parameters
$address : string

Temporal service address in format host:port

$options : array<string|int, mixed>
Return values
BaseStub
On this page

Search results