Class: Google::Apis::YoutubePartnerV1::ContentOwner
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ContentOwner
- 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
-
#conflict_notification_email ⇒ String
The email address visible to other partners for use in managing asset ownership conflicts.
-
#display_name ⇒ String
The content owner's display name.
-
#dispute_notification_emails ⇒ Array<String>
The email address(es) to which YouTube sends claim dispute notifications and possible claim notifications.
-
#fingerprint_report_notification_emails ⇒ Array<String>
The email address(es) to which YouTube sends fingerprint reports.
-
#id ⇒ String
A unique ID that YouTube uses to identify the content owner.
-
#kind ⇒ String
The type of the API resource.
-
#primary_notification_emails ⇒ Array<String>
The email address(es) to which YouTube sends CMS account details and report notifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentOwner
constructor
A new instance of ContentOwner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_email ⇒ String
The email address visible to other partners for use in managing asset
ownership conflicts.
Corresponds to the JSON property conflictNotificationEmail
1521 1522 1523 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1521 def conflict_notification_email @conflict_notification_email end |
#display_name ⇒ String
The content owner's display name.
Corresponds to the JSON property displayName
1526 1527 1528 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1526 def display_name @display_name end |
#dispute_notification_emails ⇒ Array<String>
The email address(es) to which YouTube sends claim dispute notifications and
possible claim notifications.
Corresponds to the JSON property disputeNotificationEmails
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_emails ⇒ Array<String>
The email address(es) to which YouTube sends fingerprint reports.
Corresponds to the JSON property fingerprintReportNotificationEmails
1537 1538 1539 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1537 def fingerprint_report_notification_emails @fingerprint_report_notification_emails end |
#id ⇒ String
A unique ID that YouTube uses to identify the content owner.
Corresponds to the JSON property id
1542 1543 1544 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1542 def id @id end |
#kind ⇒ String
The type of the API resource. For content owner resources, the value is
youtubePartner#contentOwner.
Corresponds to the JSON property kind
1548 1549 1550 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1548 def kind @kind end |
#primary_notification_emails ⇒ Array<String>
The email address(es) to which YouTube sends CMS account details and report
notifications.
Corresponds to the JSON property primaryNotificationEmails
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 |