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

Documentation

CloudClientInterface extends GrpcClientInterface

Table of Contents

Methods

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.
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.
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
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
withContext()  : static

Methods

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

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

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

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

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

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

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

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

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

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()

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

Search results