SecurityCredentialsPrincipalProto

GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPrincipalProto


Table of Contents ▼

Jump to a specific part of the page:

Description

A Principal represents something to which permissions are assigned, often but not always a user or group of some kind. It is most appropriate for use in ACLs and authorization checks. Callers should prefer to use the wrapper classes in google3/security/credentials/public/principal.h google3/java/com/google/security/credentials/Principal.java google3/security/credentials/go/principal.go unless direct proto access is essential. If you update this protocol buffer, please update the wrapper classes as well. LINT.IfChange

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. allAuthenticatedUsers (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsAllAuthenticatedUsersProto, default: nil)
    - scope = ALL_AUTHENTICATED_USERS
  2. capTokenHolder (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCapTokenHolderProto, default: nil)
    - scope = CAP_TOKEN_HOLDER
  3. chat (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsChatProto, default: nil)
    - scope = CHAT
  4. circle (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCircleProto, default: nil)
    - scope = CIRCLE
  5. cloudPrincipal (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCloudPrincipalProto, default: nil)
    - scope = CLOUD_PRINCIPAL
  6. contactGroup (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsContactGroupProto, default: nil)
    - scope = CONTACT_GROUP
  7. emailOwner (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsEmailOwnerProto, default: nil)
    - scope = EMAIL_OWNER
  8. event (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsEventProto, default: nil)
    - scope = EVENT
  9. gaiaGroup (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsGaiaGroupProto, default: nil)
    - scope = GAIA_GROUP
  10. gaiaUser (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsGaiaUserProto, default: nil)
    - scope = GAIA_USER
  11. host (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsHostProto, default: nil)
    - scope = HOST
  12. ldapGroup (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsLdapGroupProto, default: nil)
    - scope = LDAP_GROUP
  13. ldapUser (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsLdapUserProto, default: nil)
    - scope = LDAP_USER
  14. mdbGroup (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsMdbGroupProto, default: nil)
    - scope = MDB_GROUP
  15. mdbUser (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsMdbUserProto, default: nil)
    - scope = MDB_USER
  16. oauthConsumer (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsOAuthConsumerProto, default: nil)
    - scope = OAUTH_CONSUMER;
  17. postiniUser (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPostiniUserProto, default: nil)
    - scope = POSTINI_USER
  18. rbacRole (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsRbacRoleProto, default: nil)
    - scope = RBAC_ROLE
  19. rbacSubject (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsRbacSubjectProto, default: nil)
    - scope = RBAC_SUBJECT
  20. resourceRole (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsResourceRoleProto, default: nil)
    - scope = RESOURCE_ROLE
  21. scope (type: String.t, default: nil)
    - This is only optional because required enums cannot be extended. Currently required.
  22. signingKeyPossessor (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSigningKeyPossessorProto, default: nil)
    - scope = SIGNING_KEY_POSSESSOR
  23. simpleSecretHolder (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSimpleSecretHolderProto, default: nil)
    - scope = SIMPLE_SECRET_HOLDER
  24. socialGraphNode (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSocialGraphNodeProto, default: nil)
    - scope = SOCIAL_GRAPH_NODE
  25. square (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSquareProto, default: nil)
    - scope = SQUARE
  26. youtubeUser (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsYoutubeUserProto, default: nil)
    - scope = YOUTUBE_USER
  27. zwiebackSession (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsZwiebackSessionProto, default: nil)
    - scope = ZWIEBACK_SESSION

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPrincipalProto{
allAuthenticatedUsers: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsAllAuthenticatedUsersProto.t() | nil,
capTokenHolder: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCapTokenHolderProto.t() | nil,
chat: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsChatProto.t() | nil,
circle: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCircleProto.t() | nil,
cloudPrincipal: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsCloudPrincipalProto.t() | nil,
contactGroup: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsContactGroupProto.t() | nil,
emailOwner: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsEmailOwnerProto.t() | nil,
event: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsEventProto.t() | nil,
gaiaGroup: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsGaiaGroupProto.t() | nil,
gaiaUser: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsGaiaUserProto.t() | nil,
host: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsHostProto.t() | nil,
ldapGroup: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsLdapGroupProto.t() | nil,
ldapUser: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsLdapUserProto.t() | nil,
mdbGroup: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsMdbGroupProto.t() | nil,
mdbUser: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsMdbUserProto.t() | nil,
oauthConsumer: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsOAuthConsumerProto.t() | nil,
postiniUser: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPostiniUserProto.t() | nil,
rbacRole: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsRbacRoleProto.t() | nil,
rbacSubject: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsRbacSubjectProto.t() | nil,
resourceRole: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsResourceRoleProto.t() | nil,
scope: String.t() | nil,
signingKeyPossessor: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSigningKeyPossessorProto.t() | nil,
simpleSecretHolder: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSimpleSecretHolderProto.t() | nil,
socialGraphNode: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSocialGraphNodeProto.t() | nil,
square: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsSquareProto.t() | nil,
youtubeUser: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsYoutubeUserProto.t() | nil,
zwiebackSession: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsZwiebackSessionProto.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPrincipalProto