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.



7558
7559
7560
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7558

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)


7551
7552
7553
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7551

def kind
  @kind
end

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

Language collection. Corresponds to the JSON property languages



7556
7557
7558
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7556

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7563
7564
7565
7566
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7563

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