class Google::Apis::DatastreamV1::Validation

A validation to perform on a stream.

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::DatastreamV1::ValidationMessage>]

state[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 1951
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_v1/classes.rb, line 1956
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @description = args[:description] if args.key?(:description)
  @message = args[:message] if args.key?(:message)
  @state = args[:state] if args.key?(:state)
end