public class RegistrationServiceClient : ClientBase<RegistrationService.RegistrationServiceClient>
Reference documentation and code samples for the Service Directory v1 API class RegistrationService.RegistrationServiceClient.
Client for RegistrationService
Inheritance
Object > ClientBase > ClientBase<RegistrationService.RegistrationServiceClient> > RegistrationService.RegistrationServiceClientNamespace
Google.Cloud.ServiceDirectory.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegistrationServiceClient(ChannelBase)
public RegistrationServiceClient(ChannelBase channel)
Creates a new client for RegistrationService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegistrationServiceClient(ClientBase.ClientBaseConfiguration)
protected RegistrationServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateEndpoint(CreateEndpointRequest, CallOptions)
public virtual Endpoint CreateEndpoint(CreateEndpointRequest request, CallOptions options)
Creates a endpoint, and returns the new Endpoint.
Parameters | |
---|---|
Name | Description |
request | CreateEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Endpoint | The response received from the server. |
CreateEndpoint(CreateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Endpoint CreateEndpoint(CreateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a endpoint, and returns the new Endpoint.
Parameters | |
---|---|
Name | Description |
request | CreateEndpointRequest 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 |
Endpoint | The response received from the server. |
CreateEndpointAsync(CreateEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Endpoint> CreateEndpointAsync(CreateEndpointRequest request, CallOptions options)
Creates a endpoint, and returns the new Endpoint.
Parameters | |
---|---|
Name | Description |
request | CreateEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Endpoint> | The call object. |
CreateEndpointAsync(CreateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Endpoint> CreateEndpointAsync(CreateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a endpoint, and returns the new Endpoint.
Parameters | |
---|---|
Name | Description |
request | CreateEndpointRequest 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<Endpoint> | The call object. |
CreateNamespace(CreateNamespaceRequest, CallOptions)
public virtual Namespace CreateNamespace(CreateNamespaceRequest request, CallOptions options)
Creates a namespace, and returns the new Namespace.
Parameters | |
---|---|
Name | Description |
request | CreateNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Namespace | The response received from the server. |
CreateNamespace(CreateNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Namespace CreateNamespace(CreateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a namespace, and returns the new Namespace.
Parameters | |
---|---|
Name | Description |
request | CreateNamespaceRequest 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 |
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 | |
---|---|
Name | Description |
request | CreateNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Namespace> | The call object. |
CreateNamespaceAsync(CreateNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Namespace> CreateNamespaceAsync(CreateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a namespace, and returns the new Namespace.
Parameters | |
---|---|
Name | Description |
request | CreateNamespaceRequest 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<Namespace> | The call object. |
CreateService(CreateServiceRequest, CallOptions)
public virtual Service CreateService(CreateServiceRequest request, CallOptions options)
Creates a service, and returns the new Service.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
CreateService(CreateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service CreateService(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a service, and returns the new Service.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest 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 |
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 | |
---|---|
Name | Description |
request | CreateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
CreateServiceAsync(CreateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> CreateServiceAsync(CreateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a service, and returns the new Service.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest 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<Service> | The call object. |
DeleteEndpoint(DeleteEndpointRequest, CallOptions)
public virtual Empty DeleteEndpoint(DeleteEndpointRequest request, CallOptions options)
Deletes a endpoint.
Parameters | |
---|---|
Name | Description |
request | DeleteEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteEndpoint(DeleteEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteEndpoint(DeleteEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a endpoint.
Parameters | |
---|---|
Name | Description |
request | DeleteEndpointRequest 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 |
Empty | The response received from the server. |
DeleteEndpointAsync(DeleteEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteEndpointAsync(DeleteEndpointRequest request, CallOptions options)
Deletes a endpoint.
Parameters | |
---|---|
Name | Description |
request | DeleteEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteEndpointAsync(DeleteEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteEndpointAsync(DeleteEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a endpoint.
Parameters | |
---|---|
Name | Description |
request | DeleteEndpointRequest 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<Empty> | 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 | |
---|---|
Name | Description |
request | DeleteNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteNamespace(DeleteNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteNamespace(DeleteNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a namespace. This also deletes all services and endpoints in the namespace.
Parameters | |
---|---|
Name | Description |
request | DeleteNamespaceRequest 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 |
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 | |
---|---|
Name | Description |
request | DeleteNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteNamespaceAsync(DeleteNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteNamespaceAsync(DeleteNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a namespace. This also deletes all services and endpoints in the namespace.
Parameters | |
---|---|
Name | Description |
request | DeleteNamespaceRequest 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<Empty> | 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 | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteService(DeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteService(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a service. This also deletes all endpoints associated with the service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest 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 |
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 | |
---|---|
Name | Description |
request | DeleteServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteServiceAsync(DeleteServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteServiceAsync(DeleteServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a service. This also deletes all endpoints associated with the service.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest 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<Empty> | The call object. |
GetEndpoint(GetEndpointRequest, CallOptions)
public virtual Endpoint GetEndpoint(GetEndpointRequest request, CallOptions options)
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
request | GetEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Endpoint | The response received from the server. |
GetEndpoint(GetEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Endpoint GetEndpoint(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
request | GetEndpointRequest 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 |
Endpoint | The response received from the server. |
GetEndpointAsync(GetEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallOptions options)
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
request | GetEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Endpoint> | The call object. |
GetEndpointAsync(GetEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Endpoint> GetEndpointAsync(GetEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a endpoint.
Parameters | |
---|---|
Name | Description |
request | GetEndpointRequest 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<Endpoint> | 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 | |
---|---|
Name | Description |
request | GetIamPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
GetIamPolicy(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the IAM Policy for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyRequest 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 |
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 | |
---|---|
Name | Description |
request | GetIamPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the IAM Policy for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyRequest 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<Policy> | The call object. |
GetNamespace(GetNamespaceRequest, CallOptions)
public virtual Namespace GetNamespace(GetNamespaceRequest request, CallOptions options)
Gets a namespace.
Parameters | |
---|---|
Name | Description |
request | GetNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Namespace | The response received from the server. |
GetNamespace(GetNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Namespace GetNamespace(GetNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a namespace.
Parameters | |
---|---|
Name | Description |
request | GetNamespaceRequest 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 |
Namespace | The response received from the server. |
GetNamespaceAsync(GetNamespaceRequest, CallOptions)
public virtual AsyncUnaryCall<Namespace> GetNamespaceAsync(GetNamespaceRequest request, CallOptions options)
Gets a namespace.
Parameters | |
---|---|
Name | Description |
request | GetNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Namespace> | The call object. |
GetNamespaceAsync(GetNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Namespace> GetNamespaceAsync(GetNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a namespace.
Parameters | |
---|---|
Name | Description |
request | GetNamespaceRequest 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<Namespace> | The call object. |
GetService(GetServiceRequest, CallOptions)
public virtual Service GetService(GetServiceRequest request, CallOptions options)
Gets a service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
GetService(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service GetService(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest 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 |
Service | The response received from the server. |
GetServiceAsync(GetServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, CallOptions options)
Gets a service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
GetServiceAsync(GetServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> GetServiceAsync(GetServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets a service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest 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<Service> | The call object. |
ListEndpoints(ListEndpointsRequest, CallOptions)
public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, CallOptions options)
Lists all endpoints.
Parameters | |
---|---|
Name | Description |
request | ListEndpointsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListEndpointsResponse | The response received from the server. |
ListEndpoints(ListEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all endpoints.
Parameters | |
---|---|
Name | Description |
request | ListEndpointsRequest 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 |
ListEndpointsResponse | The response received from the server. |
ListEndpointsAsync(ListEndpointsRequest, CallOptions)
public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, CallOptions options)
Lists all endpoints.
Parameters | |
---|---|
Name | Description |
request | ListEndpointsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListEndpointsResponse> | The call object. |
ListEndpointsAsync(ListEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListEndpointsResponse> ListEndpointsAsync(ListEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all endpoints.
Parameters | |
---|---|
Name | Description |
request | ListEndpointsRequest 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<ListEndpointsResponse> | The call object. |
ListNamespaces(ListNamespacesRequest, CallOptions)
public virtual ListNamespacesResponse ListNamespaces(ListNamespacesRequest request, CallOptions options)
Lists all namespaces.
Parameters | |
---|---|
Name | Description |
request | ListNamespacesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListNamespacesResponse | The response received from the server. |
ListNamespaces(ListNamespacesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListNamespacesResponse ListNamespaces(ListNamespacesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all namespaces.
Parameters | |
---|---|
Name | Description |
request | ListNamespacesRequest 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 |
ListNamespacesResponse | The response received from the server. |
ListNamespacesAsync(ListNamespacesRequest, CallOptions)
public virtual AsyncUnaryCall<ListNamespacesResponse> ListNamespacesAsync(ListNamespacesRequest request, CallOptions options)
Lists all namespaces.
Parameters | |
---|---|
Name | Description |
request | ListNamespacesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListNamespacesResponse> | The call object. |
ListNamespacesAsync(ListNamespacesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListNamespacesResponse> ListNamespacesAsync(ListNamespacesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all namespaces.
Parameters | |
---|---|
Name | Description |
request | ListNamespacesRequest 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<ListNamespacesResponse> | The call object. |
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)
Lists all services belonging to a namespace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListServicesResponse | The response received from the server. |
ListServices(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all services belonging to a namespace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest 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 |
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 | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServicesResponse> | The call object. |
ListServicesAsync(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all services belonging to a namespace.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest 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<ListServicesResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegistrationService.RegistrationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegistrationService.RegistrationServiceClient |
SetIamPolicy(SetIamPolicyRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)
Sets the IAM Policy for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Policy | The response received from the server. |
SetIamPolicy(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Sets the IAM Policy for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRequest 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 |
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 | |
---|---|
Name | Description |
request | SetIamPolicyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Sets the IAM Policy for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRequest 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<Policy> | 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 | |
---|---|
Name | Description |
request | TestIamPermissionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TestIamPermissionsResponse | The response received from the server. |
TestIamPermissions(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Tests IAM permissions for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRequest 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 |
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 | |
---|---|
Name | Description |
request | TestIamPermissionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TestIamPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Tests IAM permissions for a resource (namespace or service only).
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRequest 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<TestIamPermissionsResponse> | The call object. |
UpdateEndpoint(UpdateEndpointRequest, CallOptions)
public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, CallOptions options)
Updates a endpoint.
Parameters | |
---|---|
Name | Description |
request | UpdateEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Endpoint | The response received from the server. |
UpdateEndpoint(UpdateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Endpoint UpdateEndpoint(UpdateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a endpoint.
Parameters | |
---|---|
Name | Description |
request | UpdateEndpointRequest 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 |
Endpoint | The response received from the server. |
UpdateEndpointAsync(UpdateEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, CallOptions options)
Updates a endpoint.
Parameters | |
---|---|
Name | Description |
request | UpdateEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Endpoint> | The call object. |
UpdateEndpointAsync(UpdateEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Endpoint> UpdateEndpointAsync(UpdateEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a endpoint.
Parameters | |
---|---|
Name | Description |
request | UpdateEndpointRequest 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<Endpoint> | The call object. |
UpdateNamespace(UpdateNamespaceRequest, CallOptions)
public virtual Namespace UpdateNamespace(UpdateNamespaceRequest request, CallOptions options)
Updates a namespace.
Parameters | |
---|---|
Name | Description |
request | UpdateNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Namespace | The response received from the server. |
UpdateNamespace(UpdateNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Namespace UpdateNamespace(UpdateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a namespace.
Parameters | |
---|---|
Name | Description |
request | UpdateNamespaceRequest 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 |
Namespace | The response received from the server. |
UpdateNamespaceAsync(UpdateNamespaceRequest, CallOptions)
public virtual AsyncUnaryCall<Namespace> UpdateNamespaceAsync(UpdateNamespaceRequest request, CallOptions options)
Updates a namespace.
Parameters | |
---|---|
Name | Description |
request | UpdateNamespaceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Namespace> | The call object. |
UpdateNamespaceAsync(UpdateNamespaceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Namespace> UpdateNamespaceAsync(UpdateNamespaceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a namespace.
Parameters | |
---|---|
Name | Description |
request | UpdateNamespaceRequest 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<Namespace> | The call object. |
UpdateService(UpdateServiceRequest, CallOptions)
public virtual Service UpdateService(UpdateServiceRequest request, CallOptions options)
Updates a service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Service | The response received from the server. |
UpdateService(UpdateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Service UpdateService(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest 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 |
Service | The response received from the server. |
UpdateServiceAsync(UpdateServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, CallOptions options)
Updates a service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Service> | The call object. |
UpdateServiceAsync(UpdateServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Service> UpdateServiceAsync(UpdateServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest 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<Service> | The call object. |