Compute Engine v1 API - Class Zones.ZonesBase (2.11.0)

[BindServiceMethod(typeof(Zones), "BindService")]
public abstract class Zones.ZonesBase

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

Base class for server-side implementations of Zones

Inheritance

object > Zones.ZonesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Get(GetZoneRequest, ServerCallContext)

public virtual Task<Zone> Get(GetZoneRequest request, ServerCallContext context)

Returns the specified Zone resource.

Parameters
NameDescription
requestGetZoneRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskZone

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

List(ListZonesRequest, ServerCallContext)

public virtual Task<ZoneList> List(ListZonesRequest request, ServerCallContext context)

Retrieves the list of Zone resources available to the specified project.

Parameters
NameDescription
requestListZonesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskZoneList

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