class Google::Apis::YoutubePartnerV1::Package
Attributes
The package's metadata file contents. Corresponds to the JSON property `content` @return [String]
The list of customer IDs. Corresponds to the JSON property `customIds` @return [Array<String>]
An ID that YouTube assigns and uses to uniquely identify the package. Corresponds to the JSON property `id` @return [String]
The type of the API resource. For package resources, this value is youtubePartner#package. Corresponds to the JSON property `kind` @return [String]
The desired locale of the error messages as defined in BCP 47 (http: //tools. ietf.org/html/bcp47). For example, “en-US” or “de”. If not // specified we will return the error messages in English (“en”). Corresponds to the JSON property `locale` @return [String]
The package name. Corresponds to the JSON property `name` @return [String]
The package status. Corresponds to the JSON property `status` @return [String]
The package status reports. Corresponds to the JSON property `statusReports` @return [Array<Google::Apis::YoutubePartnerV1::StatusReport>]
The package creation time. The value is specified in RFC 3339 ( YYYY-MM-DDThh: mm:ss.000Z) format. Corresponds to the JSON property `timeCreated` @return [String]
The package type. Corresponds to the JSON property `type` @return [String]
The uploader name. Corresponds to the JSON property `uploaderName` @return [String]
Public Class Methods
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3042 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3047 def update!(**args) @content = args[:content] if args.key?(:content) @custom_ids = args[:custom_ids] if args.key?(:custom_ids) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) @name = args[:name] if args.key?(:name) @status = args[:status] if args.key?(:status) @status_reports = args[:status_reports] if args.key?(:status_reports) @time_created = args[:time_created] if args.key?(:time_created) @type = args[:type] if args.key?(:type) @uploader_name = args[:uploader_name] if args.key?(:uploader_name) end