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.



5970
5971
5972
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5970

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)


5963
5964
5965
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5963

def error_message
  @error_message
end

#query_infoGoogle::Apis::DataflowV1b3::QueryInfo

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



5968
5969
5970
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5968

def query_info
  @query_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5975
5976
5977
5978
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5975

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