Class: Google::Apis::YoutubePartnerV1::MetadataHistory
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::MetadataHistory
- 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
-
#kind ⇒ String
The type of the API resource.
-
#metadata ⇒ Google::Apis::YoutubePartnerV1::Metadata
The metadata object contains the metadata provided by the specified source ( origination) at the specified time (timeProvided).
-
#origination ⇒ Google::Apis::YoutubePartnerV1::Origination
The origination object contains information that describes the metadata source.
-
#time_provided ⇒ DateTime
The time the metadata was provided.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MetadataHistory
constructor
A new instance of MetadataHistory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MetadataHistory
Returns a new instance of MetadataHistory
2286 2287 2288 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
The type of the API resource. For metadata history resources, the value is
youtubePartner#metadataHistory.
Corresponds to the JSON property kind
2268 2269 2270 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2268 def kind @kind end |
#metadata ⇒ Google::Apis::YoutubePartnerV1::Metadata
The metadata object contains the metadata provided by the specified source (
origination) at the specified time (timeProvided).
Corresponds to the JSON property metadata
2274 2275 2276 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2274 def @metadata end |
#origination ⇒ Google::Apis::YoutubePartnerV1::Origination
The origination object contains information that describes the metadata source.
Corresponds to the JSON property origination
2279 2280 2281 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2279 def origination @origination end |
#time_provided ⇒ DateTime
The time the metadata was provided.
Corresponds to the JSON property timeProvided
2284 2285 2286 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2284 def time_provided @time_provided end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2291 2292 2293 2294 2295 2296 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2291 def update!(**args) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @origination = args[:origination] if args.key?(:origination) @time_provided = args[:time_provided] if args.key?(:time_provided) end |