Package google.cloud.gkehub.workloadidentity.v1

Index

FeatureSpec

WorkloadIdentity: Global feature specification.

Fields
scope_tenancy_pool

string

Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool

FeatureState

WorkloadIdentity: Global feature state.

Fields
workload_identity_pool

string

The full name of the svc.id.goog pool for the fleet.

scope_tenancy_workload_identity_pool

string

The full name of the scope-tenancy pool for the fleet.

namespace_states

map<string, FeatureState.NamespaceState>

Deprecated, this field will be erased after code is changed to use the new field.

namespace_state_details

map<string, FeatureState.NamespaceStateDetail>

The state of the IAM namespaces for the fleet.

workload_identity_pool_state_details

map<string, FeatureState.WorkloadIdentityPoolStateDetail>

The state of the Workload Identity Pools for the fleet.

NamespaceState

NamespaceState represents the state of a IAM namespace.

Enums
NAMESPACE_STATE_UNSPECIFIED Unknown state.
NAMESPACE_STATE_OK The Namespace was created/updated successfully.
NAMESPACE_STATE_ERROR The Namespace was not created/updated successfully. The error message is in the description field.

NamespaceStateDetail

NamespaceStateDetail represents the state of a IAM namespace.

Fields
code

FeatureState.NamespaceState

The state of the IAM namespace.

description

string

A human-readable description of the current state or returned error.

WorkloadIdentityPoolState

WorkloadIdentityPoolState represents the state of the Workload Identity Pool for the fleet.

Enums
WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED Unknown state.
WORKLOAD_IDENTITY_POOL_STATE_OK The Workload Identity Pool was created/updated successfully.
WORKLOAD_IDENTITY_POOL_STATE_ERROR The Workload Identity Pool was not created/updated successfully. The error message is in the description field.

WorkloadIdentityPoolStateDetail

WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.

Fields
code

FeatureState.WorkloadIdentityPoolState

The state of the Workload Identity Pool.

description

string

A human-readable description of the current state or returned error.

MembershipState

WorkloadIdentity: The membership-specific state for WorkloadIdentity feature.

Fields
description

string

Deprecated, this field will be erased after code is changed to use the new field.

identity_provider_state_details

map<string, MembershipState.IdentityProviderStateDetail>

The state of the Identity Providers corresponding to the membership.

IdentityProviderState

IdentityProviderState represents the state of the Identity Provider for the membership.

Enums
IDENTITY_PROVIDER_STATE_UNSPECIFIED Unknown state.
IDENTITY_PROVIDER_STATE_OK The Identity Provider was created/updated successfully.
IDENTITY_PROVIDER_STATE_ERROR The Identity Provider was not created/updated successfully. The error message is in the description field.

IdentityProviderStateDetail

IdentityProviderStateDetail represents the state of an Identity Provider.

Fields
code

MembershipState.IdentityProviderState

The state of the Identity Provider.

description

string

A human-readable description of the current state or returned error.