Class: Google::Apis::AdexchangebuyerV1_4::PrivateData

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

Returns a new instance of PrivateData.


2849
2850
2851
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2849

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

Instance Attribute Details

#reference_idString

Corresponds to the JSON property referenceId

Returns:

  • (String)

2841
2842
2843
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2841

def reference_id
  @reference_id
end

#reference_payloadString

Corresponds to the JSON property referencePayload NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)

2847
2848
2849
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2847

def reference_payload
  @reference_payload
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2854
2855
2856
2857
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2854

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