Class: Google::Apis::YoutubePartnerV1::ValidateResponse

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ValidateResponse

Returns a new instance of ValidateResponse.



3579
3580
3581
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3579

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



3566
3567
3568
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3566

def errors
  @errors
end

#kindString

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

Returns:

  • (String)


3572
3573
3574
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3572

def kind
  @kind
end

#statusString

The validation status. Corresponds to the JSON property status

Returns:

  • (String)


3577
3578
3579
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3577

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3584
3585
3586
3587
3588
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3584

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