Class: Google::Apis::ContentV2::ProductStatusDestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::ProductStatusDestinationStatus
- 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
-
#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.
Constructor Details
#initialize(**args) ⇒ ProductStatusDestinationStatus
Returns a new instance of ProductStatusDestinationStatus.
9389 9390 9391 |
# File 'lib/google/apis/content_v2/classes.rb', line 9389 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
9369 9370 9371 |
# File 'lib/google/apis/content_v2/classes.rb', line 9369 def approval_pending @approval_pending end |
#approval_status ⇒ String
The destination's approval status. Acceptable values are: - "approved
" - "
disapproved
"
Corresponds to the JSON property approvalStatus
9376 9377 9378 |
# File 'lib/google/apis/content_v2/classes.rb', line 9376 def approval_status @approval_status end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
9381 9382 9383 |
# File 'lib/google/apis/content_v2/classes.rb', line 9381 def destination @destination end |
#intention ⇒ String
Provided for backward compatibility only. Always set to "required". Acceptable
values are: - "default
" - "excluded
" - "optional
" - "required
"
Corresponds to the JSON property intention
9387 9388 9389 |
# File 'lib/google/apis/content_v2/classes.rb', line 9387 def intention @intention end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9394 9395 9396 9397 9398 9399 |
# File 'lib/google/apis/content_v2/classes.rb', line 9394 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 |