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.


3773
3774
3775
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3773

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)

3761
3762
3763
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3761

def kind
  @kind
end

#statusString

The validation status. Corresponds to the JSON property status

Returns:

  • (String)

3766
3767
3768
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3766

def status
  @status
end

#validation_idString

The validation ID. Corresponds to the JSON property validationId

Returns:

  • (String)

3771
3772
3773
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3771

def validation_id
  @validation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3778
3779
3780
3781
3782
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3778

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