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.



5667
5668
5669
# File 'generated/google/apis/content_v2/classes.rb', line 5667

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#approval_statusString

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

Returns:

  • (String)


5654
5655
5656
# File 'generated/google/apis/content_v2/classes.rb', line 5654

def approval_status
  @approval_status
end

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


5659
5660
5661
# File 'generated/google/apis/content_v2/classes.rb', line 5659

def destination
  @destination
end

#intentionString

Whether the destination is required, excluded, selected by default or should be validated. Corresponds to the JSON property intention

Returns:

  • (String)


5665
5666
5667
# File 'generated/google/apis/content_v2/classes.rb', line 5665

def intention
  @intention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5672
5673
5674
5675
5676
# File 'generated/google/apis/content_v2/classes.rb', line 5672

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