Class: Google::Apis::ContentV2::ProductAspect
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::ProductAspect
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#aspect_name ⇒ String
Deprecated.
-
#destination_name ⇒ String
Deprecated.
-
#intention ⇒ String
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductAspect
constructor
A new instance of ProductAspect.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductAspect
Returns a new instance of ProductAspect.
9392 9393 9394 |
# File 'lib/google/apis/content_v2/classes.rb', line 9392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aspect_name ⇒ String
Deprecated.
Corresponds to the JSON property aspectName
9380 9381 9382 |
# File 'lib/google/apis/content_v2/classes.rb', line 9380 def aspect_name @aspect_name end |
#destination_name ⇒ String
Deprecated.
Corresponds to the JSON property destinationName
9385 9386 9387 |
# File 'lib/google/apis/content_v2/classes.rb', line 9385 def destination_name @destination_name end |
#intention ⇒ String
Deprecated.
Corresponds to the JSON property intention
9390 9391 9392 |
# File 'lib/google/apis/content_v2/classes.rb', line 9390 def intention @intention end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9397 9398 9399 9400 9401 |
# File 'lib/google/apis/content_v2/classes.rb', line 9397 def update!(**args) @aspect_name = args[:aspect_name] if args.key?(:aspect_name) @destination_name = args[:destination_name] if args.key?(:destination_name) @intention = args[:intention] if args.key?(:intention) end |