Class: Google::Apis::YoutubePartnerV1::ValidateStatusResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ValidateStatusResponse
- 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.
-
#is_metadata_only ⇒ Boolean
(also: #is_metadata_only?)
If this is a metadata-only package.
-
#kind ⇒ String
The type of the API resource.
-
#status ⇒ String
The validation status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateStatusResponse
constructor
A new instance of ValidateStatusResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidateStatusResponse
Returns a new instance of ValidateStatusResponse.
4363 4364 4365 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4363 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
4344 4345 4346 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4344 def errors @errors end |
#is_metadata_only ⇒ Boolean Also known as: is_metadata_only?
If this is a metadata-only package.
Corresponds to the JSON property isMetadataOnly
4349 4350 4351 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4349 def @is_metadata_only end |
#kind ⇒ String
The type of the API resource. For this operation, the value is youtubePartner#
validateStatusResponse.
Corresponds to the JSON property kind
4356 4357 4358 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4356 def kind @kind end |
#status ⇒ String
The validation status.
Corresponds to the JSON property status
4361 4362 4363 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4361 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4368 4369 4370 4371 4372 4373 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4368 def update!(**args) @errors = args[:errors] if args.key?(:errors) @is_metadata_only = args[:is_metadata_only] if args.key?(:is_metadata_only) @kind = args[:kind] if args.key?(:kind) @status = args[:status] if args.key?(:status) end |