class Google::Apis::ContentV2::ProductDestination

Attributes

destination_name[RW]

The name of the destination. Corresponds to the JSON property `destinationName` @return [String]

intention[RW]

Whether the destination is required, excluded or should be validated. Acceptable values are: - “`default`” - “`excluded`” - “`optional`” - “` required`” Corresponds to the JSON property `intention` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 9425
def update!(**args)
  @destination_name = args[:destination_name] if args.key?(:destination_name)
  @intention = args[:intention] if args.key?(:intention)
end