Class: Google::Apis::YoutubeV3::BrandPartner
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::BrandPartner
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Overview
Details about the brand partner linked to the video for Creator Initiated Linking (CIL). Next ID: 6
Instance Attribute Summary collapse
-
#channel_handle ⇒ String
Required.
-
#channel_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BrandPartner
constructor
A new instance of BrandPartner.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BrandPartner
Returns a new instance of BrandPartner.
751 752 753 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_handle ⇒ String
Required. Channel handle, must begin with "@"
Corresponds to the JSON property channelHandle
744 745 746 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 744 def channel_handle @channel_handle end |
#channel_id ⇒ String
Required. External Channel ID, must begin with "UC"
Corresponds to the JSON property channelId
749 750 751 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 749 def channel_id @channel_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
756 757 758 759 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 756 def update!(**args) @channel_handle = args[:channel_handle] if args.key?(:channel_handle) @channel_id = args[:channel_id] if args.key?(:channel_id) end |