public class NetworkSecurityClient : ClientBase<NetworkSecurity.NetworkSecurityClient>
Client for NetworkSecurity
Inheritance
Object > ClientBase > ClientBase<NetworkSecurity.NetworkSecurityClient> > 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(ClientBase.ClientBaseConfiguration)
protected NetworkSecurityClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateAuthorizationPolicy(CreateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateAuthorizationPolicyAsync(CreateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateClientTlsPolicy(CreateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateClientTlsPolicyAsync(CreateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateServerTlsPolicy(CreateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateServerTlsPolicyAsync(CreateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteAuthorizationPolicy(DeleteAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAuthorizationPolicyAsync(DeleteAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteClientTlsPolicy(DeleteClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteClientTlsPolicyAsync(DeleteClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteServerTlsPolicy(DeleteServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteServerTlsPolicyAsync(DeleteServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual AuthorizationPolicy GetAuthorizationPolicy(GetAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<AuthorizationPolicy> | The call object. |
GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AuthorizationPolicy> GetAuthorizationPolicyAsync(GetAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<AuthorizationPolicy> | 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, Nullable<DateTime>, CancellationToken)
public virtual ClientTlsPolicy GetClientTlsPolicy(GetClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ClientTlsPolicy> | The call object. |
GetClientTlsPolicyAsync(GetClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ClientTlsPolicy> GetClientTlsPolicyAsync(GetClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ClientTlsPolicy> | 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, Nullable<DateTime>, CancellationToken)
public virtual ServerTlsPolicy GetServerTlsPolicy(GetServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ServerTlsPolicy> | The call object. |
GetServerTlsPolicyAsync(GetServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ServerTlsPolicy> GetServerTlsPolicyAsync(GetServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual ListAuthorizationPoliciesResponse ListAuthorizationPolicies(ListAuthorizationPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListAuthorizationPoliciesResponse> | The call object. |
ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListAuthorizationPoliciesResponse> ListAuthorizationPoliciesAsync(ListAuthorizationPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual ListClientTlsPoliciesResponse ListClientTlsPolicies(ListClientTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListClientTlsPoliciesResponse> | The call object. |
ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListClientTlsPoliciesResponse> ListClientTlsPoliciesAsync(ListClientTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual ListServerTlsPoliciesResponse ListServerTlsPolicies(ListServerTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListServerTlsPoliciesResponse> | The call object. |
ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServerTlsPoliciesResponse> ListServerTlsPoliciesAsync(ListServerTlsPoliciesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NetworkSecurity.NetworkSecurityClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateAuthorizationPolicy(UpdateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAuthorizationPolicyAsync(UpdateAuthorizationPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateClientTlsPolicy(UpdateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateClientTlsPolicyAsync(UpdateClientTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateServerTlsPolicy(UpdateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateServerTlsPolicyAsync(UpdateServerTlsPolicyRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |