View Source GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaTestTaskConfig (google_api_integrations v0.10.0)

The task mock configuration details and assertions for functional tests. Next available id: 6

Attributes

  • assertions (type: list(GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaAssertion.t), default: nil) - Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
  • mockConfig (type: GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaMockConfig.t, default: nil) - Optional. Defines how to mock the given task during test execution
  • task (type: String.t, default: nil) - Required. This defines in the test case, the task name in integration which will be mocked by this test task config
  • taskConfig (type: GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaTaskConfig.t, default: nil) - Optional. Auto-generated.
  • taskNumber (type: String.t, default: nil) - Required. This defines in the test case, the task in integration which will be mocked by this test task config

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaTestTaskConfig{
    assertions:
      [
        GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaAssertion.t()
      ]
      | nil,
    mockConfig:
      GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaMockConfig.t()
      | nil,
    task: String.t() | nil,
    taskConfig:
      GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaTaskConfig.t()
      | nil,
    taskNumber: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.