Class: Google::Apis::YoutubePartnerV1::ClaimHistory
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ClaimHistory
- 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
-
#event ⇒ Array<Google::Apis::YoutubePartnerV1::ClaimEvent>
A list of claim history events.
-
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the claim.
-
#kind ⇒ String
The type of the API resource.
-
#uploader_channel_id ⇒ String
The external channel id of claimed video's uploader.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClaimHistory
constructor
A new instance of ClaimHistory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClaimHistory
Returns a new instance of ClaimHistory
1164 1165 1166 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event ⇒ Array<Google::Apis::YoutubePartnerV1::ClaimEvent>
A list of claim history events.
Corresponds to the JSON property event
1146 1147 1148 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1146 def event @event end |
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the claim.
Corresponds to the JSON property id
1151 1152 1153 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1151 def id @id end |
#kind ⇒ String
The type of the API resource. For claimHistory resources, this value is
youtubePartner#claimHistory.
Corresponds to the JSON property kind
1157 1158 1159 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1157 def kind @kind end |
#uploader_channel_id ⇒ String
The external channel id of claimed video's uploader.
Corresponds to the JSON property uploaderChannelId
1162 1163 1164 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1162 def uploader_channel_id @uploader_channel_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1169 1170 1171 1172 1173 1174 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1169 def update!(**args) @event = args[:event] if args.key?(:event) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @uploader_channel_id = args[:uploader_channel_id] if args.key?(:uploader_channel_id) end |