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

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 GSuite 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}

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.