123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- syntax = "proto3";
- package google.cloud.networkservices.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/field_mask.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.NetworkServices.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/networkservices/v1;networkservices";
- option java_multiple_files = true;
- option java_outer_classname = "MeshProto";
- option java_package = "com.google.cloud.networkservices.v1";
- option php_namespace = "Google\\Cloud\\NetworkServices\\V1";
- option ruby_package = "Google::Cloud::NetworkServices::V1";
- message Mesh {
- option (google.api.resource) = {
- type: "networkservices.googleapis.com/Mesh"
- pattern: "projects/{project}/locations/{location}/meshes/{mesh}"
- };
-
-
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-
- string self_link = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- map<string, string> labels = 4 [(google.api.field_behavior) = OPTIONAL];
-
- string description = 5 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
- int32 interception_port = 8 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListMeshesRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "networkservices.googleapis.com/Mesh"
- }
- ];
-
- int32 page_size = 2;
-
-
-
- string page_token = 3;
- }
- message ListMeshesResponse {
-
- repeated Mesh meshes = 1;
-
-
-
- string next_page_token = 2;
- }
- message GetMeshRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "networkservices.googleapis.com/Mesh"
- }
- ];
- }
- message CreateMeshRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "networkservices.googleapis.com/Mesh"
- }
- ];
-
- string mesh_id = 2 [(google.api.field_behavior) = REQUIRED];
-
- Mesh mesh = 3 [(google.api.field_behavior) = REQUIRED];
- }
- message UpdateMeshRequest {
-
-
-
-
-
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL];
-
- Mesh mesh = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message DeleteMeshRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "networkservices.googleapis.com/Mesh"
- }
- ];
- }
|