Compute Engine v1 API - Class LicenseCodes.LicenseCodesBase (3.2.0)

[BindServiceMethod(typeof(LicenseCodes), "BindService")]
public abstract class LicenseCodes.LicenseCodesBase

Reference documentation and code samples for the Compute Engine v1 API class LicenseCodes.LicenseCodesBase.

Base class for server-side implementations of LicenseCodes

Inheritance

object > LicenseCodes.LicenseCodesBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
TaskLicenseCode

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
TaskTestPermissionsResponse

The response to send back to the client (wrapped by a task).