Service Directory v1 API - Class RegistrationService.RegistrationServiceClient (2.3.0)

public class RegistrationService.RegistrationServiceClient : ClientBase<RegistrationService.RegistrationServiceClient>

Reference documentation and code samples for the Service Directory v1 API class RegistrationService.RegistrationServiceClient.

Client for RegistrationService

Inheritance

object > ClientBase > ClientBaseRegistrationServiceRegistrationServiceClient > RegistrationService.RegistrationServiceClient

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Constructors

RegistrationServiceClient()

protected RegistrationServiceClient()

Protected parameterless constructor to allow creation of test doubles.

RegistrationServiceClient(CallInvoker)

public RegistrationServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegistrationServiceClient(ChannelBase)

public RegistrationServiceClient(ChannelBase channel)

Creates a new client for RegistrationService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegistrationServiceClient(ClientBaseConfiguration)

protected RegistrationServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateEndpoint(CreateEndpointRequest, CallOptions)

public virtual Endpoint CreateEndpoint(CreateEndpointRequest request, CallOptions options)

Creates an endpoint, and returns the new endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Endpoint

The response received from the server.

CreateEndpoint(CreateEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual Endpoint CreateEndpoint(CreateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an endpoint, and returns the new endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Endpoint

The response received from the server.

CreateEndpointAsync(CreateEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Endpoint> CreateEndpointAsync(CreateEndpointRequest request, CallOptions options)

Creates an endpoint, and returns the new endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEndpoint

The call object.

CreateEndpointAsync(CreateEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Endpoint> CreateEndpointAsync(CreateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an endpoint, and returns the new endpoint.

Parameters
NameDescription
requestCreateEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEndpoint

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

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

Returns
TypeDescription
LocationsLocationsClient

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

CreateNamespace(CreateNamespaceRequest, CallOptions)

public virtual Namespace CreateNamespace(CreateNamespaceRequest request, CallOptions options)

Creates a namespace, and returns the new namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Namespace

The response received from the server.

CreateNamespace(CreateNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual Namespace CreateNamespace(CreateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a namespace, and returns the new namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Namespace

The response received from the server.

CreateNamespaceAsync(CreateNamespaceRequest, CallOptions)

public virtual AsyncUnaryCall<Namespace> CreateNamespaceAsync(CreateNamespaceRequest request, CallOptions options)

Creates a namespace, and returns the new namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallNamespace

The call object.

CreateNamespaceAsync(CreateNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Namespace> CreateNamespaceAsync(CreateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a namespace, and returns the new namespace.

Parameters
NameDescription
requestCreateNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNamespace

The call object.

CreateService(CreateServiceRequest, CallOptions)

public virtual Service CreateService(CreateServiceRequest request, CallOptions options)

Creates a service, and returns the new service.

Parameters
NameDescription
requestCreateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Service

The response received from the server.

CreateService(CreateServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Service CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a service, and returns the new service.

Parameters
NameDescription
requestCreateServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Service

The response received from the server.

CreateServiceAsync(CreateServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, CallOptions options)

Creates a service, and returns the new service.

Parameters
NameDescription
requestCreateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallService

The call object.

CreateServiceAsync(CreateServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a service, and returns the new service.

Parameters
NameDescription
requestCreateServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallService

The call object.

DeleteEndpoint(DeleteEndpointRequest, CallOptions)

public virtual Empty DeleteEndpoint(DeleteEndpointRequest request, CallOptions options)

Deletes an endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEndpoint(DeleteEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteEndpoint(DeleteEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEndpointAsync(DeleteEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEndpointAsync(DeleteEndpointRequest request, CallOptions options)

Deletes an endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteEndpointAsync(DeleteEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEndpointAsync(DeleteEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an endpoint.

Parameters
NameDescription
requestDeleteEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteNamespace(DeleteNamespaceRequest, CallOptions)

public virtual Empty DeleteNamespace(DeleteNamespaceRequest request, CallOptions options)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNamespace(DeleteNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteNamespace(DeleteNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNamespaceAsync(DeleteNamespaceRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteNamespaceAsync(DeleteNamespaceRequest request, CallOptions options)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteNamespaceAsync(DeleteNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteNamespaceAsync(DeleteNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a namespace. This also deletes all services and endpoints in the namespace.

Parameters
NameDescription
requestDeleteNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteService(DeleteServiceRequest, CallOptions)

public virtual Empty DeleteService(DeleteServiceRequest request, CallOptions options)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteService(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteServiceAsync(DeleteServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, CallOptions options)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteServiceAsync(DeleteServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a service. This also deletes all endpoints associated with the service.

Parameters
NameDescription
requestDeleteServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetEndpoint(GetEndpointRequest, CallOptions)

public virtual Endpoint GetEndpoint(GetEndpointRequest request, CallOptions options)

Gets an endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Endpoint

The response received from the server.

GetEndpoint(GetEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual Endpoint GetEndpoint(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Endpoint

The response received from the server.

GetEndpointAsync(GetEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallOptions options)

Gets an endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEndpoint

The call object.

GetEndpointAsync(GetEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an endpoint.

Parameters
NameDescription
requestGetEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEndpoint

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallOptions options)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

GetNamespace(GetNamespaceRequest, CallOptions)

public virtual Namespace GetNamespace(GetNamespaceRequest request, CallOptions options)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Namespace

The response received from the server.

GetNamespace(GetNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual Namespace GetNamespace(GetNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Namespace

The response received from the server.

GetNamespaceAsync(GetNamespaceRequest, CallOptions)

public virtual AsyncUnaryCall<Namespace> GetNamespaceAsync(GetNamespaceRequest request, CallOptions options)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallNamespace

The call object.

GetNamespaceAsync(GetNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Namespace> GetNamespaceAsync(GetNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a namespace.

Parameters
NameDescription
requestGetNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNamespace

The call object.

GetService(GetServiceRequest, CallOptions)

public virtual Service GetService(GetServiceRequest request, CallOptions options)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Service

The response received from the server.

GetService(GetServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Service

The response received from the server.

GetServiceAsync(GetServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallService

The call object.

GetServiceAsync(GetServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a service.

Parameters
NameDescription
requestGetServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallService

The call object.

ListEndpoints(ListEndpointsRequest, CallOptions)

public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, CallOptions options)

Lists all endpoints.

Parameters
NameDescription
requestListEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEndpointsResponse

The response received from the server.

ListEndpoints(ListEndpointsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all endpoints.

Parameters
NameDescription
requestListEndpointsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListEndpointsResponse

The response received from the server.

ListEndpointsAsync(ListEndpointsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, CallOptions options)

Lists all endpoints.

Parameters
NameDescription
requestListEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListEndpointsResponse

The call object.

ListEndpointsAsync(ListEndpointsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all endpoints.

Parameters
NameDescription
requestListEndpointsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListEndpointsResponse

The call object.

ListNamespaces(ListNamespacesRequest, CallOptions)

public virtual ListNamespacesResponse ListNamespaces(ListNamespacesRequest request, CallOptions options)

Lists all namespaces.

Parameters
NameDescription
requestListNamespacesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListNamespacesResponse

The response received from the server.

ListNamespaces(ListNamespacesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNamespacesResponse ListNamespaces(ListNamespacesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all namespaces.

Parameters
NameDescription
requestListNamespacesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListNamespacesResponse

The response received from the server.

ListNamespacesAsync(ListNamespacesRequest, CallOptions)

public virtual AsyncUnaryCall<ListNamespacesResponse> ListNamespacesAsync(ListNamespacesRequest request, CallOptions options)

Lists all namespaces.

Parameters
NameDescription
requestListNamespacesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListNamespacesResponse

The call object.

ListNamespacesAsync(ListNamespacesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNamespacesResponse> ListNamespacesAsync(ListNamespacesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all namespaces.

Parameters
NameDescription
requestListNamespacesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListNamespacesResponse

The call object.

ListServices(ListServicesRequest, CallOptions)

public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)

Lists all services belonging to a namespace.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListServicesResponse

The response received from the server.

ListServices(ListServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all services belonging to a namespace.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListServicesResponse

The response received from the server.

ListServicesAsync(ListServicesRequest, CallOptions)

public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)

Lists all services belonging to a namespace.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListServicesResponse

The call object.

ListServicesAsync(ListServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all services belonging to a namespace.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListServicesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegistrationService.RegistrationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegistrationServiceRegistrationServiceClient
Overrides

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallOptions options)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the IAM Policy for a resource (namespace or service only).

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallOptions)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallOptions options)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTestIamPermissionsResponse

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Tests IAM permissions for a resource (namespace or service only).

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTestIamPermissionsResponse

The call object.

UpdateEndpoint(UpdateEndpointRequest, CallOptions)

public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, CallOptions options)

Updates an endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Endpoint

The response received from the server.

UpdateEndpoint(UpdateEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Endpoint

The response received from the server.

UpdateEndpointAsync(UpdateEndpointRequest, CallOptions)

public virtual AsyncUnaryCall<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, CallOptions options)

Updates an endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEndpoint

The call object.

UpdateEndpointAsync(UpdateEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an endpoint.

Parameters
NameDescription
requestUpdateEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEndpoint

The call object.

UpdateNamespace(UpdateNamespaceRequest, CallOptions)

public virtual Namespace UpdateNamespace(UpdateNamespaceRequest request, CallOptions options)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Namespace

The response received from the server.

UpdateNamespace(UpdateNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual Namespace UpdateNamespace(UpdateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Namespace

The response received from the server.

UpdateNamespaceAsync(UpdateNamespaceRequest, CallOptions)

public virtual AsyncUnaryCall<Namespace> UpdateNamespaceAsync(UpdateNamespaceRequest request, CallOptions options)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallNamespace

The call object.

UpdateNamespaceAsync(UpdateNamespaceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Namespace> UpdateNamespaceAsync(UpdateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a namespace.

Parameters
NameDescription
requestUpdateNamespaceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNamespace

The call object.

UpdateService(UpdateServiceRequest, CallOptions)

public virtual Service UpdateService(UpdateServiceRequest request, CallOptions options)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Service

The response received from the server.

UpdateService(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Service UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Service

The response received from the server.

UpdateServiceAsync(UpdateServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallService

The call object.

UpdateServiceAsync(UpdateServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a service.

Parameters
NameDescription
requestUpdateServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallService

The call object.