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

Constructor Details

#initialize(**args) ⇒ ContentOwner

Returns a new instance of ContentOwner.



1370
1371
1372
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1370

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)


1335
1336
1337
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1335

def conflict_notification_email
  @conflict_notification_email
end

#display_nameString

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

Returns:

  • (String)


1340
1341
1342
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1340

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


1346
1347
1348
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1346

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


1351
1352
1353
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1351

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)


1356
1357
1358
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1356

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)


1362
1363
1364
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1362

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


1368
1369
1370
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1368

def primary_notification_emails
  @primary_notification_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1375

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