Network Security v1beta1 API - Class NetworkSecurity.NetworkSecurityClient (2.0.0-beta05)

public class NetworkSecurity.NetworkSecurityClient : ClientBase<NetworkSecurity.NetworkSecurityClient>

Reference documentation and code samples for the Network Security v1beta1 API class NetworkSecurity.NetworkSecurityClient.

Client for NetworkSecurity

Inheritance

object > ClientBase > ClientBaseNetworkSecurityNetworkSecurityClient > NetworkSecurity.NetworkSecurityClient

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

Google.Cloud.NetworkSecurity.V1Beta1.dll

Constructors

NetworkSecurityClient()

protected NetworkSecurityClient()

Protected parameterless constructor to allow creation of test doubles.

NetworkSecurityClient(CallInvoker)

public NetworkSecurityClient(CallInvoker callInvoker)

Creates a new client for NetworkSecurity that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

NetworkSecurityClient(ChannelBase)

public NetworkSecurityClient(ChannelBase channel)

Creates a new client for NetworkSecurity

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

NetworkSecurityClient(ClientBaseConfiguration)

protected NetworkSecurityClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest, CallOptions)

public virtual Operation CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest request, CallOptions options)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest request, CallOptions options)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new AuthorizationPolicy in a given project and location.

Parameters
NameDescription
requestCreateAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateClientTlsPolicy(CreateClientTlsPolicyRequest, CallOptions)

public virtual Operation CreateClientTlsPolicy(CreateClientTlsPolicyRequest request, CallOptions options)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateClientTlsPolicy(CreateClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateClientTlsPolicy(CreateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest request, CallOptions options)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new ClientTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateServerTlsPolicy(CreateServerTlsPolicyRequest, CallOptions)

public virtual Operation CreateServerTlsPolicy(CreateServerTlsPolicyRequest request, CallOptions options)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateServerTlsPolicy(CreateServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateServerTlsPolicy(CreateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest request, CallOptions options)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new ServerTlsPolicy in a given project and location.

Parameters
NameDescription
requestCreateServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest, CallOptions)

public virtual Operation DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, CallOptions options)

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest request, CallOptions options)

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single AuthorizationPolicy.

Parameters
NameDescription
requestDeleteAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest, CallOptions)

public virtual Operation DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, CallOptions options)

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest request, CallOptions options)

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single ClientTlsPolicy.

Parameters
NameDescription
requestDeleteClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest, CallOptions)

public virtual Operation DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, CallOptions options)

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest request, CallOptions options)

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single ServerTlsPolicy.

Parameters
NameDescription
requestDeleteServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetAuthorizationPolicy(GetAuthorizationPolicyRequest, CallOptions)

public virtual AuthorizationPolicy GetAuthorizationPolicy(GetAuthorizationPolicyRequest request, CallOptions options)

Gets details of a single AuthorizationPolicy.

Parameters
NameDescription
requestGetAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AuthorizationPolicy

The response received from the server.

GetAuthorizationPolicy(GetAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AuthorizationPolicy GetAuthorizationPolicy(GetAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AuthorizationPolicy.

Parameters
NameDescription
requestGetAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AuthorizationPolicy

The response received from the server.

GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<AuthorizationPolicy> GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest request, CallOptions options)

Gets details of a single AuthorizationPolicy.

Parameters
NameDescription
requestGetAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAuthorizationPolicy

The call object.

GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AuthorizationPolicy> GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AuthorizationPolicy.

Parameters
NameDescription
requestGetAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAuthorizationPolicy

The call object.

GetClientTlsPolicy(GetClientTlsPolicyRequest, CallOptions)

public virtual ClientTlsPolicy GetClientTlsPolicy(GetClientTlsPolicyRequest request, CallOptions options)

Gets details of a single ClientTlsPolicy.

Parameters
NameDescription
requestGetClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ClientTlsPolicy

The response received from the server.

GetClientTlsPolicy(GetClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual ClientTlsPolicy GetClientTlsPolicy(GetClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ClientTlsPolicy.

Parameters
NameDescription
requestGetClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ClientTlsPolicy

The response received from the server.

GetClientTlsPolicyAsync(GetClientTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<ClientTlsPolicy> GetClientTlsPolicyAsync(GetClientTlsPolicyRequest request, CallOptions options)

Gets details of a single ClientTlsPolicy.

Parameters
NameDescription
requestGetClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallClientTlsPolicy

The call object.

GetClientTlsPolicyAsync(GetClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ClientTlsPolicy> GetClientTlsPolicyAsync(GetClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ClientTlsPolicy.

Parameters
NameDescription
requestGetClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallClientTlsPolicy

The call object.

GetServerTlsPolicy(GetServerTlsPolicyRequest, CallOptions)

public virtual ServerTlsPolicy GetServerTlsPolicy(GetServerTlsPolicyRequest request, CallOptions options)

Gets details of a single ServerTlsPolicy.

Parameters
NameDescription
requestGetServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ServerTlsPolicy

The response received from the server.

GetServerTlsPolicy(GetServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual ServerTlsPolicy GetServerTlsPolicy(GetServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ServerTlsPolicy.

Parameters
NameDescription
requestGetServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ServerTlsPolicy

The response received from the server.

GetServerTlsPolicyAsync(GetServerTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<ServerTlsPolicy> GetServerTlsPolicyAsync(GetServerTlsPolicyRequest request, CallOptions options)

Gets details of a single ServerTlsPolicy.

Parameters
NameDescription
requestGetServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallServerTlsPolicy

The call object.

GetServerTlsPolicyAsync(GetServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ServerTlsPolicy> GetServerTlsPolicyAsync(GetServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ServerTlsPolicy.

Parameters
NameDescription
requestGetServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallServerTlsPolicy

The call object.

ListAuthorizationPolicies(ListAuthorizationPoliciesRequest, CallOptions)

public virtual ListAuthorizationPoliciesResponse ListAuthorizationPolicies(ListAuthorizationPoliciesRequest request, CallOptions options)

Lists AuthorizationPolicies in a given project and location.

Parameters
NameDescription
requestListAuthorizationPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAuthorizationPoliciesResponse

The response received from the server.

ListAuthorizationPolicies(ListAuthorizationPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAuthorizationPoliciesResponse ListAuthorizationPolicies(ListAuthorizationPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AuthorizationPolicies in a given project and location.

Parameters
NameDescription
requestListAuthorizationPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListAuthorizationPoliciesResponse

The response received from the server.

ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<ListAuthorizationPoliciesResponse> ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest request, CallOptions options)

Lists AuthorizationPolicies in a given project and location.

Parameters
NameDescription
requestListAuthorizationPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListAuthorizationPoliciesResponse

The call object.

ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAuthorizationPoliciesResponse> ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AuthorizationPolicies in a given project and location.

Parameters
NameDescription
requestListAuthorizationPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListAuthorizationPoliciesResponse

The call object.

ListClientTlsPolicies(ListClientTlsPoliciesRequest, CallOptions)

public virtual ListClientTlsPoliciesResponse ListClientTlsPolicies(ListClientTlsPoliciesRequest request, CallOptions options)

Lists ClientTlsPolicies in a given project and location.

Parameters
NameDescription
requestListClientTlsPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListClientTlsPoliciesResponse

The response received from the server.

ListClientTlsPolicies(ListClientTlsPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListClientTlsPoliciesResponse ListClientTlsPolicies(ListClientTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ClientTlsPolicies in a given project and location.

Parameters
NameDescription
requestListClientTlsPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListClientTlsPoliciesResponse

The response received from the server.

ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<ListClientTlsPoliciesResponse> ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest request, CallOptions options)

Lists ClientTlsPolicies in a given project and location.

Parameters
NameDescription
requestListClientTlsPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListClientTlsPoliciesResponse

The call object.

ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListClientTlsPoliciesResponse> ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ClientTlsPolicies in a given project and location.

Parameters
NameDescription
requestListClientTlsPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListClientTlsPoliciesResponse

The call object.

ListServerTlsPolicies(ListServerTlsPoliciesRequest, CallOptions)

public virtual ListServerTlsPoliciesResponse ListServerTlsPolicies(ListServerTlsPoliciesRequest request, CallOptions options)

Lists ServerTlsPolicies in a given project and location.

Parameters
NameDescription
requestListServerTlsPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListServerTlsPoliciesResponse

The response received from the server.

ListServerTlsPolicies(ListServerTlsPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListServerTlsPoliciesResponse ListServerTlsPolicies(ListServerTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ServerTlsPolicies in a given project and location.

Parameters
NameDescription
requestListServerTlsPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListServerTlsPoliciesResponse

The response received from the server.

ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<ListServerTlsPoliciesResponse> ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest request, CallOptions options)

Lists ServerTlsPolicies in a given project and location.

Parameters
NameDescription
requestListServerTlsPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListServerTlsPoliciesResponse

The call object.

ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListServerTlsPoliciesResponse> ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ServerTlsPolicies in a given project and location.

Parameters
NameDescription
requestListServerTlsPoliciesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListServerTlsPoliciesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override NetworkSecurity.NetworkSecurityClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
NetworkSecurityNetworkSecurityClient
Overrides

UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest, CallOptions)

public virtual Operation UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, CallOptions options)

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest request, CallOptions options)

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single AuthorizationPolicy.

Parameters
NameDescription
requestUpdateAuthorizationPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest, CallOptions)

public virtual Operation UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest request, CallOptions options)

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest request, CallOptions options)

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single ClientTlsPolicy.

Parameters
NameDescription
requestUpdateClientTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest, CallOptions)

public virtual Operation UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest request, CallOptions options)

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest request, CallOptions options)

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a single ServerTlsPolicy.

Parameters
NameDescription
requestUpdateServerTlsPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.