Class: Google::Apis::DfareportingV3_4::PlatformType
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::PlatformType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb
Overview
Contains information about a platform type that can be targeted by ads.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
ID of this platform type.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this platform type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlatformType
constructor
A new instance of PlatformType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PlatformType
Returns a new instance of PlatformType.
9257 9258 9259 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
ID of this platform type.
Corresponds to the JSON property id
9244 9245 9246 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9244 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#platformType".
Corresponds to the JSON property kind
9250 9251 9252 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9250 def kind @kind end |
#name ⇒ String
Name of this platform type.
Corresponds to the JSON property name
9255 9256 9257 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9255 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9262 9263 9264 9265 9266 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 9262 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 |