google_api_firebase_rules v0.12.0 GoogleApi.FirebaseRules.V1.Model.Release View Source

Release is a named reference to a Ruleset. Once a Release refers to a Ruleset, rules-enabled services will be able to enforce the Ruleset.

Attributes

  • createTime (type: DateTime.t, default: nil) - Time the release was created. Output only.

  • name (type: String.t, default: nil) - Resource name for the Release.

    Release names may be structured app1/prod/v2 or flat app1_prod_v2 which affords developers a great deal of flexibility in mapping the name to the style that best fits their existing development practices. For example, a name could refer to an environment, an app, a version, or some combination of three.

    In the table below, for the project name projects/foo, the following relative release paths show how flat and structured names might be chosen to match a desired development / deployment strategy.

    Use Case | Flat Name | Structured Name -------------|---------------------|---------------- Environments | releases/qa | releases/qa Apps | releases/app1_qa | releases/app1/qa Versions | releases/app1_v2_qa | releases/app1/v2/qa

    The delimiter between the release name path elements can be almost anything and it should work equally well with the release name list filter, but in many ways the structured paths provide a clearer picture of the relationship between Release instances.

    Format: projects/{project_id}/releases/{release_id}

  • rulesetName (type: String.t, default: nil) - Name of the Ruleset referred to by this Release. The Ruleset must exist the Release to be created.

  • updateTime (type: DateTime.t, default: nil) - Time the release was updated. Output only.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.FirebaseRules.V1.Model.Release{
  createTime: DateTime.t(),
  name: String.t(),
  rulesetName: String.t(),
  updateTime: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.