Class: Google::Apis::YoutubePartnerV1::ValidateResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ValidateResponse
- 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
-
#errors ⇒ Array<Google::Apis::YoutubePartnerV1::ValidateError>
The list of errors and/or warnings.
-
#kind ⇒ String
The type of the API resource.
-
#status ⇒ String
The validation status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateResponse
constructor
A new instance of ValidateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ValidateResponse
Returns a new instance of ValidateResponse.
3894 3895 3896 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3894 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::YoutubePartnerV1::ValidateError>
The list of errors and/or warnings.
Corresponds to the JSON property errors
3881 3882 3883 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3881 def errors @errors end |
#kind ⇒ String
The type of the API resource. For this operation, the value is youtubePartner#
validateResponse.
Corresponds to the JSON property kind
3887 3888 3889 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3887 def kind @kind end |
#status ⇒ String
The validation status.
Corresponds to the JSON property status
3892 3893 3894 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3892 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3899 3900 3901 3902 3903 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3899 def update!(**args) @errors = args[:errors] if args.key?(:errors) @kind = args[:kind] if args.key?(:kind) @status = args[:status] if args.key?(:status) end |