Class: Google::Apis::ContentV2::ProductStatusDestinationStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductStatusDestinationStatus

Returns a new instance of ProductStatusDestinationStatus.



9726
9727
9728
# File 'lib/google/apis/content_v2/classes.rb', line 9726

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#approval_pendingBoolean Also known as: approval_pending?

Whether the approval status might change due to further processing. Corresponds to the JSON property approvalPending

Returns:

  • (Boolean)


9706
9707
9708
# File 'lib/google/apis/content_v2/classes.rb', line 9706

def approval_pending
  @approval_pending
end

#approval_statusString

The destination's approval status. Acceptable values are: - "approved" - " disapproved" Corresponds to the JSON property approvalStatus

Returns:

  • (String)


9713
9714
9715
# File 'lib/google/apis/content_v2/classes.rb', line 9713

def approval_status
  @approval_status
end

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


9718
9719
9720
# File 'lib/google/apis/content_v2/classes.rb', line 9718

def destination
  @destination
end

#intentionString

Provided for backward compatibility only. Always set to "required". Acceptable values are: - "default" - "excluded" - "optional" - "required" Corresponds to the JSON property intention

Returns:

  • (String)


9724
9725
9726
# File 'lib/google/apis/content_v2/classes.rb', line 9724

def intention
  @intention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9731
9732
9733
9734
9735
9736
# File 'lib/google/apis/content_v2/classes.rb', line 9731

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