Autogenerated update (2018-11-17)
Update: - appengine_v1 - clouddebugger_v2 - dns_v1beta2 - firebasehosting_v1beta1 - fitness_v1 - games_management_v1management - games_v1 - jobs_v2 - jobs_v3 - jobs_v3p1beta1 - servicenetworking_v1beta - storage_v1
This commit is contained in:
1 parent
afcac054bf
commit
919e8d0241
32 files changed
+1113
-65
No files matched your search
@@ -620,6 +620,30 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A `SiteConfig` contains metadata associated with a specific site that
|
||||
# controls Firebase Hosting serving behavior
|
||||
class SiteConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_versions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_versions = args[:max_versions] if args.key?(:max_versions)
|
||||
end
|
||||
end
|
||||
|
||||
# A `Version` is the collection of configuration and
|
||||
# [static files](sites.versions.files) that determine how a site is displayed.
|
||||
class Version
|
||||
|
||||
Reference in new issue
Block a user