View Source GoogleApi.FirebaseRules.V1.Model.Ruleset (google_api_firebase_rules v0.17.0)

Ruleset is an immutable copy of Source with a globally unique identifier and a creation time.

Attributes

  • attachmentPoint (type: String.t, default: nil) - Immutable. Intended resource to which this Ruleset should be released. May be left blank to signify the resource associated with the default release. Expected format: firestore.googleapis.com/projects//databases/
  • createTime (type: DateTime.t, default: nil) - Output only. Time the Ruleset was created.
  • metadata (type: GoogleApi.FirebaseRules.V1.Model.Metadata.t, default: nil) - Output only. The metadata for this ruleset.
  • name (type: String.t, default: nil) - Output only. Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}
  • source (type: GoogleApi.FirebaseRules.V1.Model.Source.t, default: nil) - Required. Source for the Ruleset.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.FirebaseRules.V1.Model.Ruleset{
  attachmentPoint: String.t() | nil,
  createTime: DateTime.t() | nil,
  metadata: GoogleApi.FirebaseRules.V1.Model.Metadata.t() | nil,
  name: String.t() | nil,
  source: GoogleApi.FirebaseRules.V1.Model.Source.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.