Class: Google::Apis::YoutubePartnerV1::ValidateAsyncResponse

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

Returns a new instance of ValidateAsyncResponse



3874
3875
3876
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3874

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

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

Returns:

  • (String)


3862
3863
3864
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3862

def kind
  @kind
end

#statusString

The validation status. Corresponds to the JSON property status

Returns:

  • (String)


3867
3868
3869
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3867

def status
  @status
end

#validation_idString

The validation ID. Corresponds to the JSON property validationId

Returns:

  • (String)


3872
3873
3874
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3872

def validation_id
  @validation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3879
3880
3881
3882
3883
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3879

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @status = args[:status] if args.key?(:status)
  @validation_id = args[:validation_id] if args.key?(:validation_id)
end