Class: Google::Apis::DfareportingV4::LanguagesListResponse

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

Overview

Language List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LanguagesListResponse

Returns a new instance of LanguagesListResponse.



7542
7543
7544
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7542

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#languagesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


7535
7536
7537
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7535

def kind
  @kind
end

#languagesArray<Google::Apis::DfareportingV4::Language>

Language collection. Corresponds to the JSON property languages



7540
7541
7542
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7540

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7547
7548
7549
7550
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7547

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