diff options
author | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-24 00:18:56 +0300 |
---|---|---|
committer | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-24 00:18:56 +0300 |
commit | 574b79287767a711217816f3c0719095e56f2b66 (patch) | |
tree | 6ec67349afe5d8b61c85bc6fd4bb1331486ece42 /contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto | |
parent | bdfa64a2dfbfa18015103f731c6017fd61a34842 (diff) | |
download | ydb-574b79287767a711217816f3c0719095e56f2b66.tar.gz |
Reimport boost/array as a separate project
Diffstat (limited to 'contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto')
-rw-r--r-- | contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto | 66 |
1 files changed, 61 insertions, 5 deletions
diff --git a/contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto b/contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto index e60a5ae94e..30fe6f25ab 100644 --- a/contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto +++ b/contrib/libs/googleapis-common-protos/google/rpc/context/attribute_context.proto @@ -16,6 +16,8 @@ syntax = "proto3"; package google.rpc.context; +import "google/protobuf/any.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -107,10 +109,10 @@ message AttributeContext { // value(s) depends on the `issuer`, but typically include one or more of // the following pieces of information: // - // * The services intended to receive the credential such as - // ["pubsub.googleapis.com", "storage.googleapis.com"] + // * The services intended to receive the credential. For example, + // ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. // * A set of service-based scopes. For example, - // ["https://www.googleapis.com/auth/cloud-platform"] + // ["https://www.googleapis.com/auth/cloud-platform"]. // * The client id of an app, such as the Firebase project id for JWTs // from Firebase Auth. // @@ -181,7 +183,7 @@ message AttributeContext { // appears in the first line of the HTTP request. No decoding is performed. string query = 7; - // The timestamp when the `destination` service receives the first byte of + // The timestamp when the `destination` service receives the last byte of // the request. google.protobuf.Timestamp time = 9; @@ -217,9 +219,15 @@ message AttributeContext { // lowercased, because HTTP header keys are case-insensitive. map<string, string> headers = 3; - // The timestamp when the `destination` service generates the first byte of + // The timestamp when the `destination` service sends the last byte of // the response. google.protobuf.Timestamp time = 4; + + // The length of time it takes the backend service to fully respond to a + // request. Measured from when the destination service starts to send the + // request to the backend until when the destination service receives the + // complete response from the backend. + google.protobuf.Duration backend_latency = 5; } // This message defines core attributes for a resource. A resource is an @@ -254,6 +262,51 @@ message AttributeContext { // The labels or tags on the resource, such as AWS resource tags and // Kubernetes resource labels. map<string, string> labels = 4; + + // The unique identifier of the resource. UID is unique in the time + // and space for this resource within the scope of the service. It is + // typically generated by the server on successful creation of a resource + // and must not be changed. UID is used to uniquely identify resources + // with resource name reuses. This should be a UUID4. + string uid = 5; + + // Annotations is an unstructured key-value map stored with a resource that + // may be set by external tools to store and retrieve arbitrary metadata. + // They are not queryable and should be preserved when modifying objects. + // + // More info: https://kubernetes.io/docs/user-guide/annotations + map<string, string> annotations = 6; + + // Mutable. The display name set by clients. Must be <= 63 characters. + string display_name = 7; + + // Output only. The timestamp when the resource was created. This may + // be either the time creation was initiated or when it was completed. + google.protobuf.Timestamp create_time = 8; + + // Output only. The timestamp when the resource was last updated. Any + // change to the resource made by users must refresh this value. + // Changes to a resource made by the service should refresh this value. + google.protobuf.Timestamp update_time = 9; + + // Output only. The timestamp when the resource was deleted. + // If the resource is not deleted, this must be empty. + google.protobuf.Timestamp delete_time = 10; + + // Output only. An opaque value that uniquely identifies a version or + // generation of a resource. It can be used to confirm that the client + // and server agree on the ordering of a resource being written. + string etag = 11; + + // Immutable. The location of the resource. The location encoding is + // specific to the service provider, and new encoding may be introduced + // as the service evolves. + // + // For Google Cloud products, the encoding is what is used by Google Cloud + // APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The + // semantics of `location` is identical to the + // `cloud.googleapis.com/location` label used by some Google Cloud APIs. + string location = 12; } // The origin of a network activity. In a multi hop network activity, @@ -284,4 +337,7 @@ message AttributeContext { // Represents an API operation that is involved to a network activity. Api api = 6; + + // Supports extensions for advanced use cases, such as logs and metrics. + repeated google.protobuf.Any extensions = 8; } |