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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ValidateStatusResponse

Returns a new instance of ValidateStatusResponse.


3966
3967
3968
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3966

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


3947
3948
3949
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3947

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)

3952
3953
3954
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3952

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)

3959
3960
3961
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3959

def kind
  @kind
end

#statusString

The validation status. Corresponds to the JSON property status

Returns:

  • (String)

3964
3965
3966
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3964

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3971
3972
3973
3974
3975
3976
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3971

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