class Google::Apis::ContentV2::ProductAspect

Attributes

aspect_name[RW]

The name of the aspect. Corresponds to the JSON property `aspectName` @return [String]

destination_name[RW]

The name of the destination. Leave out to apply to all destinations. Corresponds to the JSON property `destinationName` @return [String]

intention[RW]

Whether the aspect is required, excluded or should be validated. Corresponds to the JSON property `intention` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 5021
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 5026
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