Compute Engine v1 API - Class LicenseCodes (2.5.0)

public static class LicenseCodes

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

The LicenseCodes API.

Inheritance

Object > LicenseCodes

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

BindService(LicenseCodes.LicenseCodesBase)

public static ServerServiceDefinition BindService(LicenseCodes.LicenseCodesBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplLicenseCodes.LicenseCodesBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, LicenseCodes.LicenseCodesBase)

public static void BindService(ServiceBinderBase serviceBinder, LicenseCodes.LicenseCodesBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplLicenseCodes.LicenseCodesBase

An object implementing the server-side handling logic.