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.


1485
1486
1487
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1485

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)

1450
1451
1452
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1450

def conflict_notification_email
  @conflict_notification_email
end

#display_nameString

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

Returns:

  • (String)

1455
1456
1457
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1455

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

1461
1462
1463
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1461

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

1466
1467
1468
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1466

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)

1471
1472
1473
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1471

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)

1477
1478
1479
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1477

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

1483
1484
1485
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1483

def primary_notification_emails
  @primary_notification_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1490
1491
1492
1493
1494
1495
1496
1497
1498
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1490

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