From 4adb244ec5b72a6f6714173a560e696d894db17e Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Tue, 19 Sep 2023 19:44:51 +0300 Subject: [PATCH] fix: align all http annotations leaving List and Parent for next PR Signed-off-by: Boris Glimcher --- storage/v1alpha1/backend_aio.proto | 12 +++---- storage/v1alpha1/backend_null.proto | 12 +++---- storage/v1alpha1/backend_nvme_tcp.proto | 30 ++++++++-------- storage/v1alpha1/frontend_virtio_blk.proto | 12 +++---- storage/v1alpha1/frontend_virtio_scsi.proto | 38 ++++++++++----------- storage/v1alpha1/middleend_encryption.proto | 12 +++---- storage/v1alpha1/middleend_qos_volume.proto | 12 +++---- 7 files changed, 64 insertions(+), 64 deletions(-) diff --git a/storage/v1alpha1/backend_aio.proto b/storage/v1alpha1/backend_aio.proto index f22bc71e..1240ecb9 100644 --- a/storage/v1alpha1/backend_aio.proto +++ b/storage/v1alpha1/backend_aio.proto @@ -25,7 +25,7 @@ service AioVolumeService { // Create an Aio Volume rpc CreateAioVolume (CreateAioVolumeRequest) returns (AioVolume) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/aioVolumes" body: "aio_volume" }; option (google.api.method_signature) = "aio_volume,aio_volume_id"; @@ -33,14 +33,14 @@ service AioVolumeService { // Delete an Aio Volume rpc DeleteAioVolume (DeleteAioVolumeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=AioVolumes/*}" + delete: "/v1/{name=aioVolumes/*}" }; option (google.api.method_signature) = "name"; } // Update an Aio Volume rpc UpdateAioVolume (UpdateAioVolumeRequest) returns (AioVolume) { option (google.api.http) = { - patch: "/v1/{aio_volume.name=subsystems}" + patch: "/v1/{aio_volume.name=aioVolumes/*}" body: "aio_volume" }; option (google.api.method_signature) = "aio_volume,update_mask"; @@ -55,14 +55,14 @@ service AioVolumeService { // Get an Aio Volume rpc GetAioVolume (GetAioVolumeRequest) returns (AioVolume) { option (google.api.http) = { - get: "/v1/{name=AioVolumes/*}" + get: "/v1/{name=aioVolumes/*}" }; option (google.api.method_signature) = "name"; } // Get an Aio Volume statistics rpc StatsAioVolume (StatsAioVolumeRequest) returns (StatsAioVolumeResponse) { option (google.api.http) = { - get: "/v1/{name=AioVolumes/*}:stats" + get: "/v1/{name=aioVolumes/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -71,7 +71,7 @@ service AioVolumeService { message AioVolume { option (google.api.resource) = { type: "storage.opiproject.org/AioVolume" - pattern: "volumes/{volume}" + pattern: "aioVolumes/{volume}" singular: "aioVolume" plural: "aioVolumes" }; diff --git a/storage/v1alpha1/backend_null.proto b/storage/v1alpha1/backend_null.proto index 4dc9ec84..61e22a1e 100755 --- a/storage/v1alpha1/backend_null.proto +++ b/storage/v1alpha1/backend_null.proto @@ -25,7 +25,7 @@ service NullVolumeService { // Create an Null Volume rpc CreateNullVolume (CreateNullVolumeRequest) returns (NullVolume) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/nullVolumes" body: "null_volume" }; option (google.api.method_signature) = "null_volume,null_volume_id"; @@ -33,14 +33,14 @@ service NullVolumeService { // Delete an Null Volume rpc DeleteNullVolume (DeleteNullVolumeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=NullVolumes/*}" + delete: "/v1/{name=nullVolumes/*}" }; option (google.api.method_signature) = "name"; } // Update an Null Volume rpc UpdateNullVolume (UpdateNullVolumeRequest) returns (NullVolume) { option (google.api.http) = { - patch: "/v1/{null_volume.name=subsystems}" + patch: "/v1/{null_volume.name=nullVolumes/*}" body: "null_volume" }; option (google.api.method_signature) = "null_volume,update_mask"; @@ -55,14 +55,14 @@ service NullVolumeService { // Get an Null Volume rpc GetNullVolume (GetNullVolumeRequest) returns (NullVolume) { option (google.api.http) = { - get: "/v1/{name=NullVolumes/*}" + get: "/v1/{name=nullVolumes/*}" }; option (google.api.method_signature) = "name"; } // Get an Null Volume statistics rpc StatsNullVolume (StatsNullVolumeRequest) returns (StatsNullVolumeResponse) { option (google.api.http) = { - get: "/v1/{name=NullVolumes/*}:stats" + get: "/v1/{name=nullVolumes/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -71,7 +71,7 @@ service NullVolumeService { message NullVolume { option (google.api.resource) = { type: "storage.opiproject.org/NullVolume" - pattern: "volumes/{volume}" + pattern: "nullVolumes/{volume}" singular: "nullVolume" plural: "nullVolumes" }; diff --git a/storage/v1alpha1/backend_nvme_tcp.proto b/storage/v1alpha1/backend_nvme_tcp.proto index b774b172..9db74fb8 100755 --- a/storage/v1alpha1/backend_nvme_tcp.proto +++ b/storage/v1alpha1/backend_nvme_tcp.proto @@ -25,7 +25,7 @@ service NvmeRemoteControllerService { // Create an Nvme Remote Controller rpc CreateNvmeRemoteController (CreateNvmeRemoteControllerRequest) returns (NvmeRemoteController) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/nvmeRemoteControllers" body: "nvme_remote_controller" }; option (google.api.method_signature) = "nvme_remote_controller,nvme_remote_controller_id"; @@ -33,14 +33,14 @@ service NvmeRemoteControllerService { // Delete an Nvme Remote Controller rpc DeleteNvmeRemoteController (DeleteNvmeRemoteControllerRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=NvmeRemoteControllers/*}" + delete: "/v1/{name=nvmeRemoteControllers/*}" }; option (google.api.method_signature) = "name"; } // Update an Nvme Remote Controller rpc UpdateNvmeRemoteController (UpdateNvmeRemoteControllerRequest) returns (NvmeRemoteController) { option (google.api.http) = { - patch: "/v1/{nvme_remote_controller.name=subsystems}" + patch: "/v1/{nvme_remote_controller.name=nvmeRemoteControllers/*}" body: "nvme_remote_controller" }; option (google.api.method_signature) = "nvme_remote_controller,update_mask"; @@ -55,14 +55,14 @@ service NvmeRemoteControllerService { // Get an Nvme Remote Controller rpc GetNvmeRemoteController (GetNvmeRemoteControllerRequest) returns (NvmeRemoteController) { option (google.api.http) = { - get: "/v1/{name=NvmeRemoteControllers/*}" + get: "/v1/{name=nvmeRemoteControllers/*}" }; option (google.api.method_signature) = "name"; } // Reset an Nvme Remote Controller rpc ResetNvmeRemoteController (ResetNvmeRemoteControllerRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - post: "/v1/{name=NvmeRemoteControllers/*}:reset" + post: "/v1/{name=nvmeRemoteControllers/*}:reset" body: "*" }; option (google.api.method_signature) = "name"; @@ -70,7 +70,7 @@ service NvmeRemoteControllerService { // Get an Nvme Remote Controller statistics rpc StatsNvmeRemoteController (StatsNvmeRemoteControllerRequest) returns (StatsNvmeRemoteControllerResponse) { option (google.api.http) = { - get: "/v1/{name=NvmeRemoteControllers/*}:stats" + get: "/v1/{name=nvmeRemoteControllers/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -84,14 +84,14 @@ service NvmeRemoteControllerService { // Get an Nvme Remote Namespace rpc GetNvmeRemoteNamespace (GetNvmeRemoteNamespaceRequest) returns (NvmeRemoteNamespace) { option (google.api.http) = { - get: "/v1/{name=NvmeRemoteNamespaces/*}" + get: "/v1/{name=nvmeRemoteNamespaces/*}" }; option (google.api.method_signature) = "name"; } // Create an Nvme Path rpc CreateNvmePath (CreateNvmePathRequest) returns (NvmePath) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/nvmePaths" body: "nvme_path" }; option (google.api.method_signature) = "nvme_path,nvme_path_id"; @@ -99,14 +99,14 @@ service NvmeRemoteControllerService { // Delete an Nvme Path rpc DeleteNvmePath (DeleteNvmePathRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=NvmePaths/*}" + delete: "/v1/{name=nvmePaths/*}" }; option (google.api.method_signature) = "name"; } // Update an Nvme Path rpc UpdateNvmePath (UpdateNvmePathRequest) returns (NvmePath) { option (google.api.http) = { - patch: "/v1/{nvme_path.name=subsystems}" + patch: "/v1/{nvme_path.name=nvmePaths/*}" body: "nvme_path" }; option (google.api.method_signature) = "nvme_path,update_mask"; @@ -121,14 +121,14 @@ service NvmeRemoteControllerService { // Get an Nvme Path rpc GetNvmePath (GetNvmePathRequest) returns (NvmePath) { option (google.api.http) = { - get: "/v1/{name=NvmePaths/*}" + get: "/v1/{name=nvmePaths/*}" }; option (google.api.method_signature) = "name"; } // Get an Nvme Path statistics rpc StatsNvmePath (StatsNvmePathRequest) returns (StatsNvmePathResponse) { option (google.api.http) = { - get: "/v1/{name=NvmePaths/*}:stats" + get: "/v1/{name=nvmePaths/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -137,7 +137,7 @@ service NvmeRemoteControllerService { message NvmeRemoteController { option (google.api.resource) = { type: "storage.opiproject.org/NvmeRemoteController" - pattern: "volumes/{volume}" + pattern: "nvmeRemoteControllers/{volume}" singular: "nvmeRemoteController" plural: "nvmeRemoteControllers" }; @@ -178,7 +178,7 @@ message TcpController { message NvmePath { option (google.api.resource) = { type: "storage.opiproject.org/NvmePath" - pattern: "volumes/{volume}" + pattern: "nvmePaths/{volume}" singular: "nvmePath" plural: "nvmePaths" }; @@ -229,7 +229,7 @@ message NvmeRemoteNamespace { // namespace's unique key. Assign to middle/front-end objects. option (google.api.resource) = { type: "storage.opiproject.org/NvmeRemoteNamespace" - pattern: "volumes/{volume}" + pattern: "nvmeRemoteNamespaces/{volume}" singular: "nvmeRemoteNamespace" plural: "nvmeRemoteNamespaces" }; diff --git a/storage/v1alpha1/frontend_virtio_blk.proto b/storage/v1alpha1/frontend_virtio_blk.proto index 9f0940c5..3cb26c34 100755 --- a/storage/v1alpha1/frontend_virtio_blk.proto +++ b/storage/v1alpha1/frontend_virtio_blk.proto @@ -24,7 +24,7 @@ service FrontendVirtioBlkService { // Create an Virtio Blk rpc CreateVirtioBlk (CreateVirtioBlkRequest) returns (VirtioBlk) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/virtioBlks" body: "virtio_blk" }; option (google.api.method_signature) = "virtio_blk,virtio_blk_id"; @@ -32,14 +32,14 @@ service FrontendVirtioBlkService { // Delete an Virtio Blk rpc DeleteVirtioBlk (DeleteVirtioBlkRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=VirtioBlks/*}" + delete: "/v1/{name=virtioBlks/*}" }; option (google.api.method_signature) = "name"; } // Update an Virtio Blk rpc UpdateVirtioBlk (UpdateVirtioBlkRequest) returns (VirtioBlk) { option (google.api.http) = { - patch: "/v1/{virtio_blk.name=subsystems}" + patch: "/v1/{virtio_blk.name=virtioBlks/*}" body: "virtio_blk" }; option (google.api.method_signature) = "virtio_blk,update_mask"; @@ -54,14 +54,14 @@ service FrontendVirtioBlkService { // Get an Virtio Blk rpc GetVirtioBlk (GetVirtioBlkRequest) returns (VirtioBlk) { option (google.api.http) = { - get: "/v1/{name=VirtioBlks/*}" + get: "/v1/{name=virtioBlks/*}" }; option (google.api.method_signature) = "name"; } // Get an Virtio Blk statistics rpc StatsVirtioBlk (StatsVirtioBlkRequest) returns (StatsVirtioBlkResponse) { option (google.api.http) = { - get: "/v1/{name=VirtioBlks/*}:stats" + get: "/v1/{name=virtioBlks/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -70,7 +70,7 @@ service FrontendVirtioBlkService { message VirtioBlk { option (google.api.resource) = { type: "storage.opiproject.org/VirtioBlk" - pattern: "volumes/{volume}" + pattern: "virtioBlks/{volume}" singular: "virtioBlk" plural: "virtioBlks" }; diff --git a/storage/v1alpha1/frontend_virtio_scsi.proto b/storage/v1alpha1/frontend_virtio_scsi.proto index ccbca539..68d61af1 100755 --- a/storage/v1alpha1/frontend_virtio_scsi.proto +++ b/storage/v1alpha1/frontend_virtio_scsi.proto @@ -24,7 +24,7 @@ service FrontendVirtioScsiService { // Create an Virtio Scsi Target rpc CreateVirtioScsiTarget (CreateVirtioScsiTargetRequest) returns (VirtioScsiTarget) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/virtioScsiTargets" body: "virtio_scsi_target" }; option (google.api.method_signature) = "virtio_scsi_target,virtio_scsi_target_id"; @@ -32,14 +32,14 @@ service FrontendVirtioScsiService { // Delete an Virtio Scsi Target rpc DeleteVirtioScsiTarget (DeleteVirtioScsiTargetRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=VirtioScsiTargets/*}" + delete: "/v1/{name=virtioScsiTargets/*}" }; option (google.api.method_signature) = "name"; } // Update an Virtio Scsi Target rpc UpdateVirtioScsiTarget (UpdateVirtioScsiTargetRequest) returns (VirtioScsiTarget) { option (google.api.http) = { - patch: "/v1/{virtio_scsi_target.name=subsystems}" + patch: "/v1/{virtio_scsi_target.name=virtioScsiTargets/*}" body: "virtio_scsi_target" }; option (google.api.method_signature) = "virtio_scsi_target,update_mask"; @@ -54,21 +54,21 @@ service FrontendVirtioScsiService { // Get an Virtio Scsi Target rpc GetVirtioScsiTarget (GetVirtioScsiTargetRequest) returns (VirtioScsiTarget) { option (google.api.http) = { - get: "/v1/{name=VirtioScsiTargets/*}" + get: "/v1/{name=virtioScsiTargets/*}" }; option (google.api.method_signature) = "name"; } // Get an Virtio Scsi Target statistics rpc StatsVirtioScsiTarget (StatsVirtioScsiTargetRequest) returns (StatsVirtioScsiTargetResponse) { option (google.api.http) = { - get: "/v1/{name=VirtioScsiTargets/*}:stats" + get: "/v1/{name=virtioScsiTargets/*}:stats" }; option (google.api.method_signature) = "name"; } // Create an Virtio Scsi Controller rpc CreateVirtioScsiController (CreateVirtioScsiControllerRequest) returns (VirtioScsiController) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/virtioScsiControllers" body: "virtio_scsi_controller" }; option (google.api.method_signature) = "virtio_scsi_controller,virtio_scsi_controller_id"; @@ -76,14 +76,14 @@ service FrontendVirtioScsiService { // Delete an Virtio Scsi Controller rpc DeleteVirtioScsiController (DeleteVirtioScsiControllerRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=VirtioScsiControllers/*}" + delete: "/v1/{name=virtioScsiControllers/*}" }; option (google.api.method_signature) = "name"; } // Update an Virtio Scsi Controller rpc UpdateVirtioScsiController (UpdateVirtioScsiControllerRequest) returns (VirtioScsiController) { option (google.api.http) = { - patch: "/v1/{virtio_scsi_controller.name=subsystems}" + patch: "/v1/{virtio_scsi_controller.name=virtioScsiControllers/*}" body: "virtio_scsi_controller" }; option (google.api.method_signature) = "virtio_scsi_controller,update_mask"; @@ -91,28 +91,28 @@ service FrontendVirtioScsiService { // List Virtio Scsi Controllers rpc ListVirtioScsiControllers (ListVirtioScsiControllersRequest) returns (ListVirtioScsiControllersResponse) { option (google.api.http) = { - get: "/v1/{parent=subsystems}" + get: "/v1/{parent=virtioScsiControllers}" }; option (google.api.method_signature) = "parent"; } // Get an Virtio Scsi Controller rpc GetVirtioScsiController (GetVirtioScsiControllerRequest) returns (VirtioScsiController) { option (google.api.http) = { - get: "/v1/{name=VirtioScsiControllers/*}" + get: "/v1/{name=virtioScsiControllers/*}" }; option (google.api.method_signature) = "name"; } // Get an Virtio Scsi Controller statistics rpc StatsVirtioScsiController (StatsVirtioScsiControllerRequest) returns (StatsVirtioScsiControllerResponse) { option (google.api.http) = { - get: "/v1/{name=VirtioScsiControllers/*}:stats" + get: "/v1/{name=virtioScsiControllers/*}:stats" }; option (google.api.method_signature) = "name"; } // Create an Virtio Scsi Lun rpc CreateVirtioScsiLun (CreateVirtioScsiLunRequest) returns (VirtioScsiLun) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/virtioScsiLuns" body: "virtio_scsi_lun" }; option (google.api.method_signature) = "virtio_scsi_lun,virtio_scsi_lun_id"; @@ -120,14 +120,14 @@ service FrontendVirtioScsiService { // Delete an Virtio Scsi Lun rpc DeleteVirtioScsiLun (DeleteVirtioScsiLunRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=VirtioScsiLuns/*}" + delete: "/v1/{name=virtioScsiLuns/*}" }; option (google.api.method_signature) = "name"; } // Update an Virtio Scsi Lun rpc UpdateVirtioScsiLun (UpdateVirtioScsiLunRequest) returns (VirtioScsiLun) { option (google.api.http) = { - patch: "/v1/{virtio_scsi_lun.name=subsystems}" + patch: "/v1/{virtio_scsi_lun.name=virtioScsiLuns/*}" body: "virtio_scsi_lun" }; option (google.api.method_signature) = "virtio_scsi_lun,update_mask"; @@ -142,14 +142,14 @@ service FrontendVirtioScsiService { // Get an Virtio Scsi Lun rpc GetVirtioScsiLun (GetVirtioScsiLunRequest) returns (VirtioScsiLun) { option (google.api.http) = { - get: "/v1/{name=VirtioScsiLuns/*}" + get: "/v1/{name=virtioScsiLuns/*}" }; option (google.api.method_signature) = "name"; } // Get an Virtio Scsi Lun statistics rpc StatsVirtioScsiLun (StatsVirtioScsiLunRequest) returns (StatsVirtioScsiLunResponse) { option (google.api.http) = { - get: "/v1/{name=VirtioScsiLuns/*}:stats" + get: "/v1/{name=virtioScsiLuns/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -158,7 +158,7 @@ service FrontendVirtioScsiService { message VirtioScsiTarget { option (google.api.resource) = { type: "storage.opiproject.org/VirtioScsiTarget" - pattern: "volumes/{volume}" + pattern: "virtioScsiTargets/{volume}" singular: "virtioScsiTarget" plural: "virtioScsiTargets" }; @@ -179,7 +179,7 @@ message VirtioScsiTarget { message VirtioScsiController { option (google.api.resource) = { type: "storage.opiproject.org/VirtioScsiController" - pattern: "volumes/{volume}" + pattern: "virtioScsiControllers/{volume}" singular: "virtioScsiController" plural: "virtioScsiControllers" }; @@ -206,7 +206,7 @@ message VirtioScsiController { message VirtioScsiLun { option (google.api.resource) = { type: "storage.opiproject.org/VirtioScsiLun" - pattern: "volumes/{volume}" + pattern: "virtioScsiLuns/{volume}" singular: "virtioScsiLun" plural: "virtioScsiLuns" }; diff --git a/storage/v1alpha1/middleend_encryption.proto b/storage/v1alpha1/middleend_encryption.proto index 6b417f98..c5f933cd 100755 --- a/storage/v1alpha1/middleend_encryption.proto +++ b/storage/v1alpha1/middleend_encryption.proto @@ -25,7 +25,7 @@ service MiddleendEncryptionService { // Create an Encrypted Volume rpc CreateEncryptedVolume (CreateEncryptedVolumeRequest) returns (EncryptedVolume) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/encryptedVolumes" body: "encrypted_volume" }; option (google.api.method_signature) = "encrypted_volume,encrypted_volume_id"; @@ -33,14 +33,14 @@ service MiddleendEncryptionService { // Delete an Encrypted Volume rpc DeleteEncryptedVolume (DeleteEncryptedVolumeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=EncryptedVolumes/*}" + delete: "/v1/{name=encryptedVolumes/*}" }; option (google.api.method_signature) = "name"; } // Update an Encrypted Volume rpc UpdateEncryptedVolume (UpdateEncryptedVolumeRequest) returns (EncryptedVolume) { option (google.api.http) = { - patch: "/v1/{encrypted_volume.name=subsystems}" + patch: "/v1/{encrypted_volume.name=encryptedVolumes/*}" body: "encrypted_volume" }; option (google.api.method_signature) = "encrypted_volume,update_mask"; @@ -55,14 +55,14 @@ service MiddleendEncryptionService { // Get an Encrypted Volume rpc GetEncryptedVolume (GetEncryptedVolumeRequest) returns (EncryptedVolume) { option (google.api.http) = { - get: "/v1/{name=EncryptedVolumes/*}" + get: "/v1/{name=encryptedVolumes/*}" }; option (google.api.method_signature) = "name"; } // Get an Encrypted Volume statistics rpc StatsEncryptedVolume (StatsEncryptedVolumeRequest) returns (StatsEncryptedVolumeResponse) { option (google.api.http) = { - get: "/v1/{name=EncryptedVolumes/*}:stats" + get: "/v1/{name=encryptedVolumes/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -71,7 +71,7 @@ service MiddleendEncryptionService { message EncryptedVolume { option (google.api.resource) = { type: "storage.opiproject.org/EncryptedVolume" - pattern: "volumes/{volume}" + pattern: "encryptedVolumes/{volume}" singular: "encryptedVolume" plural: "encryptedVolumes" }; diff --git a/storage/v1alpha1/middleend_qos_volume.proto b/storage/v1alpha1/middleend_qos_volume.proto index ffa5f5d2..0ce208b4 100644 --- a/storage/v1alpha1/middleend_qos_volume.proto +++ b/storage/v1alpha1/middleend_qos_volume.proto @@ -23,7 +23,7 @@ service MiddleendQosVolumeService { // Create an Qos Volume rpc CreateQosVolume(CreateQosVolumeRequest) returns (QosVolume) { option (google.api.http) = { - post: "/v1/volumes" + post: "/v1/qosVolumes" body : "qos_volume" }; option (google.api.method_signature) = "qos_volume,qos_volume_id"; @@ -31,14 +31,14 @@ service MiddleendQosVolumeService { // Delete an Qos Volume rpc DeleteQosVolume(DeleteQosVolumeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - delete: "/v1/{name=QosVolumes/*}" + delete: "/v1/{name=qosVolumes/*}" }; option (google.api.method_signature) = "name"; } // Update an Qos Volume rpc UpdateQosVolume(UpdateQosVolumeRequest) returns (QosVolume) { option (google.api.http) = { - patch : "/v1/{qos_volume.name=subsystems}" + patch : "/v1/{qos_volume.name=qosVolumes/*}" body : "qos_volume" }; option (google.api.method_signature) = "qos_volume,update_mask"; @@ -53,14 +53,14 @@ service MiddleendQosVolumeService { // Get an Qos Volume rpc GetQosVolume(GetQosVolumeRequest) returns (QosVolume) { option (google.api.http) = { - get: "/v1/{name=QosVolumes/*}" + get: "/v1/{name=qosVolumes/*}" }; option (google.api.method_signature) = "name"; } // Get an Qos Volume statistics rpc StatsQosVolume(StatsQosVolumeRequest) returns (StatsQosVolumeResponse) { option (google.api.http) = { - get: "/v1/{name=QosVolumes/*}:stats" + get: "/v1/{name=qosVolumes/*}:stats" }; option (google.api.method_signature) = "name"; } @@ -69,7 +69,7 @@ service MiddleendQosVolumeService { message QosVolume { option (google.api.resource) = { type: "storage.opiproject.org/QosVolume" - pattern: "volumes/{volume}" + pattern: "qosVolumes/{volume}" singular: "qosVolume" plural: "qosVolumes" };