Class: Google::Apis::AiplatformV1beta1::NlpSaftLangIdLocalesResultLocale

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NlpSaftLangIdLocalesResultLocale

Returns a new instance of NlpSaftLangIdLocalesResultLocale.



33800
33801
33802
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33800

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#language_codeString

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

Returns:

  • (String)


33798
33799
33800
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33798

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33805
33806
33807
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33805

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