Application Load Balancer API, REST: BackendGroup.addBackend
Adds backends to the specified backend group.
HTTP request
POST https://alb.api.il.nebius.cloud/apploadbalancer/v1/backendGroups/{backendGroupId}:addBackend
Path parameters
Parameter | Description |
---|---|
backendGroupId | Required. ID of the backend group to add a backend to. To get the backend group ID, make a list request. |
Body parameters
{
// includes only one of the fields `http`, `grpc`, `stream`
"http": {
"name": "string",
"backendWeight": "integer",
"loadBalancingConfig": {
"panicThreshold": "string",
"localityAwareRoutingPercent": "string",
"strictLocality": true,
"mode": "string"
},
"port": "string",
"healthchecks": [
{
"timeout": "string",
"interval": "string",
"intervalJitterPercent": "number",
"healthyThreshold": "string",
"unhealthyThreshold": "string",
"healthcheckPort": "string",
// `http.healthchecks[]` includes only one of the fields `plaintext`, `tls`
"stream": {
"send": {
"text": "string"
},
"receive": {
"text": "string"
}
},
"http": {
"host": "string",
"path": "string",
"useHttp2": true
},
"grpc": {
"serviceName": "string"
},
// end of the list of possible fields`http.healthchecks[]`
"plaintext": {},
"tls": {
"sni": "string",
"validationContext": {
// `http.healthchecks[].tls.validationContext` includes only one of the fields `trustedCaId`, `trustedCaBytes`
"trustedCaId": "string",
"trustedCaBytes": "string",
// end of the list of possible fields`http.healthchecks[].tls.validationContext`
}
}
}
],
"tls": {
"sni": "string",
"validationContext": {
// `http.tls.validationContext` includes only one of the fields `trustedCaId`, `trustedCaBytes`
"trustedCaId": "string",
"trustedCaBytes": "string",
// end of the list of possible fields`http.tls.validationContext`
}
},
"useHttp2": true,
// `http` includes only one of the fields `targetGroups`, `storageBucket`
"targetGroups": {
"targetGroupIds": [
"string"
]
},
"storageBucket": {
"bucket": "string"
},
// end of the list of possible fields`http`
},
"grpc": {
"name": "string",
"backendWeight": "integer",
"loadBalancingConfig": {
"panicThreshold": "string",
"localityAwareRoutingPercent": "string",
"strictLocality": true,
"mode": "string"
},
"port": "string",
"healthchecks": [
{
"timeout": "string",
"interval": "string",
"intervalJitterPercent": "number",
"healthyThreshold": "string",
"unhealthyThreshold": "string",
"healthcheckPort": "string",
// `grpc.healthchecks[]` includes only one of the fields `plaintext`, `tls`
"stream": {
"send": {
"text": "string"
},
"receive": {
"text": "string"
}
},
"http": {
"host": "string",
"path": "string",
"useHttp2": true
},
"grpc": {
"serviceName": "string"
},
// end of the list of possible fields`grpc.healthchecks[]`
"plaintext": {},
"tls": {
"sni": "string",
"validationContext": {
// `grpc.healthchecks[].tls.validationContext` includes only one of the fields `trustedCaId`, `trustedCaBytes`
"trustedCaId": "string",
"trustedCaBytes": "string",
// end of the list of possible fields`grpc.healthchecks[].tls.validationContext`
}
}
}
],
"tls": {
"sni": "string",
"validationContext": {
// `grpc.tls.validationContext` includes only one of the fields `trustedCaId`, `trustedCaBytes`
"trustedCaId": "string",
"trustedCaBytes": "string",
// end of the list of possible fields`grpc.tls.validationContext`
}
},
"targetGroups": {
"targetGroupIds": [
"string"
]
}
},
"stream": {
"name": "string",
"backendWeight": "integer",
"loadBalancingConfig": {
"panicThreshold": "string",
"localityAwareRoutingPercent": "string",
"strictLocality": true,
"mode": "string"
},
"port": "string",
"healthchecks": [
{
"timeout": "string",
"interval": "string",
"intervalJitterPercent": "number",
"healthyThreshold": "string",
"unhealthyThreshold": "string",
"healthcheckPort": "string",
// `stream.healthchecks[]` includes only one of the fields `plaintext`, `tls`
"stream": {
"send": {
"text": "string"
},
"receive": {
"text": "string"
}
},
"http": {
"host": "string",
"path": "string",
"useHttp2": true
},
"grpc": {
"serviceName": "string"
},
// end of the list of possible fields`stream.healthchecks[]`
"plaintext": {},
"tls": {
"sni": "string",
"validationContext": {
// `stream.healthchecks[].tls.validationContext` includes only one of the fields `trustedCaId`, `trustedCaBytes`
"trustedCaId": "string",
"trustedCaBytes": "string",
// end of the list of possible fields`stream.healthchecks[].tls.validationContext`
}
}
}
],
"tls": {
"sni": "string",
"validationContext": {
// `stream.tls.validationContext` includes only one of the fields `trustedCaId`, `trustedCaBytes`
"trustedCaId": "string",
"trustedCaBytes": "string",
// end of the list of possible fields`stream.tls.validationContext`
}
},
"enableProxyProtocol": true,
"targetGroups": {
"targetGroupIds": [
"string"
]
}
},
// end of the list of possible fields
}
Field | Description |
---|---|
http | object HTTP backend to add to the backend group. includes only one of the fields http , grpc , stream |
http. name |
string Required. Name of the backend. Value must match the regular expression |
http. backendWeight |
integer (int64) Backend weight. Traffic is distributed between backends of a backend group according to their weights. Weights must be set either for all backends in a group or for none of them. Setting no weights is the same as setting equal non-zero weights for all backends. If the weight is non-positive, traffic is not sent to the backend. |
http. loadBalancingConfig |
object Load balancing configuration for the backend. |
http. loadBalancingConfig. panicThreshold |
string (int64) Threshold for panic mode. If percentage of healthy backends in the group drops below threshold, panic mode will be activated and traffic will be routed to all backends, regardless of their health check status. This helps to avoid overloading healthy backends. For details about panic mode, see documentation. If the value is Default value: Acceptable values are 0 to 100, inclusive. |
http. loadBalancingConfig. localityAwareRoutingPercent |
string (int64) Percentage of traffic that a load balancer node sends to healthy backends in its availability zone. The rest is divided equally between other zones. For details about zone-aware routing, see documentation. If there are no healthy backends in an availability zone, all the traffic is divided between other zones. If Default value: Acceptable values are 0 to 100, inclusive. |
http. loadBalancingConfig. strictLocality |
boolean (boolean) Specifies whether a load balancer node should only send traffic to backends in its availability zone, regardless of their health, and ignore backends in other zones. If set to If Default value: |
http. loadBalancingConfig. mode |
string Load balancing mode for the backend. For details about load balancing modes, see documentation. A load balancing mode resource. For details about the concept, see documentation.
|
http. port |
string (int64) Port used by all targets to receive traffic. Acceptable values are 0 to 65535, inclusive. |
http. healthchecks[] |
object Health checks to perform on targets from target groups. For details about health checking, see documentation. If no health checks are specified, active health checking is not performed. |
http. healthchecks[]. timeout |
string Required. Health check timeout. The timeout is the time allowed for the target to respond to a check. If the target doesn't respond in time, the check is considered failed. |
http. healthchecks[]. interval |
string Required. Base interval between consecutive health checks. |
http. healthchecks[]. intervalJitterPercent |
number (double) |
http. healthchecks[]. healthyThreshold |
string (int64) Number of consecutive successful health checks required to mark an unhealthy target as healthy. Both The value is ignored when a load balancer is initialized; a target is marked healthy after one successful check. Default value: |
http. healthchecks[]. unhealthyThreshold |
string (int64) Number of consecutive failed health checks required to mark a healthy target as unhealthy. Both The value is ignored if a health check is failed due to an HTTP Default value: |
http. healthchecks[]. healthcheckPort |
string (int64) Port used for health checks. If not specified, the backend port ( Acceptable values are 0 to 65535, inclusive. |
http. healthchecks[]. stream |
object TCP stream health check settings. http.healthchecks[] includes only one of the fields stream , http , grpc |
http. healthchecks[]. stream. send |
object Message sent to targets during TCP data transfer. If not specified, no data is sent to the target. A health check payload resource. |
http. healthchecks[]. stream. send. text |
string Payload text. The string length in characters must be greater than 0. |
http. healthchecks[]. stream. receive |
object Data that must be contained in the messages received from targets for a successful health check. If not specified, no messages are expected from targets, and those that are received are not checked. A health check payload resource. |
http. healthchecks[]. stream. receive. text |
string Payload text. The string length in characters must be greater than 0. |
http. healthchecks[]. http |
object HTTP health check settings. http.healthchecks[] includes only one of the fields stream , http , grpc |
http. healthchecks[]. http. host |
string Value for the HTTP/1.1 |
http. healthchecks[]. http. path |
string Required. HTTP path used in requests to targets: request URI for HTTP/1.1 request line or value for the HTTP/2 |
http. healthchecks[]. http. useHttp2 |
boolean (boolean) Enables HTTP/2 usage in health checks. Default value: |
http. healthchecks[]. grpc |
object gRPC health check settings. http.healthchecks[] includes only one of the fields stream , http , grpc |
http. healthchecks[]. grpc. serviceName |
string Name of the gRPC service to be checked. If not specified, overall health is checked. For details about the concept, see GRPC Health Checking Protocol. |
http. healthchecks[]. plaintext |
object http.healthchecks[] includes only one of the fields plaintext , tls Transport settings to be used instead of the settings configured per-cluster |
http. healthchecks[]. tls |
object http.healthchecks[] includes only one of the fields plaintext , tls Transport settings to be used instead of the settings configured per-cluster |
http. healthchecks[]. tls. sni |
string SNI string for TLS connections. |
http. healthchecks[]. tls. validationContext |
object Validation context for backend TLS connections. A TLS validation context resource. |
http. healthchecks[]. tls. validationContext. trustedCaId |
string http.healthchecks[].tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes |
http. healthchecks[]. tls. validationContext. trustedCaBytes |
string http.healthchecks[].tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes X.509 certificate contents in PEM format. |
http. tls |
object Settings for TLS connections between load balancer nodes and backend targets. If specified, the load balancer establishes TLS-encrypted TCP connections with targets and compares received certificates with the one specified in validationContext . If not specified, the load balancer establishes unencrypted TCP connections with targets. |
http. tls. sni |
string Server Name Indication (SNI) string for TLS connections. |
http. tls. validationContext |
object Validation context for TLS connections. A TLS validation context resource. |
http. tls. validationContext. trustedCaId |
string http.tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes |
http. tls. validationContext. trustedCaBytes |
string http.tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes X.509 certificate contents in PEM format. |
http. useHttp2 |
boolean (boolean) Enables HTTP/2 usage in connections between load balancer nodes and backend targets. Default value: |
http. targetGroups |
object Target groups that belong to the backend. For details about target groups, see documentation. http includes only one of the fields targetGroups , storageBucket |
http. targetGroups. targetGroupIds[] |
string Required. List of ID's of target groups that belong to the backend. To get the ID's of all available target groups, make a list request. Must contain at least one element. |
http. storageBucket |
object Object Storage bucket to use as the backend. For details about buckets, see documentation. If a bucket is used as a backend, the list of bucket objects and the objects themselves must be publicly accessible. For instructions, see documentation. http includes only one of the fields targetGroups , storageBucket |
http. storageBucket. bucket |
string Required. Name of the bucket. |
grpc | object gRPC backend to add to the backend group. includes only one of the fields http , grpc , stream |
grpc. name |
string Required. Name of the backend. Value must match the regular expression |
grpc. backendWeight |
integer (int64) Backend weight. Traffic is distributed between backends of a backend group according to their weights. Weights must be set either for all backends of a group or for none of them. Setting no weights is the same as setting equal non-zero weights for all backends. If the weight is non-positive, traffic is not sent to the backend. |
grpc. loadBalancingConfig |
object Load balancing configuration for the backend. |
grpc. loadBalancingConfig. panicThreshold |
string (int64) Threshold for panic mode. If percentage of healthy backends in the group drops below threshold, panic mode will be activated and traffic will be routed to all backends, regardless of their health check status. This helps to avoid overloading healthy backends. For details about panic mode, see documentation. If the value is Default value: Acceptable values are 0 to 100, inclusive. |
grpc. loadBalancingConfig. localityAwareRoutingPercent |
string (int64) Percentage of traffic that a load balancer node sends to healthy backends in its availability zone. The rest is divided equally between other zones. For details about zone-aware routing, see documentation. If there are no healthy backends in an availability zone, all the traffic is divided between other zones. If Default value: Acceptable values are 0 to 100, inclusive. |
grpc. loadBalancingConfig. strictLocality |
boolean (boolean) Specifies whether a load balancer node should only send traffic to backends in its availability zone, regardless of their health, and ignore backends in other zones. If set to If Default value: |
grpc. loadBalancingConfig. mode |
string Load balancing mode for the backend. For details about load balancing modes, see documentation. A load balancing mode resource. For details about the concept, see documentation.
|
grpc. port |
string (int64) Port used by all targets to receive traffic. Acceptable values are 0 to 65535, inclusive. |
grpc. healthchecks[] |
object Health checks to perform on targets from target groups. For details about health checking, see documentation. If no health checks are specified, active health checking is not performed. |
grpc. healthchecks[]. timeout |
string Required. Health check timeout. The timeout is the time allowed for the target to respond to a check. If the target doesn't respond in time, the check is considered failed. |
grpc. healthchecks[]. interval |
string Required. Base interval between consecutive health checks. |
grpc. healthchecks[]. intervalJitterPercent |
number (double) |
grpc. healthchecks[]. healthyThreshold |
string (int64) Number of consecutive successful health checks required to mark an unhealthy target as healthy. Both The value is ignored when a load balancer is initialized; a target is marked healthy after one successful check. Default value: |
grpc. healthchecks[]. unhealthyThreshold |
string (int64) Number of consecutive failed health checks required to mark a healthy target as unhealthy. Both The value is ignored if a health check is failed due to an HTTP Default value: |
grpc. healthchecks[]. healthcheckPort |
string (int64) Port used for health checks. If not specified, the backend port ( Acceptable values are 0 to 65535, inclusive. |
grpc. healthchecks[]. stream |
object TCP stream health check settings. grpc.healthchecks[] includes only one of the fields stream , http , grpc |
grpc. healthchecks[]. stream. send |
object Message sent to targets during TCP data transfer. If not specified, no data is sent to the target. A health check payload resource. |
grpc. healthchecks[]. stream. send. text |
string Payload text. The string length in characters must be greater than 0. |
grpc. healthchecks[]. stream. receive |
object Data that must be contained in the messages received from targets for a successful health check. If not specified, no messages are expected from targets, and those that are received are not checked. A health check payload resource. |
grpc. healthchecks[]. stream. receive. text |
string Payload text. The string length in characters must be greater than 0. |
grpc. healthchecks[]. http |
object HTTP health check settings. grpc.healthchecks[] includes only one of the fields stream , http , grpc |
grpc. healthchecks[]. http. host |
string Value for the HTTP/1.1 |
grpc. healthchecks[]. http. path |
string Required. HTTP path used in requests to targets: request URI for HTTP/1.1 request line or value for the HTTP/2 |
grpc. healthchecks[]. http. useHttp2 |
boolean (boolean) Enables HTTP/2 usage in health checks. Default value: |
grpc. healthchecks[]. grpc |
object gRPC health check settings. grpc.healthchecks[] includes only one of the fields stream , http , grpc |
grpc. healthchecks[]. grpc. serviceName |
string Name of the gRPC service to be checked. If not specified, overall health is checked. For details about the concept, see GRPC Health Checking Protocol. |
grpc. healthchecks[]. plaintext |
object grpc.healthchecks[] includes only one of the fields plaintext , tls Transport settings to be used instead of the settings configured per-cluster |
grpc. healthchecks[]. tls |
object grpc.healthchecks[] includes only one of the fields plaintext , tls Transport settings to be used instead of the settings configured per-cluster |
grpc. healthchecks[]. tls. sni |
string SNI string for TLS connections. |
grpc. healthchecks[]. tls. validationContext |
object Validation context for backend TLS connections. A TLS validation context resource. |
grpc. healthchecks[]. tls. validationContext. trustedCaId |
string grpc.healthchecks[].tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes |
grpc. healthchecks[]. tls. validationContext. trustedCaBytes |
string grpc.healthchecks[].tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes X.509 certificate contents in PEM format. |
grpc. tls |
object Settings for TLS connections between load balancer nodes and backend targets. If specified, the load balancer establishes HTTPS (HTTP over TLS) connections with targets and compares received certificates with the one specified in validationContext . If not specified, the load balancer establishes unencrypted HTTP connections with targets. |
grpc. tls. sni |
string Server Name Indication (SNI) string for TLS connections. |
grpc. tls. validationContext |
object Validation context for TLS connections. A TLS validation context resource. |
grpc. tls. validationContext. trustedCaId |
string grpc.tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes |
grpc. tls. validationContext. trustedCaBytes |
string grpc.tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes X.509 certificate contents in PEM format. |
grpc. targetGroups |
object Target groups that belong to the backend. For details about target groups, see documentation. |
grpc. targetGroups. targetGroupIds[] |
string Required. List of ID's of target groups that belong to the backend. To get the ID's of all available target groups, make a list request. Must contain at least one element. |
stream | object New settings for the Stream backend. includes only one of the fields http , grpc , stream |
stream. name |
string Name of the backend. Value must match the regular expression |
stream. backendWeight |
integer (int64) Backend weight. Traffic is distributed between backends of a backend group according to their weights. Weights must be set either for all backends in a group or for none of them. Setting no weights is the same as setting equal non-zero weights for all backends. If the weight is non-positive, traffic is not sent to the backend. |
stream. loadBalancingConfig |
object Load balancing configuration for the backend. |
stream. loadBalancingConfig. panicThreshold |
string (int64) Threshold for panic mode. If percentage of healthy backends in the group drops below threshold, panic mode will be activated and traffic will be routed to all backends, regardless of their health check status. This helps to avoid overloading healthy backends. For details about panic mode, see documentation. If the value is Default value: Acceptable values are 0 to 100, inclusive. |
stream. loadBalancingConfig. localityAwareRoutingPercent |
string (int64) Percentage of traffic that a load balancer node sends to healthy backends in its availability zone. The rest is divided equally between other zones. For details about zone-aware routing, see documentation. If there are no healthy backends in an availability zone, all the traffic is divided between other zones. If Default value: Acceptable values are 0 to 100, inclusive. |
stream. loadBalancingConfig. strictLocality |
boolean (boolean) Specifies whether a load balancer node should only send traffic to backends in its availability zone, regardless of their health, and ignore backends in other zones. If set to If Default value: |
stream. loadBalancingConfig. mode |
string Load balancing mode for the backend. For details about load balancing modes, see documentation. A load balancing mode resource. For details about the concept, see documentation.
|
stream. port |
string (int64) Port used by all targets to receive traffic. Acceptable values are 0 to 65535, inclusive. |
stream. healthchecks[] |
object Health checks to perform on targets from target groups. For details about health checking, see documentation. If no health checks are specified, active health checking is not performed. |
stream. healthchecks[]. timeout |
string Required. Health check timeout. The timeout is the time allowed for the target to respond to a check. If the target doesn't respond in time, the check is considered failed. |
stream. healthchecks[]. interval |
string Required. Base interval between consecutive health checks. |
stream. healthchecks[]. intervalJitterPercent |
number (double) |
stream. healthchecks[]. healthyThreshold |
string (int64) Number of consecutive successful health checks required to mark an unhealthy target as healthy. Both The value is ignored when a load balancer is initialized; a target is marked healthy after one successful check. Default value: |
stream. healthchecks[]. unhealthyThreshold |
string (int64) Number of consecutive failed health checks required to mark a healthy target as unhealthy. Both The value is ignored if a health check is failed due to an HTTP Default value: |
stream. healthchecks[]. healthcheckPort |
string (int64) Port used for health checks. If not specified, the backend port ( Acceptable values are 0 to 65535, inclusive. |
stream. healthchecks[]. stream |
object TCP stream health check settings. stream.healthchecks[] includes only one of the fields stream , http , grpc |
stream. healthchecks[]. stream. send |
object Message sent to targets during TCP data transfer. If not specified, no data is sent to the target. A health check payload resource. |
stream. healthchecks[]. stream. send. text |
string Payload text. The string length in characters must be greater than 0. |
stream. healthchecks[]. stream. receive |
object Data that must be contained in the messages received from targets for a successful health check. If not specified, no messages are expected from targets, and those that are received are not checked. A health check payload resource. |
stream. healthchecks[]. stream. receive. text |
string Payload text. The string length in characters must be greater than 0. |
stream. healthchecks[]. http |
object HTTP health check settings. stream.healthchecks[] includes only one of the fields stream , http , grpc |
stream. healthchecks[]. http. host |
string Value for the HTTP/1.1 |
stream. healthchecks[]. http. path |
string Required. HTTP path used in requests to targets: request URI for HTTP/1.1 request line or value for the HTTP/2 |
stream. healthchecks[]. http. useHttp2 |
boolean (boolean) Enables HTTP/2 usage in health checks. Default value: |
stream. healthchecks[]. grpc |
object gRPC health check settings. stream.healthchecks[] includes only one of the fields stream , http , grpc |
stream. healthchecks[]. grpc. serviceName |
string Name of the gRPC service to be checked. If not specified, overall health is checked. For details about the concept, see GRPC Health Checking Protocol. |
stream. healthchecks[]. plaintext |
object stream.healthchecks[] includes only one of the fields plaintext , tls Transport settings to be used instead of the settings configured per-cluster |
stream. healthchecks[]. tls |
object stream.healthchecks[] includes only one of the fields plaintext , tls Transport settings to be used instead of the settings configured per-cluster |
stream. healthchecks[]. tls. sni |
string SNI string for TLS connections. |
stream. healthchecks[]. tls. validationContext |
object Validation context for backend TLS connections. A TLS validation context resource. |
stream. healthchecks[]. tls. validationContext. trustedCaId |
string stream.healthchecks[].tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes |
stream. healthchecks[]. tls. validationContext. trustedCaBytes |
string stream.healthchecks[].tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes X.509 certificate contents in PEM format. |
stream. tls |
object Settings for TLS connections between load balancer nodes and backend targets. If specified, the load balancer establishes HTTPS (HTTP over TLS) connections with targets and compares received certificates with the one specified in validationContext . If not specified, the load balancer establishes unencrypted HTTP connections with targets. |
stream. tls. sni |
string Server Name Indication (SNI) string for TLS connections. |
stream. tls. validationContext |
object Validation context for TLS connections. A TLS validation context resource. |
stream. tls. validationContext. trustedCaId |
string stream.tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes |
stream. tls. validationContext. trustedCaBytes |
string stream.tls.validationContext includes only one of the fields trustedCaId , trustedCaBytes X.509 certificate contents in PEM format. |
stream. enableProxyProtocol |
boolean (boolean) If set, proxy protocol will be enabled for this backend. |
stream. targetGroups |
object Target groups that belong to the backend. |
stream. targetGroups. targetGroupIds[] |
string Required. List of ID's of target groups that belong to the backend. To get the ID's of all available target groups, make a list request. Must contain at least one element. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"description": "string",
"createdAt": "string",
"createdBy": "string",
"modifiedAt": "string",
"done": true,
"metadata": "object",
// includes only one of the fields `error`, `response`
"error": {
"code": "integer",
"message": "string",
"details": [
"object"
]
},
"response": "object",
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
Field | Description |
---|---|
id | string ID of the operation. |
description | string Description of the operation. 0-256 characters long. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
createdBy | string ID of the user or service account who initiated the operation. |
modifiedAt | string (date-time) The time when the Operation resource was last modified. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
done | boolean (boolean) If the value is |
metadata | object Service-specific metadata associated with the operation. It typically contains the ID of the target resource that the operation is performed on. Any method that returns a long-running operation should document the metadata type, if any. |
error | object The error result of the operation in case of failure or cancellation. includes only one of the fields error , response |
error. code |
integer (int32) Error code. An enum value of google.rpc.Code. |
error. message |
string An error message. |
error. details[] |
object A list of messages that carry the error details. |
response | object includes only one of the fields error , response The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is the standard Create/Update, the response should be the target resource of the operation. Any method that returns a long-running operation should document the response type, if any. |