class Google::Apis::YoutubePartnerV1::TerritoryCondition
Attributes
territories[RW]
A list of territories. Each territory is an ISO 3166 two-letter country code.. Corresponds to the JSON property `territories` @return [Array<String>]
type[RW]
This field indicates whether the associated policy rule is or is not valid in the specified territories. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3375 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3380 def update!(**args) @territories = args[:territories] if args.key?(:territories) @type = args[:type] if args.key?(:type) end