Class: Google::Apis::YoutubePartnerV1::ValidateStatusRequest
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ValidateStatusRequest
- 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
-
#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).
-
#validation_id ⇒ String
The validation ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateStatusRequest
constructor
A new instance of ValidateStatusRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ValidateStatusRequest
Returns a new instance of ValidateStatusRequest
4029 4030 4031 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4029 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
The type of the API resource. For this operation, the value is youtubePartner#
validateStatusRequest.
Corresponds to the JSON property kind
4015 4016 4017 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4015 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
4022 4023 4024 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4022 def locale @locale end |
#validation_id ⇒ String
The validation ID.
Corresponds to the JSON property validationId
4027 4028 4029 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4027 def validation_id @validation_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4034 4035 4036 4037 4038 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4034 def update!(**args) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) @validation_id = args[:validation_id] if args.key?(:validation_id) end |