[BindServiceMethod(typeof(Licenses), "BindService")]
public abstract class LicensesBase
Base class for server-side implementations of Licenses
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteLicenseRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteLicenseRequest request, ServerCallContext context)
Deletes the specified license. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | DeleteLicenseRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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.
Parameters | |
---|---|
Name | Description |
request | GetLicenseRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<License> | The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyLicenseRequest, ServerCallContext)
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.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyLicenseRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | 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.
Parameters | |
---|---|
Name | Description |
request | InsertLicenseRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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.
Parameters | |
---|---|
Name | Description |
request | ListLicensesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<LicensesListResponse> | The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyLicenseRequest, ServerCallContext)
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.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyLicenseRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsLicenseRequest, ServerCallContext)
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.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsLicenseRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TestPermissionsResponse> | The response to send back to the client (wrapped by a task). |