Class: Google::Apis::YoutubePartnerV1::ValidateAsyncRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ValidateAsyncRequest

Returns a new instance of ValidateAsyncRequest.



3741
3742
3743
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3741

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentString

The metadata file contents. Corresponds to the JSON property content

Returns:

  • (String)


3728
3729
3730
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3728

def content
  @content
end

#kindString

The type of the API resource. For this operation, the value is youtubePartner# validateAsyncRequest. Corresponds to the JSON property kind

Returns:

  • (String)


3734
3735
3736
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3734

def kind
  @kind
end

#uploader_nameString

The uploader name. Corresponds to the JSON property uploaderName

Returns:

  • (String)


3739
3740
3741
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3739

def uploader_name
  @uploader_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3746
3747
3748
3749
3750
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3746

def update!(**args)
  @content = args[:content] if args.key?(:content)
  @kind = args[:kind] if args.key?(:kind)
  @uploader_name = args[:uploader_name] if args.key?(:uploader_name)
end