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.



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

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)


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

def root
  @root
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



470
471
472
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 470

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