Class: Google::Apis::YoutubePartnerV1::Source
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Source
- 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
-
#content_owner_id ⇒ String
Id of content owner that initiated the event.
-
#type ⇒ String
Type of the event source.
-
#user_email ⇒ String
Email of user who initiated the event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
3783 3784 3785 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_owner_id ⇒ String
Id of content owner that initiated the event.
Corresponds to the JSON property contentOwnerId
3771 3772 3773 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3771 def content_owner_id @content_owner_id end |
#type ⇒ String
Type of the event source.
Corresponds to the JSON property type
3776 3777 3778 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3776 def type @type end |
#user_email ⇒ String
Email of user who initiated the event.
Corresponds to the JSON property userEmail
3781 3782 3783 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3781 def user_email @user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3788 3789 3790 3791 3792 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3788 def update!(**args) @content_owner_id = args[:content_owner_id] if args.key?(:content_owner_id) @type = args[:type] if args.key?(:type) @user_email = args[:user_email] if args.key?(:user_email) end |