App Hub v1 API - Class Identity (1.3.0)

public sealed class Identity : IMessage<Identity>, IEquatable<Identity>, IDeepCloneable<Identity>, IBufferMessage, IMessage

Reference documentation and code samples for the App Hub v1 API class Identity.

The identity associated with a service or workload.

Inheritance

object > Identity

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

Identity()

public Identity()

Identity(Identity)

public Identity(Identity other)
Parameter
Name Description
other Identity

Properties

Principal

public string Principal { get; set; }

Output only. The principal of the identity.

Supported formats:

  • sa://my-sa@PROJECT_ID.iam.gserviceaccount.com for GCP Service Account
  • principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID for Managed Workload Identity
Property Value
Type Description
string