Class: Google::Apis::YoutubePartnerV1::ContentOwner

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) ⇒ ContentOwner

Returns a new instance of ContentOwner



1556
1557
1558
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1556

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

Instance Attribute Details

#conflict_notification_emailString

The email address visible to other partners for use in managing asset ownership conflicts. Corresponds to the JSON property conflictNotificationEmail

Returns:

  • (String)


1521
1522
1523
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1521

def conflict_notification_email
  @conflict_notification_email
end

#display_nameString

The content owner's display name. Corresponds to the JSON property displayName

Returns:

  • (String)


1526
1527
1528
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1526

def display_name
  @display_name
end

#dispute_notification_emailsArray<String>

The email address(es) to which YouTube sends claim dispute notifications and possible claim notifications. Corresponds to the JSON property disputeNotificationEmails

Returns:

  • (Array<String>)


1532
1533
1534
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1532

def dispute_notification_emails
  @dispute_notification_emails
end

#fingerprint_report_notification_emailsArray<String>

The email address(es) to which YouTube sends fingerprint reports. Corresponds to the JSON property fingerprintReportNotificationEmails

Returns:

  • (Array<String>)


1537
1538
1539
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1537

def fingerprint_report_notification_emails
  @fingerprint_report_notification_emails
end

#idString

A unique ID that YouTube uses to identify the content owner. Corresponds to the JSON property id

Returns:

  • (String)


1542
1543
1544
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1542

def id
  @id
end

#kindString

The type of the API resource. For content owner resources, the value is youtubePartner#contentOwner. Corresponds to the JSON property kind

Returns:

  • (String)


1548
1549
1550
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1548

def kind
  @kind
end

#primary_notification_emailsArray<String>

The email address(es) to which YouTube sends CMS account details and report notifications. Corresponds to the JSON property primaryNotificationEmails

Returns:

  • (Array<String>)


1554
1555
1556
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1554

def primary_notification_emails
  @primary_notification_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1561
1562
1563
1564
1565
1566
1567
1568
1569
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1561

def update!(**args)
  @conflict_notification_email = args[:conflict_notification_email] if args.key?(:conflict_notification_email)
  @display_name = args[:display_name] if args.key?(:display_name)
  @dispute_notification_emails = args[:dispute_notification_emails] if args.key?(:dispute_notification_emails)
  @fingerprint_report_notification_emails = args[:fingerprint_report_notification_emails] if args.key?(:fingerprint_report_notification_emails)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @primary_notification_emails = args[:primary_notification_emails] if args.key?(:primary_notification_emails)
end