GoogleApi.FirebaseHosting.V1beta1.Model.Channel (google_api_firebase_hosting v0.12.3) View Source

A Channel represents a stream of releases for a site. All sites have a default live channel that serves content to the live Firebase-provided domains and any connected custom domains.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time at which the channel was created.
  • expireTime (type: DateTime.t, default: nil) - The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the ttl field.
  • labels (type: map(), default: nil) - Text labels used for extra metadata and/or filtering.
  • name (type: String.t, default: nil) - The fully-qualified identifier of the Channel.
  • release (type: GoogleApi.FirebaseHosting.V1beta1.Model.Release.t, default: nil) - Output only. The current release for the channel, if any.
  • retainedReleaseCount (type: integer(), default: nil) - The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
  • ttl (type: String.t, default: nil) - Input only. A time-to-live for this channel. Sets expire_time to the provided duration past the time of the request.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time at which the channel was last updated.
  • url (type: String.t, default: nil) - Output only. The URL at which the channel can be viewed. For the live channel, the content of the current release may also be visible at other URLs.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.FirebaseHosting.V1beta1.Model.Channel{
  createTime: DateTime.t(),
  expireTime: DateTime.t(),
  labels: map(),
  name: String.t(),
  release: GoogleApi.FirebaseHosting.V1beta1.Model.Release.t(),
  retainedReleaseCount: integer(),
  ttl: String.t(),
  updateTime: DateTime.t(),
  url: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.