Class NetworkSecurity.NetworkSecurityClient (2.0.0-beta02)

public class NetworkSecurityClient : ClientBase<NetworkSecurity.NetworkSecurityClient>

Client for NetworkSecurity

Inheritance

Object > ClientBase > ClientBase<NetworkSecurity.NetworkSecurityClient> > 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(ClientBase.ClientBaseConfiguration)

protected NetworkSecurityClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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
IAMPolicy.IAMPolicyClient

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
Locations.LocationsClient

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<AuthorizationPolicy>

The call object.

GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<AuthorizationPolicy>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ClientTlsPolicy>

The call object.

GetClientTlsPolicyAsync(GetClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ClientTlsPolicy>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ServerTlsPolicy>

The call object.

GetServerTlsPolicyAsync(GetServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ServerTlsPolicy>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListAuthorizationPoliciesResponse>

The call object.

ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListAuthorizationPoliciesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListClientTlsPoliciesResponse>

The call object.

ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListClientTlsPoliciesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListServerTlsPoliciesResponse>

The call object.

ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListServerTlsPoliciesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
NetworkSecurity.NetworkSecurityClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.NetworkSecurity.V1Beta1.NetworkSecurity.NetworkSecurityClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.