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

A Channel represents a stream of releases for a site. All sites have a default live channel that serves content to the Firebase-provided subdomains 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 the output whether it's 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 resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
  • 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 content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of web.app. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of firebaseapp.com. If this channel is the live channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.