public virtual Task<LicenseCode> Get(GetLicenseCodeRequest request, ServerCallContext context)
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsLicenseCodeRequest request, ServerCallContext context)
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
[[["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-08 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eLicenseCodesBase\u003c/code\u003e class, which serves as the base for server-side implementations of \u003ccode\u003eLicenseCodes\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, and the page provides links to documentation for versions ranging from 1.0.0 to 3.6.0 of \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLicenseCodesBase\u003c/code\u003e includes methods such as \u003ccode\u003eGet\u003c/code\u003e, which returns a specified license code, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e, which returns the permissions a caller has on a specified resource, both of which are for use by third-party partners creating Cloud Marketplace images.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from the \u003ccode\u003eObject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBoth the \u003ccode\u003eGet\u003c/code\u003e and \u003ccode\u003eTestIamPermissions\u003c/code\u003e methods require a request object and a \u003ccode\u003eServerCallContext\u003c/code\u003e, and both return a task containing their respective response types.\u003c/p\u003e\n"]]],[],null,[]]