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_status ⇒ String
The destination's approval status.
-
#destination ⇒ String
The name of the destination Corresponds to the JSON property
destination
. -
#intention ⇒ String
Whether the destination is required, excluded, selected by default or should be validated.
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
5147 5148 5149 |
# File 'generated/google/apis/content_v2/classes.rb', line 5147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_status ⇒ String
The destination's approval status.
Corresponds to the JSON property approvalStatus
5134 5135 5136 |
# File 'generated/google/apis/content_v2/classes.rb', line 5134 def approval_status @approval_status end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
5139 5140 5141 |
# File 'generated/google/apis/content_v2/classes.rb', line 5139 def destination @destination end |
#intention ⇒ String
Whether the destination is required, excluded, selected by default or should
be validated.
Corresponds to the JSON property intention
5145 5146 5147 |
# File 'generated/google/apis/content_v2/classes.rb', line 5145 def intention @intention end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5152 5153 5154 5155 5156 |
# File 'generated/google/apis/content_v2/classes.rb', line 5152 def update!(**args) @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 |