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



3598
3599
3600
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3598

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



3590
3591
3592
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3590

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)


3596
3597
3598
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3596

def territory
  @territory
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3603
3604
3605
3606
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3603

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