Class: Google::Apis::YoutubePartnerV1::ValidateStatusResponse

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) ⇒ 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

#errorsArray<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_onlyBoolean Also known as: is_metadata_only?

If this is a metadata-only package. Corresponds to the JSON property isMetadataOnly

Returns:

  • (Boolean)


4349
4350
4351
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4349

def 
  @is_metadata_only
end

#kindString

The type of the API resource. For this operation, the value is youtubePartner# validateStatusResponse. Corresponds to the JSON property kind

Returns:

  • (String)


4356
4357
4358
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4356

def kind
  @kind
end

#statusString

The validation status. Corresponds to the JSON property status

Returns:

  • (String)


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