[BindServiceMethod(typeof(LicenseCodes), "BindService")]
public abstract class LicenseCodesBase
Reference documentation and code samples for the Compute Engine v1 API class LicenseCodes.LicenseCodesBase.
Base class for server-side implementations of LicenseCodes
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetLicenseCodeRequest, ServerCallContext)
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.
Parameters | |
---|---|
Name | Description |
request | GetLicenseCodeRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<LicenseCode> | The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsLicenseCodeRequest, ServerCallContext)
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.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsLicenseCodeRequest 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). |