class Google::Apis::ContentV2_1::ProductStatusDestinationStatus
Attributes
approved_countries[RW]
List of country codes (ISO 3166-1 alpha-2) where the offer is approved. Corresponds to the JSON property `approvedCountries` @return [Array<String>]
destination[RW]
The name of the destination Corresponds to the JSON property `destination` @return [String]
disapproved_countries[RW]
List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved. Corresponds to the JSON property `disapprovedCountries` @return [Array<String>]
pending_countries[RW]
List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval. Corresponds to the JSON property `pendingCountries` @return [Array<String>]
status[RW]
Destination approval status in `targetCountry` of the offer. Corresponds to the JSON property `status` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 10918 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 10923 def update!(**args) @approved_countries = args[:approved_countries] if args.key?(:approved_countries) @destination = args[:destination] if args.key?(:destination) @disapproved_countries = args[:disapproved_countries] if args.key?(:disapproved_countries) @pending_countries = args[:pending_countries] if args.key?(:pending_countries) @status = args[:status] if args.key?(:status) end