GoogleApi.Connectors.V1.Model.RoleGrant (google_api_connectors v0.2.0) View Source

This configuration defines all the Cloud IAM roles that needs to be granted to a particular GCP resource for the selected prinicpal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user.

Attributes

  • helperTextTemplate (type: String.t, default: nil) - Template that UI can use to provide helper text to customers.
  • principal (type: String.t, default: nil) - Prinicipal/Identity for whom the role need to assigned.
  • resource (type: GoogleApi.Connectors.V1.Model.Resource.t, default: nil) - Resource on which the roles needs to be granted for the principal.
  • roles (type: list(String.t), default: nil) - List of roles that need to be granted.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Connectors.V1.Model.RoleGrant{
  helperTextTemplate: String.t() | nil,
  principal: String.t() | nil,
  resource: GoogleApi.Connectors.V1.Model.Resource.t() | nil,
  roles: [String.t()] | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.