Class: Google::Apis::FirebasehostingV1beta1::I18nConfig

Inherits:
Object
  • Object
show all
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

If provided, i18n rewrites are enabled.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ I18nConfig

Returns a new instance of I18nConfig.



459
460
461
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 459

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rootString

Required. The user-supplied path where country and language specific content will be looked for within the public directory. Corresponds to the JSON property root

Returns:

  • (String)


457
458
459
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 457

def root
  @root
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



464
465
466
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 464

def update!(**args)
  @root = args[:root] if args.key?(:root)
end