class Google::Apis::YoutubePartnerV1::Package

Attributes

content[RW]

The package's metadata file contents. Corresponds to the JSON property `content` @return [String]

custom_ids[RW]

The list of customer IDs. Corresponds to the JSON property `customIds` @return [Array<String>]

id[RW]

An ID that YouTube assigns and uses to uniquely identify the package. Corresponds to the JSON property `id` @return [String]

kind[RW]

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

locale[RW]

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]

name[RW]

The package name. Corresponds to the JSON property `name` @return [String]

status[RW]

The package status. Corresponds to the JSON property `status` @return [String]

status_reports[RW]

The package status reports. Corresponds to the JSON property `statusReports` @return [Array<Google::Apis::YoutubePartnerV1::StatusReport>]

time_created[RW]

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]

type[RW]

The package type. Corresponds to the JSON property `type` @return [String]

uploader_name[RW]

The uploader name. Corresponds to the JSON property `uploaderName` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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