@java.lang.Override
    public com.google.cloud.vertexai.api.ApiAuth.ApiKeyConfig getApiKeyConfig() {
      if (apiKeyConfigBuilder_ == null) {
        if (authConfigCase_ == 1) {
          return (com.google.cloud.vertexai.api.ApiAuth.ApiKeyConfig) authConfig_;
        }
        return com.google.cloud.vertexai.api.ApiAuth.ApiKeyConfig.getDefaultInstance();
      } else {
        if (authConfigCase_ == 1) {
          return apiKeyConfigBuilder_.getMessage();
        }
        return com.google.cloud.vertexai.api.ApiAuth.ApiKeyConfig.getDefaultInstance();
      }
    }
<pre>
The API secret.
</pre>

<code>.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig api_key_config = 1;</code>

@return The apiKeyConfig.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ApiAuth.java