Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::Validation.
A validation to perform on a stream.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::String
Returns
- (::String) — A custom code identifying this validation.
#code=
def code=(value) -> ::String
Parameter
- value (::String) — A custom code identifying this validation.
Returns
- (::String) — A custom code identifying this validation.
#description
def description() -> ::String
Returns
- (::String) — A short description of the validation.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — A short description of the validation.
Returns
- (::String) — A short description of the validation.
#message
def message() -> ::Array<::Google::Cloud::Datastream::V1::ValidationMessage>
Returns
- (::Array<::Google::Cloud::Datastream::V1::ValidationMessage>) — Messages reflecting the validation results.
#message=
def message=(value) -> ::Array<::Google::Cloud::Datastream::V1::ValidationMessage>
Parameter
- value (::Array<::Google::Cloud::Datastream::V1::ValidationMessage>) — Messages reflecting the validation results.
Returns
- (::Array<::Google::Cloud::Datastream::V1::ValidationMessage>) — Messages reflecting the validation results.
#state
def state() -> ::Google::Cloud::Datastream::V1::Validation::State
Returns
- (::Google::Cloud::Datastream::V1::Validation::State) — Validation execution status.
#state=
def state=(value) -> ::Google::Cloud::Datastream::V1::Validation::State
Parameter
- value (::Google::Cloud::Datastream::V1::Validation::State) — Validation execution status.
Returns
- (::Google::Cloud::Datastream::V1::Validation::State) — Validation execution status.