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.


3407
3408
3409
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3407

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


3399
3400
3401
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3399

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)

3405
3406
3407
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3405

def territory
  @territory
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3412
3413
3414
3415
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3412

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