Network Security v1 API - Class SSERealmService.SSERealmServiceClient (1.0.0-beta01)

public class SSERealmService.SSERealmServiceClient : ClientBase<SSERealmService.SSERealmServiceClient>

Reference documentation and code samples for the Network Security v1 API class SSERealmService.SSERealmServiceClient.

Client for SSERealmService

Inheritance

object > ClientBase > ClientBaseSSERealmServiceSSERealmServiceClient > SSERealmService.SSERealmServiceClient

Namespace

Google.Cloud.NetworkSecurity.V1

Assembly

Google.Cloud.NetworkSecurity.V1.dll

Constructors

SSERealmServiceClient()

protected SSERealmServiceClient()

Protected parameterless constructor to allow creation of test doubles.

SSERealmServiceClient(CallInvoker)

public SSERealmServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SSERealmServiceClient(ChannelBase)

public SSERealmServiceClient(ChannelBase channel)

Creates a new client for SSERealmService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SSERealmServiceClient(ClientBaseConfiguration)

protected SSERealmServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

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.

CreateSACAttachment(CreateSACAttachmentRequest, CallOptions)

public virtual Operation CreateSACAttachment(CreateSACAttachmentRequest request, CallOptions options)

Creates a new SACAttachment in a given project and location.

Parameters
Name Description
request CreateSACAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateSACAttachment(CreateSACAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new SACAttachment in a given project and location.

Parameters
Name Description
request CreateSACAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

CreateSACAttachmentAsync(CreateSACAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateSACAttachmentAsync(CreateSACAttachmentRequest request, CallOptions options)

Creates a new SACAttachment in a given project and location.

Parameters
Name Description
request CreateSACAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateSACAttachmentAsync(CreateSACAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new SACAttachment in a given project and location.

Parameters
Name Description
request CreateSACAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

CreateSACRealm(CreateSACRealmRequest, CallOptions)

public virtual Operation CreateSACRealm(CreateSACRealmRequest request, CallOptions options)

Creates a new SACRealm in a given project.

Parameters
Name Description
request CreateSACRealmRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateSACRealm(CreateSACRealmRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new SACRealm in a given project.

Parameters
Name Description
request CreateSACRealmRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

CreateSACRealmAsync(CreateSACRealmRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateSACRealmAsync(CreateSACRealmRequest request, CallOptions options)

Creates a new SACRealm in a given project.

Parameters
Name Description
request CreateSACRealmRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateSACRealmAsync(CreateSACRealmRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new SACRealm in a given project.

Parameters
Name Description
request CreateSACRealmRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

DeleteSACAttachment(DeleteSACAttachmentRequest, CallOptions)

public virtual Operation DeleteSACAttachment(DeleteSACAttachmentRequest request, CallOptions options)

Deletes the specified attachment.

Parameters
Name Description
request DeleteSACAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteSACAttachment(DeleteSACAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified attachment.

Parameters
Name Description
request DeleteSACAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

DeleteSACAttachmentAsync(DeleteSACAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteSACAttachmentAsync(DeleteSACAttachmentRequest request, CallOptions options)

Deletes the specified attachment.

Parameters
Name Description
request DeleteSACAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSACAttachmentAsync(DeleteSACAttachmentRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified attachment.

Parameters
Name Description
request DeleteSACAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

DeleteSACRealm(DeleteSACRealmRequest, CallOptions)

public virtual Operation DeleteSACRealm(DeleteSACRealmRequest request, CallOptions options)

Deletes the specified realm.

Parameters
Name Description
request DeleteSACRealmRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteSACRealm(DeleteSACRealmRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified realm.

Parameters
Name Description
request DeleteSACRealmRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

DeleteSACRealmAsync(DeleteSACRealmRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteSACRealmAsync(DeleteSACRealmRequest request, CallOptions options)

Deletes the specified realm.

Parameters
Name Description
request DeleteSACRealmRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSACRealmAsync(DeleteSACRealmRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified realm.

Parameters
Name Description
request DeleteSACRealmRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

GetSACAttachment(GetSACAttachmentRequest, CallOptions)

public virtual SACAttachment GetSACAttachment(GetSACAttachmentRequest request, CallOptions options)

Returns the specified attachment.

Parameters
Name Description
request GetSACAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SACAttachment

The response received from the server.

GetSACAttachment(GetSACAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual SACAttachment GetSACAttachment(GetSACAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified attachment.

Parameters
Name Description
request GetSACAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline System.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
SACAttachment

The response received from the server.

GetSACAttachmentAsync(GetSACAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<SACAttachment> GetSACAttachmentAsync(GetSACAttachmentRequest request, CallOptions options)

Returns the specified attachment.

Parameters
Name Description
request GetSACAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSACAttachment

The call object.

GetSACAttachmentAsync(GetSACAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SACAttachment> GetSACAttachmentAsync(GetSACAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified attachment.

Parameters
Name Description
request GetSACAttachmentRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallSACAttachment

The call object.

GetSACRealm(GetSACRealmRequest, CallOptions)

public virtual SACRealm GetSACRealm(GetSACRealmRequest request, CallOptions options)

Returns the specified realm.

Parameters
Name Description
request GetSACRealmRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SACRealm

The response received from the server.

GetSACRealm(GetSACRealmRequest, Metadata, DateTime?, CancellationToken)

public virtual SACRealm GetSACRealm(GetSACRealmRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified realm.

Parameters
Name Description
request GetSACRealmRequest

The request to send to the server.

headers Metadata

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

deadline System.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
SACRealm

The response received from the server.

GetSACRealmAsync(GetSACRealmRequest, CallOptions)

public virtual AsyncUnaryCall<SACRealm> GetSACRealmAsync(GetSACRealmRequest request, CallOptions options)

Returns the specified realm.

Parameters
Name Description
request GetSACRealmRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSACRealm

The call object.

GetSACRealmAsync(GetSACRealmRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SACRealm> GetSACRealmAsync(GetSACRealmRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified realm.

Parameters
Name Description
request GetSACRealmRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallSACRealm

The call object.

ListSACAttachments(ListSACAttachmentsRequest, CallOptions)

public virtual ListSACAttachmentsResponse ListSACAttachments(ListSACAttachmentsRequest request, CallOptions options)

Lists SACAttachments in a given project and location.

Parameters
Name Description
request ListSACAttachmentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSACAttachmentsResponse

The response received from the server.

ListSACAttachments(ListSACAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSACAttachmentsResponse ListSACAttachments(ListSACAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists SACAttachments in a given project and location.

Parameters
Name Description
request ListSACAttachmentsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
ListSACAttachmentsResponse

The response received from the server.

ListSACAttachmentsAsync(ListSACAttachmentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSACAttachmentsResponse> ListSACAttachmentsAsync(ListSACAttachmentsRequest request, CallOptions options)

Lists SACAttachments in a given project and location.

Parameters
Name Description
request ListSACAttachmentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSACAttachmentsResponse

The call object.

ListSACAttachmentsAsync(ListSACAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSACAttachmentsResponse> ListSACAttachmentsAsync(ListSACAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists SACAttachments in a given project and location.

Parameters
Name Description
request ListSACAttachmentsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallListSACAttachmentsResponse

The call object.

ListSACRealms(ListSACRealmsRequest, CallOptions)

public virtual ListSACRealmsResponse ListSACRealms(ListSACRealmsRequest request, CallOptions options)

Lists SACRealms in a given project.

Parameters
Name Description
request ListSACRealmsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSACRealmsResponse

The response received from the server.

ListSACRealms(ListSACRealmsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSACRealmsResponse ListSACRealms(ListSACRealmsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists SACRealms in a given project.

Parameters
Name Description
request ListSACRealmsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
ListSACRealmsResponse

The response received from the server.

ListSACRealmsAsync(ListSACRealmsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSACRealmsResponse> ListSACRealmsAsync(ListSACRealmsRequest request, CallOptions options)

Lists SACRealms in a given project.

Parameters
Name Description
request ListSACRealmsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSACRealmsResponse

The call object.

ListSACRealmsAsync(ListSACRealmsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSACRealmsResponse> ListSACRealmsAsync(ListSACRealmsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists SACRealms in a given project.

Parameters
Name Description
request ListSACRealmsRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallListSACRealmsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override SSERealmService.SSERealmServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SSERealmServiceSSERealmServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.NetworkSecurity.V1.SSERealmService.SSERealmServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)