class Google::Apis::ContentV2::ProductStatusDestinationStatus

Attributes

approval_pending[RW]

Whether the approval status might change due to further processing. Corresponds to the JSON property `approvalPending` @return [Boolean]

approval_pending?[RW]

Whether the approval status might change due to further processing. Corresponds to the JSON property `approvalPending` @return [Boolean]

approval_status[RW]

The destination's approval status. Acceptable values are: - “`approved`” - “` disapproved`” Corresponds to the JSON property `approvalStatus` @return [String]

destination[RW]

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

intention[RW]

Provided for backward compatibility only. Always set to “required”. 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 9718
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 9723
def update!(**args)
  @approval_pending = args[:approval_pending] if args.key?(:approval_pending)
  @approval_status = args[:approval_status] if args.key?(:approval_status)
  @destination = args[:destination] if args.key?(:destination)
  @intention = args[:intention] if args.key?(:intention)
end