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



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

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

Instance Attribute Details

#contentString

The metadata file contents. Corresponds to the JSON property content

Returns:

  • (String)


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

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)


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

def kind
  @kind
end

#uploader_nameString

The uploader name. Corresponds to the JSON property uploaderName

Returns:

  • (String)


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

def uploader_name
  @uploader_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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