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.
2215 2216 2217 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2215 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
2197 2198 2199 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2197 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
2203 2204 2205 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2203 def @metadata end |
#origination ⇒ Google::Apis::YoutubePartnerV1::Origination
The origination object contains information that describes the metadata source.
Corresponds to the JSON property origination
2208 2209 2210 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2208 def origination @origination end |
#time_provided ⇒ DateTime
The time the metadata was provided.
Corresponds to the JSON property timeProvided
2213 2214 2215 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2213 def time_provided @time_provided end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2220 2221 2222 2223 2224 2225 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2220 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 |