class Google::Apis::DatastreamV1alpha1::Validation

Attributes

code[RW]

A custom code identifying this validation. Corresponds to the JSON property ‘code` @return [String]

description[RW]

A short description of the validation. Corresponds to the JSON property ‘description` @return [String]

message[RW]

Messages reflecting the validation results. Corresponds to the JSON property ‘message` @return [Array<Google::Apis::DatastreamV1alpha1::ValidationMessage>]

status[RW]

Validation execution status. Corresponds to the JSON property ‘status` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 1958
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastream_v1alpha1/classes.rb, line 1963
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @description = args[:description] if args.key?(:description)
  @message = args[:message] if args.key?(:message)
  @status = args[:status] if args.key?(:status)
end