class Google::Apis::YoutubePartnerV1::ValidateRequest

Attributes

content[RW]

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

kind[RW]

The type of the API resource. For this operation, the value is youtubePartner# validateRequest. 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]

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 4278
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 4283
def update!(**args)
  @content = args[:content] if args.key?(:content)
  @kind = args[:kind] if args.key?(:kind)
  @locale = args[:locale] if args.key?(:locale)
  @uploader_name = args[:uploader_name] if args.key?(:uploader_name)
end