class Google::Apis::YoutubePartnerV1::MetadataHistory

Attributes

kind[RW]

The type of the API resource. For metadata history resources, the value is youtubePartner#metadataHistory. Corresponds to the JSON property `kind` @return [String]

metadata[RW]

The metadata object contains the metadata provided by the specified source ( origination) at the specified time (timeProvided). Corresponds to the JSON property `metadata` @return [Google::Apis::YoutubePartnerV1::Metadata]

origination[RW]

The origination object contains information that describes the metadata source. Corresponds to the JSON property `origination` @return [Google::Apis::YoutubePartnerV1::Origination]

time_provided[RW]

The time the metadata was provided. Corresponds to the JSON property `timeProvided` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 2209
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_partner_v1/classes.rb, line 2214
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