class Google::Apis::DfareportingV3_4::Language

Contains information about a language that can be targeted by ads.

Attributes

id[RW]

Language ID of this language. This is the ID used for targeting and generating reports. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#language”. Corresponds to the JSON property `kind` @return [String]

language_code[RW]

Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are “en” for English or “zh_CN” for Simplified Chinese. Corresponds to the JSON property `languageCode` @return [String]

name[RW]

Name of this language. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 7392
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_4/classes.rb, line 7397
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @language_code = args[:language_code] if args.key?(:language_code)
  @name = args[:name] if args.key?(:name)
end