Class: Google::Apis::YoutubePartnerV1::Whitelist
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Whitelist
- 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
-
#id ⇒ String
The YouTube channel ID that uniquely identifies the whitelisted channel.
-
#kind ⇒ String
The type of the API resource.
-
#title ⇒ String
Title of the whitelisted YouTube channel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Whitelist
constructor
A new instance of Whitelist.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Whitelist
Returns a new instance of Whitelist.
3731 3732 3733 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3731 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The YouTube channel ID that uniquely identifies the whitelisted channel.
Corresponds to the JSON property id
3718 3719 3720 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3718 def id @id end |
#kind ⇒ String
The type of the API resource. For whitelist resources, this value is
youtubePartner#whitelist.
Corresponds to the JSON property kind
3724 3725 3726 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3724 def kind @kind end |
#title ⇒ String
Title of the whitelisted YouTube channel.
Corresponds to the JSON property title
3729 3730 3731 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3729 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3736 3737 3738 3739 3740 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3736 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 |