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.



7413
7414
7415
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7413

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)


7406
7407
7408
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7406

def kind
  @kind
end

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

Language collection. Corresponds to the JSON property languages



7411
7412
7413
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7411

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7418
7419
7420
7421
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7418

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