class Google::Apis::YoutubePartnerV1::Whitelist

Attributes

id[RW]

The YouTube channel ID that uniquely identifies the whitelisted channel. Corresponds to the JSON property `id` @return [String]

kind[RW]

The type of the API resource. For whitelist resources, this value is youtubePartner#whitelist. Corresponds to the JSON property `kind` @return [String]

title[RW]

Title of the whitelisted YouTube channel. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 3604
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_partner_v1/classes.rb, line 3609
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @title = args[:title] if args.key?(:title)
end