Compute Engine v1 API - Class NetworkProfilesClientImpl (3.2.0)

public sealed class NetworkProfilesClientImpl : NetworkProfilesClient

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

NetworkProfiles client wrapper implementation, for convenient use.

Inheritance

object > NetworkProfilesClient > NetworkProfilesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The NetworkProfiles API.

Constructors

NetworkProfilesClientImpl(NetworkProfilesClient, NetworkProfilesSettings, ILogger)

public NetworkProfilesClientImpl(NetworkProfiles.NetworkProfilesClient grpcClient, NetworkProfilesSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient NetworkProfilesNetworkProfilesClient

The underlying gRPC client.

settings NetworkProfilesSettings

The base NetworkProfilesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override NetworkProfiles.NetworkProfilesClient GrpcClient { get; }

The underlying gRPC NetworkProfiles client

Property Value
Type Description
NetworkProfilesNetworkProfilesClient
Overrides

Methods

Get(GetNetworkProfileRequest, CallSettings)

public override NetworkProfile Get(GetNetworkProfileRequest request, CallSettings callSettings = null)

Returns the specified network profile.

Parameters
Name Description
request GetNetworkProfileRequest

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
NetworkProfile

The RPC response.

Overrides

GetAsync(GetNetworkProfileRequest, CallSettings)

public override Task<NetworkProfile> GetAsync(GetNetworkProfileRequest request, CallSettings callSettings = null)

Returns the specified network profile.

Parameters
Name Description
request GetNetworkProfileRequest

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
TaskNetworkProfile

A Task containing the RPC response.

Overrides

List(ListNetworkProfilesRequest, CallSettings)

public override PagedEnumerable<NetworkProfilesListResponse, NetworkProfile> List(ListNetworkProfilesRequest request, CallSettings callSettings = null)

Retrieves a list of network profiles available to the specified project.

Parameters
Name Description
request ListNetworkProfilesRequest

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
PagedEnumerableNetworkProfilesListResponseNetworkProfile

A pageable sequence of NetworkProfile resources.

Overrides

ListAsync(ListNetworkProfilesRequest, CallSettings)

public override PagedAsyncEnumerable<NetworkProfilesListResponse, NetworkProfile> ListAsync(ListNetworkProfilesRequest request, CallSettings callSettings = null)

Retrieves a list of network profiles available to the specified project.

Parameters
Name Description
request ListNetworkProfilesRequest

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
PagedAsyncEnumerableNetworkProfilesListResponseNetworkProfile

A pageable asynchronous sequence of NetworkProfile resources.

Overrides