Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource

The "workloadIdentityPools" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource

Constructors

WorkloadIdentityPoolsResource(IClientService)

Constructs a new resource.

Declaration
public WorkloadIdentityPoolsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Namespaces

Gets the Namespaces resource.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.NamespacesResource Namespaces { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.NamespacesResource

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.OperationsResource

Providers

Gets the Providers resource.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource Providers { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource

Methods

Create(WorkloadIdentityPool, string)

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

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.CreateRequest Create(WorkloadIdentityPool body, string parent)
Parameters
Type Name Description
WorkloadIdentityPool body

The body of the request.

string parent

Required. The parent resource to create the pool in. The only supported location is global.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.CreateRequest

Delete(string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the pool to delete.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.DeleteRequest

Get(string)

Gets an individual WorkloadIdentityPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the pool to retrieve.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.GetRequest

GetIamPolicy(GetIamPolicyRequest, string)

Gets the IAM policy of a WorkloadIdentityPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.GetIamPolicyRequest

List(string)

Lists all non-deleted WorkloadIdentityPools in a project. If show_deleted is set to true, then deleted pools are also listed.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource to list pools for.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ListRequest

Patch(WorkloadIdentityPool, string)

Updates an existing WorkloadIdentityPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.PatchRequest Patch(WorkloadIdentityPool body, string name)
Parameters
Type Name Description
WorkloadIdentityPool body

The body of the request.

string name

Output only. The resource name of the pool.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the IAM policies on a WorkloadIdentityPool

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns the caller's permissions on a WorkloadIdentityPool

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.TestIamPermissionsRequest

Undelete(UndeleteWorkloadIdentityPoolRequest, string)

Undeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.UndeleteRequest Undelete(UndeleteWorkloadIdentityPoolRequest body, string name)
Parameters
Type Name Description
UndeleteWorkloadIdentityPoolRequest body

The body of the request.

string name

Required. The name of the pool to undelete.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.UndeleteRequest
In this article
Back to top Generated by DocFX