class Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaAvailableLocale
Represents locales that are available for a web property.
Attributes
locale[RW]
A string in BCP 47 format, without a resource prefix. Corresponds to the JSON property `locale` @return [String]
name[RW]
A string in BCP 47 format, prefixed with the platform and property name, and “ locales/”. Format: platforms/`platform`/properties/`property`/locales/`locale` Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ideahub_v1beta/classes.rb, line 40 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ideahub_v1beta/classes.rb, line 45 def update!(**args) @locale = args[:locale] if args.key?(:locale) @name = args[:name] if args.key?(:name) end