View Source GoogleApi.CloudSearch.V1.Model.Principal (google_api_cloud_search v0.21.0)

Reference to a user, group, or domain.

Attributes

  • groupResourceName (type: String.t, default: nil) - This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}
  • gsuitePrincipal (type: GoogleApi.CloudSearch.V1.Model.GSuitePrincipal.t, default: nil) - This principal is a Google Workspace user, group or domain.
  • userResourceName (type: String.t, default: nil) - This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.Principal{
  groupResourceName: String.t() | nil,
  gsuitePrincipal: GoogleApi.CloudSearch.V1.Model.GSuitePrincipal.t() | nil,
  userResourceName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.