123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441 |
- syntax = "proto3";
- package google.cloud.edgecontainer.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/timestamp.proto";
- import "google/rpc/status.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/edgecontainer/v1;edgecontainer";
- option java_multiple_files = true;
- option java_outer_classname = "ResourcesProto";
- option java_package = "com.google.cloud.edgecontainer.v1";
- option (google.api.resource_definition) = {
- type: "cloudkms.googleapis.com/CryptoKey"
- pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}"
- };
- option (google.api.resource_definition) = {
- type: "cloudkms.googleapis.com/CryptoKeyVersion"
- pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}"
- };
- enum KmsKeyState {
-
- KMS_KEY_STATE_UNSPECIFIED = 0;
-
- KMS_KEY_STATE_KEY_AVAILABLE = 1;
-
-
- KMS_KEY_STATE_KEY_UNAVAILABLE = 2;
- }
- message Cluster {
- option (google.api.resource) = {
- type: "edgecontainer.googleapis.com/Cluster"
- pattern: "projects/{project}/locations/{location}/clusters/{cluster}"
- };
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "edgecontainer.googleapis.com/Cluster"
- }
- ];
-
- 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;
-
- Fleet fleet = 11 [(google.api.field_behavior) = OPTIONAL];
-
- ClusterNetworking networking = 7 [(google.api.field_behavior) = REQUIRED];
-
- Authorization authorization = 9 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.field_behavior) = IMMUTABLE
- ];
-
-
-
- int32 default_max_pods_per_node = 8 [(google.api.field_behavior) = OPTIONAL];
-
- string endpoint = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string cluster_ca_certificate = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- MaintenancePolicy maintenance_policy = 12 [(google.api.field_behavior) = OPTIONAL];
- }
- message ClusterNetworking {
-
-
-
- repeated string cluster_ipv4_cidr_blocks = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
- repeated string services_ipv4_cidr_blocks = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message Fleet {
-
-
-
-
- string project = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
- string membership = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message ClusterUser {
-
- string username = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message Authorization {
-
-
-
- ClusterUser admin_users = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message NodePool {
- option (google.api.resource) = {
- type: "edgecontainer.googleapis.com/NodePool"
- pattern: "projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}"
- };
-
- message LocalDiskEncryption {
-
-
-
-
- string kms_key = 1 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "cloudkms.googleapis.com/CryptoKey"
- }
- ];
-
-
- string kms_key_active_version = 2 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.resource_reference) = {
- type: "cloudkms.googleapis.com/CryptoKeyVersion"
- }
- ];
-
-
-
-
- KmsKeyState kms_key_state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- google.rpc.Status kms_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "edgecontainer.googleapis.com/NodePool"
- }
- ];
-
- 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;
-
-
- string node_location = 8;
-
- int32 node_count = 6 [(google.api.field_behavior) = REQUIRED];
-
-
-
- string machine_filter = 7;
-
-
- LocalDiskEncryption local_disk_encryption = 9 [(google.api.field_behavior) = OPTIONAL];
- }
- message Machine {
- option (google.api.resource) = {
- type: "edgecontainer.googleapis.com/Machine"
- pattern: "projects/{project}/locations/{location}/machines/{machine}"
- };
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "edgecontainer.googleapis.com/Machine"
- }
- ];
-
- 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;
-
-
-
-
- string hosted_node = 5;
-
- string zone = 6;
-
-
- bool disabled = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message VpnConnection {
- option (google.api.resource) = {
- type: "edgecontainer.googleapis.com/VpnConnection"
- pattern: "projects/{project}/locations/{location}/vpnConnections/{vpn_connection}"
- };
-
- message VpcProject {
-
-
- string project_id = 1;
-
-
-
-
-
-
- string service_account = 2 [(google.api.field_behavior) = OPTIONAL];
- }
-
- message Details {
-
- message CloudRouter {
-
- string name = 1;
- }
-
- message CloudVpn {
-
- string gateway = 1;
- }
-
- enum State {
-
- STATE_UNSPECIFIED = 0;
-
- STATE_CONNECTED = 1;
-
- STATE_CONNECTING = 2;
-
- STATE_ERROR = 3;
- }
-
- State state = 1;
-
- string error = 2;
-
- CloudRouter cloud_router = 3;
-
- repeated CloudVpn cloud_vpns = 4;
- }
-
- enum BgpRoutingMode {
-
- BGP_ROUTING_MODE_UNSPECIFIED = 0;
-
- REGIONAL = 1;
-
- GLOBAL = 2;
- }
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "edgecontainer.googleapis.com/VpnConnection"
- }
- ];
-
- 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;
-
-
-
- string nat_gateway_ip = 5;
-
- BgpRoutingMode bgp_routing_mode = 6 [deprecated = true];
-
-
- string cluster = 7 [(google.api.resource_reference) = {
- type: "edgecontainer.googleapis.com/Cluster"
- }];
-
- string vpc = 8;
-
-
- VpcProject vpc_project = 11 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool enable_high_availability = 9;
-
- Details details = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message LocationMetadata {
-
-
- map<string, ZoneMetadata> available_zones = 1;
- }
- message ZoneMetadata {
-
- repeated Quota quota = 1;
- }
- message Quota {
-
- string metric = 1;
-
- double limit = 2;
-
- double usage = 3;
- }
- message MaintenancePolicy {
-
- MaintenanceWindow window = 1;
- }
- message MaintenanceWindow {
-
- RecurringTimeWindow recurring_window = 1;
- }
- message RecurringTimeWindow {
-
- TimeWindow window = 1;
-
-
-
- string recurrence = 2;
- }
- message TimeWindow {
-
- google.protobuf.Timestamp start_time = 1;
-
-
- google.protobuf.Timestamp end_time = 2;
- }
|