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



3842
3843
3844
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3842

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

Instance Attribute Details

#contentString

The metadata file contents. Corresponds to the JSON property content

Returns:

  • (String)


3829
3830
3831
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3829

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)


3835
3836
3837
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3835

def kind
  @kind
end

#uploader_nameString

The uploader name. Corresponds to the JSON property uploaderName

Returns:

  • (String)


3840
3841
3842
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3840

def uploader_name
  @uploader_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3847
3848
3849
3850
3851
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3847

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