io.proto 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // Copyright 2021 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.cloud.aiplatform.v1;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/annotations.proto";
  18. option csharp_namespace = "Google.Cloud.AIPlatform.V1";
  19. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "IoProto";
  22. option java_package = "com.google.cloud.aiplatform.v1";
  23. option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
  24. option ruby_package = "Google::Cloud::AIPlatform::V1";
  25. // The Google Cloud Storage location for the input content.
  26. message GcsSource {
  27. // Required. Google Cloud Storage URI(-s) to the input file(s). May contain
  28. // wildcards. For more information on wildcards, see
  29. // https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames.
  30. repeated string uris = 1 [(google.api.field_behavior) = REQUIRED];
  31. }
  32. // The Google Cloud Storage location where the output is to be written to.
  33. message GcsDestination {
  34. // Required. Google Cloud Storage URI to output directory. If the uri doesn't end with
  35. // '/', a '/' will be automatically appended. The directory is created if it
  36. // doesn't exist.
  37. string output_uri_prefix = 1 [(google.api.field_behavior) = REQUIRED];
  38. }
  39. // The BigQuery location for the input content.
  40. message BigQuerySource {
  41. // Required. BigQuery URI to a table, up to 2000 characters long.
  42. // Accepted forms:
  43. //
  44. // * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`.
  45. string input_uri = 1 [(google.api.field_behavior) = REQUIRED];
  46. }
  47. // The BigQuery location for the output content.
  48. message BigQueryDestination {
  49. // Required. BigQuery URI to a project or table, up to 2000 characters long.
  50. //
  51. // When only the project is specified, the Dataset and Table is created.
  52. // When the full table reference is specified, the Dataset must exist and
  53. // table must not exist.
  54. //
  55. // Accepted forms:
  56. //
  57. // * BigQuery path. For example:
  58. // `bq://projectId` or `bq://projectId.bqDatasetId` or
  59. // `bq://projectId.bqDatasetId.bqTableId`.
  60. string output_uri = 1 [(google.api.field_behavior) = REQUIRED];
  61. }
  62. // The Container Registry location for the container image.
  63. message ContainerRegistryDestination {
  64. // Required. Container Registry URI of a container image.
  65. // Only Google Container Registry and Artifact Registry are supported now.
  66. // Accepted forms:
  67. //
  68. // * Google Container Registry path. For example:
  69. // `gcr.io/projectId/imageName:tag`.
  70. //
  71. // * Artifact Registry path. For example:
  72. // `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`.
  73. //
  74. // If a tag is not specified, "latest" will be used as the default tag.
  75. string output_uri = 1 [(google.api.field_behavior) = REQUIRED];
  76. }