|
| 1 | +// Copyright 2026 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 | + |
| 15 | +syntax = "proto3"; |
| 16 | + |
| 17 | +package google.cloud.netapp.v1; |
| 18 | + |
| 19 | +import "google/api/field_behavior.proto"; |
| 20 | +import "google/protobuf/struct.proto"; |
| 21 | + |
| 22 | +option csharp_namespace = "Google.Cloud.NetApp.V1"; |
| 23 | +option go_package = "cloud.google.com/go/netapp/apiv1/netapppb;netapppb"; |
| 24 | +option java_multiple_files = true; |
| 25 | +option java_outer_classname = "OntapProto"; |
| 26 | +option java_package = "com.google.cloud.netapp.v1"; |
| 27 | +option php_namespace = "Google\\Cloud\\NetApp\\V1"; |
| 28 | +option ruby_package = "Google::Cloud::NetApp::V1"; |
| 29 | + |
| 30 | +// Request message for `ExecuteOntapPost` API. |
| 31 | +message ExecuteOntapPostRequest { |
| 32 | + // Required. The raw `JSON` body of the request. |
| 33 | + // The body should be in the format of the ONTAP resource. |
| 34 | + // For example: |
| 35 | + // ``` |
| 36 | + // { |
| 37 | + // "body": { |
| 38 | + // "field1": "value1", |
| 39 | + // "field2": "value2", |
| 40 | + // } |
| 41 | + // } |
| 42 | + // ``` |
| 43 | + google.protobuf.Struct body = 2 [(google.api.field_behavior) = REQUIRED]; |
| 44 | + |
| 45 | + // Required. The resource path of the ONTAP resource. |
| 46 | + // Format: |
| 47 | + // `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. |
| 48 | + // For example: |
| 49 | + // `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. |
| 50 | + string ontap_path = 3 [(google.api.field_behavior) = REQUIRED]; |
| 51 | +} |
| 52 | + |
| 53 | +// Response message for `ExecuteOntapPost` API. |
| 54 | +message ExecuteOntapPostResponse { |
| 55 | + // The raw `JSON` body of the response. |
| 56 | + google.protobuf.Struct body = 1; |
| 57 | +} |
| 58 | + |
| 59 | +// Request message for `ExecuteOntapGet` API. |
| 60 | +message ExecuteOntapGetRequest { |
| 61 | + // Required. The resource path of the ONTAP resource. |
| 62 | + // Format: |
| 63 | + // `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. |
| 64 | + // For example: |
| 65 | + // `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. |
| 66 | + string ontap_path = 1 [(google.api.field_behavior) = REQUIRED]; |
| 67 | +} |
| 68 | + |
| 69 | +// Response message for `ExecuteOntapGet` API. |
| 70 | +message ExecuteOntapGetResponse { |
| 71 | + // The raw `JSON` body of the response. |
| 72 | + google.protobuf.Struct body = 1; |
| 73 | +} |
| 74 | + |
| 75 | +// Request message for `ExecuteOntapDelete` API. |
| 76 | +message ExecuteOntapDeleteRequest { |
| 77 | + // Required. The resource path of the ONTAP resource. |
| 78 | + // Format: |
| 79 | + // `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. |
| 80 | + // For example: |
| 81 | + // `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. |
| 82 | + string ontap_path = 2 [(google.api.field_behavior) = REQUIRED]; |
| 83 | +} |
| 84 | + |
| 85 | +// Response message for `ExecuteOntapDelete` API. |
| 86 | +message ExecuteOntapDeleteResponse { |
| 87 | + // The raw `JSON` body of the response. |
| 88 | + google.protobuf.Struct body = 1; |
| 89 | +} |
| 90 | + |
| 91 | +// Request message for `ExecuteOntapPatch` API. |
| 92 | +message ExecuteOntapPatchRequest { |
| 93 | + // Required. The raw `JSON` body of the request. |
| 94 | + // The body should be in the format of the ONTAP resource. |
| 95 | + // For example: |
| 96 | + // ``` |
| 97 | + // { |
| 98 | + // "body": { |
| 99 | + // "field1": "value1", |
| 100 | + // "field2": "value2", |
| 101 | + // } |
| 102 | + // } |
| 103 | + // ``` |
| 104 | + google.protobuf.Struct body = 2 [(google.api.field_behavior) = REQUIRED]; |
| 105 | + |
| 106 | + // Required. The resource path of the ONTAP resource. |
| 107 | + // Format: |
| 108 | + // `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`. |
| 109 | + // For example: |
| 110 | + // `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. |
| 111 | + string ontap_path = 3 [(google.api.field_behavior) = REQUIRED]; |
| 112 | +} |
| 113 | + |
| 114 | +// Response message for `ExecuteOntapPatch` API. |
| 115 | +message ExecuteOntapPatchResponse { |
| 116 | + // The raw `JSON` body of the response. |
| 117 | + google.protobuf.Struct body = 1; |
| 118 | +} |
0 commit comments