Class: Google::Apis::YoutubePartnerV1::ValidateRequest
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ValidateRequest
- 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
-
#content ⇒ String
The metadata file contents.
-
#kind ⇒ String
The type of the API resource.
-
#locale ⇒ String
The desired locale of the error messages as defined in BCP 47 (http://tools. ietf.org/html/bcp47).
-
#uploader_name ⇒ String
The uploader name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateRequest
constructor
A new instance of ValidateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ValidateRequest
Returns a new instance of ValidateRequest.
3546 3547 3548 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3546 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The metadata file contents.
Corresponds to the JSON property content
3526 3527 3528 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3526 def content @content end |
#kind ⇒ String
The type of the API resource. For this operation, the value is youtubePartner#
validateRequest.
Corresponds to the JSON property kind
3532 3533 3534 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3532 def kind @kind end |
#locale ⇒ String
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
3539 3540 3541 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3539 def locale @locale end |
#uploader_name ⇒ String
The uploader name.
Corresponds to the JSON property uploaderName
3544 3545 3546 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3544 def uploader_name @uploader_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3551 3552 3553 3554 3555 3556 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3551 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 |