Class: Google::Apis::FirebasehostingV1beta1::I18nConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::I18nConfig
- 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
-
#root ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ I18nConfig
constructor
A new instance of I18nConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#root ⇒ String
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
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 |