google-cloud-netapp-v1 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +3 -0
- data/lib/google/cloud/netapp/v1/netapp/client.rb +102 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +95 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +60 -0
- data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +1 -1
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +15 -0
- data/proto_docs/google/cloud/netapp/v1/volume.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16419449741ab42d8853c4fe559bb26069aad6d79e7d788d76d6f73c5be480aa
|
4
|
+
data.tar.gz: c930796c10cc6f48877d33f17ba42eb3f55e2d98635623665ae3e4710c81b756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dc7e589e410bef4ab9d3b53355a4de250656558dcbd2cef2915e14db9771a59cf63314bcdee244f48ddb1acd42fc3cddd20e54c31957aa4077c84b34cb0b3cd
|
7
|
+
data.tar.gz: ee0d3f20ccdaf064edb1d1b2224bc503cea833e9ed4c1efe9a2d834c95c79e6efc6a21837fc69111118ae3f0545c508965b569d051f9fd90b19d5a3e1c02385a
|
@@ -22,7 +22,7 @@ require 'google/protobuf/empty_pb'
|
|
22
22
|
require 'google/protobuf/timestamp_pb'
|
23
23
|
|
24
24
|
|
25
|
-
descriptor_data = "\n1google/cloud/netapp/v1/cloud_netapp_service.proto\x12\x16google.cloud.netapp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/netapp/v1/active_directory.proto\x1a#google/cloud/netapp/v1/backup.proto\x1a*google/cloud/netapp/v1/backup_policy.proto\x1a)google/cloud/netapp/v1/backup_vault.proto\x1a google/cloud/netapp/v1/kms.proto\x1a(google/cloud/netapp/v1/replication.proto\x1a%google/cloud/netapp/v1/snapshot.proto\x1a)google/cloud/netapp/v1/storage_pool.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xe0T\n\x06NetApp\x12\xb8\x01\n\x10ListStoragePools\x12/.google.cloud.netapp.v1.ListStoragePoolsRequest\x1a\x30.google.cloud.netapp.v1.ListStoragePoolsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/storagePools\x12\xf6\x01\n\x11\x43reateStoragePool\x12\x30.google.cloud.netapp.v1.CreateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\xda\x41#parent,storage_pool,storage_pool_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/storagePools:\x0cstorage_pool\x12\xa5\x01\n\x0eGetStoragePool\x12-.google.cloud.netapp.v1.GetStoragePoolRequest\x1a#.google.cloud.netapp.v1.StoragePool\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/storagePools/*}\x12\xf8\x01\n\x11UpdateStoragePool\x12\x30.google.cloud.netapp.v1.UpdateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\xda\x41\x18storage_pool,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}:\x0cstorage_pool\x12\xd2\x01\n\x11\x44\x65leteStoragePool\x12\x30.google.cloud.netapp.v1.DeleteStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/storagePools/*}\x12\xa4\x01\n\x0bListVolumes\x12*.google.cloud.netapp.v1.ListVolumesRequest\x1a+.google.cloud.netapp.v1.ListVolumesResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/volumes\x12\x91\x01\n\tGetVolume\x12(.google.cloud.netapp.v1.GetVolumeRequest\x1a\x1e.google.cloud.netapp.v1.Volume\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/volumes/*}\x12\xcf\x01\n\x0c\x43reateVolume\x12+.google.cloud.netapp.v1.CreateVolumeRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\xda\x41\x17parent,volume,volume_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/volumes:\x06volume\x12\xd1\x01\n\x0cUpdateVolume\x12+.google.cloud.netapp.v1.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\xda\x41\x12volume,update_mask\x82\xd3\xe4\x93\x02<22/v1/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\x12\xc3\x01\n\x0c\x44\x65leteVolume\x12+.google.cloud.netapp.v1.DeleteVolumeRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/volumes/*}\x12\xb7\x01\n\x0cRevertVolume\x12+.google.cloud.netapp.v1.RevertVolumeRequest\x1a\x1d.google.longrunning.Operation\"[\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/volumes/*}:revert:\x01*\x12\xb6\x01\n\rListSnapshots\x12,.google.cloud.netapp.v1.ListSnapshotsRequest\x1a-.google.cloud.netapp.v1.ListSnapshotsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/volumes/*}/snapshots\x12\xa3\x01\n\x0bGetSnapshot\x12*.google.cloud.netapp.v1.GetSnapshotRequest\x1a .google.cloud.netapp.v1.Snapshot\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\x12\xe8\x01\n\x0e\x43reateSnapshot\x12-.google.cloud.netapp.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\xda\x41\x1bparent,snapshot,snapshot_id\x82\xd3\xe4\x93\x02\x43\"7/v1/{parent=projects/*/locations/*/volumes/*}/snapshots:\x08snapshot\x12\xd3\x01\n\x0e\x44\x65leteSnapshot\x12-.google.cloud.netapp.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\x12\xea\x01\n\x0eUpdateSnapshot\x12-.google.cloud.netapp.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\xda\x41\x14snapshot,update_mask\x82\xd3\xe4\x93\x02L2@/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}:\x08snapshot\x12\xcc\x01\n\x15ListActiveDirectories\x12\x34.google.cloud.netapp.v1.ListActiveDirectoriesRequest\x1a\x35.google.cloud.netapp.v1.ListActiveDirectoriesResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/activeDirectories\x12\xb6\x01\n\x12GetActiveDirectory\x12\x31.google.cloud.netapp.v1.GetActiveDirectoryRequest\x1a\'.google.cloud.netapp.v1.ActiveDirectory\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/activeDirectories/*}\x12\x93\x02\n\x15\x43reateActiveDirectory\x12\x34.google.cloud.netapp.v1.CreateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\xda\x41+parent,active_directory,active_directory_id\x82\xd3\xe4\x93\x02I\"5/v1/{parent=projects/*/locations/*}/activeDirectories:\x10\x61\x63tive_directory\x12\x95\x02\n\x15UpdateActiveDirectory\x12\x34.google.cloud.netapp.v1.UpdateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\xda\x41\x1c\x61\x63tive_directory,update_mask\x82\xd3\xe4\x93\x02Z2F/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}:\x10\x61\x63tive_directory\x12\xdf\x01\n\x15\x44\x65leteActiveDirectory\x12\x34.google.cloud.netapp.v1.DeleteActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/activeDirectories/*}\x12\xb0\x01\n\x0eListKmsConfigs\x12-.google.cloud.netapp.v1.ListKmsConfigsRequest\x1a..google.cloud.netapp.v1.ListKmsConfigsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/kmsConfigs\x12\xe8\x01\n\x0f\x43reateKmsConfig\x12..google.cloud.netapp.v1.CreateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\xda\x41\x1fparent,kms_config,kms_config_id\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/kmsConfigs:\nkms_config\x12\x9d\x01\n\x0cGetKmsConfig\x12+.google.cloud.netapp.v1.GetKmsConfigRequest\x1a!.google.cloud.netapp.v1.KmsConfig\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/kmsConfigs/*}\x12\xea\x01\n\x0fUpdateKmsConfig\x12..google.cloud.netapp.v1.UpdateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\xda\x41\x16kms_config,update_mask\x82\xd3\xe4\x93\x02G29/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}:\nkms_config\x12\xc2\x01\n\x0e\x45ncryptVolumes\x12-.google.cloud.netapp.v1.EncryptVolumesRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt:\x01*\x12\xb4\x01\n\x0fVerifyKmsConfig\x12..google.cloud.netapp.v1.VerifyKmsConfigRequest\x1a/.google.cloud.netapp.v1.VerifyKmsConfigResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/kmsConfigs/*}:verify:\x01*\x12\xcc\x01\n\x0f\x44\x65leteKmsConfig\x12..google.cloud.netapp.v1.DeleteKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/kmsConfigs/*}\x12\xc2\x01\n\x10ListReplications\x12/.google.cloud.netapp.v1.ListReplicationsRequest\x1a\x30.google.cloud.netapp.v1.ListReplicationsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/volumes/*}/replications\x12\xaf\x01\n\x0eGetReplication\x12-.google.cloud.netapp.v1.GetReplicationRequest\x1a#.google.cloud.netapp.v1.Replication\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\x12\xfd\x01\n\x11\x43reateReplication\x12\x30.google.cloud.netapp.v1.CreateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\xda\x41!parent,replication,replication_id\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/volumes/*}/replications:\x0breplication\x12\xdc\x01\n\x11\x44\x65leteReplication\x12\x30.google.cloud.netapp.v1.DeleteReplicationRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\x12\xff\x01\n\x11UpdateReplication\x12\x30.google.cloud.netapp.v1.UpdateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\xda\x41\x17replication,update_mask\x82\xd3\xe4\x93\x02U2F/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}:\x0breplication\x12\xcf\x01\n\x0fStopReplication\x12..google.cloud.netapp.v1.StopReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop:\x01*\x12\xd5\x01\n\x11ResumeReplication\x12\x30.google.cloud.netapp.v1.ResumeReplicationRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume:\x01*\x12\xf3\x01\n\x1bReverseReplicationDirection\x12:.google.cloud.netapp.v1.ReverseReplicationDirectionRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection:\x01*\x12\xf6\x01\n\x11\x43reateBackupVault\x12\x30.google.cloud.netapp.v1.CreateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\xda\x41#parent,backup_vault,backup_vault_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/backupVaults:\x0c\x62\x61\x63kup_vault\x12\xa5\x01\n\x0eGetBackupVault\x12-.google.cloud.netapp.v1.GetBackupVaultRequest\x1a#.google.cloud.netapp.v1.BackupVault\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/backupVaults/*}\x12\xb8\x01\n\x10ListBackupVaults\x12/.google.cloud.netapp.v1.ListBackupVaultsRequest\x1a\x30.google.cloud.netapp.v1.ListBackupVaultsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/backupVaults\x12\xf8\x01\n\x11UpdateBackupVault\x12\x30.google.cloud.netapp.v1.UpdateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\xda\x41\x18\x62\x61\x63kup_vault,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{backup_vault.name=projects/*/locations/*/backupVaults/*}:\x0c\x62\x61\x63kup_vault\x12\xd2\x01\n\x11\x44\x65leteBackupVault\x12\x30.google.cloud.netapp.v1.DeleteBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/backupVaults/*}\x12\xdf\x01\n\x0c\x43reateBackup\x12+.google.cloud.netapp.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x44\":/v1/{parent=projects/*/locations/*/backupVaults/*}/backups:\x06\x62\x61\x63kup\x12\xa0\x01\n\tGetBackup\x12(.google.cloud.netapp.v1.GetBackupRequest\x1a\x1e.google.cloud.netapp.v1.Backup\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\x12\xb3\x01\n\x0bListBackups\x12*.google.cloud.netapp.v1.ListBackupsRequest\x1a+.google.cloud.netapp.v1.ListBackupsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/backupVaults/*}/backups\x12\xd2\x01\n\x0c\x44\x65leteBackup\x12+.google.cloud.netapp.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\x12\xe1\x01\n\x0cUpdateBackup\x12+.google.cloud.netapp.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02K2A/v1/{backup.name=projects/*/locations/*/backupVaults/*/backups/*}:\x06\x62\x61\x63kup\x12\xfe\x01\n\x12\x43reateBackupPolicy\x12\x31.google.cloud.netapp.v1.CreateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\xda\x41%parent,backup_policy,backup_policy_id\x82\xd3\xe4\x93\x02\x43\"2/v1/{parent=projects/*/locations/*}/backupPolicies:\rbackup_policy\x12\xaa\x01\n\x0fGetBackupPolicy\x12..google.cloud.netapp.v1.GetBackupPolicyRequest\x1a$.google.cloud.netapp.v1.BackupPolicy\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/backupPolicies/*}\x12\xc0\x01\n\x12ListBackupPolicies\x12\x31.google.cloud.netapp.v1.ListBackupPoliciesRequest\x1a\x32.google.cloud.netapp.v1.ListBackupPoliciesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/backupPolicies\x12\x80\x02\n\x12UpdateBackupPolicy\x12\x31.google.cloud.netapp.v1.UpdateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\xda\x41\x19\x62\x61\x63kup_policy,update_mask\x82\xd3\xe4\x93\x02Q2@/v1/{backup_policy.name=projects/*/locations/*/backupPolicies/*}:\rbackup_policy\x12\xd6\x01\n\x12\x44\x65leteBackupPolicy\x12\x31.google.cloud.netapp.v1.DeleteBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/backupPolicies/*}\x1aI\xca\x41\x15netapp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8a\x02\n\x1a\x63om.google.cloud.netapp.v1B\x17\x43loudNetappServiceProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
25
|
+
descriptor_data = "\n1google/cloud/netapp/v1/cloud_netapp_service.proto\x12\x16google.cloud.netapp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/netapp/v1/active_directory.proto\x1a#google/cloud/netapp/v1/backup.proto\x1a*google/cloud/netapp/v1/backup_policy.proto\x1a)google/cloud/netapp/v1/backup_vault.proto\x1a google/cloud/netapp/v1/kms.proto\x1a(google/cloud/netapp/v1/replication.proto\x1a%google/cloud/netapp/v1/snapshot.proto\x1a)google/cloud/netapp/v1/storage_pool.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xbaV\n\x06NetApp\x12\xb8\x01\n\x10ListStoragePools\x12/.google.cloud.netapp.v1.ListStoragePoolsRequest\x1a\x30.google.cloud.netapp.v1.ListStoragePoolsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/storagePools\x12\xf6\x01\n\x11\x43reateStoragePool\x12\x30.google.cloud.netapp.v1.CreateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\xda\x41#parent,storage_pool,storage_pool_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/storagePools:\x0cstorage_pool\x12\xa5\x01\n\x0eGetStoragePool\x12-.google.cloud.netapp.v1.GetStoragePoolRequest\x1a#.google.cloud.netapp.v1.StoragePool\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/storagePools/*}\x12\xf8\x01\n\x11UpdateStoragePool\x12\x30.google.cloud.netapp.v1.UpdateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\xda\x41\x18storage_pool,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}:\x0cstorage_pool\x12\xd2\x01\n\x11\x44\x65leteStoragePool\x12\x30.google.cloud.netapp.v1.DeleteStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/storagePools/*}\x12\xd7\x01\n\x17SwitchActiveReplicaZone\x12\x36.google.cloud.netapp.v1.SwitchActiveReplicaZoneRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/storagePools/*}:switch:\x01*\x12\xa4\x01\n\x0bListVolumes\x12*.google.cloud.netapp.v1.ListVolumesRequest\x1a+.google.cloud.netapp.v1.ListVolumesResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/volumes\x12\x91\x01\n\tGetVolume\x12(.google.cloud.netapp.v1.GetVolumeRequest\x1a\x1e.google.cloud.netapp.v1.Volume\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/volumes/*}\x12\xcf\x01\n\x0c\x43reateVolume\x12+.google.cloud.netapp.v1.CreateVolumeRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\xda\x41\x17parent,volume,volume_id\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/volumes:\x06volume\x12\xd1\x01\n\x0cUpdateVolume\x12+.google.cloud.netapp.v1.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\xda\x41\x12volume,update_mask\x82\xd3\xe4\x93\x02<22/v1/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\x12\xc3\x01\n\x0c\x44\x65leteVolume\x12+.google.cloud.netapp.v1.DeleteVolumeRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/volumes/*}\x12\xb7\x01\n\x0cRevertVolume\x12+.google.cloud.netapp.v1.RevertVolumeRequest\x1a\x1d.google.longrunning.Operation\"[\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/volumes/*}:revert:\x01*\x12\xb6\x01\n\rListSnapshots\x12,.google.cloud.netapp.v1.ListSnapshotsRequest\x1a-.google.cloud.netapp.v1.ListSnapshotsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/volumes/*}/snapshots\x12\xa3\x01\n\x0bGetSnapshot\x12*.google.cloud.netapp.v1.GetSnapshotRequest\x1a .google.cloud.netapp.v1.Snapshot\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\x12\xe8\x01\n\x0e\x43reateSnapshot\x12-.google.cloud.netapp.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\xda\x41\x1bparent,snapshot,snapshot_id\x82\xd3\xe4\x93\x02\x43\"7/v1/{parent=projects/*/locations/*/volumes/*}/snapshots:\x08snapshot\x12\xd3\x01\n\x0e\x44\x65leteSnapshot\x12-.google.cloud.netapp.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\x12\xea\x01\n\x0eUpdateSnapshot\x12-.google.cloud.netapp.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\xda\x41\x14snapshot,update_mask\x82\xd3\xe4\x93\x02L2@/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}:\x08snapshot\x12\xcc\x01\n\x15ListActiveDirectories\x12\x34.google.cloud.netapp.v1.ListActiveDirectoriesRequest\x1a\x35.google.cloud.netapp.v1.ListActiveDirectoriesResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/activeDirectories\x12\xb6\x01\n\x12GetActiveDirectory\x12\x31.google.cloud.netapp.v1.GetActiveDirectoryRequest\x1a\'.google.cloud.netapp.v1.ActiveDirectory\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/activeDirectories/*}\x12\x93\x02\n\x15\x43reateActiveDirectory\x12\x34.google.cloud.netapp.v1.CreateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\xda\x41+parent,active_directory,active_directory_id\x82\xd3\xe4\x93\x02I\"5/v1/{parent=projects/*/locations/*}/activeDirectories:\x10\x61\x63tive_directory\x12\x95\x02\n\x15UpdateActiveDirectory\x12\x34.google.cloud.netapp.v1.UpdateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\xda\x41\x1c\x61\x63tive_directory,update_mask\x82\xd3\xe4\x93\x02Z2F/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}:\x10\x61\x63tive_directory\x12\xdf\x01\n\x15\x44\x65leteActiveDirectory\x12\x34.google.cloud.netapp.v1.DeleteActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/activeDirectories/*}\x12\xb0\x01\n\x0eListKmsConfigs\x12-.google.cloud.netapp.v1.ListKmsConfigsRequest\x1a..google.cloud.netapp.v1.ListKmsConfigsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/kmsConfigs\x12\xe8\x01\n\x0f\x43reateKmsConfig\x12..google.cloud.netapp.v1.CreateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\xda\x41\x1fparent,kms_config,kms_config_id\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/kmsConfigs:\nkms_config\x12\x9d\x01\n\x0cGetKmsConfig\x12+.google.cloud.netapp.v1.GetKmsConfigRequest\x1a!.google.cloud.netapp.v1.KmsConfig\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/kmsConfigs/*}\x12\xea\x01\n\x0fUpdateKmsConfig\x12..google.cloud.netapp.v1.UpdateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\xda\x41\x16kms_config,update_mask\x82\xd3\xe4\x93\x02G29/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}:\nkms_config\x12\xc2\x01\n\x0e\x45ncryptVolumes\x12-.google.cloud.netapp.v1.EncryptVolumesRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt:\x01*\x12\xb4\x01\n\x0fVerifyKmsConfig\x12..google.cloud.netapp.v1.VerifyKmsConfigRequest\x1a/.google.cloud.netapp.v1.VerifyKmsConfigResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/kmsConfigs/*}:verify:\x01*\x12\xcc\x01\n\x0f\x44\x65leteKmsConfig\x12..google.cloud.netapp.v1.DeleteKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/kmsConfigs/*}\x12\xc2\x01\n\x10ListReplications\x12/.google.cloud.netapp.v1.ListReplicationsRequest\x1a\x30.google.cloud.netapp.v1.ListReplicationsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/volumes/*}/replications\x12\xaf\x01\n\x0eGetReplication\x12-.google.cloud.netapp.v1.GetReplicationRequest\x1a#.google.cloud.netapp.v1.Replication\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\x12\xfd\x01\n\x11\x43reateReplication\x12\x30.google.cloud.netapp.v1.CreateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\xda\x41!parent,replication,replication_id\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/volumes/*}/replications:\x0breplication\x12\xdc\x01\n\x11\x44\x65leteReplication\x12\x30.google.cloud.netapp.v1.DeleteReplicationRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\x12\xff\x01\n\x11UpdateReplication\x12\x30.google.cloud.netapp.v1.UpdateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\xda\x41\x17replication,update_mask\x82\xd3\xe4\x93\x02U2F/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}:\x0breplication\x12\xcf\x01\n\x0fStopReplication\x12..google.cloud.netapp.v1.StopReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop:\x01*\x12\xd5\x01\n\x11ResumeReplication\x12\x30.google.cloud.netapp.v1.ResumeReplicationRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume:\x01*\x12\xf3\x01\n\x1bReverseReplicationDirection\x12:.google.cloud.netapp.v1.ReverseReplicationDirectionRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection:\x01*\x12\xf6\x01\n\x11\x43reateBackupVault\x12\x30.google.cloud.netapp.v1.CreateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\xda\x41#parent,backup_vault,backup_vault_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/backupVaults:\x0c\x62\x61\x63kup_vault\x12\xa5\x01\n\x0eGetBackupVault\x12-.google.cloud.netapp.v1.GetBackupVaultRequest\x1a#.google.cloud.netapp.v1.BackupVault\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/backupVaults/*}\x12\xb8\x01\n\x10ListBackupVaults\x12/.google.cloud.netapp.v1.ListBackupVaultsRequest\x1a\x30.google.cloud.netapp.v1.ListBackupVaultsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/backupVaults\x12\xf8\x01\n\x11UpdateBackupVault\x12\x30.google.cloud.netapp.v1.UpdateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\xda\x41\x18\x62\x61\x63kup_vault,update_mask\x82\xd3\xe4\x93\x02M2=/v1/{backup_vault.name=projects/*/locations/*/backupVaults/*}:\x0c\x62\x61\x63kup_vault\x12\xd2\x01\n\x11\x44\x65leteBackupVault\x12\x30.google.cloud.netapp.v1.DeleteBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/backupVaults/*}\x12\xdf\x01\n\x0c\x43reateBackup\x12+.google.cloud.netapp.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x17parent,backup,backup_id\x82\xd3\xe4\x93\x02\x44\":/v1/{parent=projects/*/locations/*/backupVaults/*}/backups:\x06\x62\x61\x63kup\x12\xa0\x01\n\tGetBackup\x12(.google.cloud.netapp.v1.GetBackupRequest\x1a\x1e.google.cloud.netapp.v1.Backup\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\x12\xb3\x01\n\x0bListBackups\x12*.google.cloud.netapp.v1.ListBackupsRequest\x1a+.google.cloud.netapp.v1.ListBackupsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/backupVaults/*}/backups\x12\xd2\x01\n\x0c\x44\x65leteBackup\x12+.google.cloud.netapp.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\x12\xe1\x01\n\x0cUpdateBackup\x12+.google.cloud.netapp.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02K2A/v1/{backup.name=projects/*/locations/*/backupVaults/*/backups/*}:\x06\x62\x61\x63kup\x12\xfe\x01\n\x12\x43reateBackupPolicy\x12\x31.google.cloud.netapp.v1.CreateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\xda\x41%parent,backup_policy,backup_policy_id\x82\xd3\xe4\x93\x02\x43\"2/v1/{parent=projects/*/locations/*}/backupPolicies:\rbackup_policy\x12\xaa\x01\n\x0fGetBackupPolicy\x12..google.cloud.netapp.v1.GetBackupPolicyRequest\x1a$.google.cloud.netapp.v1.BackupPolicy\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/backupPolicies/*}\x12\xc0\x01\n\x12ListBackupPolicies\x12\x31.google.cloud.netapp.v1.ListBackupPoliciesRequest\x1a\x32.google.cloud.netapp.v1.ListBackupPoliciesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/backupPolicies\x12\x80\x02\n\x12UpdateBackupPolicy\x12\x31.google.cloud.netapp.v1.UpdateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\xda\x41\x19\x62\x61\x63kup_policy,update_mask\x82\xd3\xe4\x93\x02Q2@/v1/{backup_policy.name=projects/*/locations/*/backupPolicies/*}:\rbackup_policy\x12\xd6\x01\n\x12\x44\x65leteBackupPolicy\x12\x31.google.cloud.netapp.v1.DeleteBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/backupPolicies/*}\x1aI\xca\x41\x15netapp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8a\x02\n\x1a\x63om.google.cloud.netapp.v1B\x17\x43loudNetappServiceProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
26
26
|
|
27
27
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
28
28
|
|
@@ -43,6 +43,9 @@ module Google
|
|
43
43
|
rpc :UpdateStoragePool, ::Google::Cloud::NetApp::V1::UpdateStoragePoolRequest, ::Google::Longrunning::Operation
|
44
44
|
# Warning! This operation will permanently delete the storage pool.
|
45
45
|
rpc :DeleteStoragePool, ::Google::Cloud::NetApp::V1::DeleteStoragePoolRequest, ::Google::Longrunning::Operation
|
46
|
+
# This operation will switch the active/replica zone for a regional
|
47
|
+
# storagePool.
|
48
|
+
rpc :SwitchActiveReplicaZone, ::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest, ::Google::Longrunning::Operation
|
46
49
|
# Lists Volumes in a given project.
|
47
50
|
rpc :ListVolumes, ::Google::Cloud::NetApp::V1::ListVolumesRequest, ::Google::Cloud::NetApp::V1::ListVolumesResponse
|
48
51
|
# Gets details of a single Volume.
|
@@ -830,6 +830,101 @@ module Google
|
|
830
830
|
raise ::Google::Cloud::Error.from_error(e)
|
831
831
|
end
|
832
832
|
|
833
|
+
##
|
834
|
+
# This operation will switch the active/replica zone for a regional
|
835
|
+
# storagePool.
|
836
|
+
#
|
837
|
+
# @overload switch_active_replica_zone(request, options = nil)
|
838
|
+
# Pass arguments to `switch_active_replica_zone` via a request object, either of type
|
839
|
+
# {::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest} or an equivalent Hash.
|
840
|
+
#
|
841
|
+
# @param request [::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest, ::Hash]
|
842
|
+
# A request object representing the call parameters. Required. To specify no
|
843
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
844
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
845
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
846
|
+
#
|
847
|
+
# @overload switch_active_replica_zone(name: nil)
|
848
|
+
# Pass arguments to `switch_active_replica_zone` via keyword arguments. Note that at
|
849
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
850
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
851
|
+
#
|
852
|
+
# @param name [::String]
|
853
|
+
# Required. Name of the storage pool
|
854
|
+
#
|
855
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
856
|
+
# @yieldparam response [::Gapic::Operation]
|
857
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
858
|
+
#
|
859
|
+
# @return [::Gapic::Operation]
|
860
|
+
#
|
861
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
862
|
+
#
|
863
|
+
# @example Basic example
|
864
|
+
# require "google/cloud/netapp/v1"
|
865
|
+
#
|
866
|
+
# # Create a client object. The client can be reused for multiple calls.
|
867
|
+
# client = Google::Cloud::NetApp::V1::NetApp::Client.new
|
868
|
+
#
|
869
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
870
|
+
# request = Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest.new
|
871
|
+
#
|
872
|
+
# # Call the switch_active_replica_zone method.
|
873
|
+
# result = client.switch_active_replica_zone request
|
874
|
+
#
|
875
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
876
|
+
# # check the status of an operation, cancel it, or wait for results.
|
877
|
+
# # Here is how to wait for a response.
|
878
|
+
# result.wait_until_done! timeout: 60
|
879
|
+
# if result.response?
|
880
|
+
# p result.response
|
881
|
+
# else
|
882
|
+
# puts "No response received."
|
883
|
+
# end
|
884
|
+
#
|
885
|
+
def switch_active_replica_zone request, options = nil
|
886
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
887
|
+
|
888
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest
|
889
|
+
|
890
|
+
# Converts hash and nil to an options object
|
891
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
892
|
+
|
893
|
+
# Customize the options with defaults
|
894
|
+
metadata = @config.rpcs.switch_active_replica_zone.metadata.to_h
|
895
|
+
|
896
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
897
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
898
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
899
|
+
gapic_version: ::Google::Cloud::NetApp::V1::VERSION
|
900
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
901
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
902
|
+
|
903
|
+
header_params = {}
|
904
|
+
if request.name
|
905
|
+
header_params["name"] = request.name
|
906
|
+
end
|
907
|
+
|
908
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
909
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
910
|
+
|
911
|
+
options.apply_defaults timeout: @config.rpcs.switch_active_replica_zone.timeout,
|
912
|
+
metadata: metadata,
|
913
|
+
retry_policy: @config.rpcs.switch_active_replica_zone.retry_policy
|
914
|
+
|
915
|
+
options.apply_defaults timeout: @config.timeout,
|
916
|
+
metadata: @config.metadata,
|
917
|
+
retry_policy: @config.retry_policy
|
918
|
+
|
919
|
+
@net_app_stub.call_rpc :switch_active_replica_zone, request, options: options do |response, operation|
|
920
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
921
|
+
yield response, operation if block_given?
|
922
|
+
return response
|
923
|
+
end
|
924
|
+
rescue ::GRPC::BadStatus => e
|
925
|
+
raise ::Google::Cloud::Error.from_error(e)
|
926
|
+
end
|
927
|
+
|
833
928
|
##
|
834
929
|
# Lists Volumes in a given project.
|
835
930
|
#
|
@@ -5471,6 +5566,11 @@ module Google
|
|
5471
5566
|
#
|
5472
5567
|
attr_reader :delete_storage_pool
|
5473
5568
|
##
|
5569
|
+
# RPC-specific configuration for `switch_active_replica_zone`
|
5570
|
+
# @return [::Gapic::Config::Method]
|
5571
|
+
#
|
5572
|
+
attr_reader :switch_active_replica_zone
|
5573
|
+
##
|
5474
5574
|
# RPC-specific configuration for `list_volumes`
|
5475
5575
|
# @return [::Gapic::Config::Method]
|
5476
5576
|
#
|
@@ -5713,6 +5813,8 @@ module Google
|
|
5713
5813
|
@update_storage_pool = ::Gapic::Config::Method.new update_storage_pool_config
|
5714
5814
|
delete_storage_pool_config = parent_rpcs.delete_storage_pool if parent_rpcs.respond_to? :delete_storage_pool
|
5715
5815
|
@delete_storage_pool = ::Gapic::Config::Method.new delete_storage_pool_config
|
5816
|
+
switch_active_replica_zone_config = parent_rpcs.switch_active_replica_zone if parent_rpcs.respond_to? :switch_active_replica_zone
|
5817
|
+
@switch_active_replica_zone = ::Gapic::Config::Method.new switch_active_replica_zone_config
|
5716
5818
|
list_volumes_config = parent_rpcs.list_volumes if parent_rpcs.respond_to? :list_volumes
|
5717
5819
|
@list_volumes = ::Gapic::Config::Method.new list_volumes_config
|
5718
5820
|
get_volume_config = parent_rpcs.get_volume if parent_rpcs.respond_to? :get_volume
|
@@ -788,6 +788,94 @@ module Google
|
|
788
788
|
raise ::Google::Cloud::Error.from_error(e)
|
789
789
|
end
|
790
790
|
|
791
|
+
##
|
792
|
+
# This operation will switch the active/replica zone for a regional
|
793
|
+
# storagePool.
|
794
|
+
#
|
795
|
+
# @overload switch_active_replica_zone(request, options = nil)
|
796
|
+
# Pass arguments to `switch_active_replica_zone` via a request object, either of type
|
797
|
+
# {::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest} or an equivalent Hash.
|
798
|
+
#
|
799
|
+
# @param request [::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest, ::Hash]
|
800
|
+
# A request object representing the call parameters. Required. To specify no
|
801
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
802
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
803
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
804
|
+
#
|
805
|
+
# @overload switch_active_replica_zone(name: nil)
|
806
|
+
# Pass arguments to `switch_active_replica_zone` via keyword arguments. Note that at
|
807
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
808
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
809
|
+
#
|
810
|
+
# @param name [::String]
|
811
|
+
# Required. Name of the storage pool
|
812
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
813
|
+
# @yieldparam result [::Gapic::Operation]
|
814
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
815
|
+
#
|
816
|
+
# @return [::Gapic::Operation]
|
817
|
+
#
|
818
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
819
|
+
#
|
820
|
+
# @example Basic example
|
821
|
+
# require "google/cloud/netapp/v1"
|
822
|
+
#
|
823
|
+
# # Create a client object. The client can be reused for multiple calls.
|
824
|
+
# client = Google::Cloud::NetApp::V1::NetApp::Rest::Client.new
|
825
|
+
#
|
826
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
827
|
+
# request = Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest.new
|
828
|
+
#
|
829
|
+
# # Call the switch_active_replica_zone method.
|
830
|
+
# result = client.switch_active_replica_zone request
|
831
|
+
#
|
832
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
833
|
+
# # check the status of an operation, cancel it, or wait for results.
|
834
|
+
# # Here is how to wait for a response.
|
835
|
+
# result.wait_until_done! timeout: 60
|
836
|
+
# if result.response?
|
837
|
+
# p result.response
|
838
|
+
# else
|
839
|
+
# puts "No response received."
|
840
|
+
# end
|
841
|
+
#
|
842
|
+
def switch_active_replica_zone request, options = nil
|
843
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
844
|
+
|
845
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest
|
846
|
+
|
847
|
+
# Converts hash and nil to an options object
|
848
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
849
|
+
|
850
|
+
# Customize the options with defaults
|
851
|
+
call_metadata = @config.rpcs.switch_active_replica_zone.metadata.to_h
|
852
|
+
|
853
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
854
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
855
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
856
|
+
gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
|
857
|
+
transports_version_send: [:rest]
|
858
|
+
|
859
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
860
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
861
|
+
|
862
|
+
options.apply_defaults timeout: @config.rpcs.switch_active_replica_zone.timeout,
|
863
|
+
metadata: call_metadata,
|
864
|
+
retry_policy: @config.rpcs.switch_active_replica_zone.retry_policy
|
865
|
+
|
866
|
+
options.apply_defaults timeout: @config.timeout,
|
867
|
+
metadata: @config.metadata,
|
868
|
+
retry_policy: @config.retry_policy
|
869
|
+
|
870
|
+
@net_app_stub.switch_active_replica_zone request, options do |result, operation|
|
871
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
872
|
+
yield result, operation if block_given?
|
873
|
+
return result
|
874
|
+
end
|
875
|
+
rescue ::Gapic::Rest::Error => e
|
876
|
+
raise ::Google::Cloud::Error.from_error(e)
|
877
|
+
end
|
878
|
+
|
791
879
|
##
|
792
880
|
# Lists Volumes in a given project.
|
793
881
|
#
|
@@ -5086,6 +5174,11 @@ module Google
|
|
5086
5174
|
#
|
5087
5175
|
attr_reader :delete_storage_pool
|
5088
5176
|
##
|
5177
|
+
# RPC-specific configuration for `switch_active_replica_zone`
|
5178
|
+
# @return [::Gapic::Config::Method]
|
5179
|
+
#
|
5180
|
+
attr_reader :switch_active_replica_zone
|
5181
|
+
##
|
5089
5182
|
# RPC-specific configuration for `list_volumes`
|
5090
5183
|
# @return [::Gapic::Config::Method]
|
5091
5184
|
#
|
@@ -5328,6 +5421,8 @@ module Google
|
|
5328
5421
|
@update_storage_pool = ::Gapic::Config::Method.new update_storage_pool_config
|
5329
5422
|
delete_storage_pool_config = parent_rpcs.delete_storage_pool if parent_rpcs.respond_to? :delete_storage_pool
|
5330
5423
|
@delete_storage_pool = ::Gapic::Config::Method.new delete_storage_pool_config
|
5424
|
+
switch_active_replica_zone_config = parent_rpcs.switch_active_replica_zone if parent_rpcs.respond_to? :switch_active_replica_zone
|
5425
|
+
@switch_active_replica_zone = ::Gapic::Config::Method.new switch_active_replica_zone_config
|
5331
5426
|
list_volumes_config = parent_rpcs.list_volumes if parent_rpcs.respond_to? :list_volumes
|
5332
5427
|
@list_volumes = ::Gapic::Config::Method.new list_volumes_config
|
5333
5428
|
get_volume_config = parent_rpcs.get_volume if parent_rpcs.respond_to? :get_volume
|
@@ -251,6 +251,44 @@ module Google
|
|
251
251
|
result
|
252
252
|
end
|
253
253
|
|
254
|
+
##
|
255
|
+
# Baseline implementation for the switch_active_replica_zone REST call
|
256
|
+
#
|
257
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest]
|
258
|
+
# A request object representing the call parameters. Required.
|
259
|
+
# @param options [::Gapic::CallOptions]
|
260
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
261
|
+
#
|
262
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
263
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
264
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
265
|
+
#
|
266
|
+
# @return [::Google::Longrunning::Operation]
|
267
|
+
# A result object deserialized from the server's reply
|
268
|
+
def switch_active_replica_zone request_pb, options = nil
|
269
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
270
|
+
|
271
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_switch_active_replica_zone_request request_pb
|
272
|
+
query_string_params = if query_string_params.any?
|
273
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
274
|
+
else
|
275
|
+
{}
|
276
|
+
end
|
277
|
+
|
278
|
+
response = @client_stub.make_http_request(
|
279
|
+
verb,
|
280
|
+
uri: uri,
|
281
|
+
body: body || "",
|
282
|
+
params: query_string_params,
|
283
|
+
options: options
|
284
|
+
)
|
285
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
286
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
287
|
+
|
288
|
+
yield result, operation if block_given?
|
289
|
+
result
|
290
|
+
end
|
291
|
+
|
254
292
|
##
|
255
293
|
# Baseline implementation for the list_volumes REST call
|
256
294
|
#
|
@@ -2106,6 +2144,28 @@ module Google
|
|
2106
2144
|
transcoder.transcode request_pb
|
2107
2145
|
end
|
2108
2146
|
|
2147
|
+
##
|
2148
|
+
# @private
|
2149
|
+
#
|
2150
|
+
# GRPC transcoding helper method for the switch_active_replica_zone REST call
|
2151
|
+
#
|
2152
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::SwitchActiveReplicaZoneRequest]
|
2153
|
+
# A request object representing the call parameters. Required.
|
2154
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2155
|
+
# Uri, Body, Query string parameters
|
2156
|
+
def self.transcode_switch_active_replica_zone_request request_pb
|
2157
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2158
|
+
.with_bindings(
|
2159
|
+
uri_method: :post,
|
2160
|
+
uri_template: "/v1/{name}:switch",
|
2161
|
+
body: "*",
|
2162
|
+
matches: [
|
2163
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/?$}, false]
|
2164
|
+
]
|
2165
|
+
)
|
2166
|
+
transcoder.transcode request_pb
|
2167
|
+
end
|
2168
|
+
|
2109
2169
|
##
|
2110
2170
|
# @private
|
2111
2171
|
#
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n)google/cloud/netapp/v1/storage_pool.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x15GetStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\xb1\x01\n\x17ListStoragePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x18ListStoragePoolsResponse\x12:\n\rstorage_pools\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.StoragePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x18\x43reateStoragePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x1c\n\x0fstorage_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"\x90\x01\n\x18UpdateStoragePoolRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\
|
14
|
+
descriptor_data = "\n)google/cloud/netapp/v1/storage_pool.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x15GetStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\xb1\x01\n\x17ListStoragePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x18ListStoragePoolsResponse\x12:\n\rstorage_pools\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.StoragePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x18\x43reateStoragePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x1c\n\x0fstorage_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"\x90\x01\n\x18UpdateStoragePoolRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"Y\n\x1eSwitchActiveReplicaZoneRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\xaa\t\n\x0bStoragePool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12@\n\rservice_level\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.ServiceLevelB\x03\xe0\x41\x02\x12\x19\n\x0c\x63\x61pacity_gib\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\x12 \n\x13volume_capacity_gib\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cvolume_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12=\n\x05state\x18\x06 \x01(\x0e\x32).google.cloud.netapp.v1.StoragePool.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x06labels\x18\n \x03(\x0b\x32/.google.cloud.netapp.v1.StoragePool.LabelsEntryB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12G\n\x10\x61\x63tive_directory\x18\x0c \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\x12;\n\nkms_config\x18\r \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\x12\x19\n\x0cldap_enabled\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12\x16\n\tpsa_range\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0f\x65ncryption_type\x18\x10 \x01(\x0e\x32&.google.cloud.netapp.v1.EncryptionTypeB\x03\xe0\x41\x03\x12&\n\x15global_access_allowed\x18\x11 \x01(\x08\x42\x02\x18\x01H\x00\x88\x01\x01\x12\x1f\n\x12\x61llow_auto_tiering\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0creplica_zone\x18\x14 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04zone\x18\x15 \x01(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\r\n\tRESTORING\x10\x05\x12\x0c\n\x08\x44ISABLED\x10\x06\x12\t\n\x05\x45RROR\x10\x07:\x87\x01\xea\x41\x83\x01\n!netapp.googleapis.com/StoragePool\x12\x43projects/{project}/locations/{location}/storagePools/{storage_pool}*\x0cstoragePools2\x0bstoragePoolB\x18\n\x16_global_access_allowedB\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10StoragePoolProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -49,6 +49,7 @@ module Google
|
|
49
49
|
CreateStoragePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateStoragePoolRequest").msgclass
|
50
50
|
UpdateStoragePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateStoragePoolRequest").msgclass
|
51
51
|
DeleteStoragePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteStoragePoolRequest").msgclass
|
52
|
+
SwitchActiveReplicaZoneRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.SwitchActiveReplicaZoneRequest").msgclass
|
52
53
|
StoragePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.StoragePool").msgclass
|
53
54
|
StoragePool::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.StoragePool.State").enummodule
|
54
55
|
end
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n#google/cloud/netapp/v1/volume.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x12ListVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"t\n\x13ListVolumesResponse\x12/\n\x07volumes\x18\x01 \x03(\x0b\x32\x1e.google.cloud.netapp.v1.Volume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"F\n\x10GetVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\"\x98\x01\n\x13\x43reateVolumeRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x16\n\tvolume_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x03 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"\x80\x01\n\x13UpdateVolumeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x02 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"X\n\x13\x44\x65leteVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"c\n\x13RevertVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x18\n\x0bsnapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xf0\x0f\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x38\n\x05state\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.Volume.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nshare_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpsa_range\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12?\n\x0cstorage_pool\x18\x07 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12\x37\n\x07network\x18\x08 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12@\n\rservice_level\x18\t \x01(\x0e\x32$.google.cloud.netapp.v1.ServiceLevelB\x03\xe0\x41\x03\x12\x19\n\x0c\x63\x61pacity_gib\x18\n \x01(\x03\x42\x03\xe0\x41\x02\x12@\n\rexport_policy\x18\x0b \x01(\x0b\x32$.google.cloud.netapp.v1.ExportPolicyB\x03\xe0\x41\x01\x12\x39\n\tprotocols\x18\x0c \x03(\x0e\x32!.google.cloud.netapp.v1.ProtocolsB\x03\xe0\x41\x02\x12>\n\x0csmb_settings\x18\r \x03(\x0e\x32#.google.cloud.netapp.v1.SMBSettingsB\x03\xe0\x41\x01\x12?\n\rmount_options\x18\x0e \x03(\x0b\x32#.google.cloud.netapp.v1.MountOptionB\x03\xe0\x41\x03\x12\x1d\n\x10unix_permissions\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12?\n\x06labels\x18\x10 \x03(\x0b\x32*.google.cloud.netapp.v1.Volume.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0fsnapshot_policy\x18\x12 \x01(\x0b\x32&.google.cloud.netapp.v1.SnapshotPolicyB\x03\xe0\x41\x01\x12\x19\n\x0csnap_reserve\x18\x13 \x01(\x01\x42\x03\xe0\x41\x01\x12\x1f\n\x12snapshot_directory\x18\x14 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08used_gib\x18\x15 \x01(\x03\x42\x03\xe0\x41\x03\x12\x42\n\x0esecurity_style\x18\x16 \x01(\x0e\x32%.google.cloud.netapp.v1.SecurityStyleB\x03\xe0\x41\x01\x12\x1d\n\x10kerberos_enabled\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0cldap_enabled\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\x10\x61\x63tive_directory\x18\x19 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\x12J\n\x12restore_parameters\x18\x1a \x01(\x0b\x32).google.cloud.netapp.v1.RestoreParametersB\x03\xe0\x41\x01\x12;\n\nkms_config\x18\x1b \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\x12\x44\n\x0f\x65ncryption_type\x18\x1c \x01(\x0e\x32&.google.cloud.netapp.v1.EncryptionTypeB\x03\xe0\x41\x03\x12\x1c\n\x0fhas_replication\x18\x1d \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\rbackup_config\x18\x1e \x01(\x0b\x32$.google.cloud.netapp.v1.BackupConfigH\x00\x88\x01\x01\x12I\n\x12restricted_actions\x18\x1f \x03(\x0e\x32(.google.cloud.netapp.v1.RestrictedActionB\x03\xe0\x41\x01\x12\x1b\n\x0elarge_capacity\x18 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12multiple_endpoints\x18! \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x0etiering_policy\x18\" \x01(\x0b\x32%.google.cloud.netapp.v1.TieringPolicyH\x01\x88\x01\x01\x12\x19\n\x0creplica_zone\x18$ \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04zone\x18% \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\r\n\tRESTORING\x10\x05\x12\x0c\n\x08\x44ISABLED\x10\x06\x12\t\n\x05\x45RROR\x10\x07:l\xea\x41i\n\x1cnetapp.googleapis.com/Volume\x12\x38projects/{project}/locations/{location}/volumes/{volume}*\x07volumes2\x06volumeB\x10\n\x0e_backup_configB\x11\n\x0f_tiering_policy\"R\n\x0c\x45xportPolicy\x12\x42\n\x05rules\x18\x01 \x03(\x0b\x32..google.cloud.netapp.v1.SimpleExportPolicyRuleB\x03\xe0\x41\x02\"\xfc\x04\n\x16SimpleExportPolicyRule\x12\x1c\n\x0f\x61llowed_clients\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fhas_root_access\x18\x02 \x01(\tH\x01\x88\x01\x01\x12<\n\x0b\x61\x63\x63\x65ss_type\x18\x03 \x01(\x0e\x32\".google.cloud.netapp.v1.AccessTypeH\x02\x88\x01\x01\x12\x12\n\x05nfsv3\x18\x04 \x01(\x08H\x03\x88\x01\x01\x12\x12\n\x05nfsv4\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12!\n\x14kerberos_5_read_only\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12\"\n\x15kerberos_5_read_write\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12\"\n\x15kerberos_5i_read_only\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12#\n\x16kerberos_5i_read_write\x18\t \x01(\x08H\x08\x88\x01\x01\x12\"\n\x15kerberos_5p_read_only\x18\n \x01(\x08H\t\x88\x01\x01\x12#\n\x16kerberos_5p_read_write\x18\x0b \x01(\x08H\n\x88\x01\x01\x42\x12\n\x10_allowed_clientsB\x12\n\x10_has_root_accessB\x0e\n\x0c_access_typeB\x08\n\x06_nfsv3B\x08\n\x06_nfsv4B\x17\n\x15_kerberos_5_read_onlyB\x18\n\x16_kerberos_5_read_writeB\x18\n\x16_kerberos_5i_read_onlyB\x19\n\x17_kerberos_5i_read_writeB\x18\n\x16_kerberos_5p_read_onlyB\x19\n\x17_kerberos_5p_read_write\"\x9a\x03\n\x0eSnapshotPolicy\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x44\n\x0fhourly_schedule\x18\x02 \x01(\x0b\x32&.google.cloud.netapp.v1.HourlyScheduleH\x01\x88\x01\x01\x12\x42\n\x0e\x64\x61ily_schedule\x18\x03 \x01(\x0b\x32%.google.cloud.netapp.v1.DailyScheduleH\x02\x88\x01\x01\x12\x44\n\x0fweekly_schedule\x18\x04 \x01(\x0b\x32&.google.cloud.netapp.v1.WeeklyScheduleH\x03\x88\x01\x01\x12\x46\n\x10monthly_schedule\x18\x05 \x01(\x0b\x32\'.google.cloud.netapp.v1.MonthlyScheduleH\x04\x88\x01\x01\x42\n\n\x08_enabledB\x12\n\x10_hourly_scheduleB\x11\n\x0f_daily_scheduleB\x12\n\x10_weekly_scheduleB\x13\n\x11_monthly_schedule\"f\n\x0eHourlySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minute\"\x81\x01\n\rDailySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hour\"\x9c\x01\n\x0eWeeklySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x10\n\x03\x64\x61y\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hourB\x06\n\x04_day\"\xb1\x01\n\x0fMonthlySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rdays_of_month\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hourB\x10\n\x0e_days_of_month\"}\n\x0bMountOption\x12\x0e\n\x06\x65xport\x18\x01 \x01(\t\x12\x13\n\x0b\x65xport_full\x18\x02 \x01(\t\x12\x33\n\x08protocol\x18\x03 \x01(\x0e\x32!.google.cloud.netapp.v1.Protocols\x12\x14\n\x0cinstructions\x18\x04 \x01(\t\"Q\n\x11RestoreParameters\x12\x19\n\x0fsource_snapshot\x18\x01 \x01(\tH\x00\x12\x17\n\rsource_backup\x18\x02 \x01(\tH\x00\x42\x08\n\x06source\"\x9a\x02\n\x0c\x42\x61\x63kupConfig\x12\x43\n\x0f\x62\x61\x63kup_policies\x18\x01 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"netapp.googleapis.com/BackupPolicy\x12?\n\x0c\x62\x61\x63kup_vault\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!netapp.googleapis.com/BackupVault\x12*\n\x18scheduled_backup_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12$\n\x12\x62\x61\x63kup_chain_bytes\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x42\x1b\n\x19_scheduled_backup_enabledB\x15\n\x13_backup_chain_bytes\"\xf9\x01\n\rTieringPolicy\x12O\n\x0btier_action\x18\x01 \x01(\x0e\x32\x30.google.cloud.netapp.v1.TieringPolicy.TierActionB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12(\n\x16\x63ooling_threshold_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\"B\n\nTierAction\x12\x1b\n\x17TIER_ACTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x42\x0e\n\x0c_tier_actionB\x19\n\x17_cooling_threshold_days*E\n\tProtocols\x12\x19\n\x15PROTOCOLS_UNSPECIFIED\x10\x00\x12\t\n\x05NFSV3\x10\x01\x12\t\n\x05NFSV4\x10\x02\x12\x07\n\x03SMB\x10\x03*W\n\nAccessType\x12\x1b\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\x12\r\n\tREAD_NONE\x10\x03*\xe8\x01\n\x0bSMBSettings\x12\x1c\n\x18SMB_SETTINGS_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x45NCRYPT_DATA\x10\x01\x12\r\n\tBROWSABLE\x10\x02\x12\x11\n\rCHANGE_NOTIFY\x10\x03\x12\x11\n\rNON_BROWSABLE\x10\x04\x12\x0b\n\x07OPLOCKS\x10\x05\x12\x11\n\rSHOW_SNAPSHOT\x10\x06\x12\x1a\n\x16SHOW_PREVIOUS_VERSIONS\x10\x07\x12\x1c\n\x18\x41\x43\x43\x45SS_BASED_ENUMERATION\x10\x08\x12\x1a\n\x16\x43ONTINUOUSLY_AVAILABLE\x10\t*C\n\rSecurityStyle\x12\x1e\n\x1aSECURITY_STYLE_UNSPECIFIED\x10\x00\x12\x08\n\x04NTFS\x10\x01\x12\x08\n\x04UNIX\x10\x02*A\n\x10RestrictedAction\x12!\n\x1dRESTRICTED_ACTION_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x42\xad\x01\n\x1a\x63om.google.cloud.netapp.v1B\x0bVolumeProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
14
|
+
descriptor_data = "\n#google/cloud/netapp/v1/volume.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x12ListVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"t\n\x13ListVolumesResponse\x12/\n\x07volumes\x18\x01 \x03(\x0b\x32\x1e.google.cloud.netapp.v1.Volume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"F\n\x10GetVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\"\x98\x01\n\x13\x43reateVolumeRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x16\n\tvolume_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x03 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"\x80\x01\n\x13UpdateVolumeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x02 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"X\n\x13\x44\x65leteVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"c\n\x13RevertVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x18\n\x0bsnapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x91\x10\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x38\n\x05state\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.Volume.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nshare_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpsa_range\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12?\n\x0cstorage_pool\x18\x07 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12\x37\n\x07network\x18\x08 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12@\n\rservice_level\x18\t \x01(\x0e\x32$.google.cloud.netapp.v1.ServiceLevelB\x03\xe0\x41\x03\x12\x19\n\x0c\x63\x61pacity_gib\x18\n \x01(\x03\x42\x03\xe0\x41\x02\x12@\n\rexport_policy\x18\x0b \x01(\x0b\x32$.google.cloud.netapp.v1.ExportPolicyB\x03\xe0\x41\x01\x12\x39\n\tprotocols\x18\x0c \x03(\x0e\x32!.google.cloud.netapp.v1.ProtocolsB\x03\xe0\x41\x02\x12>\n\x0csmb_settings\x18\r \x03(\x0e\x32#.google.cloud.netapp.v1.SMBSettingsB\x03\xe0\x41\x01\x12?\n\rmount_options\x18\x0e \x03(\x0b\x32#.google.cloud.netapp.v1.MountOptionB\x03\xe0\x41\x03\x12\x1d\n\x10unix_permissions\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12?\n\x06labels\x18\x10 \x03(\x0b\x32*.google.cloud.netapp.v1.Volume.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0fsnapshot_policy\x18\x12 \x01(\x0b\x32&.google.cloud.netapp.v1.SnapshotPolicyB\x03\xe0\x41\x01\x12\x19\n\x0csnap_reserve\x18\x13 \x01(\x01\x42\x03\xe0\x41\x01\x12\x1f\n\x12snapshot_directory\x18\x14 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08used_gib\x18\x15 \x01(\x03\x42\x03\xe0\x41\x03\x12\x42\n\x0esecurity_style\x18\x16 \x01(\x0e\x32%.google.cloud.netapp.v1.SecurityStyleB\x03\xe0\x41\x01\x12\x1d\n\x10kerberos_enabled\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0cldap_enabled\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\x10\x61\x63tive_directory\x18\x19 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\x12J\n\x12restore_parameters\x18\x1a \x01(\x0b\x32).google.cloud.netapp.v1.RestoreParametersB\x03\xe0\x41\x01\x12;\n\nkms_config\x18\x1b \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\x12\x44\n\x0f\x65ncryption_type\x18\x1c \x01(\x0e\x32&.google.cloud.netapp.v1.EncryptionTypeB\x03\xe0\x41\x03\x12\x1c\n\x0fhas_replication\x18\x1d \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\rbackup_config\x18\x1e \x01(\x0b\x32$.google.cloud.netapp.v1.BackupConfigH\x00\x88\x01\x01\x12I\n\x12restricted_actions\x18\x1f \x03(\x0e\x32(.google.cloud.netapp.v1.RestrictedActionB\x03\xe0\x41\x01\x12\x1b\n\x0elarge_capacity\x18 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12multiple_endpoints\x18! \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x0etiering_policy\x18\" \x01(\x0b\x32%.google.cloud.netapp.v1.TieringPolicyH\x01\x88\x01\x01\x12\x19\n\x0creplica_zone\x18$ \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04zone\x18% \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12\x63old_tier_size_gib\x18\' \x01(\x03\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\r\n\tRESTORING\x10\x05\x12\x0c\n\x08\x44ISABLED\x10\x06\x12\t\n\x05\x45RROR\x10\x07:l\xea\x41i\n\x1cnetapp.googleapis.com/Volume\x12\x38projects/{project}/locations/{location}/volumes/{volume}*\x07volumes2\x06volumeB\x10\n\x0e_backup_configB\x11\n\x0f_tiering_policy\"R\n\x0c\x45xportPolicy\x12\x42\n\x05rules\x18\x01 \x03(\x0b\x32..google.cloud.netapp.v1.SimpleExportPolicyRuleB\x03\xe0\x41\x02\"\xfc\x04\n\x16SimpleExportPolicyRule\x12\x1c\n\x0f\x61llowed_clients\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fhas_root_access\x18\x02 \x01(\tH\x01\x88\x01\x01\x12<\n\x0b\x61\x63\x63\x65ss_type\x18\x03 \x01(\x0e\x32\".google.cloud.netapp.v1.AccessTypeH\x02\x88\x01\x01\x12\x12\n\x05nfsv3\x18\x04 \x01(\x08H\x03\x88\x01\x01\x12\x12\n\x05nfsv4\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12!\n\x14kerberos_5_read_only\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12\"\n\x15kerberos_5_read_write\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12\"\n\x15kerberos_5i_read_only\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12#\n\x16kerberos_5i_read_write\x18\t \x01(\x08H\x08\x88\x01\x01\x12\"\n\x15kerberos_5p_read_only\x18\n \x01(\x08H\t\x88\x01\x01\x12#\n\x16kerberos_5p_read_write\x18\x0b \x01(\x08H\n\x88\x01\x01\x42\x12\n\x10_allowed_clientsB\x12\n\x10_has_root_accessB\x0e\n\x0c_access_typeB\x08\n\x06_nfsv3B\x08\n\x06_nfsv4B\x17\n\x15_kerberos_5_read_onlyB\x18\n\x16_kerberos_5_read_writeB\x18\n\x16_kerberos_5i_read_onlyB\x19\n\x17_kerberos_5i_read_writeB\x18\n\x16_kerberos_5p_read_onlyB\x19\n\x17_kerberos_5p_read_write\"\x9a\x03\n\x0eSnapshotPolicy\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x44\n\x0fhourly_schedule\x18\x02 \x01(\x0b\x32&.google.cloud.netapp.v1.HourlyScheduleH\x01\x88\x01\x01\x12\x42\n\x0e\x64\x61ily_schedule\x18\x03 \x01(\x0b\x32%.google.cloud.netapp.v1.DailyScheduleH\x02\x88\x01\x01\x12\x44\n\x0fweekly_schedule\x18\x04 \x01(\x0b\x32&.google.cloud.netapp.v1.WeeklyScheduleH\x03\x88\x01\x01\x12\x46\n\x10monthly_schedule\x18\x05 \x01(\x0b\x32\'.google.cloud.netapp.v1.MonthlyScheduleH\x04\x88\x01\x01\x42\n\n\x08_enabledB\x12\n\x10_hourly_scheduleB\x11\n\x0f_daily_scheduleB\x12\n\x10_weekly_scheduleB\x13\n\x11_monthly_schedule\"f\n\x0eHourlySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minute\"\x81\x01\n\rDailySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hour\"\x9c\x01\n\x0eWeeklySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x10\n\x03\x64\x61y\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hourB\x06\n\x04_day\"\xb1\x01\n\x0fMonthlySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rdays_of_month\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hourB\x10\n\x0e_days_of_month\"}\n\x0bMountOption\x12\x0e\n\x06\x65xport\x18\x01 \x01(\t\x12\x13\n\x0b\x65xport_full\x18\x02 \x01(\t\x12\x33\n\x08protocol\x18\x03 \x01(\x0e\x32!.google.cloud.netapp.v1.Protocols\x12\x14\n\x0cinstructions\x18\x04 \x01(\t\"Q\n\x11RestoreParameters\x12\x19\n\x0fsource_snapshot\x18\x01 \x01(\tH\x00\x12\x17\n\rsource_backup\x18\x02 \x01(\tH\x00\x42\x08\n\x06source\"\x9a\x02\n\x0c\x42\x61\x63kupConfig\x12\x43\n\x0f\x62\x61\x63kup_policies\x18\x01 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"netapp.googleapis.com/BackupPolicy\x12?\n\x0c\x62\x61\x63kup_vault\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!netapp.googleapis.com/BackupVault\x12*\n\x18scheduled_backup_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12$\n\x12\x62\x61\x63kup_chain_bytes\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x42\x1b\n\x19_scheduled_backup_enabledB\x15\n\x13_backup_chain_bytes\"\xf9\x01\n\rTieringPolicy\x12O\n\x0btier_action\x18\x01 \x01(\x0e\x32\x30.google.cloud.netapp.v1.TieringPolicy.TierActionB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12(\n\x16\x63ooling_threshold_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\"B\n\nTierAction\x12\x1b\n\x17TIER_ACTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x42\x0e\n\x0c_tier_actionB\x19\n\x17_cooling_threshold_days*E\n\tProtocols\x12\x19\n\x15PROTOCOLS_UNSPECIFIED\x10\x00\x12\t\n\x05NFSV3\x10\x01\x12\t\n\x05NFSV4\x10\x02\x12\x07\n\x03SMB\x10\x03*W\n\nAccessType\x12\x1b\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\x12\r\n\tREAD_NONE\x10\x03*\xe8\x01\n\x0bSMBSettings\x12\x1c\n\x18SMB_SETTINGS_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x45NCRYPT_DATA\x10\x01\x12\r\n\tBROWSABLE\x10\x02\x12\x11\n\rCHANGE_NOTIFY\x10\x03\x12\x11\n\rNON_BROWSABLE\x10\x04\x12\x0b\n\x07OPLOCKS\x10\x05\x12\x11\n\rSHOW_SNAPSHOT\x10\x06\x12\x1a\n\x16SHOW_PREVIOUS_VERSIONS\x10\x07\x12\x1c\n\x18\x41\x43\x43\x45SS_BASED_ENUMERATION\x10\x08\x12\x1a\n\x16\x43ONTINUOUSLY_AVAILABLE\x10\t*C\n\rSecurityStyle\x12\x1e\n\x1aSECURITY_STYLE_UNSPECIFIED\x10\x00\x12\x08\n\x04NTFS\x10\x01\x12\x08\n\x04UNIX\x10\x02*A\n\x10RestrictedAction\x12!\n\x1dRESTRICTED_ACTION_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x42\xad\x01\n\x1a\x63om.google.cloud.netapp.v1B\x0bVolumeProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -111,6 +111,16 @@ module Google
|
|
111
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
112
112
|
end
|
113
113
|
|
114
|
+
# SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional
|
115
|
+
# storagePool.
|
116
|
+
# @!attribute [rw] name
|
117
|
+
# @return [::String]
|
118
|
+
# Required. Name of the storage pool
|
119
|
+
class SwitchActiveReplicaZoneRequest
|
120
|
+
include ::Google::Protobuf::MessageExts
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
end
|
123
|
+
|
114
124
|
# StoragePool is a container for volumes with a service level and capacity.
|
115
125
|
# Volumes can be created in a pool of sufficient available capacity.
|
116
126
|
# StoragePool capacity is what you are billed for.
|
@@ -170,6 +180,11 @@ module Google
|
|
170
180
|
# @return [::Boolean]
|
171
181
|
# Deprecated. Used to allow SO pool to access AD or DNS server from other
|
172
182
|
# regions.
|
183
|
+
# @!attribute [rw] allow_auto_tiering
|
184
|
+
# @return [::Boolean]
|
185
|
+
# Optional. True if the storage pool supports Auto Tiering enabled volumes.
|
186
|
+
# Default is false. Auto-tiering can be enabled after storage pool creation
|
187
|
+
# but it can't be disabled once enabled.
|
173
188
|
# @!attribute [rw] replica_zone
|
174
189
|
# @return [::String]
|
175
190
|
# Optional. Specifies the replica zone for regional storagePool.
|
@@ -251,6 +251,9 @@ module Google
|
|
251
251
|
# @!attribute [r] zone
|
252
252
|
# @return [::String]
|
253
253
|
# Output only. Specifies the active zone for regional volume.
|
254
|
+
# @!attribute [r] cold_tier_size_gib
|
255
|
+
# @return [::Integer]
|
256
|
+
# Output only. Size of the volume cold tier data in GiB.
|
254
257
|
class Volume
|
255
258
|
include ::Google::Protobuf::MessageExts
|
256
259
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-netapp-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|