123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- syntax = "proto3";
- package google.cloud.networkmanagement.v1beta1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/networkmanagement/v1beta1/trace.proto";
- import "google/protobuf/timestamp.proto";
- import "google/rpc/status.proto";
- option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement";
- option java_multiple_files = true;
- option java_outer_classname = "TestOuterClass";
- option java_package = "com.google.cloud.networkmanagement.v1beta1";
- option php_namespace = "Google\\Cloud\\NetworkManagement\\V1beta1";
- option ruby_package = "Google::Cloud::NetworkManagement::V1beta1";
- message ConnectivityTest {
- option (google.api.resource) = {
- type: "networkmanagement.googleapis.com/ConnectivityTest"
- pattern: "projects/{project}/locations/global/connectivityTests/{test}"
- };
-
-
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-
-
- string description = 2;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Endpoint source = 3 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Endpoint destination = 4 [(google.api.field_behavior) = REQUIRED];
-
- string protocol = 5;
-
-
- repeated string related_projects = 6;
-
- string display_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- map<string, string> labels = 8;
-
- google.protobuf.Timestamp create_time = 10
- [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 11
- [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- ReachabilityDetails reachability_details = 12
- [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
- ProbingDetails probing_details = 14
- [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message Endpoint {
-
-
- enum NetworkType {
-
- NETWORK_TYPE_UNSPECIFIED = 0;
-
-
-
- GCP_NETWORK = 1;
-
-
-
- NON_GCP_NETWORK = 2;
- }
-
- message CloudFunctionEndpoint {
-
- string uri = 1;
- }
-
-
-
-
- string ip_address = 1;
-
-
- int32 port = 2;
-
- string instance = 3;
-
-
- string gke_master_cluster = 7;
-
- string cloud_sql_instance = 8;
-
- CloudFunctionEndpoint cloud_function = 10;
-
- string network = 4;
-
-
-
- NetworkType network_type = 5;
-
-
-
-
-
-
-
-
-
- string project_id = 6;
- }
- message ReachabilityDetails {
-
- enum Result {
-
- RESULT_UNSPECIFIED = 0;
-
-
-
-
-
-
-
- REACHABLE = 1;
-
-
- UNREACHABLE = 2;
-
-
-
-
- AMBIGUOUS = 4;
-
-
-
-
-
-
-
- UNDETERMINED = 5;
- }
-
- Result result = 1;
-
- google.protobuf.Timestamp verify_time = 2;
-
- google.rpc.Status error = 3;
-
-
-
- repeated Trace traces = 5;
- }
- message LatencyPercentile {
-
- int32 percent = 1;
-
-
-
- int64 latency_micros = 2;
- }
- message LatencyDistribution {
-
- repeated LatencyPercentile latency_percentiles = 1;
- }
- message ProbingDetails {
-
- enum ProbingResult {
-
- PROBING_RESULT_UNSPECIFIED = 0;
-
- REACHABLE = 1;
-
- UNREACHABLE = 2;
-
- REACHABILITY_INCONSISTENT = 3;
-
-
-
-
-
- UNDETERMINED = 4;
- }
-
- enum ProbingAbortCause {
-
- PROBING_ABORT_CAUSE_UNSPECIFIED = 0;
-
-
- PERMISSION_DENIED = 1;
-
- NO_SOURCE_LOCATION = 2;
- }
-
-
- message EdgeLocation {
-
- string metropolitan_area = 1;
- }
-
- ProbingResult result = 1;
-
- google.protobuf.Timestamp verify_time = 2;
-
- google.rpc.Status error = 3;
-
- ProbingAbortCause abort_cause = 4;
-
- int32 sent_probe_count = 5;
-
- int32 successful_probe_count = 6;
-
-
- EndpointInfo endpoint_info = 7;
-
-
- LatencyDistribution probing_latency = 8;
-
-
-
-
-
-
- EdgeLocation destination_egress_location = 9;
- }
|