Class: Google::Apis::AdexchangebuyerV1_4::MarketplaceLabel

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MarketplaceLabel

Returns a new instance of MarketplaceLabel.



2057
2058
2059
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2057

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

Instance Attribute Details

#account_idString

The accountId of the party that created the label. Corresponds to the JSON property accountId

Returns:

  • (String)


2040
2041
2042
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2040

def 
  @account_id
end

#create_time_msString

The creation time (in ms since epoch) for the label. Corresponds to the JSON property createTimeMs

Returns:

  • (String)


2045
2046
2047
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2045

def create_time_ms
  @create_time_ms
end

#deprecated_marketplace_deal_partyGoogle::Apis::AdexchangebuyerV1_4::MarketplaceDealParty

Information about the party that created the label. Corresponds to the JSON property deprecatedMarketplaceDealParty



2050
2051
2052
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2050

def deprecated_marketplace_deal_party
  @deprecated_marketplace_deal_party
end

#labelString

The label to use. Corresponds to the JSON property label

Returns:

  • (String)


2055
2056
2057
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2055

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2062
2063
2064
2065
2066
2067
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2062

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