Class: Google::Apis::FirebasehostingV1beta1::I18nConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::I18nConfig
- 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
-
#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.
930 931 932 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 930 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
928 929 930 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 928 def root @root end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
935 936 937 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 935 def update!(**args) @root = args[:root] if args.key?(:root) end |