Class: Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateData

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateData

Returns a new instance of PrivateData.



1546
1547
1548
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1546

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

Instance Attribute Details

#reference_idString

A buyer 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)


1544
1545
1546
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1544

def reference_id
  @reference_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1551
1552
1553
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1551

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