class Google::Apis::FirebasehostingV1beta1::SiteConfig

A `SiteConfig` contains metadata associated with a specific site that controls Firebase Hosting serving behavior

Attributes

cloud_logging_enabled[RW]

Whether or not web requests made by site visitors are logged via Cloud Logging. Corresponds to the JSON property `cloudLoggingEnabled` @return [Boolean]

cloud_logging_enabled?[RW]

Whether or not web requests made by site visitors are logged via Cloud Logging. Corresponds to the JSON property `cloudLoggingEnabled` @return [Boolean]

max_versions[RW]

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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebasehosting_v1beta1/classes.rb, line 1062
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 1067
def update!(**args)
  @cloud_logging_enabled = args[:cloud_logging_enabled] if args.key?(:cloud_logging_enabled)
  @max_versions = args[:max_versions] if args.key?(:max_versions)
end