Class: Google::Apis::ContentV2::ProductStatusDestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::ProductStatusDestinationStatus
- 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
-
#approval_pending ⇒ Boolean
(also: #approval_pending?)
Whether the approval status might change due to further processing.
-
#approval_status ⇒ String
The destination's approval status.
-
#destination ⇒ String
The name of the destination Corresponds to the JSON property
destination
. -
#intention ⇒ String
Provided for backward compatibility only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductStatusDestinationStatus
constructor
A new instance of ProductStatusDestinationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProductStatusDestinationStatus
Returns a new instance of ProductStatusDestinationStatus
8935 8936 8937 |
# File 'generated/google/apis/content_v2/classes.rb', line 8935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_pending ⇒ Boolean Also known as: approval_pending?
Whether the approval status might change due to further processing.
Corresponds to the JSON property approvalPending
8917 8918 8919 |
# File 'generated/google/apis/content_v2/classes.rb', line 8917 def approval_pending @approval_pending end |
#approval_status ⇒ String
The destination's approval status.
Corresponds to the JSON property approvalStatus
8923 8924 8925 |
# File 'generated/google/apis/content_v2/classes.rb', line 8923 def approval_status @approval_status end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
8928 8929 8930 |
# File 'generated/google/apis/content_v2/classes.rb', line 8928 def destination @destination end |
#intention ⇒ String
Provided for backward compatibility only. Always set to "required".
Corresponds to the JSON property intention
8933 8934 8935 |
# File 'generated/google/apis/content_v2/classes.rb', line 8933 def intention @intention end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8940 8941 8942 8943 8944 8945 |
# File 'generated/google/apis/content_v2/classes.rb', line 8940 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 |