class Google::Apis::YoutubePartnerV1::PackageInsertResponse
Attributes
The list of errors and/or warnings. Corresponds to the JSON property `errors` @return [Array<Google::Apis::YoutubePartnerV1::ValidateError>]
The type of the API response. For this operation, the value is youtubePartner# packageInsert. Corresponds to the JSON property `kind` @return [String]
The package resource. Corresponds to the JSON property `resource` @return [Google::Apis::YoutubePartnerV1::Package]
The package insert status. Indicates whether the insert operation completed successfully or identifies the general cause of failure. For most cases where the insert operation failed, the errors are described in the API response's errors object. However, if the operation failed because the package contained non-metadata files, the errors object is not included in the response. Corresponds to the JSON property `status` @return [String]
Public Class Methods
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3091 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 3096 def update!(**args) @errors = args[:errors] if args.key?(:errors) @kind = args[:kind] if args.key?(:kind) @resource = args[:resource] if args.key?(:resource) @status = args[:status] if args.key?(:status) end