credentialMode property
The credential flow to run the test under.
Applies to synchronous tests only. When unset, the default depends on when
the test runs: before the EUC hardening cutover it is
CREDENTIAL_MODE_CURRENT; from the cutover on it is
CREDENTIAL_MODE_HARDENED, whatever the integration's stored disposition.
Where the hardened flow cannot be evaluated, an unset mode runs
CREDENTIAL_MODE_CURRENT instead of failing. The response's
credential_mode reports the mode that ran.
Optional. Possible string values are:
- "CREDENTIAL_MODE_UNSPECIFIED" : Resolves based on when the test runs;
see
TestIntegrationsRequest.credential_mode. - "CREDENTIAL_MODE_CURRENT" : The flow production runs for this integration today.
- "CREDENTIAL_MODE_HARDENED" : The flow an integration created after the
EUC hardening cutover runs. Covers this integration's own tasks; a
sub-integration it calls runs under its own stored disposition. When
requested explicitly, fails with
FAILED_PRECONDITIONwhere the hardened flow cannot be evaluated, and withUNIMPLEMENTEDfor asynchronous tests.
Implementation
core.String? credentialMode;