class ProjectsLocationsWorkloadIdentityPoolsProviders extends Resource (View source)

The "providers" collection of methods.

Typical usage is:

 $iamService = new Google\Service\Iam(...);
 $providers = $iamService->projects_locations_workloadIdentityPools_providers;

Methods

create(string $parent, WorkloadIdentityPoolProvider $postBody, array $optParams = [])

Creates a new WorkloadIdentityPoolProvider in a WorkloadIdentityPool. You cannot reuse the name of a deleted provider until 30 days after deletion.

delete(string $name, array $optParams = [])

Deletes a WorkloadIdentityPoolProvider. Deleting a provider does not revoke credentials that have already been issued; they continue to grant access. You can undelete a provider for 30 days. After 30 days, deletion is permanent.

get(string $name, array $optParams = [])

Gets an individual WorkloadIdentityPoolProvider. (providers.get)

listProjectsLocationsWorkloadIdentityPoolsProviders(string $parent, array $optParams = [])

Lists all non-deleted WorkloadIdentityPoolProviders in a WorkloadIdentityPool. If show_deleted is set to true, then deleted providers are also listed.

patch(string $name, WorkloadIdentityPoolProvider $postBody, array $optParams = [])

Updates an existing WorkloadIdentityPoolProvider. (providers.patch)

undelete(string $name, UndeleteWorkloadIdentityPoolProviderRequest $postBody, array $optParams = [])

Undeletes a WorkloadIdentityPoolProvider, as long as it was deleted fewer than 30 days ago. (providers.undelete)

Details

Operation create(string $parent, WorkloadIdentityPoolProvider $postBody, array $optParams = [])

Creates a new WorkloadIdentityPoolProvider in a WorkloadIdentityPool. You cannot reuse the name of a deleted provider until 30 days after deletion.

(providers.create)

Parameters

string $parent

Required. The pool to create this provider in.

WorkloadIdentityPoolProvider $postBody
array $optParams

Optional parameters.

Return Value

Operation

Operation delete(string $name, array $optParams = [])

Deletes a WorkloadIdentityPoolProvider. Deleting a provider does not revoke credentials that have already been issued; they continue to grant access. You can undelete a provider for 30 days. After 30 days, deletion is permanent.

You cannot update deleted providers. However, you can view and list them. (providers.delete)

Parameters

string $name

Required. The name of the provider to delete.

array $optParams

Optional parameters.

Return Value

Operation

WorkloadIdentityPoolProvider get(string $name, array $optParams = [])

Gets an individual WorkloadIdentityPoolProvider. (providers.get)

Parameters

string $name

Required. The name of the provider to retrieve.

array $optParams

Optional parameters.

Return Value

WorkloadIdentityPoolProvider

ListWorkloadIdentityPoolProvidersResponse listProjectsLocationsWorkloadIdentityPoolsProviders(string $parent, array $optParams = [])

Lists all non-deleted WorkloadIdentityPoolProviders in a WorkloadIdentityPool. If show_deleted is set to true, then deleted providers are also listed.

(providers.listProjectsLocationsWorkloadIdentityPoolsProviders)

Parameters

string $parent

Required. The pool to list providers for.

array $optParams

Optional parameters.

Return Value

ListWorkloadIdentityPoolProvidersResponse

Operation patch(string $name, WorkloadIdentityPoolProvider $postBody, array $optParams = [])

Updates an existing WorkloadIdentityPoolProvider. (providers.patch)

Parameters

string $name

Output only. The resource name of the provider.

WorkloadIdentityPoolProvider $postBody
array $optParams

Optional parameters.

Return Value

Operation

Operation undelete(string $name, UndeleteWorkloadIdentityPoolProviderRequest $postBody, array $optParams = [])

Undeletes a WorkloadIdentityPoolProvider, as long as it was deleted fewer than 30 days ago. (providers.undelete)

Parameters

string $name

Required. The name of the provider to undelete.

UndeleteWorkloadIdentityPoolProviderRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation