Class: Google::Apis::DfareportingV2_6::ListConnectionTypesResponse

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

Connection Type 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) ⇒ ListConnectionTypesResponse

Returns a new instance of ListConnectionTypesResponse.


2149
2150
2151
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2149

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#connection_typesArray<Google::Apis::DfareportingV2_6::ConnectionType>

Collection of connection types such as broadband and mobile. Corresponds to the JSON property connectionTypes


2141
2142
2143
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2141

def connection_types
  @connection_types
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#connectionTypesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)

2147
2148
2149
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2147

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2154
2155
2156
2157
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 2154

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