Class: Google::Apis::DfareportingV3_5::LanguagesListResponse

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



6988
6989
6990
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6988

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)


6981
6982
6983
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6981

def kind
  @kind
end

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

Language collection. Corresponds to the JSON property languages



6986
6987
6988
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6986

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6993
6994
6995
6996
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6993

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