Class ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource
The "keys" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource
Constructors
KeysResource(IClientService)
Constructs a new resource.
Declaration
public KeysResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.OperationsResource |
Methods
Create(WorkloadIdentityPoolProviderKey, string)
Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider.
Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.CreateRequest Create(WorkloadIdentityPoolProviderKey body, string parent)
Parameters
Type | Name | Description |
---|---|---|
WorkloadIdentityPoolProviderKey | body | The body of the request. |
string | parent | Required. The parent provider resource to create the key in. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.CreateRequest |
Delete(string)
Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent.
Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the encryption key to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.DeleteRequest |
Get(string)
Gets an individual WorkloadIdentityPoolProviderKey.
Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the key to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.GetRequest |
List(string)
Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If show_deleted is set
to true
, then deleted pools are also listed.
Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent provider resource to list encryption keys for. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.ListRequest |
Undelete(UndeleteWorkloadIdentityPoolProviderKeyRequest, string)
Undeletes an WorkloadIdentityPoolProviderKey, as long as it was deleted fewer than 30 days ago.
Declaration
public virtual ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.UndeleteRequest Undelete(UndeleteWorkloadIdentityPoolProviderKeyRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
UndeleteWorkloadIdentityPoolProviderKeyRequest | body | The body of the request. |
string | name | Required. The name of the encryption key to undelete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkloadIdentityPoolsResource.ProvidersResource.KeysResource.UndeleteRequest |