Class: Google::Apis::DfareportingV2_6::LanguagesListResponse

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

Overview

Language List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LanguagesListResponse

Returns a new instance of LanguagesListResponse.



6761
6762
6763
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6761

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)


6754
6755
6756
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6754

def kind
  @kind
end

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

Language collection. Corresponds to the JSON property languages



6759
6760
6761
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6759

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6766
6767
6768
6769
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6766

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