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.



5828
5829
5830
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5828

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)


5821
5822
5823
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5821

def error_message
  @error_message
end

#query_infoGoogle::Apis::DataflowV1b3::QueryInfo

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



5826
5827
5828
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5826

def query_info
  @query_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5833
5834
5835
5836
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5833

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