Class: Google::Apis::ManufacturersV1::GoogleShoppingManufacturersV1ProductCertification
- Inherits:
-
Object
- Object
- Google::Apis::ManufacturersV1::GoogleShoppingManufacturersV1ProductCertification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/manufacturers_v1/classes.rb,
lib/google/apis/manufacturers_v1/representations.rb,
lib/google/apis/manufacturers_v1/representations.rb
Overview
Description of a certification.
Instance Attribute Summary collapse
-
#authority ⇒ String
Required.
-
#code ⇒ String
Required.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleShoppingManufacturersV1ProductCertification
constructor
A new instance of GoogleShoppingManufacturersV1ProductCertification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleShoppingManufacturersV1ProductCertification
Returns a new instance of GoogleShoppingManufacturersV1ProductCertification.
580 581 582 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authority ⇒ String
Required. Name of the certification body.
Corresponds to the JSON property authority
568 569 570 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 568 def @authority end |
#code ⇒ String
Required. A unique code to identify the certification.
Corresponds to the JSON property code
573 574 575 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 573 def code @code end |
#name ⇒ String
Required. Name of the certification.
Corresponds to the JSON property name
578 579 580 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 578 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
585 586 587 588 589 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 585 def update!(**args) @authority = args[:authority] if args.key?(:authority) @code = args[:code] if args.key?(:code) @name = args[:name] if args.key?(:name) end |