Class: Google::Apis::DfareportingV3_3::ConnectionType

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

Overview

Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionType

Returns a new instance of ConnectionType.



2171
2172
2173
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2171

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

Instance Attribute Details

#idFixnum

ID of this connection type. Corresponds to the JSON property id

Returns:

  • (Fixnum)


2158
2159
2160
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2158

def id
  @id
end

#kindString

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

Returns:

  • (String)


2164
2165
2166
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2164

def kind
  @kind
end

#nameString

Name of this connection type. Corresponds to the JSON property name

Returns:

  • (String)


2169
2170
2171
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2169

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2176
2177
2178
2179
2180
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 2176

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