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

Constructor Details

#initialize(**args) ⇒ ValidateAsyncResponse

Returns a new instance of ValidateAsyncResponse.



4170
4171
4172
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4170

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)


4158
4159
4160
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4158

def kind
  @kind
end

#statusString

The validation status. Corresponds to the JSON property status

Returns:

  • (String)


4163
4164
4165
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4163

def status
  @status
end

#validation_idString

The validation ID. Corresponds to the JSON property validationId

Returns:

  • (String)


4168
4169
4170
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4168

def validation_id
  @validation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4175
4176
4177
4178
4179
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4175

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