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

Constructor Details

#initialize(**args) ⇒ TerritoryConflicts

Returns a new instance of TerritoryConflicts.



3938
3939
3940
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3938

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



3930
3931
3932
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3930

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)


3936
3937
3938
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3936

def territory
  @territory
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3943
3944
3945
3946
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3943

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