public sealed class NetworkServicesClientImpl : NetworkServicesClientReference documentation and code samples for the Network Services v1beta1 API class NetworkServicesClientImpl.
NetworkServices client wrapper implementation, for convenient use.
Namespace
Google.Cloud.NetworkServices.V1Beta1Assembly
Google.Cloud.NetworkServices.V1Beta1.dll
Remarks
Service describing handlers for resources.
Constructors
NetworkServicesClientImpl(NetworkServicesClient, NetworkServicesSettings, ILogger)
public NetworkServicesClientImpl(NetworkServices.NetworkServicesClient grpcClient, NetworkServicesSettings settings, ILogger logger)Constructs a client wrapper for the NetworkServices service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
NetworkServicesNetworkServicesClientThe underlying gRPC client. |
settings |
NetworkServicesSettingsThe base NetworkServicesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateEndpointPolicyOperationsClient
public override OperationsClient CreateEndpointPolicyOperationsClient { get; }The long-running operations client for CreateEndpointPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteEndpointPolicyOperationsClient
public override OperationsClient DeleteEndpointPolicyOperationsClient { get; }The long-running operations client for DeleteEndpointPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override NetworkServices.NetworkServicesClient GrpcClient { get; }The underlying gRPC NetworkServices client
| Property Value | |
|---|---|
| Type | Description |
NetworkServicesNetworkServicesClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UpdateEndpointPolicyOperationsClient
public override OperationsClient UpdateEndpointPolicyOperationsClient { get; }The long-running operations client for UpdateEndpointPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateEndpointPolicy(CreateEndpointPolicyRequest, CallSettings)
public override Operation<EndpointPolicy, OperationMetadata> CreateEndpointPolicy(CreateEndpointPolicyRequest request, CallSettings callSettings = null)Creates a new EndpointPolicy in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEndpointPolicyOperationMetadata |
The RPC response. |
CreateEndpointPolicyAsync(CreateEndpointPolicyRequest, CallSettings)
public override Task<Operation<EndpointPolicy, OperationMetadata>> CreateEndpointPolicyAsync(CreateEndpointPolicyRequest request, CallSettings callSettings = null)Creates a new EndpointPolicy in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEndpointPolicyOperationMetadata |
A Task containing the RPC response. |
DeleteEndpointPolicy(DeleteEndpointPolicyRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteEndpointPolicy(DeleteEndpointPolicyRequest request, CallSettings callSettings = null)Deletes a single EndpointPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteEndpointPolicyAsync(DeleteEndpointPolicyRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteEndpointPolicyAsync(DeleteEndpointPolicyRequest request, CallSettings callSettings = null)Deletes a single EndpointPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetEndpointPolicy(GetEndpointPolicyRequest, CallSettings)
public override EndpointPolicy GetEndpointPolicy(GetEndpointPolicyRequest request, CallSettings callSettings = null)Gets details of a single EndpointPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EndpointPolicy |
The RPC response. |
GetEndpointPolicyAsync(GetEndpointPolicyRequest, CallSettings)
public override Task<EndpointPolicy> GetEndpointPolicyAsync(GetEndpointPolicyRequest request, CallSettings callSettings = null)Gets details of a single EndpointPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEndpointPolicy |
A Task containing the RPC response. |
ListEndpointPolicies(ListEndpointPoliciesRequest, CallSettings)
public override PagedEnumerable<ListEndpointPoliciesResponse, EndpointPolicy> ListEndpointPolicies(ListEndpointPoliciesRequest request, CallSettings callSettings = null)Lists EndpointPolicies in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEndpointPoliciesResponseEndpointPolicy |
A pageable sequence of EndpointPolicy resources. |
ListEndpointPoliciesAsync(ListEndpointPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<ListEndpointPoliciesResponse, EndpointPolicy> ListEndpointPoliciesAsync(ListEndpointPoliciesRequest request, CallSettings callSettings = null)Lists EndpointPolicies in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEndpointPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEndpointPoliciesResponseEndpointPolicy |
A pageable asynchronous sequence of EndpointPolicy resources. |
UpdateEndpointPolicy(UpdateEndpointPolicyRequest, CallSettings)
public override Operation<EndpointPolicy, OperationMetadata> UpdateEndpointPolicy(UpdateEndpointPolicyRequest request, CallSettings callSettings = null)Updates the parameters of a single EndpointPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEndpointPolicyOperationMetadata |
The RPC response. |
UpdateEndpointPolicyAsync(UpdateEndpointPolicyRequest, CallSettings)
public override Task<Operation<EndpointPolicy, OperationMetadata>> UpdateEndpointPolicyAsync(UpdateEndpointPolicyRequest request, CallSettings callSettings = null)Updates the parameters of a single EndpointPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEndpointPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEndpointPolicyOperationMetadata |
A Task containing the RPC response. |