Class: Google::Cloud::DataQnA::V1alpha::ExecutionInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataqna/v1alpha/question.rb

Overview

Information about the backend status (such as BigQuery) of the execution.

Defined Under Namespace

Modules: JobExecutionState

Instance Attribute Summary collapse

Instance Attribute Details

#bigquery_job::Google::Cloud::DataQnA::V1alpha::BigQueryJob

Returns BigQuery job information. Future versions will have different backends. Hence, clients must make sure they can handle it when this field is not populated.

Returns:



172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 172

class ExecutionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum of possible job execution statuses.
  module JobExecutionState
    # No job execution was specified.
    JOB_EXECUTION_STATE_UNSPECIFIED = 0

    # No job execution was requested, yet.
    NOT_EXECUTED = 1

    # The job is running.
    RUNNING = 2

    # The job completed successfully.
    SUCCEEDED = 3

    # The job completed unsuccessfully.
    FAILED = 4
  end
end

#create_time::Google::Protobuf::Timestamp

Returns Time when the execution was triggered.

Returns:



172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 172

class ExecutionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum of possible job execution statuses.
  module JobExecutionState
    # No job execution was specified.
    JOB_EXECUTION_STATE_UNSPECIFIED = 0

    # No job execution was requested, yet.
    NOT_EXECUTED = 1

    # The job is running.
    RUNNING = 2

    # The job completed successfully.
    SUCCEEDED = 3

    # The job completed unsuccessfully.
    FAILED = 4
  end
end

#job_creation_status::Google::Rpc::Status

Returns Status returned by the backend when the job was created.

Returns:



172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 172

class ExecutionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum of possible job execution statuses.
  module JobExecutionState
    # No job execution was specified.
    JOB_EXECUTION_STATE_UNSPECIFIED = 0

    # No job execution was requested, yet.
    NOT_EXECUTED = 1

    # The job is running.
    RUNNING = 2

    # The job completed successfully.
    SUCCEEDED = 3

    # The job completed unsuccessfully.
    FAILED = 4
  end
end

#job_execution_state::Google::Cloud::DataQnA::V1alpha::ExecutionInfo::JobExecutionState

Returns Status of the job execution.

Returns:



172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 172

class ExecutionInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum of possible job execution statuses.
  module JobExecutionState
    # No job execution was specified.
    JOB_EXECUTION_STATE_UNSPECIFIED = 0

    # No job execution was requested, yet.
    NOT_EXECUTED = 1

    # The job is running.
    RUNNING = 2

    # The job completed successfully.
    SUCCEEDED = 3

    # The job completed unsuccessfully.
    FAILED = 4
  end
end