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.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
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. |
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. |
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. |
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. |