Class: Google::Apis::DfareportingV2_1::ListConnectionTypesResponse

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

Overview

Connection Type List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListConnectionTypesResponse

Returns a new instance of ListConnectionTypesResponse.



2109
2110
2111
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2109

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

Instance Attribute Details

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

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



2101
2102
2103
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2101

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)


2107
2108
2109
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2107

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2114
2115
2116
2117
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2114

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