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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProductStatusDestinationStatus

Returns a new instance of ProductStatusDestinationStatus



8783
8784
8785
# File 'generated/google/apis/content_v2/classes.rb', line 8783

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)


8765
8766
8767
# File 'generated/google/apis/content_v2/classes.rb', line 8765

def approval_pending
  @approval_pending
end

#approval_statusString

The destination's approval status. Corresponds to the JSON property approvalStatus

Returns:

  • (String)


8771
8772
8773
# File 'generated/google/apis/content_v2/classes.rb', line 8771

def approval_status
  @approval_status
end

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


8776
8777
8778
# File 'generated/google/apis/content_v2/classes.rb', line 8776

def destination
  @destination
end

#intentionString

Provided for backward compatibility only. Always set to "required". Corresponds to the JSON property intention

Returns:

  • (String)


8781
8782
8783
# File 'generated/google/apis/content_v2/classes.rb', line 8781

def intention
  @intention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8788
8789
8790
8791
8792
8793
# File 'generated/google/apis/content_v2/classes.rb', line 8788

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