Skip to content

Commit

Permalink
feat:add optional parameters (tarball-access) in DiagnoseClusterRequest
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 669375999
  • Loading branch information
Google APIs authored and copybara-github committed Aug 30, 2024
1 parent 085ad08 commit 6a474b3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions google/cloud/dataproc/v1/clusters.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,20 @@ message ListClustersResponse {

// A request to collect cluster diagnostic information.
message DiagnoseClusterRequest {
// Defines who has access to the diagnostic tarball
enum TarballAccess {
// Tarball Access unspecified. Falls back to default access of the bucket
TARBALL_ACCESS_UNSPECIFIED = 0;

// Google Cloud Support group has read access to the
// diagnostic tarball
GOOGLE_CLOUD_SUPPORT = 1;

// Google Cloud Dataproc Diagnose service account has read access to the
// diagnostic tarball
GOOGLE_DATAPROC_DIAGNOSE = 2;
}

// Required. The ID of the Google Cloud Platform project that the cluster
// belongs to.
string project_id = 1 [(google.api.field_behavior) = REQUIRED];
Expand All @@ -1556,6 +1570,10 @@ message DiagnoseClusterRequest {
// staging bucket will be used.
string tarball_gcs_dir = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. (Optional) The access type to the diagnostic tarball. If not
// specified, falls back to default access of the bucket
TarballAccess tarball_access = 5 [(google.api.field_behavior) = OPTIONAL];

// Optional. Time interval in which diagnosis should be carried out on the
// cluster.
google.type.Interval diagnosis_interval = 6
Expand Down

0 comments on commit 6a474b3

Please sign in to comment.