Class: Google::Apis::DataflowV1b3::ValidateResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb

Overview

Response to the validation request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidateResponse

Returns a new instance of ValidateResponse.



5742
5743
5744
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5742

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_messageString

Will be empty if validation succeeds. Corresponds to the JSON property errorMessage

Returns:

  • (String)


5735
5736
5737
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5735

def error_message
  @error_message
end

#query_infoGoogle::Apis::DataflowV1b3::QueryInfo

Information about a validated query. Corresponds to the JSON property queryInfo



5740
5741
5742
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5740

def query_info
  @query_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5747
5748
5749
5750
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5747

def update!(**args)
  @error_message = args[:error_message] if args.key?(:error_message)
  @query_info = args[:query_info] if args.key?(:query_info)
end