gcs.proto 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright 2022 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.dialogflow.v2beta1;
  16. import "google/api/field_behavior.proto";
  17. option cc_enable_arenas = true;
  18. option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1";
  19. option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "GcsProto";
  22. option java_package = "com.google.cloud.dialogflow.v2beta1";
  23. option objc_class_prefix = "DF";
  24. // Google Cloud Storage locations for the inputs.
  25. message GcsSources {
  26. // Required. Google Cloud Storage URIs for the inputs. A URI is of the
  27. // form:
  28. // gs://bucket/object-prefix-or-name
  29. // Whether a prefix or name is used depends on the use case.
  30. repeated string uris = 2 [(google.api.field_behavior) = REQUIRED];
  31. }
  32. // Google Cloud Storage location for single input.
  33. message GcsSource {
  34. // Required. The Google Cloud Storage URIs for the inputs. A URI is of the
  35. // form:
  36. // gs://bucket/object-prefix-or-name
  37. // Whether a prefix or name is used depends on the use case.
  38. string uri = 1;
  39. }
  40. // Google Cloud Storage location for the output.
  41. message GcsDestination {
  42. // Required. The Google Cloud Storage URIs for the output. A URI is of the
  43. // form:
  44. // gs://bucket/object-prefix-or-name
  45. // Whether a prefix or name is used depends on the use case. The requesting
  46. // user must have "write-permission" to the bucket.
  47. string uri = 1;
  48. }