Skip to content

Commit

Permalink
fix!: An existing field source_gcs_uri is renamed to `source_gcs_bu…
Browse files Browse the repository at this point in the history
…cket` in message `.google.cloud.parallelstore.v1beta.ImportDataRequest`

fix!: An existing field `destination_path` is renamed to `destination_parallelstore` in message `.google.cloud.parallelstore.v1beta.ImportDataRequest`
fix!: An existing field `source_path` is renamed to `source_parallelstore` in message `.google.cloud.parallelstore.v1beta.ExportDataRequest`
fix!: An existing field `destination_gcs_uri` is renamed to `destination_gcs_bucket` in message `.google.cloud.parallelstore.v1beta.ExportDataRequest`
feat: A new message `SourceGcsBucket` is added
feat: A new message `DestinationGcsBucket` is added
feat: A new message `SourceParallelstore` is added
feat: A new message `DestinationParallelstore` is added

PiperOrigin-RevId: 631870782
  • Loading branch information
Google APIs authored and Copybara-Service committed May 8, 2024
1 parent 090d9a1 commit 29bdbeb
Showing 1 changed file with 36 additions and 12 deletions.
48 changes: 36 additions & 12 deletions google/cloud/parallelstore/v1beta/parallelstore.proto
Expand Up @@ -449,21 +449,47 @@ message OperationMetadata {
string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Google Cloud Storage as a source.
message SourceGcsBucket {
// Required. URI to a Cloud Storage object in format:
// 'gs://<bucket_name>/<path_inside_bucket>'.
string uri = 1 [(google.api.field_behavior) = REQUIRED];
}

// Google Cloud Storage as a destination.
message DestinationGcsBucket {
// Required. URI to a Cloud Storage object in format:
// 'gs://<bucket_name>/<path_inside_bucket>'.
string uri = 1 [(google.api.field_behavior) = REQUIRED];
}

// Pa as a source.
message SourceParallelstore {
// Optional. Root directory path to the Paralellstore filesystem, starting
// with '/'. Defaults to '/' if unset.
string path = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Parallelstore as a destination.
message DestinationParallelstore {
// Optional. Root directory path to the Paralellstore filesystem, starting
// with '/'. Defaults to '/' if unset.
string path = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Message representing the request importing data from parallelstore to Cloud
// Storage.
message ImportDataRequest {
// The source of the data being imported into the parallelstore instance.
oneof source {
// URI to a Cloud Storage object in format:
// 'gs://<bucket_name>/<path_inside_bucket>'.
string source_gcs_uri = 2;
// Cloud Storage source.
SourceGcsBucket source_gcs_bucket = 2;
}

// The destination of the data being imported into the parallelstore instance.
oneof destination {
// Optional. Root directory path to the Paralellstore filesystem, starting
// with '/'. Sets to '/' if no value is set.
string destination_path = 3 [(google.api.field_behavior) = OPTIONAL];
// Parallelstore destination.
DestinationParallelstore destination_parallelstore = 3;
}

// Required. Name of the resource.
Expand Down Expand Up @@ -498,16 +524,14 @@ message ImportDataRequest {
message ExportDataRequest {
// The source of the data exported from the parallelstore instance.
oneof source {
// Optional. Root directory path to the Paralellstore filesystem, starting
// with '/'. Sets to '/' if no value is set.
string source_path = 2 [(google.api.field_behavior) = OPTIONAL];
// Parallelstore source.
SourceParallelstore source_parallelstore = 2;
}

// The destination of the data exported from the parallelstore instance.
oneof destination {
// URI to a Cloud Storage object in format:
// 'gs://<bucket_name>/<path_inside_bucket>'.
string destination_gcs_uri = 3;
// Cloud Storage destination.
DestinationGcsBucket destination_gcs_bucket = 3;
}

// Required. Name of the resource.
Expand Down

0 comments on commit 29bdbeb

Please sign in to comment.