Class: Google::Apis::DfareportingV2_1::PlatformType
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::PlatformType
- 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
Contains information about a platform type that can be targeted by ads.
Instance Attribute Summary collapse
-
#id ⇒ String
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::Hashable
Constructor Details
#initialize(**args) ⇒ PlatformType
Returns a new instance of PlatformType.
7880 7881 7882 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7880 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of this platform type.
Corresponds to the JSON property id
7867 7868 7869 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7867 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
7873 7874 7875 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7873 def kind @kind end |
#name ⇒ String
Name of this platform type.
Corresponds to the JSON property name
7878 7879 7880 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7878 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7885 7886 7887 7888 7889 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7885 def update!(**args) @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? end |