Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface PrivateServiceConnectConfigOrBuilder (1.32.0)\n\n public interface PrivateServiceConnectConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEnablePrivateServiceConnect()\n\n public abstract boolean getEnablePrivateServiceConnect()\n\nRequired. If true, expose the IndexEndpoint via private service connect.\n\n`bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getProjectAllowlist(int index)\n\n public abstract String getProjectAllowlist(int index)\n\nA list of Projects from which the forwarding rule will target the service\nattachment.\n\n`repeated string project_allowlist = 2;`\n\n### getProjectAllowlistBytes(int index)\n\n public abstract ByteString getProjectAllowlistBytes(int index)\n\nA list of Projects from which the forwarding rule will target the service\nattachment.\n\n`repeated string project_allowlist = 2;`\n\n### getProjectAllowlistCount()\n\n public abstract int getProjectAllowlistCount()\n\nA list of Projects from which the forwarding rule will target the service\nattachment.\n\n`repeated string project_allowlist = 2;`\n\n### getProjectAllowlistList()\n\n public abstract List\u003cString\u003e getProjectAllowlistList()\n\nA list of Projects from which the forwarding rule will target the service\nattachment.\n\n`repeated string project_allowlist = 2;`\n\n### getServiceAttachment()\n\n public abstract String getServiceAttachment()\n\nOutput only. The name of the generated service attachment resource.\nThis is only populated if the endpoint is deployed with\nPrivateServiceConnect.\n\n`string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getServiceAttachmentBytes()\n\n public abstract ByteString getServiceAttachmentBytes()\n\nOutput only. The name of the generated service attachment resource.\nThis is only populated if the endpoint is deployed with\nPrivateServiceConnect.\n\n`string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`"]]