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.



1523
1524
1525
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1523

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)


1488
1489
1490
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1488

def conflict_notification_email
  @conflict_notification_email
end

#display_nameString

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

Returns:

  • (String)


1493
1494
1495
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1493

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


1499
1500
1501
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1499

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


1504
1505
1506
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1504

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)


1509
1510
1511
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1509

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)


1515
1516
1517
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1515

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


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

def primary_notification_emails
  @primary_notification_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1528
1529
1530
1531
1532
1533
1534
1535
1536
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1528

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