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\u003eThe latest version available for \u003ccode\u003eLicenseCodes.LicenseCodesBase\u003c/code\u003e is 3.6.0, while the current page is focused on version 3.4.0, with multiple previous versions listed ranging from 3.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLicenseCodes.LicenseCodesBase\u003c/code\u003e is a base class for server-side implementations of LicenseCodes, inheriting from the \u003ccode\u003eobject\u003c/code\u003e class and located within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two main methods: \u003ccode\u003eGet\u003c/code\u003e, which retrieves a specified license code, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e, which checks the caller's permissions on a specified resource, and both methods are primarily for third-party partners creating Cloud Marketplace images.\u003c/p\u003e\n"],["\u003cp\u003eThe Get method requires a \u003ccode\u003eGetLicenseCodeRequest\u003c/code\u003e and \u003ccode\u003eServerCallContext\u003c/code\u003e, returning a \u003ccode\u003eTask<LicenseCode>\u003c/code\u003e, while the \u003ccode\u003eTestIamPermissions\u003c/code\u003e method takes a \u003ccode\u003eTestIamPermissionsLicenseCodeRequest\u003c/code\u003e and \u003ccode\u003eServerCallContext\u003c/code\u003e, returning a \u003ccode\u003eTask<TestPermissionsResponse>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLicenseCodes.LicenseCodesBase\u003c/code\u003e class is located within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, providing functionality related to managing license codes within the Google Cloud Compute Engine.\u003c/p\u003e\n"]]],[],null,[]]