Network Services v1beta1 API - Class NetworkServicesClientImpl (1.0.0-beta01)

public sealed class NetworkServicesClientImpl : NetworkServicesClient

Reference documentation and code samples for the Network Services v1beta1 API class NetworkServicesClientImpl.

NetworkServices client wrapper implementation, for convenient use.

Inheritance

object > NetworkServicesClient > NetworkServicesClientImpl

Namespace

Google.Cloud.NetworkServices.V1Beta1

Assembly

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 NetworkServicesNetworkServicesClient

The underlying gRPC client.

settings NetworkServicesSettings

The base NetworkServicesSettings used within this client.

logger ILogger

Optional 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
Overrides

DeleteEndpointPolicyOperationsClient

public override OperationsClient DeleteEndpointPolicyOperationsClient { get; }

The long-running operations client for DeleteEndpointPolicy.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override NetworkServices.NetworkServicesClient GrpcClient { get; }

The underlying gRPC NetworkServices client

Property Value
Type Description
NetworkServicesNetworkServicesClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateEndpointPolicyOperationsClient

public override OperationsClient UpdateEndpointPolicyOperationsClient { get; }

The long-running operations client for UpdateEndpointPolicy.

Property Value
Type Description
OperationsClient
Overrides

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 CreateEndpointPolicyRequest

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
OperationEndpointPolicyOperationMetadata

The RPC response.

Overrides

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 CreateEndpointPolicyRequest

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
TaskOperationEndpointPolicyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteEndpointPolicy(DeleteEndpointPolicyRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteEndpointPolicy(DeleteEndpointPolicyRequest request, CallSettings callSettings = null)

Deletes a single EndpointPolicy.

Parameters
Name Description
request DeleteEndpointPolicyRequest

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
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteEndpointPolicyAsync(DeleteEndpointPolicyRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteEndpointPolicyAsync(DeleteEndpointPolicyRequest request, CallSettings callSettings = null)

Deletes a single EndpointPolicy.

Parameters
Name Description
request DeleteEndpointPolicyRequest

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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetEndpointPolicy(GetEndpointPolicyRequest, CallSettings)

public override EndpointPolicy GetEndpointPolicy(GetEndpointPolicyRequest request, CallSettings callSettings = null)

Gets details of a single EndpointPolicy.

Parameters
Name Description
request GetEndpointPolicyRequest

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
EndpointPolicy

The RPC response.

Overrides

GetEndpointPolicyAsync(GetEndpointPolicyRequest, CallSettings)

public override Task<EndpointPolicy> GetEndpointPolicyAsync(GetEndpointPolicyRequest request, CallSettings callSettings = null)

Gets details of a single EndpointPolicy.

Parameters
Name Description
request GetEndpointPolicyRequest

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
TaskEndpointPolicy

A Task containing the RPC response.

Overrides

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 ListEndpointPoliciesRequest

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
PagedEnumerableListEndpointPoliciesResponseEndpointPolicy

A pageable sequence of EndpointPolicy resources.

Overrides

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 ListEndpointPoliciesRequest

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
PagedAsyncEnumerableListEndpointPoliciesResponseEndpointPolicy

A pageable asynchronous sequence of EndpointPolicy resources.

Overrides

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 UpdateEndpointPolicyRequest

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
OperationEndpointPolicyOperationMetadata

The RPC response.

Overrides

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 UpdateEndpointPolicyRequest

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
TaskOperationEndpointPolicyOperationMetadata

A Task containing the RPC response.

Overrides