Class: Google::Apis::AiplatformV1::NlpSaftLangIdLocalesResultLocale
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::NlpSaftLangIdLocalesResultLocale
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Instance Attribute Summary collapse
-
#language_code ⇒ String
A BCP 47 language code that includes region information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NlpSaftLangIdLocalesResultLocale
constructor
A new instance of NlpSaftLangIdLocalesResultLocale.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NlpSaftLangIdLocalesResultLocale
Returns a new instance of NlpSaftLangIdLocalesResultLocale.
30471 30472 30473 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
A BCP 47 language code that includes region information. For example, "pt-BR"
or "pt-PT". This field will always be populated.
Corresponds to the JSON property languageCode
30469 30470 30471 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30469 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30476 30477 30478 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30476 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) end |