@@ -88,7 +88,7 @@ service ClusterController {
88
88
option (google.api.method_signature ) = "project_id,region,cluster_name" ;
89
89
}
90
90
91
- // Lists all regions/{region}/clusters in a project.
91
+ // Lists all regions/{region}/clusters in a project alphabetically .
92
92
rpc ListClusters (ListClustersRequest ) returns (ListClustersResponse ) {
93
93
option (google.api.http ) = {
94
94
get : "/v1/projects/{project_id}/regions/{region}/clusters"
@@ -150,11 +150,11 @@ message Cluster {
150
150
// generates this value when it creates the cluster.
151
151
string cluster_uuid = 6 [(google.api.field_behavior ) = OUTPUT_ONLY ];
152
152
153
- // Contains cluster daemon metrics such as HDFS and YARN stats.
153
+ // Output only. Contains cluster daemon metrics such as HDFS and YARN stats.
154
154
//
155
155
// **Beta Feature**: This report is available for testing purposes only. It
156
156
// may be changed before final release.
157
- ClusterMetrics metrics = 9 ;
157
+ ClusterMetrics metrics = 9 [ (google.api .field_behavior ) = OUTPUT_ONLY ] ;
158
158
}
159
159
160
160
// The cluster config.
@@ -167,7 +167,7 @@ message ClusterConfig {
167
167
// Compute Engine zone where your cluster is deployed, and then create
168
168
// and manage this project-level, per-location bucket (see
169
169
// [Dataproc staging
170
- // bucket](/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
170
+ // bucket](https://cloud.google.com /dataproc/docs/concepts/configuring-clusters/staging-bucket)).
171
171
string config_bucket = 1 [(google.api.field_behavior ) = OPTIONAL ];
172
172
173
173
// Optional. The shared Compute Engine config settings for
@@ -259,7 +259,8 @@ message GceClusterConfig {
259
259
// communications. Cannot be specified with subnetwork_uri. If neither
260
260
// `network_uri` nor `subnetwork_uri` is specified, the "default" network of
261
261
// the project is used, if it exists. Cannot be a "Custom Subnet Network" (see
262
- // [Using Subnetworks](/compute/docs/subnetworks) for more information).
262
+ // [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks) for
263
+ // more information).
263
264
//
264
265
// A full URL, partial URI, or short name are valid. Examples:
265
266
//
@@ -287,15 +288,15 @@ message GceClusterConfig {
287
288
bool internal_ip_only = 7 [(google.api.field_behavior ) = OPTIONAL ];
288
289
289
290
// Optional. The [Dataproc service
290
- // account](/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_cloud_dataproc)
291
+ // account](https://cloud.google.com /dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_cloud_dataproc)
291
292
// (also see [VM Data Plane
292
- // identity](/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))
293
+ // identity](https://cloud.google.com /dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity))
293
294
// used by Dataproc cluster VM instances to access Google Cloud Platform
294
295
// services.
295
296
//
296
297
// If not specified, the
297
298
// [Compute Engine default service
298
- // account](/compute/docs/access/service-accounts#default_service_account)
299
+ // account](https://cloud.google.com /compute/docs/access/service-accounts#default_service_account)
299
300
// is used.
300
301
string service_account = 8 [(google.api.field_behavior ) = OPTIONAL ];
301
302
@@ -315,8 +316,8 @@ message GceClusterConfig {
315
316
// * https://www.googleapis.com/auth/devstorage.full_control
316
317
repeated string service_account_scopes = 3 [(google.api.field_behavior ) = OPTIONAL ];
317
318
318
- // The Compute Engine tags to add to all instances (see
319
- // [Tagging instances](/compute/docs/label-or-tag-resources#tags)).
319
+ // The Compute Engine tags to add to all instances (see [Tagging
320
+ // instances](https://cloud.google.com /compute/docs/label-or-tag-resources#tags)).
320
321
repeated string tags = 4 ;
321
322
322
323
// The Compute Engine metadata entries to add to all instances (see
@@ -339,9 +340,24 @@ message InstanceGroupConfig {
339
340
// from `cluster_name`, `num_instances`, and the instance group.
340
341
repeated string instance_names = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
341
342
342
- // Optional. The Compute Engine image resource used for cluster
343
- // instances. It can be specified or may be inferred from
344
- // `SoftwareConfig.image_version`.
343
+ // Optional. The Compute Engine image resource used for cluster instances.
344
+ //
345
+ // The URI can represent an image or image family.
346
+ //
347
+ // Image examples:
348
+ //
349
+ // * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]`
350
+ // * `projects/[project_id]/global/images/[image-id]`
351
+ // * `image-id`
352
+ //
353
+ // Image family examples. Dataproc will use the most recent
354
+ // image from the family:
355
+ //
356
+ // * `https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]`
357
+ // * `projects/[project_id]/global/images/family/[custom-image-family-name]`
358
+ //
359
+ // If the URI is unspecified, it will be inferred from
360
+ // `SoftwareConfig.image_version` or the system default.
345
361
string image_uri = 3 [(google.api.field_behavior ) = OPTIONAL ];
346
362
347
363
// Optional. The Compute Engine machine type used for cluster instances.
@@ -354,17 +370,17 @@ message InstanceGroupConfig {
354
370
//
355
371
// **Auto Zone Exception**: If you are using the Dataproc
356
372
// [Auto Zone
357
- // Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
373
+ // Placement](https://cloud.google.com /dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
358
374
// feature, you must use the short name of the machine type
359
375
// resource, for example, `n1-standard-2`.
360
376
string machine_type_uri = 4 [(google.api.field_behavior ) = OPTIONAL ];
361
377
362
378
// Optional. Disk option config settings.
363
379
DiskConfig disk_config = 5 [(google.api.field_behavior ) = OPTIONAL ];
364
380
365
- // Optional . Specifies that this instance group contains preemptible
381
+ // Output only . Specifies that this instance group contains preemptible
366
382
// instances.
367
- bool is_preemptible = 6 [(google.api.field_behavior ) = OPTIONAL ];
383
+ bool is_preemptible = 6 [(google.api.field_behavior ) = OUTPUT_ONLY ];
368
384
369
385
// Output only. The config for Compute Engine Instance Group
370
386
// Manager that manages this group.
@@ -376,8 +392,8 @@ message InstanceGroupConfig {
376
392
repeated AcceleratorConfig accelerators = 8 [(google.api.field_behavior ) = OPTIONAL ];
377
393
378
394
// Optional. Specifies the minimum cpu platform for the Instance Group.
379
- // See [Dataproc→ Minimum CPU Platform]
380
- // ( /dataproc/docs/concepts/compute/dataproc-min-cpu).
395
+ // See [Dataproc -> Minimum CPU
396
+ // Platform](https://cloud.google.com /dataproc/docs/concepts/compute/dataproc-min-cpu).
381
397
string min_cpu_platform = 9 [(google.api.field_behavior ) = OPTIONAL ];
382
398
}
383
399
@@ -392,12 +408,13 @@ message ManagedGroupConfig {
392
408
}
393
409
394
410
// Specifies the type and number of accelerator cards attached to the instances
395
- // of an instance. See [GPUs on Compute Engine](/compute/docs/gpus/).
411
+ // of an instance. See [GPUs on Compute
412
+ // Engine](https://cloud.google.com/compute/docs/gpus/).
396
413
message AcceleratorConfig {
397
414
// Full URL, partial URI, or short name of the accelerator type resource to
398
415
// expose to this instance. See
399
416
// [Compute Engine
400
- // AcceleratorTypes](/compute/docs/reference/beta/acceleratorTypes).
417
+ // AcceleratorTypes](https://cloud.google.com /compute/docs/reference/beta/acceleratorTypes).
401
418
//
402
419
// Examples:
403
420
//
@@ -407,7 +424,7 @@ message AcceleratorConfig {
407
424
//
408
425
// **Auto Zone Exception**: If you are using the Dataproc
409
426
// [Auto Zone
410
- // Placement](/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
427
+ // Placement](https://cloud.google.com /dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
411
428
// feature, you must use the short name of the accelerator type
412
429
// resource, for example, `nvidia-tesla-k80`.
413
430
string accelerator_type_uri = 1 ;
@@ -519,7 +536,8 @@ message SecurityConfig {
519
536
520
537
// Specifies Kerberos related configuration.
521
538
message KerberosConfig {
522
- // Optional. Flag to indicate whether to Kerberize the cluster.
539
+ // Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set
540
+ // this field to true to enable Kerberos on a cluster.
523
541
bool enable_kerberos = 1 [(google.api.field_behavior ) = OPTIONAL ];
524
542
525
543
// Required. The Cloud Storage URI of a KMS encrypted file containing the root
@@ -590,10 +608,10 @@ message KerberosConfig {
590
608
message SoftwareConfig {
591
609
// Optional. The version of software inside the cluster. It must be one of the
592
610
// supported [Dataproc
593
- // Versions](/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions),
611
+ // Versions](https://cloud.google.com /dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions),
594
612
// such as "1.2" (including a subminor version, such as "1.2.29"), or the
595
613
// ["preview"
596
- // version](/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
614
+ // version](https://cloud.google.com /dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
597
615
// If unspecified, it defaults to the latest Debian version.
598
616
string image_version = 1 [(google.api.field_behavior ) = OPTIONAL ];
599
617
@@ -613,8 +631,8 @@ message SoftwareConfig {
613
631
// * spark: `spark-defaults.conf`
614
632
// * yarn: `yarn-site.xml`
615
633
//
616
- // For more information, see
617
- // [Cluster properties](/dataproc/docs/concepts/cluster-properties).
634
+ // For more information, see [Cluster
635
+ // properties](https://cloud.google.com /dataproc/docs/concepts/cluster-properties).
618
636
map <string , string > properties = 2 [(google.api.field_behavior ) = OPTIONAL ];
619
637
620
638
// Optional. The set of components to activate on the cluster.
0 commit comments