123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740 |
- syntax = "proto3";
- package google.cloud.compute.v1small;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/extended_operations.proto";
- option csharp_namespace = "Google.Cloud.Compute.V1Small";
- option go_package = "google.golang.org/genproto/googleapis/cloud/compute/v1small;compute";
- option java_multiple_files = true;
- option java_package = "com.google.cloud.compute.v1small";
- option php_namespace = "Google\\Cloud\\Compute\\V1small";
- option ruby_package = "Google::Cloud::Compute::V1small";
- message Address {
-
- enum AddressType {
-
- UNDEFINED_ADDRESS_TYPE = 0;
- EXTERNAL = 35607499;
- INTERNAL = 279295677;
- UNSPECIFIED_TYPE = 53933922;
- }
-
- enum IpVersion {
-
- UNDEFINED_IP_VERSION = 0;
- IPV4 = 2254341;
- IPV6 = 2254343;
- UNSPECIFIED_VERSION = 21850000;
- }
-
-
-
- enum NetworkTier {
-
- UNDEFINED_NETWORK_TIER = 0;
- PREMIUM = 399530551;
- STANDARD = 484642493;
- }
-
-
-
-
-
- enum Purpose {
-
- UNDEFINED_PURPOSE = 0;
- DNS_RESOLVER = 476114556;
- GCE_ENDPOINT = 230515243;
- NAT_AUTO = 163666477;
- VPC_PEERING = 400800170;
- }
-
- enum Status {
-
- UNDEFINED_STATUS = 0;
- IN_USE = 17393485;
- RESERVED = 432241448;
- RESERVING = 514587225;
- }
-
- optional string address = 462920692;
-
-
- optional string address_type = 264307877;
-
- optional string creation_timestamp = 30525366;
-
- optional string description = 422937596;
-
- optional uint64 id = 3355;
-
-
- optional string ip_version = 294959552;
-
- optional string kind = 3292052;
-
- optional string name = 3373707;
-
- optional string network = 232872494;
-
-
-
-
- optional string network_tier = 517397843;
-
- optional int32 prefix_length = 453565747;
-
-
-
-
-
-
- optional string purpose = 316407070;
-
- optional string region = 138946292;
-
- optional string self_link = 456214797;
-
-
- optional string status = 181260274;
-
- optional string subnetwork = 307827694;
-
- repeated string users = 111578632;
- }
- message AddressAggregatedList {
-
- optional string id = 3355;
-
- map<string, AddressesScopedList> items = 100526016;
-
- optional string kind = 3292052;
-
- optional string next_page_token = 79797525;
-
- optional string self_link = 456214797;
-
- optional Warning warning = 50704284;
- }
- message AddressList {
-
- optional string id = 3355;
-
- repeated Address items = 100526016;
-
- optional string kind = 3292052;
-
- optional string next_page_token = 79797525;
-
- optional string self_link = 456214797;
-
- optional Warning warning = 50704284;
- }
- message AddressesScopedList {
-
- repeated Address addresses = 337673122;
-
- optional Warning warning = 50704284;
- }
- message AggregatedListAddressesRequest {
-
-
-
-
-
-
-
- optional string filter = 336120696;
-
- optional bool include_all_scopes = 391327988;
-
- optional uint32 max_results = 54715419;
-
-
-
-
-
- optional string order_by = 160562920;
-
- optional string page_token = 19994697;
-
- string project = 227560217 [(google.api.field_behavior) = REQUIRED];
- }
- message Data {
-
- optional string key = 106079;
-
- optional string value = 111972721;
- }
- message DeleteAddressRequest {
-
- string address = 462920692 [(google.api.field_behavior) = REQUIRED];
-
- string project = 227560217 [
- (google.api.field_behavior) = REQUIRED,
- (google.cloud.operation_request_field) = "project"
- ];
-
- string region = 138946292 [
- (google.api.field_behavior) = REQUIRED,
- (google.cloud.operation_request_field) = "region"
- ];
-
-
-
-
-
- optional string request_id = 37109963;
- }
- message Error {
-
- repeated Errors errors = 315977579;
- }
- message Errors {
-
- optional string code = 3059181;
-
- optional string location = 290430901;
-
- optional string message = 418054151;
- }
- message GetRegionOperationRequest {
-
- string operation = 52090215 [
- (google.api.field_behavior) = REQUIRED,
- (google.cloud.operation_response_field) = "name"
- ];
-
- string project = 227560217 [(google.api.field_behavior) = REQUIRED];
-
- string region = 138946292 [(google.api.field_behavior) = REQUIRED];
- }
- message InsertAddressRequest {
-
- Address address_resource = 483888121 [(google.api.field_behavior) = REQUIRED];
-
- string project = 227560217 [
- (google.api.field_behavior) = REQUIRED,
- (google.cloud.operation_request_field) = "project"
- ];
-
- string region = 138946292 [
- (google.api.field_behavior) = REQUIRED,
- (google.cloud.operation_request_field) = "region"
- ];
-
-
-
-
-
- optional string request_id = 37109963;
- }
- message ListAddressesRequest {
-
-
-
-
-
-
-
- optional string filter = 336120696;
-
- optional uint32 max_results = 54715419;
-
-
-
-
-
- string order_by = 160562920 [(google.api.field_behavior) = REQUIRED];
-
- optional string page_token = 19994697;
-
- string project = 227560217 [(google.api.field_behavior) = REQUIRED];
-
- string region = 138946292 [(google.api.field_behavior) = REQUIRED];
- }
- message Operation {
-
- enum Status {
-
- UNDEFINED_STATUS = 0;
- DONE = 2104194;
- PENDING = 35394935;
- RUNNING = 121282975;
- }
-
- optional string client_operation_id = 297240295;
-
- optional string creation_timestamp = 30525366;
-
- optional string description = 422937596;
-
- optional string end_time = 114938801;
-
- optional Error error = 96784904;
-
- optional string http_error_message = 202521945 [(google.cloud.operation_field) = ERROR_MESSAGE];
-
- optional int32 http_error_status_code = 312345196 [(google.cloud.operation_field) = ERROR_CODE];
-
- optional uint64 id = 3355;
-
- optional string insert_time = 433722515;
-
- optional string kind = 3292052;
-
- optional string name = 3373707 [(google.cloud.operation_field) = NAME];
-
- optional string operation_type = 177650450;
-
- optional int32 progress = 72663597;
-
- optional string region = 138946292;
-
- optional string self_link = 456214797;
-
- optional string start_time = 37467274;
-
- optional Status status = 181260274 [(google.cloud.operation_field) = STATUS];
-
- optional string status_message = 297428154;
-
- optional uint64 target_id = 258165385;
-
- optional string target_link = 62671336;
-
- optional string user = 3599307;
-
- repeated Warnings warnings = 498091095;
-
- optional string zone = 3744684;
- }
- message WaitRegionOperationRequest {
-
- string operation = 52090215 [(google.api.field_behavior) = REQUIRED];
-
- string project = 227560217 [(google.api.field_behavior) = REQUIRED];
-
- string region = 138946292 [(google.api.field_behavior) = REQUIRED];
- }
- message Warning {
-
- enum Code {
-
- UNDEFINED_CODE = 0;
- CLEANUP_FAILED = 150308440;
- DEPRECATED_RESOURCE_USED = 391835586;
- DEPRECATED_TYPE_USED = 346526230;
- DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;
- EXPERIMENTAL_TYPE_USED = 451954443;
- EXTERNAL_API_WARNING = 175546307;
- FIELD_VALUE_OVERRIDEN = 329669423;
- INJECTED_KERNELS_DEPRECATED = 417377419;
- MISSING_TYPE_DEPENDENCY = 344505463;
- NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;
- NEXT_HOP_CANNOT_IP_FORWARD = 383382887;
- NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;
- NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;
- NEXT_HOP_NOT_RUNNING = 417081265;
- NOT_CRITICAL_ERROR = 105763924;
- NO_RESULTS_ON_PAGE = 30036744;
- REQUIRED_TOS_AGREEMENT = 3745539;
- RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;
- RESOURCE_NOT_DELETED = 168598460;
- SCHEMA_VALIDATION_IGNORED = 275245642;
- SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;
- UNDECLARED_PROPERTIES = 390513439;
- UNREACHABLE = 13328052;
- }
-
-
- optional string code = 3059181;
-
-
- repeated Data data = 3076010;
-
- optional string message = 418054151;
- }
- message Warnings {
-
- enum Code {
-
- UNDEFINED_CODE = 0;
- CLEANUP_FAILED = 150308440;
- DEPRECATED_RESOURCE_USED = 391835586;
- DEPRECATED_TYPE_USED = 346526230;
- DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967;
- EXPERIMENTAL_TYPE_USED = 451954443;
- EXTERNAL_API_WARNING = 175546307;
- FIELD_VALUE_OVERRIDEN = 329669423;
- INJECTED_KERNELS_DEPRECATED = 417377419;
- MISSING_TYPE_DEPENDENCY = 344505463;
- NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999;
- NEXT_HOP_CANNOT_IP_FORWARD = 383382887;
- NEXT_HOP_INSTANCE_NOT_FOUND = 464250446;
- NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146;
- NEXT_HOP_NOT_RUNNING = 417081265;
- NOT_CRITICAL_ERROR = 105763924;
- NO_RESULTS_ON_PAGE = 30036744;
- REQUIRED_TOS_AGREEMENT = 3745539;
- RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641;
- RESOURCE_NOT_DELETED = 168598460;
- SCHEMA_VALIDATION_IGNORED = 275245642;
- SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617;
- UNDECLARED_PROPERTIES = 390513439;
- UNREACHABLE = 13328052;
- }
-
-
- optional string code = 3059181;
-
-
- repeated Data data = 3076010;
-
- optional string message = 418054151;
- }
- service Addresses {
- option (google.api.default_host) =
- "compute.googleapis.com";
- option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/compute,"
- "https://www.googleapis.com/auth/cloud-platform";
-
- rpc AggregatedList(AggregatedListAddressesRequest) returns (AddressAggregatedList) {
- option (google.api.http) = {
- get: "/compute/v1/projects/{project}/aggregated/addresses"
- };
- option (google.api.method_signature) = "project";
- }
-
- rpc Delete(DeleteAddressRequest) returns (Operation) {
- option (google.api.http) = {
- delete: "/compute/v1/projects/{project}/regions/{region}/addresses/{address}"
- };
- option (google.api.method_signature) = "project,region,address";
- option (google.cloud.operation_service) = "RegionOperations";
- }
-
- rpc Insert(InsertAddressRequest) returns (Operation) {
- option (google.api.http) = {
- body: "address_resource"
- post: "/compute/v1/projects/{project}/regions/{region}/addresses"
- };
- option (google.api.method_signature) = "project,region,address_resource";
- option (google.cloud.operation_service) = "RegionOperations";
- }
-
- rpc List(ListAddressesRequest) returns (AddressList) {
- option (google.api.http) = {
- get: "/compute/v1/projects/{project}/regions/{region}/addresses"
- };
- option (google.api.method_signature) = "project,region,order_by";
- }
- }
- service RegionOperations {
- option (google.api.default_host) =
- "compute.googleapis.com";
- option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/compute.readonly,"
- "https://www.googleapis.com/auth/compute,"
- "https://www.googleapis.com/auth/cloud-platform";
-
- rpc Get(GetRegionOperationRequest) returns (Operation) {
- option (google.api.http) = {
- get: "/compute/v1/projects/{project}/regions/{region}/operations/{operation}"
- };
- option (google.api.method_signature) = "project,region,operation";
- option (google.cloud.operation_polling_method) = true;
- }
-
-
-
-
-
- rpc Wait(WaitRegionOperationRequest) returns (Operation) {
- option (google.api.http) = {
- post: "/compute/v1/projects/projects/{project}/regions/{region}/operations/{operation}/wait"
- };
- option (google.api.method_signature) = "project,region,operation";
- }
- }
|