aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogle APIs <noreply@google.com>2024-05-08 11:35:36 -0700
committerCopybara-Service <copybara-worker@google.com>2024-05-08 11:36:32 -0700
commit29bdbeb032a9842cdfa61cc1c2c558b2ac81696c (patch)
tree7c31a925f34df0018643fc284a6ff513803f102c
parent090d9a174c3839bbd79c829972a017e3bf07719b (diff)
downloadgoogleapis-29bdbeb032a9842cdfa61cc1c2c558b2ac81696c.tar.gz
fix!: An existing field `source_gcs_uri` is renamed to `source_gcs_bucket` 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
-rw-r--r--google/cloud/parallelstore/v1beta/parallelstore.proto48
1 files changed, 36 insertions, 12 deletions
diff --git a/google/cloud/parallelstore/v1beta/parallelstore.proto b/google/cloud/parallelstore/v1beta/parallelstore.proto
index 5ac77ed76..71c3ee270 100644
--- a/google/cloud/parallelstore/v1beta/parallelstore.proto
+++ b/google/cloud/parallelstore/v1beta/parallelstore.proto
@@ -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.
@@ -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.