Class: Google::Apis::FirebasehostingV1beta1::Release
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::Release
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasehosting_v1beta1/classes.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb,
lib/google/apis/firebasehosting_v1beta1/representations.rb
Overview
A Release is a particular collection of configurations and files that is set to be public at a particular time.
Instance Attribute Summary collapse
-
#message ⇒ String
The deploy description when the release was created.
-
#name ⇒ String
Output only.
-
#release_time ⇒ String
Output only.
-
#release_user ⇒ Google::Apis::FirebasehostingV1beta1::ActingUser
Contains metadata about the user who performed an action, such as creating a release or finalizing a version.
-
#type ⇒ String
Explains the reason for the release.
-
#version ⇒ Google::Apis::FirebasehostingV1beta1::Version
A
Versionis a configuration and a collection of static files which determine how a site is displayed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Release
constructor
A new instance of Release.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Release
Returns a new instance of Release.
839 840 841 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The deploy description when the release was created. The value can be up to
512 characters.
Corresponds to the JSON property message
807 808 809 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 807 def @message end |
#name ⇒ String
Output only. The unique identifier for the release, in the format: sites/
SITE_NAME/releases/RELEASE_ID This name is provided in the response body when
you call CreateRelease.
Corresponds to the JSON property name
814 815 816 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 814 def name @name end |
#release_time ⇒ String
Output only. The time at which the version is set to be public.
Corresponds to the JSON property releaseTime
819 820 821 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 819 def release_time @release_time end |
#release_user ⇒ Google::Apis::FirebasehostingV1beta1::ActingUser
Contains metadata about the user who performed an action, such as creating a
release or finalizing a version.
Corresponds to the JSON property releaseUser
825 826 827 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 825 def release_user @release_user end |
#type ⇒ String
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
831 832 833 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 831 def type @type end |
#version ⇒ Google::Apis::FirebasehostingV1beta1::Version
A Version is a configuration and a collection of static files which
determine how a site is displayed.
Corresponds to the JSON property version
837 838 839 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 837 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
844 845 846 847 848 849 850 851 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 844 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 |