123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295 |
- syntax = "proto3";
- package google.api.servicemanagement.v1;
- import "google/api/config_change.proto";
- import "google/api/field_behavior.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.ServiceManagement.V1";
- option go_package = "google.golang.org/genproto/googleapis/api/servicemanagement/v1;servicemanagement";
- option java_multiple_files = true;
- option java_outer_classname = "ResourcesProto";
- option java_package = "com.google.api.servicemanagement.v1";
- option objc_class_prefix = "GASM";
- option php_namespace = "Google\\Cloud\\ServiceManagement\\V1";
- option ruby_package = "Google::Cloud::ServiceManagement::V1";
- message ManagedService {
-
-
-
- string service_name = 2;
-
- string producer_project_id = 3;
- }
- message OperationMetadata {
-
- message Step {
-
- string description = 2;
-
- Status status = 4;
- }
-
- enum Status {
-
- STATUS_UNSPECIFIED = 0;
-
- DONE = 1;
-
- NOT_STARTED = 2;
-
- IN_PROGRESS = 3;
-
-
- FAILED = 4;
-
- CANCELLED = 5;
- }
-
-
- repeated string resource_names = 1;
-
- repeated Step steps = 2;
-
- int32 progress_percentage = 3;
-
- google.protobuf.Timestamp start_time = 4;
- }
- message Diagnostic {
-
- enum Kind {
-
- WARNING = 0;
-
- ERROR = 1;
- }
-
- string location = 1;
-
- Kind kind = 2;
-
- string message = 3;
- }
- message ConfigSource {
-
-
-
- string id = 5;
-
-
- repeated ConfigFile files = 2;
- }
- message ConfigFile {
- enum FileType {
-
- FILE_TYPE_UNSPECIFIED = 0;
-
- SERVICE_CONFIG_YAML = 1;
-
- OPEN_API_JSON = 2;
-
- OPEN_API_YAML = 3;
-
-
-
-
-
-
-
- FILE_DESCRIPTOR_SET_PROTO = 4;
-
-
-
-
-
- PROTO_FILE = 6;
- }
-
- string file_path = 1;
-
- bytes file_contents = 3;
-
- FileType file_type = 4;
- }
- message ConfigRef {
-
-
- string name = 1;
- }
- message ChangeReport {
-
-
-
-
-
- repeated google.api.ConfigChange config_changes = 1;
- }
- message Rollout {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- message TrafficPercentStrategy {
-
-
-
- map<string, double> percentages = 1;
- }
-
-
- message DeleteServiceStrategy {}
-
- enum RolloutStatus {
-
- ROLLOUT_STATUS_UNSPECIFIED = 0;
-
- IN_PROGRESS = 1;
-
- SUCCESS = 2;
-
-
- CANCELLED = 3;
-
- FAILED = 4;
-
- PENDING = 5;
-
-
- FAILED_ROLLED_BACK = 6;
- }
-
-
-
-
-
-
-
-
-
- string rollout_id = 1 [(google.api.field_behavior) = OPTIONAL];
-
- google.protobuf.Timestamp create_time = 2;
-
- string created_by = 3;
-
-
-
- RolloutStatus status = 4;
-
-
-
- oneof strategy {
-
-
- TrafficPercentStrategy traffic_percent_strategy = 5;
-
-
- DeleteServiceStrategy delete_service_strategy = 200;
- }
-
- string service_name = 8;
- }
|