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.
549 550 551 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 549 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authority ⇒ String
Required. Name of the certification body.
Corresponds to the JSON property authority
537 538 539 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 537 def @authority end |
#code ⇒ String
Required. A unique code to identify the certification.
Corresponds to the JSON property code
542 543 544 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 542 def code @code end |
#name ⇒ String
Required. Name of the certification.
Corresponds to the JSON property name
547 548 549 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 547 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
554 555 556 557 558 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 554 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 |