View Source GoogleApi.VersionHistory.V1.Model.Release (google_api_version_history v0.4.0)

A Release is owned by a Version. A Release contains information about the release(s) of its parent version. This includes when the release began and ended, as well as what percentage it was released at. If the version is released again, or if the serving percentage changes, it will create another release under the version.

Attributes

  • fraction (type: float(), default: nil) - Rollout fraction. This fraction indicates the fraction of people that should receive this version in this release. If the fraction is not specified in ReleaseManager, the API will assume fraction is 1.
  • fractionGroup (type: String.t, default: nil) - Rollout fraction group. Only fractions with the same fraction_group are statistically comparable: there may be non-fractional differences between different fraction groups.
  • name (type: String.t, default: nil) - Release name. Format is "{product}/platforms/{platform}/channels/{channel}/versions/{version}/releases/{release}"
  • pinnable (type: boolean(), default: nil) - Whether or not the release was available for version pinning.
  • serving (type: GoogleApi.VersionHistory.V1.Model.Interval.t, default: nil) - Timestamp interval of when the release was live. If end_time is unspecified, the release is currently live.
  • version (type: String.t, default: nil) - String containing just the version number. e.g. "84.0.4147.38"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.VersionHistory.V1.Model.Release{
  fraction: float() | nil,
  fractionGroup: String.t() | nil,
  name: String.t() | nil,
  pinnable: boolean() | nil,
  serving: GoogleApi.VersionHistory.V1.Model.Interval.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.