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

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

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.



451
452
453
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 451

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)


449
450
451
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 449

def root
  @root
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



456
457
458
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 456

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