The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of CloudBuildClient.
The optional options argument may be used to configure aspects of the returned CloudBuildConnection. Expected options are any of the types in the following option lists:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version of the Cloud Build C++ library is 2.37.0-rc, and the page provides access to the documentation for this version as well as previous versions dating back to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers core classes such as \u003ccode\u003eCloudBuildClient\u003c/code\u003e for managing builds on Google Cloud Platform and \u003ccode\u003eCloudBuildConnection\u003c/code\u003e for connecting to the service.\u003c/p\u003e\n"],["\u003cp\u003eThe library includes various classes related to retry policies for connections like \u003ccode\u003eCloudBuildLimitedErrorCountRetryPolicy\u003c/code\u003e, \u003ccode\u003eCloudBuildLimitedTimeRetryPolicy\u003c/code\u003e, and \u003ccode\u003eCloudBuildRetryPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eStructs like \u003ccode\u003eCloudBuildBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eCloudBuildConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eCloudBuildPollingPolicyOption\u003c/code\u003e, and \u003ccode\u003eCloudBuildRetryPolicyOption\u003c/code\u003e are used to customize different aspects of the connection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeCloudBuildConnection\u003c/code\u003e function creates a \u003ccode\u003eCloudBuildConnection\u003c/code\u003e object, and the \u003ccode\u003eMakeDefaultCloudBuildConnectionIdempotencyPolicy\u003c/code\u003e creates a default retry policy.\u003c/p\u003e\n"]]],[],null,[]]