1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- syntax = "proto3";
- package google.cloud.run.v2;
- import "google/api/resource.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run";
- option java_multiple_files = true;
- option java_outer_classname = "TrafficTargetProto";
- option java_package = "com.google.cloud.run.v2";
- message TrafficTarget {
-
- TrafficTargetAllocationType type = 1;
-
-
- string revision = 2 [(google.api.resource_reference) = {
- type: "run.googleapis.com/Revision"
- }];
-
-
- int32 percent = 3;
-
-
- string tag = 4;
- }
- message TrafficTargetStatus {
-
- TrafficTargetAllocationType type = 1;
-
- string revision = 2 [(google.api.resource_reference) = {
- type: "run.googleapis.com/Revision"
- }];
-
- int32 percent = 3;
-
- string tag = 4;
-
- string uri = 5;
- }
- enum TrafficTargetAllocationType {
-
- TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED = 0;
-
- TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST = 1;
-
- TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION = 2;
- }
|