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 ⇒ String
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.
Constructor Details
#initialize(**args) ⇒ MetadataHistory
Returns a new instance of MetadataHistory.
2763 2764 2765 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2763 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
2745 2746 2747 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2745 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
2751 2752 2753 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2751 def @metadata end |
#origination ⇒ Google::Apis::YoutubePartnerV1::Origination
The origination object contains information that describes the metadata source.
Corresponds to the JSON property origination
2756 2757 2758 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2756 def origination @origination end |
#time_provided ⇒ String
The time the metadata was provided.
Corresponds to the JSON property timeProvided
2761 2762 2763 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2761 def time_provided @time_provided end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2768 2769 2770 2771 2772 2773 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2768 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 |