class Google::Apis::TestingV1::Locale
A location/region designation for language.
Attributes
id[RW]
The id for this locale. Example: “en_US”. Corresponds to the JSON property `id` @return [String]
name[RW]
A human-friendly name for this language/locale. Example: “English”. Corresponds to the JSON property `name` @return [String]
region[RW]
A human-friendly string representing the region for this locale. Example: “ United States”. Not present for every locale. Corresponds to the JSON property `region` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1589 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 1594 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @region = args[:region] if args.key?(:region) @tags = args[:tags] if args.key?(:tags) end