Resource: WorkloadIdentityPoolNamespace
Represents a namespace for a workload identity pool. Namespaces are used to segment identities within the pool.
JSON representation |
---|
{ "name": string, "description": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the namespace. |
description |
A description of the namespace. Cannot exceed 256 characters. |
state |
Output only. The state of the namespace. |
disabled |
Whether the namespace is disabled. If disabled, credentials may no longer be issued for identities within this namespace, however existing credentials will still be accepted until they expire. |
expireTime |
Output only. Time after which the namespace will be permanently purged and cannot be recovered. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field owner . Defines the owner that is allowed to mutate this resource. If present, this resource can only be mutated by the owner. owner can be only one of the following: |
|
ownerService |
Output only. The Google Cloud service that owns this namespace. |
State
The current state of the namespace.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
ACTIVE |
The namespace is active. |
DELETED |
The namespace is soft-deleted. Soft-deleted namespaces are permanently deleted after approximately 30 days. You can restore a soft-deleted namespace using You cannot reuse the ID of a soft-deleted namespace until it is permanently deleted. |
OwnerService
The Google Cloud service that owns this namespace.
JSON representation |
---|
{ "principalSubject": string } |
Fields | |
---|---|
principalSubject |
Required. The service agent principal subject, e.g. "serviceAccount:service-1234@gcp-sa-gkehub.iam.gserviceaccount.com". |
Methods |
|
---|---|
|
Creates a new WorkloadIdentityPoolNamespace in a WorkloadIdentityPool . |
|
Deletes a WorkloadIdentityPoolNamespace . |
|
Gets an individual WorkloadIdentityPoolNamespace . |
|
Lists all non-deleted WorkloadIdentityPoolNamespace s in a workload identity pool. |
|
Updates an existing WorkloadIdentityPoolNamespace in a WorkloadIdentityPool . |
|
Undeletes a WorkloadIdentityPoolNamespace , as long as it was deleted fewer than 30 days ago. |