The response to send back to the client (wrapped by a task).
Get(GetLicenseRequest, ServerCallContext)
public virtual Task<License> Get(GetLicenseRequest request, ServerCallContext context)
Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
public virtual Task<Policy> GetIamPolicy(GetIamPolicyLicenseRequest request, ServerCallContext context)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
The response to send back to the client (wrapped by a task).
Insert(InsertLicenseRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertLicenseRequest request, ServerCallContext context)
Create a License resource in the specified project. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
The response to send back to the client (wrapped by a task).
List(ListLicensesRequest, ServerCallContext)
public virtual Task<LicensesListResponse> List(ListLicensesRequest request, ServerCallContext context)
Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
public virtual Task<Policy> SetIamPolicy(SetIamPolicyLicenseRequest request, ServerCallContext context)
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsLicenseRequest 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.
The response to send back to the client (wrapped by a task).
Update(UpdateLicenseRequest, ServerCallContext)
public virtual Task<Operation> Update(UpdateLicenseRequest request, ServerCallContext context)
Updates a License resource in the specified project. 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-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eLicenses.LicensesBase\u003c/code\u003e class is 3.6.0, part of the Google.Cloud.Compute.V1 namespace, with several previous versions ranging from 3.5.0 down to 1.0.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLicenses.LicensesBase\u003c/code\u003e class, which is intended for use by third-party partners, offers several methods for managing licenses, including \u003ccode\u003eDelete\u003c/code\u003e, \u003ccode\u003eGet\u003c/code\u003e, \u003ccode\u003eInsert\u003c/code\u003e, \u003ccode\u003eList\u003c/code\u003e, \u003ccode\u003eGetIamPolicy\u003c/code\u003e, \u003ccode\u003eSetIamPolicy\u003c/code\u003e, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides functionality to delete, retrieve, create, and list licenses, along with managing access control policies and testing permissions for the specified license resources.\u003c/p\u003e\n"],["\u003cp\u003eThe methods provided in the \u003ccode\u003eLicenses.LicensesBase\u003c/code\u003e class requires multiple types of parameters such as a request and server context, and returns a task of an operation, policy, or license.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class Licenses.LicensesBase (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.Licenses.LicensesBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.Licenses.LicensesBase) \n\n [BindServiceMethod(typeof(Licenses), \"BindService\")]\n public abstract class Licenses.LicensesBase\n\nReference documentation and code samples for the Compute Engine v1 API class Licenses.LicensesBase.\n\nBase class for server-side implementations of Licenses \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Licenses.LicensesBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nMethods\n-------\n\n### Delete(DeleteLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Delete(DeleteLicenseRequest request, ServerCallContext context)\n\nDeletes the specified license. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.\n\n### Get(GetLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cLicense\u003e Get(GetLicenseRequest request, ServerCallContext context)\n\nReturns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.\n\n### GetIamPolicy(GetIamPolicyLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cPolicy\u003e GetIamPolicy(GetIamPolicyLicenseRequest request, ServerCallContext context)\n\nGets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.\n\n### Insert(InsertLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Insert(InsertLicenseRequest request, ServerCallContext context)\n\nCreate a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.\n\n### List(ListLicensesRequest, ServerCallContext)\n\n public virtual Task\u003cLicensesListResponse\u003e List(ListLicensesRequest request, ServerCallContext context)\n\nRetrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.\n\n### SetIamPolicy(SetIamPolicyLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cPolicy\u003e SetIamPolicy(SetIamPolicyLicenseRequest request, ServerCallContext context)\n\nSets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.\n\n### TestIamPermissions(TestIamPermissionsLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cTestPermissionsResponse\u003e TestIamPermissions(TestIamPermissionsLicenseRequest request, ServerCallContext context)\n\nReturns 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.\n\n### Update(UpdateLicenseRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Update(UpdateLicenseRequest request, ServerCallContext context)\n\nUpdates a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images."]]