class Google::Apis::FirebasehostingV1beta1::Release

A `Release` is a particular [collection of configurations and files](sites. versions) that is set to be public at a particular time.

Attributes

message[RW]

The deploy description when the release was created. The value can be up to 512 characters. Corresponds to the JSON property `message` @return [String]

name[RW]

Output only. The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/ CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases. create`](sites.channels.releases/create). Corresponds to the JSON property `name` @return [String]

release_time[RW]

Output only. The time at which the version is set to be public. Corresponds to the JSON property `releaseTime` @return [String]

release_user[RW]

Contains metadata about the user who performed an action, such as creating a release or finalizing a version. Corresponds to the JSON property `releaseUser` @return [Google::Apis::FirebasehostingV1beta1::ActingUser]

type[RW]

Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release. Corresponds to the JSON property `type` @return [String]

version[RW]

A `Version` is a configuration and a collection of static files which determine how a site is displayed. Corresponds to the JSON property `version` @return [Google::Apis::FirebasehostingV1beta1::Version]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 849
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 854
def update!(**args)
  @message = args[:message] if args.key?(:message)
  @name = args[:name] if args.key?(:name)
  @release_time = args[:release_time] if args.key?(:release_time)
  @release_user = args[:release_user] if args.key?(:release_user)
  @type = args[:type] if args.key?(:type)
  @version = args[:version] if args.key?(:version)
end