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. 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 5111
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 5116
def update!(**args)
  @destination_name = args[:destination_name] if args.key?(:destination_name)
  @intention = args[:intention] if args.key?(:intention)
end