Class: Google::Apis::FirebasehostingV1beta1::SiteConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::SiteConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebasehosting_v1beta1/classes.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb
Overview
A SiteConfig
contains metadata associated with a specific site that
controls Firebase Hosting serving behavior
Instance Attribute Summary collapse
-
#max_versions ⇒ Fixnum
The number of FINALIZED versions that will be held for a site before automatic deletion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteConfig
constructor
A new instance of SiteConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SiteConfig
Returns a new instance of SiteConfig
639 640 641 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_versions ⇒ Fixnum
The number of FINALIZED versions that will be held for a site before
automatic deletion. When a new version is deployed, content for versions
in storage in excess of this number will be deleted, and will no longer be
billed for storage usage. Oldest versions will be deleted first; sites are
created with an unlimited number of max_versions by default.
Corresponds to the JSON property maxVersions
637 638 639 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 637 def max_versions @max_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
644 645 646 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 644 def update!(**args) @max_versions = args[:max_versions] if args.key?(:max_versions) end |