Constructor
new RegistrationService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new RegistrationService service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createEndpoint(request, callback) → {undefined}
Calls CreateEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.ICreateEndpointRequest |
CreateEndpointRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.CreateEndpointCallback |
Node-style callback called with the error, if any, and Endpoint |
Returns:
Type | Description |
---|---|
undefined |
createEndpoint(request) → {Promise.<google.cloud.servicedirectory.v1.Endpoint>}
Calls CreateEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.ICreateEndpointRequest |
CreateEndpointRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Endpoint> |
Promise |
createNamespace(request, callback) → {undefined}
Calls CreateNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.ICreateNamespaceRequest |
CreateNamespaceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.CreateNamespaceCallback |
Node-style callback called with the error, if any, and Namespace |
Returns:
Type | Description |
---|---|
undefined |
createNamespace(request) → {Promise.<google.cloud.servicedirectory.v1.Namespace>}
Calls CreateNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.ICreateNamespaceRequest |
CreateNamespaceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Namespace> |
Promise |
createService(request, callback) → {undefined}
Calls CreateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.ICreateServiceRequest |
CreateServiceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.CreateServiceCallback |
Node-style callback called with the error, if any, and Service |
Returns:
Type | Description |
---|---|
undefined |
createService(request) → {Promise.<google.cloud.servicedirectory.v1.Service>}
Calls CreateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.ICreateServiceRequest |
CreateServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Service> |
Promise |
deleteEndpoint(request, callback) → {undefined}
Calls DeleteEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IDeleteEndpointRequest |
DeleteEndpointRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpointCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteEndpoint(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IDeleteEndpointRequest |
DeleteEndpointRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteNamespace(request, callback) → {undefined}
Calls DeleteNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IDeleteNamespaceRequest |
DeleteNamespaceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespaceCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteNamespace(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IDeleteNamespaceRequest |
DeleteNamespaceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteService(request, callback) → {undefined}
Calls DeleteService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IDeleteServiceRequest |
DeleteServiceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.DeleteServiceCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteService(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IDeleteServiceRequest |
DeleteServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getEndpoint(request, callback) → {undefined}
Calls GetEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IGetEndpointRequest |
GetEndpointRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.GetEndpointCallback |
Node-style callback called with the error, if any, and Endpoint |
Returns:
Type | Description |
---|---|
undefined |
getEndpoint(request) → {Promise.<google.cloud.servicedirectory.v1.Endpoint>}
Calls GetEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IGetEndpointRequest |
GetEndpointRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Endpoint> |
Promise |
getIamPolicy(request, callback) → {undefined}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.IGetIamPolicyRequest |
GetIamPolicyRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.IGetIamPolicyRequest |
GetIamPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.Policy> |
Promise |
getNamespace(request, callback) → {undefined}
Calls GetNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IGetNamespaceRequest |
GetNamespaceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.GetNamespaceCallback |
Node-style callback called with the error, if any, and Namespace |
Returns:
Type | Description |
---|---|
undefined |
getNamespace(request) → {Promise.<google.cloud.servicedirectory.v1.Namespace>}
Calls GetNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IGetNamespaceRequest |
GetNamespaceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Namespace> |
Promise |
getService(request, callback) → {undefined}
Calls GetService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IGetServiceRequest |
GetServiceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.GetServiceCallback |
Node-style callback called with the error, if any, and Service |
Returns:
Type | Description |
---|---|
undefined |
getService(request) → {Promise.<google.cloud.servicedirectory.v1.Service>}
Calls GetService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IGetServiceRequest |
GetServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Service> |
Promise |
listEndpoints(request, callback) → {undefined}
Calls ListEndpoints.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IListEndpointsRequest |
ListEndpointsRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.ListEndpointsCallback |
Node-style callback called with the error, if any, and ListEndpointsResponse |
Returns:
Type | Description |
---|---|
undefined |
listEndpoints(request) → {Promise.<google.cloud.servicedirectory.v1.ListEndpointsResponse>}
Calls ListEndpoints.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IListEndpointsRequest |
ListEndpointsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.ListEndpointsResponse> |
Promise |
listNamespaces(request, callback) → {undefined}
Calls ListNamespaces.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IListNamespacesRequest |
ListNamespacesRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.ListNamespacesCallback |
Node-style callback called with the error, if any, and ListNamespacesResponse |
Returns:
Type | Description |
---|---|
undefined |
listNamespaces(request) → {Promise.<google.cloud.servicedirectory.v1.ListNamespacesResponse>}
Calls ListNamespaces.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IListNamespacesRequest |
ListNamespacesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.ListNamespacesResponse> |
Promise |
listServices(request, callback) → {undefined}
Calls ListServices.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IListServicesRequest |
ListServicesRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.ListServicesCallback |
Node-style callback called with the error, if any, and ListServicesResponse |
Returns:
Type | Description |
---|---|
undefined |
listServices(request) → {Promise.<google.cloud.servicedirectory.v1.ListServicesResponse>}
Calls ListServices.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IListServicesRequest |
ListServicesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.ListServicesResponse> |
Promise |
setIamPolicy(request, callback) → {undefined}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ISetIamPolicyRequest |
SetIamPolicyRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ISetIamPolicyRequest |
SetIamPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.Policy> |
Promise |
testIamPermissions(request, callback) → {undefined}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ITestIamPermissionsRequest |
TestIamPermissionsRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissionsCallback |
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
Returns:
Type | Description |
---|---|
undefined |
testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ITestIamPermissionsRequest |
TestIamPermissionsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.TestIamPermissionsResponse> |
Promise |
updateEndpoint(request, callback) → {undefined}
Calls UpdateEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IUpdateEndpointRequest |
UpdateEndpointRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpointCallback |
Node-style callback called with the error, if any, and Endpoint |
Returns:
Type | Description |
---|---|
undefined |
updateEndpoint(request) → {Promise.<google.cloud.servicedirectory.v1.Endpoint>}
Calls UpdateEndpoint.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IUpdateEndpointRequest |
UpdateEndpointRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Endpoint> |
Promise |
updateNamespace(request, callback) → {undefined}
Calls UpdateNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IUpdateNamespaceRequest |
UpdateNamespaceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespaceCallback |
Node-style callback called with the error, if any, and Namespace |
Returns:
Type | Description |
---|---|
undefined |
updateNamespace(request) → {Promise.<google.cloud.servicedirectory.v1.Namespace>}
Calls UpdateNamespace.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IUpdateNamespaceRequest |
UpdateNamespaceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Namespace> |
Promise |
updateService(request, callback) → {undefined}
Calls UpdateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IUpdateServiceRequest |
UpdateServiceRequest message or plain object |
callback |
google.cloud.servicedirectory.v1.RegistrationService.UpdateServiceCallback |
Node-style callback called with the error, if any, and Service |
Returns:
Type | Description |
---|---|
undefined |
updateService(request) → {Promise.<google.cloud.servicedirectory.v1.Service>}
Calls UpdateService.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.servicedirectory.v1.IUpdateServiceRequest |
UpdateServiceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.servicedirectory.v1.Service> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {RegistrationService}
Creates new RegistrationService service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
RegistrationService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateEndpointCallback(error, responseopt)
Callback as used by createEndpoint.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Endpoint |
<optional> |
Endpoint |
CreateNamespaceCallback(error, responseopt)
Callback as used by createNamespace.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Namespace |
<optional> |
Namespace |
CreateServiceCallback(error, responseopt)
Callback as used by createService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Service |
<optional> |
Service |
DeleteEndpointCallback(error, responseopt)
Callback as used by deleteEndpoint.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteNamespaceCallback(error, responseopt)
Callback as used by deleteNamespace.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteServiceCallback(error, responseopt)
Callback as used by deleteService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetEndpointCallback(error, responseopt)
Callback as used by getEndpoint.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Endpoint |
<optional> |
Endpoint |
GetIamPolicyCallback(error, responseopt)
Callback as used by getIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.Policy |
<optional> |
Policy |
GetNamespaceCallback(error, responseopt)
Callback as used by getNamespace.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Namespace |
<optional> |
Namespace |
GetServiceCallback(error, responseopt)
Callback as used by getService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Service |
<optional> |
Service |
ListEndpointsCallback(error, responseopt)
Callback as used by listEndpoints.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.ListEndpointsResponse |
<optional> |
ListEndpointsResponse |
ListNamespacesCallback(error, responseopt)
Callback as used by listNamespaces.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.ListNamespacesResponse |
<optional> |
ListNamespacesResponse |
ListServicesCallback(error, responseopt)
Callback as used by listServices.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.ListServicesResponse |
<optional> |
ListServicesResponse |
SetIamPolicyCallback(error, responseopt)
Callback as used by setIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.Policy |
<optional> |
Policy |
TestIamPermissionsCallback(error, responseopt)
Callback as used by testIamPermissions.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.TestIamPermissionsResponse |
<optional> |
TestIamPermissionsResponse |
UpdateEndpointCallback(error, responseopt)
Callback as used by updateEndpoint.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Endpoint |
<optional> |
Endpoint |
UpdateNamespaceCallback(error, responseopt)
Callback as used by updateNamespace.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Namespace |
<optional> |
Namespace |
UpdateServiceCallback(error, responseopt)
Callback as used by updateService.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.servicedirectory.v1.Service |
<optional> |
Service |