Class: Google::Apis::DfareportingV3_1::ConnectionType
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_1::ConnectionType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/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
-
#id ⇒ Fixnum
ID of this connection type.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this connection type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionType
constructor
A new instance of ConnectionType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ConnectionType
Returns a new instance of ConnectionType
2256 2257 2258 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
ID of this connection type.
Corresponds to the JSON property id
2243 2244 2245 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2243 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#connectionType".
Corresponds to the JSON property kind
2249 2250 2251 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2249 def kind @kind end |
#name ⇒ String
Name of this connection type.
Corresponds to the JSON property name
2254 2255 2256 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2254 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2261 2262 2263 2264 2265 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2261 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 |