123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359 |
- syntax = "proto3";
- package google.cloud.dataproc.v1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/dataproc/v1/shared.proto";
- import "google/longrunning/operations.proto";
- import "google/protobuf/duration.proto";
- import "google/protobuf/field_mask.proto";
- import "google/protobuf/timestamp.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc";
- option java_multiple_files = true;
- option java_outer_classname = "ClustersProto";
- option java_package = "com.google.cloud.dataproc.v1";
- option (google.api.resource_definition) = {
- type: "container.googleapis.com/Cluster"
- pattern: "projects/{project}/locations/{location}/clusters/{cluster}"
- };
- option (google.api.resource_definition) = {
- type: "metastore.googleapis.com/Service"
- pattern: "projects/{project}/locations/{location}/services/{service}"
- };
- service ClusterController {
- option (google.api.default_host) = "dataproc.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
-
-
- rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/projects/{project_id}/regions/{region}/clusters"
- body: "cluster"
- };
- option (google.api.method_signature) = "project_id,region,cluster";
- option (google.longrunning.operation_info) = {
- response_type: "Cluster"
- metadata_type: "google.cloud.dataproc.v1.ClusterOperationMetadata"
- };
- }
-
-
-
-
-
- rpc UpdateCluster(UpdateClusterRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- patch: "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
- body: "cluster"
- };
- option (google.api.method_signature) = "project_id,region,cluster_name,cluster,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Cluster"
- metadata_type: "google.cloud.dataproc.v1.ClusterOperationMetadata"
- };
- }
-
- rpc StopCluster(StopClusterRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop"
- body: "*"
- };
- option (google.longrunning.operation_info) = {
- response_type: "Cluster"
- metadata_type: "google.cloud.dataproc.v1.ClusterOperationMetadata"
- };
- }
-
- rpc StartCluster(StartClusterRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start"
- body: "*"
- };
- option (google.longrunning.operation_info) = {
- response_type: "Cluster"
- metadata_type: "google.cloud.dataproc.v1.ClusterOperationMetadata"
- };
- }
-
-
-
- rpc DeleteCluster(DeleteClusterRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
- };
- option (google.api.method_signature) = "project_id,region,cluster_name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "google.cloud.dataproc.v1.ClusterOperationMetadata"
- };
- }
-
- rpc GetCluster(GetClusterRequest) returns (Cluster) {
- option (google.api.http) = {
- get: "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}"
- };
- option (google.api.method_signature) = "project_id,region,cluster_name";
- }
-
- rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) {
- option (google.api.http) = {
- get: "/v1/projects/{project_id}/regions/{region}/clusters"
- };
- option (google.api.method_signature) = "project_id,region";
- option (google.api.method_signature) = "project_id,region,filter";
- }
-
-
-
-
-
-
-
- rpc DiagnoseCluster(DiagnoseClusterRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose"
- body: "*"
- };
- option (google.api.method_signature) = "project_id,region,cluster_name";
- option (google.longrunning.operation_info) = {
- response_type: "DiagnoseClusterResults"
- metadata_type: "google.cloud.dataproc.v1.ClusterOperationMetadata"
- };
- }
- }
- message Cluster {
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
-
- string cluster_name = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
- ClusterConfig config = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
- VirtualClusterConfig virtual_cluster_config = 10 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
- map<string, string> labels = 8 [(google.api.field_behavior) = OPTIONAL];
-
- ClusterStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- repeated ClusterStatus status_history = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- string cluster_uuid = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
- ClusterMetrics metrics = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message ClusterConfig {
-
-
-
-
-
-
-
-
-
-
-
- string config_bucket = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string temp_bucket = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- GceClusterConfig gce_cluster_config = 8 [(google.api.field_behavior) = OPTIONAL];
-
-
- InstanceGroupConfig master_config = 9 [(google.api.field_behavior) = OPTIONAL];
-
-
- InstanceGroupConfig worker_config = 10 [(google.api.field_behavior) = OPTIONAL];
-
-
- InstanceGroupConfig secondary_worker_config = 12 [(google.api.field_behavior) = OPTIONAL];
-
- SoftwareConfig software_config = 13 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
-
- repeated NodeInitializationAction initialization_actions = 11 [(google.api.field_behavior) = OPTIONAL];
-
- EncryptionConfig encryption_config = 15 [(google.api.field_behavior) = OPTIONAL];
-
-
- AutoscalingConfig autoscaling_config = 18 [(google.api.field_behavior) = OPTIONAL];
-
- SecurityConfig security_config = 16 [(google.api.field_behavior) = OPTIONAL];
-
- LifecycleConfig lifecycle_config = 17 [(google.api.field_behavior) = OPTIONAL];
-
- EndpointConfig endpoint_config = 19 [(google.api.field_behavior) = OPTIONAL];
-
- MetastoreConfig metastore_config = 20 [(google.api.field_behavior) = OPTIONAL];
-
- DataprocMetricConfig dataproc_metric_config = 23 [(google.api.field_behavior) = OPTIONAL];
- }
- message VirtualClusterConfig {
-
-
-
-
-
-
-
-
-
-
-
- string staging_bucket = 1 [(google.api.field_behavior) = OPTIONAL];
- oneof infrastructure_config {
-
- KubernetesClusterConfig kubernetes_cluster_config = 6 [(google.api.field_behavior) = REQUIRED];
- }
-
- AuxiliaryServicesConfig auxiliary_services_config = 7 [(google.api.field_behavior) = OPTIONAL];
- }
- message AuxiliaryServicesConfig {
-
- MetastoreConfig metastore_config = 1 [(google.api.field_behavior) = OPTIONAL];
-
- SparkHistoryServerConfig spark_history_server_config = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message EndpointConfig {
-
-
- map<string, string> http_ports = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- bool enable_http_port_access = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message AutoscalingConfig {
-
-
-
-
-
-
-
-
-
- string policy_uri = 1 [(google.api.field_behavior) = OPTIONAL];
- }
- message EncryptionConfig {
-
-
- string gce_pd_kms_key_name = 1 [(google.api.field_behavior) = OPTIONAL];
- }
- message GceClusterConfig {
-
-
-
-
-
- enum PrivateIpv6GoogleAccess {
-
-
- PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
-
-
-
- INHERIT_FROM_SUBNETWORK = 1;
-
-
- OUTBOUND = 2;
-
-
- BIDIRECTIONAL = 3;
- }
-
-
-
-
-
-
-
-
-
-
-
- string zone_uri = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
- string network_uri = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
- string subnetwork_uri = 6 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
- bool internal_ip_only = 7 [(google.api.field_behavior) = OPTIONAL];
-
- PrivateIpv6GoogleAccess private_ipv6_google_access = 12 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
- string service_account = 8 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- repeated string service_account_scopes = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
- repeated string tags = 4;
-
-
-
- map<string, string> metadata = 5;
-
- ReservationAffinity reservation_affinity = 11 [(google.api.field_behavior) = OPTIONAL];
-
- NodeGroupAffinity node_group_affinity = 13 [(google.api.field_behavior) = OPTIONAL];
-
-
- ShieldedInstanceConfig shielded_instance_config = 14 [(google.api.field_behavior) = OPTIONAL];
-
-
- ConfidentialInstanceConfig confidential_instance_config = 15 [(google.api.field_behavior) = OPTIONAL];
- }
- message NodeGroupAffinity {
-
-
-
-
-
-
-
-
-
-
- string node_group_uri = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message ShieldedInstanceConfig {
-
- bool enable_secure_boot = 1 [(google.api.field_behavior) = OPTIONAL];
-
- bool enable_vtpm = 2 [(google.api.field_behavior) = OPTIONAL];
-
- bool enable_integrity_monitoring = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message ConfidentialInstanceConfig {
-
- bool enable_confidential_compute = 1 [(google.api.field_behavior) = OPTIONAL];
- }
- message InstanceGroupConfig {
-
-
-
-
- enum Preemptibility {
-
-
- PREEMPTIBILITY_UNSPECIFIED = 0;
-
-
-
-
- NON_PREEMPTIBLE = 1;
-
-
-
- PREEMPTIBLE = 2;
- }
-
-
-
-
-
-
- int32 num_instances = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
- repeated string instance_names = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string image_uri = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string machine_type_uri = 4 [(google.api.field_behavior) = OPTIONAL];
-
- DiskConfig disk_config = 5 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool is_preemptible = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
-
- Preemptibility preemptibility = 10 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- ManagedGroupConfig managed_group_config = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- repeated AcceleratorConfig accelerators = 8 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string min_cpu_platform = 9 [(google.api.field_behavior) = OPTIONAL];
- }
- message ManagedGroupConfig {
-
-
- string instance_template_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string instance_group_manager_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message AcceleratorConfig {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string accelerator_type_uri = 1;
-
- int32 accelerator_count = 2;
- }
- message DiskConfig {
-
-
-
-
-
- string boot_disk_type = 3 [(google.api.field_behavior) = OPTIONAL];
-
- int32 boot_disk_size_gb = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
- int32 num_local_ssds = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
- string local_ssd_interface = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message NodeInitializationAction {
-
- string executable_file = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
- google.protobuf.Duration execution_timeout = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message ClusterStatus {
-
- enum State {
-
- UNKNOWN = 0;
-
- CREATING = 1;
-
-
-
-
-
- RUNNING = 2;
-
- ERROR = 3;
-
-
- ERROR_DUE_TO_UPDATE = 9;
-
- DELETING = 4;
-
- UPDATING = 5;
-
- STOPPING = 6;
-
- STOPPED = 7;
-
- STARTING = 8;
- }
-
- enum Substate {
-
- UNSPECIFIED = 0;
-
-
-
-
-
- UNHEALTHY = 1;
-
-
-
-
- STALE_STATUS = 2;
- }
-
- State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string detail = 2 [
- (google.api.field_behavior) = OUTPUT_ONLY,
- (google.api.field_behavior) = OPTIONAL
- ];
-
-
- google.protobuf.Timestamp state_start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- Substate substate = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message SecurityConfig {
-
- KerberosConfig kerberos_config = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
- IdentityConfig identity_config = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message KerberosConfig {
-
-
- bool enable_kerberos = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
- string root_principal_password_uri = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- string kms_key_uri = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string keystore_uri = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string truststore_uri = 5 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string keystore_password_uri = 6 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string key_password_uri = 7 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string truststore_password_uri = 8 [(google.api.field_behavior) = OPTIONAL];
-
-
- string cross_realm_trust_realm = 9 [(google.api.field_behavior) = OPTIONAL];
-
-
- string cross_realm_trust_kdc = 10 [(google.api.field_behavior) = OPTIONAL];
-
-
- string cross_realm_trust_admin_server = 11 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- string cross_realm_trust_shared_password_uri = 12 [(google.api.field_behavior) = OPTIONAL];
-
-
- string kdc_db_key_uri = 13 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- int32 tgt_lifetime_hours = 14 [(google.api.field_behavior) = OPTIONAL];
-
-
- string realm = 15 [(google.api.field_behavior) = OPTIONAL];
- }
- message IdentityConfig {
-
- map<string, string> user_service_account_mapping = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message SoftwareConfig {
-
-
-
-
-
-
-
- string image_version = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> properties = 2 [(google.api.field_behavior) = OPTIONAL];
-
- repeated Component optional_components = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message LifecycleConfig {
-
-
-
-
-
- google.protobuf.Duration idle_delete_ttl = 1 [(google.api.field_behavior) = OPTIONAL];
-
-
- oneof ttl {
-
-
- google.protobuf.Timestamp auto_delete_time = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- google.protobuf.Duration auto_delete_ttl = 3 [(google.api.field_behavior) = OPTIONAL];
- }
-
-
-
-
- google.protobuf.Timestamp idle_start_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message MetastoreConfig {
-
-
-
-
-
- string dataproc_metastore_service = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "metastore.googleapis.com/Service"
- }
- ];
- }
- message DataprocMetricConfig {
-
-
-
- enum MetricSource {
-
- METRIC_SOURCE_UNSPECIFIED = 0;
-
-
-
-
- MONITORING_AGENT_DEFAULTS = 1;
-
- HDFS = 2;
-
- SPARK = 3;
-
- YARN = 4;
-
- SPARK_HISTORY_SERVER = 5;
-
- HIVESERVER2 = 6;
- }
-
- message Metric {
-
-
-
-
- MetricSource metric_source = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- repeated string metric_overrides = 2 [(google.api.field_behavior) = OPTIONAL];
- }
-
- repeated Metric metrics = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message ClusterMetrics {
-
- map<string, int64> hdfs_metrics = 1;
-
- map<string, int64> yarn_metrics = 2;
- }
- message CreateClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 3 [(google.api.field_behavior) = REQUIRED];
-
- Cluster cluster = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
-
- FailureAction action_on_failed_primary_workers = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message UpdateClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 5 [(google.api.field_behavior) = REQUIRED];
-
- string cluster_name = 2 [(google.api.field_behavior) = REQUIRED];
-
- Cluster cluster = 3 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
- google.protobuf.Duration graceful_decommission_timeout = 6 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- google.protobuf.FieldMask update_mask = 4 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 7 [(google.api.field_behavior) = OPTIONAL];
- }
- message StopClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 2 [(google.api.field_behavior) = REQUIRED];
-
- string cluster_name = 3 [(google.api.field_behavior) = REQUIRED];
-
-
- string cluster_uuid = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message StartClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 2 [(google.api.field_behavior) = REQUIRED];
-
- string cluster_name = 3 [(google.api.field_behavior) = REQUIRED];
-
-
- string cluster_uuid = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message DeleteClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 3 [(google.api.field_behavior) = REQUIRED];
-
- string cluster_name = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- string cluster_uuid = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message GetClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 3 [(google.api.field_behavior) = REQUIRED];
-
- string cluster_name = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message ListClustersRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 4 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string filter = 5 [(google.api.field_behavior) = OPTIONAL];
-
- int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
-
- string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListClustersResponse {
-
- repeated Cluster clusters = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- string next_page_token = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message DiagnoseClusterRequest {
-
-
- string project_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- string region = 3 [(google.api.field_behavior) = REQUIRED];
-
- string cluster_name = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message DiagnoseClusterResults {
-
-
-
- string output_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message ReservationAffinity {
-
- enum Type {
- TYPE_UNSPECIFIED = 0;
-
- NO_RESERVATION = 1;
-
- ANY_RESERVATION = 2;
-
-
- SPECIFIC_RESERVATION = 3;
- }
-
- Type consume_reservation_type = 1 [(google.api.field_behavior) = OPTIONAL];
-
- string key = 2 [(google.api.field_behavior) = OPTIONAL];
-
- repeated string values = 3 [(google.api.field_behavior) = OPTIONAL];
- }
|