App Hub V1 API - Class Google::Cloud::AppHub::V1::Identity (v1.8.0)

Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::Identity.

The identity associated with a service or workload.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#principal

def principal() -> ::String
Returns
  • (::String) —

    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