Class: Google::Apis::DfareportingV3_2::LanguagesListResponse

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



7099
7100
7101
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7099

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)


7092
7093
7094
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7092

def kind
  @kind
end

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

Language collection. Corresponds to the JSON property languages



7097
7098
7099
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7097

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7104
7105
7106
7107
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 7104

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