ProjectsLocationsWorkloadIdentityPools
class ProjectsLocationsWorkloadIdentityPools extends Resource (View source)
The "workloadIdentityPools" collection of methods.
Typical usage is:
$iamService = new Google\Service\Iam(...);
$workloadIdentityPools = $iamService->projects_locations_workloadIdentityPools;
Methods
Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted pool until 30 days after deletion. (workloadIdentityPools.create)
Deletes a WorkloadIdentityPool. You cannot use a deleted pool to exchange external credentials for Google Cloud credentials. However, deletion does not revoke credentials that have already been issued. Credentials issued for a deleted pool do not grant access to resources. If the pool is undeleted, and the credentials are not expired, they grant access again. You can undelete a pool for 30 days. After 30 days, deletion is permanent. You cannot update deleted pools. However, you can view and list them.
Gets an individual WorkloadIdentityPool. (workloadIdentityPools.get)
Lists all non-deleted WorkloadIdentityPools in a project. If show_deleted
is set to true
, then deleted pools are also listed.
Updates an existing WorkloadIdentityPool. (workloadIdentityPools.patch)
Undeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. (workloadIdentityPools.undelete)
Details
Operation
create(string $parent, WorkloadIdentityPool $postBody, array $optParams = [])
Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted pool until 30 days after deletion. (workloadIdentityPools.create)
Operation
delete(string $name, array $optParams = [])
Deletes a WorkloadIdentityPool. You cannot use a deleted pool to exchange external credentials for Google Cloud credentials. However, deletion does not revoke credentials that have already been issued. Credentials issued for a deleted pool do not grant access to resources. If the pool is undeleted, and the credentials are not expired, they grant access again. You can undelete a pool for 30 days. After 30 days, deletion is permanent. You cannot update deleted pools. However, you can view and list them.
(workloadIdentityPools.delete)
WorkloadIdentityPool
get(string $name, array $optParams = [])
Gets an individual WorkloadIdentityPool. (workloadIdentityPools.get)
ListWorkloadIdentityPoolsResponse
listProjectsLocationsWorkloadIdentityPools(string $parent, array $optParams = [])
Lists all non-deleted WorkloadIdentityPools in a project. If show_deleted
is set to true
, then deleted pools are also listed.
(workloadIdentityPools.listProjectsLocationsWorkloadIdentityPools)
Operation
patch(string $name, WorkloadIdentityPool $postBody, array $optParams = [])
Updates an existing WorkloadIdentityPool. (workloadIdentityPools.patch)
Operation
undelete(string $name, UndeleteWorkloadIdentityPoolRequest $postBody, array $optParams = [])
Undeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. (workloadIdentityPools.undelete)