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
5229 5230 5231 |
# File 'generated/google/apis/content_v2/classes.rb', line 5229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_status ⇒ String
The destination's approval status.
Corresponds to the JSON property approvalStatus
5216 5217 5218 |
# File 'generated/google/apis/content_v2/classes.rb', line 5216 def approval_status @approval_status end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
5221 5222 5223 |
# File 'generated/google/apis/content_v2/classes.rb', line 5221 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
5227 5228 5229 |
# File 'generated/google/apis/content_v2/classes.rb', line 5227 def intention @intention end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5234 5235 5236 5237 5238 |
# File 'generated/google/apis/content_v2/classes.rb', line 5234 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 |