Class: Google::Apis::YoutubePartnerV1::TerritoryConflicts

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TerritoryConflicts

Returns a new instance of TerritoryConflicts



3707
3708
3709
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3707

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

Instance Attribute Details

#conflicting_ownershipArray<Google::Apis::YoutubePartnerV1::ConflictingOwnership>

A list of conflicting ownerships. Corresponds to the JSON property conflictingOwnership



3699
3700
3701
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3699

def conflicting_ownership
  @conflicting_ownership
end

#territoryString

A territories where the ownership conflict is present. Territory is an ISO 3166 two-letter country code.. Corresponds to the JSON property territory

Returns:

  • (String)


3705
3706
3707
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3705

def territory
  @territory
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3712
3713
3714
3715
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3712

def update!(**args)
  @conflicting_ownership = args[:conflicting_ownership] if args.key?(:conflicting_ownership)
  @territory = args[:territory] if args.key?(:territory)
end