Class: Google::Apis::DfareportingV3_4::LanguagesListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/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.



7441
7442
7443
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7441

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)


7434
7435
7436
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7434

def kind
  @kind
end

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

Language collection. Corresponds to the JSON property languages



7439
7440
7441
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7439

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7446
7447
7448
7449
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7446

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