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

AddAttestationRule(AddAttestationRuleRequest, string)

Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50.

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

The body of the request.

string resource

Required. The resource name of the managed identity or namespace resource to add an attestation rule to.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.AddAttestationRuleRequest

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

ListAttestationRules(string)

List all AttestationRule on a WorkloadIdentityPoolManagedIdentity.

Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ListAttestationRulesRequest ListAttestationRules(string resource)
Parameters
Type Name Description
string resource

Required. The resource name of the managed identity or namespace resource to list attestation rules of.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ListAttestationRulesRequest

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

Identifier. The resource name of the pool.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.PatchRequest

RemoveAttestationRule(RemoveAttestationRuleRequest, string)

Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity.

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

The body of the request.

string resource

Required. The resource name of the managed identity or namespace resource to remove an attestation rule from.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.RemoveAttestationRuleRequest

SetAttestationRules(SetAttestationRulesRequest, string)

Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of 50 AttestationRules can be set.

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

The body of the request.

string resource

Required. The resource name of the managed identity or namespace resource to add an attestation rule to.

Returns
Type Description
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.SetAttestationRulesRequest

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