Compute Engine v1 API - Class RegionZonesClientImpl (2.17.0)

public sealed class RegionZonesClientImpl : RegionZonesClient

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

RegionZones client wrapper implementation, for convenient use.

Inheritance

object > RegionZonesClient > RegionZonesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionZones API.

Constructors

RegionZonesClientImpl(RegionZonesClient, RegionZonesSettings, ILogger)

public RegionZonesClientImpl(RegionZones.RegionZonesClient grpcClient, RegionZonesSettings settings, ILogger logger)

Constructs a client wrapper for the RegionZones service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient RegionZonesRegionZonesClient

The underlying gRPC client.

settings RegionZonesSettings

The base RegionZonesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override RegionZones.RegionZonesClient GrpcClient { get; }

The underlying gRPC RegionZones client

Property Value
Type Description
RegionZonesRegionZonesClient
Overrides

Methods

List(ListRegionZonesRequest, CallSettings)

public override PagedEnumerable<ZoneList, Zone> List(ListRegionZonesRequest request, CallSettings callSettings = null)

Retrieves the list of Zone resources under the specific region available to the specified project.

Parameters
Name Description
request ListRegionZonesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableZoneListZone

A pageable sequence of Zone resources.

Overrides

ListAsync(ListRegionZonesRequest, CallSettings)

public override PagedAsyncEnumerable<ZoneList, Zone> ListAsync(ListRegionZonesRequest request, CallSettings callSettings = null)

Retrieves the list of Zone resources under the specific region available to the specified project.

Parameters
Name Description
request ListRegionZonesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableZoneListZone

A pageable asynchronous sequence of Zone resources.

Overrides