[BindServiceMethod(typeof(LicenseCodes), "BindService")]
public abstract class LicenseCodesBaseBase 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 | 
        GetLicenseCodeRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe 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 | 
        TestIamPermissionsLicenseCodeRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe 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).  |