Class: Google::Apis::Adexchangebuyer2V2beta1::PrivateData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

Buyers are allowed to store certain types of private data in a proposal/deal.

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) ⇒ PrivateData

Returns a new instance of PrivateData



3185
3186
3187
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3185

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

Instance Attribute Details

#reference_idString

A buyer or seller specified reference ID. This can be queried in the list operations (max-length: 1024 unicode code units). Corresponds to the JSON property referenceId

Returns:

  • (String)


3183
3184
3185
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3183

def reference_id
  @reference_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3190
3191
3192
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3190

def update!(**args)
  @reference_id = args[:reference_id] if args.key?(:reference_id)
end