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.NetworkSecurityClientNamespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
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 | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
NetworkSecurityClient(ChannelBase)
public NetworkSecurityClient(ChannelBase channel)
Creates a new client for NetworkSecurity
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
NetworkSecurityClient(ClientBaseConfiguration)
protected NetworkSecurityClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration 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 | |
---|---|
Name | Description |
request |
CreateAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest, CallOptions)
public virtual Operation DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, CallOptions options)
Deletes a single AuthorizationPolicy.
Parameters | |
---|---|
Name | Description |
request |
DeleteAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest request, CallOptions options)
Deletes a single AuthorizationPolicy.
Parameters | |
---|---|
Name | Description |
request |
DeleteAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest, CallOptions)
public virtual Operation DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, CallOptions options)
Deletes a single ClientTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
DeleteClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest request, CallOptions options)
Deletes a single ClientTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
DeleteClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest, CallOptions)
public virtual Operation DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, CallOptions options)
Deletes a single ServerTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
DeleteServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest request, CallOptions options)
Deletes a single ServerTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
DeleteServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetAuthorizationPolicy(GetAuthorizationPolicyRequest, CallOptions)
public virtual AuthorizationPolicy GetAuthorizationPolicy(GetAuthorizationPolicyRequest request, CallOptions options)
Gets details of a single AuthorizationPolicy.
Parameters | |
---|---|
Name | Description |
request |
GetAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAuthorizationPolicy |
The call object. |
GetClientTlsPolicy(GetClientTlsPolicyRequest, CallOptions)
public virtual ClientTlsPolicy GetClientTlsPolicy(GetClientTlsPolicyRequest request, CallOptions options)
Gets details of a single ClientTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
GetClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallClientTlsPolicy |
The call object. |
GetServerTlsPolicy(GetServerTlsPolicyRequest, CallOptions)
public virtual ServerTlsPolicy GetServerTlsPolicy(GetServerTlsPolicyRequest request, CallOptions options)
Gets details of a single ServerTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
GetServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallServerTlsPolicy |
The call object. |
ListAuthorizationPolicies(ListAuthorizationPoliciesRequest, CallOptions)
public virtual ListAuthorizationPoliciesResponse ListAuthorizationPolicies(ListAuthorizationPoliciesRequest request, CallOptions options)
Lists AuthorizationPolicies in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListAuthorizationPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAuthorizationPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAuthorizationPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAuthorizationPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAuthorizationPoliciesResponse |
The call object. |
ListClientTlsPolicies(ListClientTlsPoliciesRequest, CallOptions)
public virtual ListClientTlsPoliciesResponse ListClientTlsPolicies(ListClientTlsPoliciesRequest request, CallOptions options)
Lists ClientTlsPolicies in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListClientTlsPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListClientTlsPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListClientTlsPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListClientTlsPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListClientTlsPoliciesResponse |
The call object. |
ListServerTlsPolicies(ListServerTlsPoliciesRequest, CallOptions)
public virtual ListServerTlsPoliciesResponse ListServerTlsPolicies(ListServerTlsPoliciesRequest request, CallOptions options)
Lists ServerTlsPolicies in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListServerTlsPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListServerTlsPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListServerTlsPoliciesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListServerTlsPoliciesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListServerTlsPoliciesResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override NetworkSecurity.NetworkSecurityClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NetworkSecurityNetworkSecurityClient |
UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest, CallOptions)
public virtual Operation UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, CallOptions options)
Updates the parameters of a single AuthorizationPolicy.
Parameters | |
---|---|
Name | Description |
request |
UpdateAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateAuthorizationPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateAuthorizationPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest, CallOptions)
public virtual Operation UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest request, CallOptions options)
Updates the parameters of a single ClientTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
UpdateClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateClientTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateClientTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest, CallOptions)
public virtual Operation UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest request, CallOptions options)
Updates the parameters of a single ServerTlsPolicy.
Parameters | |
---|---|
Name | Description |
request |
UpdateServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateServerTlsPolicyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateServerTlsPolicyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |