Class: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#account_id ⇒ String
The accountId of the party that created the label.
-
#create_time_ms ⇒ Fixnum
The creation time (in ms since epoch) for the label.
-
#deprecated_marketplace_deal_party ⇒ Google::Apis::AdexchangebuyerV1_4::MarketplaceDealParty
Information about the party that created the label.
-
#label ⇒ String
The label to use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MarketplaceLabel
constructor
A new instance of MarketplaceLabel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MarketplaceLabel
Returns a new instance of MarketplaceLabel
2125 2126 2127 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The accountId of the party that created the label.
Corresponds to the JSON property accountId
2108 2109 2110 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2108 def account_id @account_id end |
#create_time_ms ⇒ Fixnum
The creation time (in ms since epoch) for the label.
Corresponds to the JSON property createTimeMs
2113 2114 2115 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2113 def create_time_ms @create_time_ms end |
#deprecated_marketplace_deal_party ⇒ Google::Apis::AdexchangebuyerV1_4::MarketplaceDealParty
Information about the party that created the label.
Corresponds to the JSON property deprecatedMarketplaceDealParty
2118 2119 2120 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2118 def deprecated_marketplace_deal_party @deprecated_marketplace_deal_party end |
#label ⇒ String
The label to use.
Corresponds to the JSON property label
2123 2124 2125 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2123 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2130 2131 2132 2133 2134 2135 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2130 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @create_time_ms = args[:create_time_ms] if args.key?(:create_time_ms) @deprecated_marketplace_deal_party = args[:deprecated_marketplace_deal_party] if args.key?(:deprecated_marketplace_deal_party) @label = args[:label] if args.key?(:label) end |