@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.ApiAuth)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.ApiAuth other = (com.google.cloud.vertexai.api.ApiAuth) obj;

    if (!getAuthConfigCase().equals(other.getAuthConfigCase())) return false;
    switch (authConfigCase_) {
      case 1:
        if (!getApiKeyConfig().equals(other.getApiKeyConfig())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The API secret.
</pre>

<code>.google.cloud.vertexai.v1.ApiAuth.ApiKeyConfig api_key_config = 1;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ApiAuth.java