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

Constructor Details

#initialize(**args) ⇒ ValidateAsyncRequest

Returns a new instance of ValidateAsyncRequest.



4138
4139
4140
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4138

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

Instance Attribute Details

#contentString

The metadata file contents. Corresponds to the JSON property content

Returns:

  • (String)


4125
4126
4127
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4125

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)


4131
4132
4133
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4131

def kind
  @kind
end

#uploader_nameString

The uploader name. Corresponds to the JSON property uploaderName

Returns:

  • (String)


4136
4137
4138
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4136

def uploader_name
  @uploader_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4143
4144
4145
4146
4147
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4143

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