Class MemcoExternalUserNeedsCustomerNetworkError
Hierarchy (View Summary)
- MemcoPreconditionFailedError
- MemcoExternalUserNeedsCustomerNetworkError
Constructors
constructor
-
new MemcoExternalUserNeedsCustomerNetworkError(
code: Status,
detail: string,
debugErrorString?: string,
metadata?: Readonly<Record<string, string>>,
): MemcoExternalUserNeedsCustomerNetworkErrorParameters
- code: Status
- detail: string
OptionaldebugErrorString: string- metadata: Readonly<Record<string, string>> = {}
Returns MemcoExternalUserNeedsCustomerNetworkError
Properties
Readonlycode
code: Status
The gRPC status code, as @grpc/grpc-js's numeric status enum.
ReadonlycodeName
codeName: string
The status code's name, such as UNAUTHENTICATED.
Readonlydetail
detail: string
The service's own description of the failure, without the code prefix.
ReadonlydebugErrorString
debugErrorString: string | undefined
gRPC's internal diagnostic string, when the call carried one.
Readonlymetadata
metadata: Readonly<Record<string, string>>
The detail the service attached to the refusal, key to value, such as the network a user is already in. Empty when it attached none. Frozen, and the service's to extend: a key this SDK does not name is still here.
Static Readonlyreason
reason: "EXTERNAL_USER_NEEDS_CUSTOMER_NETWORK" = 'EXTERNAL_USER_NEEDS_CUSTOMER_NETWORK'
The reason the service names this refusal by.
ReadonlyrequiredNetworkScope
requiredNetworkScope: string | null
The scope a network must have to take the user, or null if unsent.
An external user can be placed only in a customer-scoped network.
Refused for a network of any other scope, a domain's root network included. Place the user in a customer network, or create one for them with
scope: 'customer'.