google-cloud-netapp-v1 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/netapp/v1/active_directory_pb.rb +1 -1
- 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 +5 -0
- data/lib/google/cloud/netapp/v1/netapp/client.rb +240 -24
- data/lib/google/cloud/netapp/v1/netapp/operations.rb +3 -10
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +226 -24
- data/lib/google/cloud/netapp/v1/netapp/rest/operations.rb +3 -10
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +120 -0
- data/lib/google/cloud/netapp/v1/replication_pb.rb +7 -1
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +3 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/netapp/v1/active_directory.rb +6 -3
- data/proto_docs/google/cloud/netapp/v1/backup.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/backup_policy.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/backup_vault.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/kms.rb +3 -3
- data/proto_docs/google/cloud/netapp/v1/replication.rb +95 -3
- data/proto_docs/google/cloud/netapp/v1/snapshot.rb +3 -3
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +3 -3
- data/proto_docs/google/cloud/netapp/v1/volume.rb +59 -3
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d51ad5a5073ec55c819ae6f8d51ff19cc468bbda8f7e4551c32e366b49ddb72
|
4
|
+
data.tar.gz: 67d1bfbd932903ccecc32c58e53395d1deec8f1d8d444fe51da53fe6d6323589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8ceac27307c5e1140f8406540113a7d348556f203a8e00dc8896726c8a3ab85285603fca838df99d4ab8e31a87ec90dccc10495d69d84294dec36bbf192f96
|
7
|
+
data.tar.gz: 01b2a8fb5289857a60fc100c38e606f136779ef7c7184cf05b7fd1a4df3977d5365154da07b419f8b0db2e557fd24c598ab274395226c7af9b4dc6fb32ff38d4
|
@@ -10,7 +10,7 @@ require 'google/protobuf/field_mask_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n-google/cloud/netapp/v1/active_directory.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x01\n\x1cListActiveDirectoriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\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\"\x92\x01\n\x1dListActiveDirectoriesResponse\x12\x43\n\x12\x61\x63tive_directories\x18\x01 \x03(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectory\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x19GetActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\xc7\x01\n\x1c\x43reateActiveDirectoryRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\x12 \n\x13\x61\x63tive_directory_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x1cUpdateActiveDirectoryRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\"[\n\x1c\x44\x65leteActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\
|
13
|
+
descriptor_data = "\n-google/cloud/netapp/v1/active_directory.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x01\n\x1cListActiveDirectoriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\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\"\x92\x01\n\x1dListActiveDirectoriesResponse\x12\x43\n\x12\x61\x63tive_directories\x18\x01 \x03(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectory\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x19GetActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\xc7\x01\n\x1c\x43reateActiveDirectoryRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\x12 \n\x13\x61\x63tive_directory_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x1cUpdateActiveDirectoryRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\"[\n\x1c\x44\x65leteActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\xea\x07\n\x0f\x41\x63tiveDirectory\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.netapp.v1.ActiveDirectory.StateB\x03\xe0\x41\x03\x12\x13\n\x06\x64omain\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04site\x18\x05 \x01(\t\x12\x10\n\x03\x64ns\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fnet_bios_prefix\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x13organizational_unit\x18\x08 \x01(\t\x12\x16\n\x0e\x61\x65s_encryption\x18\t \x01(\x08\x12\x15\n\x08username\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08password\x18\x0b \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10\x62\x61\x63kup_operators\x18\x0c \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x61\x64ministrators\x18\x16 \x03(\tB\x03\xe0\x41\x01\x12\x1f\n\x12security_operators\x18\r \x03(\tB\x03\xe0\x41\x01\x12\x14\n\x0ckdc_hostname\x18\x0e \x01(\t\x12\x0e\n\x06kdc_ip\x18\x0f \x01(\t\x12\x1b\n\x13nfs_users_with_ldap\x18\x10 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x11 \x01(\t\x12\x14\n\x0cldap_signing\x18\x12 \x01(\x08\x12\x1e\n\x16\x65ncrypt_dc_connections\x18\x13 \x01(\x08\x12\x43\n\x06labels\x18\x14 \x03(\x0b\x32\x33.google.cloud.netapp.v1.ActiveDirectory.LabelsEntry\x12\x1a\n\rstate_details\x18\x15 \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\"z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06IN_USE\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x0e\n\nDIAGNOSING\x10\x07:\x9d\x01\xea\x41\x99\x01\n%netapp.googleapis.com/ActiveDirectory\x12Lprojects/{project}/locations/{location}/activeDirectories/{active_directory}*\x11\x61\x63tiveDirectories2\x0f\x61\x63tiveDirectoryB\xb6\x01\n\x1a\x63om.google.cloud.netapp.v1B\x14\x41\x63tiveDirectoryProtoP\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
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -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\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"
|
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\xecY\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\xdd\x01\n\x10\x45stablishPeering\x12/.google.cloud.netapp.v1.EstablishPeeringRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:establishPeering:\x01*\x12\xcf\x01\n\x0fSyncReplication\x12..google.cloud.netapp.v1.SyncReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:sync:\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
|
|
@@ -113,6 +113,11 @@ module Google
|
|
113
113
|
# Reverses direction of replication. Source becomes destination and
|
114
114
|
# destination becomes source.
|
115
115
|
rpc :ReverseReplicationDirection, ::Google::Cloud::NetApp::V1::ReverseReplicationDirectionRequest, ::Google::Longrunning::Operation
|
116
|
+
# Establish replication peering.
|
117
|
+
rpc :EstablishPeering, ::Google::Cloud::NetApp::V1::EstablishPeeringRequest, ::Google::Longrunning::Operation
|
118
|
+
# Syncs the replication. This will invoke one time volume data transfer from
|
119
|
+
# source to destination.
|
120
|
+
rpc :SyncReplication, ::Google::Cloud::NetApp::V1::SyncReplicationRequest, ::Google::Longrunning::Operation
|
116
121
|
# Creates new backup vault
|
117
122
|
rpc :CreateBackupVault, ::Google::Cloud::NetApp::V1::CreateBackupVaultRequest, ::Google::Longrunning::Operation
|
118
123
|
# Returns the description of the specified backup vault
|
@@ -471,9 +471,9 @@ module Google
|
|
471
471
|
# Required. Value for parent.
|
472
472
|
# @param storage_pool_id [::String]
|
473
473
|
# Required. Id of the requesting storage pool. Must be unique within the
|
474
|
-
# parent resource. Must contain only letters, numbers
|
475
|
-
#
|
476
|
-
#
|
474
|
+
# parent resource. Must contain only letters, numbers and hyphen, with the
|
475
|
+
# first character a letter, the last a letter or a number, and a 63 character
|
476
|
+
# maximum.
|
477
477
|
# @param storage_pool [::Google::Cloud::NetApp::V1::StoragePool, ::Hash]
|
478
478
|
# Required. The required parameters to create a new storage pool.
|
479
479
|
#
|
@@ -1133,9 +1133,9 @@ module Google
|
|
1133
1133
|
# Required. Value for parent.
|
1134
1134
|
# @param volume_id [::String]
|
1135
1135
|
# Required. Id of the requesting volume. Must be unique within the parent
|
1136
|
-
# resource. Must contain only letters, numbers
|
1137
|
-
#
|
1138
|
-
#
|
1136
|
+
# resource. Must contain only letters, numbers and hyphen, with the first
|
1137
|
+
# character a letter, the last a letter or a number,
|
1138
|
+
# and a 63 character maximum.
|
1139
1139
|
# @param volume [::Google::Cloud::NetApp::V1::Volume, ::Hash]
|
1140
1140
|
# Required. The volume being created.
|
1141
1141
|
#
|
@@ -1725,9 +1725,9 @@ module Google
|
|
1725
1725
|
# Required. A snapshot resource
|
1726
1726
|
# @param snapshot_id [::String]
|
1727
1727
|
# Required. ID of the snapshot to create. Must be unique within the parent
|
1728
|
-
# resource. Must contain only letters, numbers
|
1729
|
-
#
|
1730
|
-
#
|
1728
|
+
# resource. Must contain only letters, numbers and hyphen, with the first
|
1729
|
+
# character a letter, the last a letter or a
|
1730
|
+
# number, and a 63 character maximum.
|
1731
1731
|
#
|
1732
1732
|
# @yield [response, operation] Access the result along with the RPC operation
|
1733
1733
|
# @yieldparam response [::Gapic::Operation]
|
@@ -2205,9 +2205,9 @@ module Google
|
|
2205
2205
|
# Required. Fields of the to be created active directory.
|
2206
2206
|
# @param active_directory_id [::String]
|
2207
2207
|
# Required. ID of the active directory to create. Must be unique within the
|
2208
|
-
# parent resource. Must contain only letters, numbers
|
2209
|
-
#
|
2210
|
-
#
|
2208
|
+
# parent resource. Must contain only letters, numbers and hyphen, with the
|
2209
|
+
# first character a letter , the last a letter or a number, and a 63
|
2210
|
+
# character maximum.
|
2211
2211
|
#
|
2212
2212
|
# @yield [response, operation] Access the result along with the RPC operation
|
2213
2213
|
# @yieldparam response [::Gapic::Operation]
|
@@ -2598,9 +2598,9 @@ module Google
|
|
2598
2598
|
# Required. Value for parent.
|
2599
2599
|
# @param kms_config_id [::String]
|
2600
2600
|
# Required. Id of the requesting KmsConfig. Must be unique within the parent
|
2601
|
-
# resource. Must contain only letters, numbers
|
2602
|
-
#
|
2603
|
-
#
|
2601
|
+
# resource. Must contain only letters, numbers and hyphen, with the first
|
2602
|
+
# character a letter, the last a letter or a
|
2603
|
+
# number, and a 63 character maximum.
|
2604
2604
|
# @param kms_config [::Google::Cloud::NetApp::V1::KmsConfig, ::Hash]
|
2605
2605
|
# Required. The required parameters to create a new KmsConfig.
|
2606
2606
|
#
|
@@ -3352,9 +3352,9 @@ module Google
|
|
3352
3352
|
# Required. A replication resource
|
3353
3353
|
# @param replication_id [::String]
|
3354
3354
|
# Required. ID of the replication to create. Must be unique within the parent
|
3355
|
-
# resource. Must contain only letters, numbers
|
3356
|
-
#
|
3357
|
-
#
|
3355
|
+
# resource. Must contain only letters, numbers and hyphen, with the first
|
3356
|
+
# character a letter, the last a letter or a
|
3357
|
+
# number, and a 63 character maximum.
|
3358
3358
|
#
|
3359
3359
|
# @yield [response, operation] Access the result along with the RPC operation
|
3360
3360
|
# @yieldparam response [::Gapic::Operation]
|
@@ -3914,6 +3914,208 @@ module Google
|
|
3914
3914
|
raise ::Google::Cloud::Error.from_error(e)
|
3915
3915
|
end
|
3916
3916
|
|
3917
|
+
##
|
3918
|
+
# Establish replication peering.
|
3919
|
+
#
|
3920
|
+
# @overload establish_peering(request, options = nil)
|
3921
|
+
# Pass arguments to `establish_peering` via a request object, either of type
|
3922
|
+
# {::Google::Cloud::NetApp::V1::EstablishPeeringRequest} or an equivalent Hash.
|
3923
|
+
#
|
3924
|
+
# @param request [::Google::Cloud::NetApp::V1::EstablishPeeringRequest, ::Hash]
|
3925
|
+
# A request object representing the call parameters. Required. To specify no
|
3926
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3927
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3928
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3929
|
+
#
|
3930
|
+
# @overload establish_peering(name: nil, peer_cluster_name: nil, peer_svm_name: nil, peer_ip_addresses: nil, peer_volume_name: nil)
|
3931
|
+
# Pass arguments to `establish_peering` via keyword arguments. Note that at
|
3932
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3933
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3934
|
+
#
|
3935
|
+
# @param name [::String]
|
3936
|
+
# Required. The resource name of the replication, in the format of
|
3937
|
+
# projects/\\{project_id}/locations/\\{location}/volumes/\\{volume_id}/replications/\\{replication_id}.
|
3938
|
+
# @param peer_cluster_name [::String]
|
3939
|
+
# Required. Name of the user's local source cluster to be peered with the
|
3940
|
+
# destination cluster.
|
3941
|
+
# @param peer_svm_name [::String]
|
3942
|
+
# Required. Name of the user's local source vserver svm to be peered with the
|
3943
|
+
# destination vserver svm.
|
3944
|
+
# @param peer_ip_addresses [::Array<::String>]
|
3945
|
+
# Optional. List of IPv4 ip addresses to be used for peering.
|
3946
|
+
# @param peer_volume_name [::String]
|
3947
|
+
# Required. Name of the user's local source volume to be peered with the
|
3948
|
+
# destination volume.
|
3949
|
+
#
|
3950
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3951
|
+
# @yieldparam response [::Gapic::Operation]
|
3952
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3953
|
+
#
|
3954
|
+
# @return [::Gapic::Operation]
|
3955
|
+
#
|
3956
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3957
|
+
#
|
3958
|
+
# @example Basic example
|
3959
|
+
# require "google/cloud/netapp/v1"
|
3960
|
+
#
|
3961
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3962
|
+
# client = Google::Cloud::NetApp::V1::NetApp::Client.new
|
3963
|
+
#
|
3964
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3965
|
+
# request = Google::Cloud::NetApp::V1::EstablishPeeringRequest.new
|
3966
|
+
#
|
3967
|
+
# # Call the establish_peering method.
|
3968
|
+
# result = client.establish_peering request
|
3969
|
+
#
|
3970
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
3971
|
+
# # check the status of an operation, cancel it, or wait for results.
|
3972
|
+
# # Here is how to wait for a response.
|
3973
|
+
# result.wait_until_done! timeout: 60
|
3974
|
+
# if result.response?
|
3975
|
+
# p result.response
|
3976
|
+
# else
|
3977
|
+
# puts "No response received."
|
3978
|
+
# end
|
3979
|
+
#
|
3980
|
+
def establish_peering request, options = nil
|
3981
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3982
|
+
|
3983
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetApp::V1::EstablishPeeringRequest
|
3984
|
+
|
3985
|
+
# Converts hash and nil to an options object
|
3986
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3987
|
+
|
3988
|
+
# Customize the options with defaults
|
3989
|
+
metadata = @config.rpcs.establish_peering.metadata.to_h
|
3990
|
+
|
3991
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3992
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3993
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3994
|
+
gapic_version: ::Google::Cloud::NetApp::V1::VERSION
|
3995
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3996
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3997
|
+
|
3998
|
+
header_params = {}
|
3999
|
+
if request.name
|
4000
|
+
header_params["name"] = request.name
|
4001
|
+
end
|
4002
|
+
|
4003
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
4004
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
4005
|
+
|
4006
|
+
options.apply_defaults timeout: @config.rpcs.establish_peering.timeout,
|
4007
|
+
metadata: metadata,
|
4008
|
+
retry_policy: @config.rpcs.establish_peering.retry_policy
|
4009
|
+
|
4010
|
+
options.apply_defaults timeout: @config.timeout,
|
4011
|
+
metadata: @config.metadata,
|
4012
|
+
retry_policy: @config.retry_policy
|
4013
|
+
|
4014
|
+
@net_app_stub.call_rpc :establish_peering, request, options: options do |response, operation|
|
4015
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
4016
|
+
yield response, operation if block_given?
|
4017
|
+
return response
|
4018
|
+
end
|
4019
|
+
rescue ::GRPC::BadStatus => e
|
4020
|
+
raise ::Google::Cloud::Error.from_error(e)
|
4021
|
+
end
|
4022
|
+
|
4023
|
+
##
|
4024
|
+
# Syncs the replication. This will invoke one time volume data transfer from
|
4025
|
+
# source to destination.
|
4026
|
+
#
|
4027
|
+
# @overload sync_replication(request, options = nil)
|
4028
|
+
# Pass arguments to `sync_replication` via a request object, either of type
|
4029
|
+
# {::Google::Cloud::NetApp::V1::SyncReplicationRequest} or an equivalent Hash.
|
4030
|
+
#
|
4031
|
+
# @param request [::Google::Cloud::NetApp::V1::SyncReplicationRequest, ::Hash]
|
4032
|
+
# A request object representing the call parameters. Required. To specify no
|
4033
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
4034
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
4035
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
4036
|
+
#
|
4037
|
+
# @overload sync_replication(name: nil)
|
4038
|
+
# Pass arguments to `sync_replication` via keyword arguments. Note that at
|
4039
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
4040
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
4041
|
+
#
|
4042
|
+
# @param name [::String]
|
4043
|
+
# Required. The resource name of the replication, in the format of
|
4044
|
+
# projects/\\{project_id}/locations/\\{location}/volumes/\\{volume_id}/replications/\\{replication_id}.
|
4045
|
+
#
|
4046
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
4047
|
+
# @yieldparam response [::Gapic::Operation]
|
4048
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
4049
|
+
#
|
4050
|
+
# @return [::Gapic::Operation]
|
4051
|
+
#
|
4052
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
4053
|
+
#
|
4054
|
+
# @example Basic example
|
4055
|
+
# require "google/cloud/netapp/v1"
|
4056
|
+
#
|
4057
|
+
# # Create a client object. The client can be reused for multiple calls.
|
4058
|
+
# client = Google::Cloud::NetApp::V1::NetApp::Client.new
|
4059
|
+
#
|
4060
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
4061
|
+
# request = Google::Cloud::NetApp::V1::SyncReplicationRequest.new
|
4062
|
+
#
|
4063
|
+
# # Call the sync_replication method.
|
4064
|
+
# result = client.sync_replication request
|
4065
|
+
#
|
4066
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
4067
|
+
# # check the status of an operation, cancel it, or wait for results.
|
4068
|
+
# # Here is how to wait for a response.
|
4069
|
+
# result.wait_until_done! timeout: 60
|
4070
|
+
# if result.response?
|
4071
|
+
# p result.response
|
4072
|
+
# else
|
4073
|
+
# puts "No response received."
|
4074
|
+
# end
|
4075
|
+
#
|
4076
|
+
def sync_replication request, options = nil
|
4077
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
4078
|
+
|
4079
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetApp::V1::SyncReplicationRequest
|
4080
|
+
|
4081
|
+
# Converts hash and nil to an options object
|
4082
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
4083
|
+
|
4084
|
+
# Customize the options with defaults
|
4085
|
+
metadata = @config.rpcs.sync_replication.metadata.to_h
|
4086
|
+
|
4087
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4088
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4089
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4090
|
+
gapic_version: ::Google::Cloud::NetApp::V1::VERSION
|
4091
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4092
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4093
|
+
|
4094
|
+
header_params = {}
|
4095
|
+
if request.name
|
4096
|
+
header_params["name"] = request.name
|
4097
|
+
end
|
4098
|
+
|
4099
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
4100
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
4101
|
+
|
4102
|
+
options.apply_defaults timeout: @config.rpcs.sync_replication.timeout,
|
4103
|
+
metadata: metadata,
|
4104
|
+
retry_policy: @config.rpcs.sync_replication.retry_policy
|
4105
|
+
|
4106
|
+
options.apply_defaults timeout: @config.timeout,
|
4107
|
+
metadata: @config.metadata,
|
4108
|
+
retry_policy: @config.retry_policy
|
4109
|
+
|
4110
|
+
@net_app_stub.call_rpc :sync_replication, request, options: options do |response, operation|
|
4111
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
4112
|
+
yield response, operation if block_given?
|
4113
|
+
return response
|
4114
|
+
end
|
4115
|
+
rescue ::GRPC::BadStatus => e
|
4116
|
+
raise ::Google::Cloud::Error.from_error(e)
|
4117
|
+
end
|
4118
|
+
|
3917
4119
|
##
|
3918
4120
|
# Creates new backup vault
|
3919
4121
|
#
|
@@ -3938,8 +4140,8 @@ module Google
|
|
3938
4140
|
# @param backup_vault_id [::String]
|
3939
4141
|
# Required. The ID to use for the backupVault.
|
3940
4142
|
# The ID must be unique within the specified location.
|
3941
|
-
# Must contain only letters, numbers
|
3942
|
-
# character a letter
|
4143
|
+
# Must contain only letters, numbers and hyphen, with the first
|
4144
|
+
# character a letter, the last a letter or a
|
3943
4145
|
# number, and a 63 character maximum.
|
3944
4146
|
# @param backup_vault [::Google::Cloud::NetApp::V1::BackupVault, ::Hash]
|
3945
4147
|
# Required. A backupVault resource
|
@@ -4428,8 +4630,8 @@ module Google
|
|
4428
4630
|
# @param backup_id [::String]
|
4429
4631
|
# Required. The ID to use for the backup.
|
4430
4632
|
# The ID must be unique within the specified backupVault.
|
4431
|
-
# Must contain only letters, numbers
|
4432
|
-
# character a letter
|
4633
|
+
# Must contain only letters, numbers and hyphen, with the first
|
4634
|
+
# character a letter, the last a letter or a
|
4433
4635
|
# number, and a 63 character maximum.
|
4434
4636
|
# @param backup [::Google::Cloud::NetApp::V1::Backup, ::Hash]
|
4435
4637
|
# Required. A backup resource
|
@@ -4928,8 +5130,8 @@ module Google
|
|
4928
5130
|
# @param backup_policy_id [::String]
|
4929
5131
|
# Required. The ID to use for the backup policy.
|
4930
5132
|
# The ID must be unique within the specified location.
|
4931
|
-
# Must contain only letters, numbers
|
4932
|
-
# character a letter
|
5133
|
+
# Must contain only letters, numbers and hyphen, with the first
|
5134
|
+
# character a letter, the last a letter or a
|
4933
5135
|
# number, and a 63 character maximum.
|
4934
5136
|
#
|
4935
5137
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -5726,6 +5928,16 @@ module Google
|
|
5726
5928
|
#
|
5727
5929
|
attr_reader :reverse_replication_direction
|
5728
5930
|
##
|
5931
|
+
# RPC-specific configuration for `establish_peering`
|
5932
|
+
# @return [::Gapic::Config::Method]
|
5933
|
+
#
|
5934
|
+
attr_reader :establish_peering
|
5935
|
+
##
|
5936
|
+
# RPC-specific configuration for `sync_replication`
|
5937
|
+
# @return [::Gapic::Config::Method]
|
5938
|
+
#
|
5939
|
+
attr_reader :sync_replication
|
5940
|
+
##
|
5729
5941
|
# RPC-specific configuration for `create_backup_vault`
|
5730
5942
|
# @return [::Gapic::Config::Method]
|
5731
5943
|
#
|
@@ -5877,6 +6089,10 @@ module Google
|
|
5877
6089
|
@resume_replication = ::Gapic::Config::Method.new resume_replication_config
|
5878
6090
|
reverse_replication_direction_config = parent_rpcs.reverse_replication_direction if parent_rpcs.respond_to? :reverse_replication_direction
|
5879
6091
|
@reverse_replication_direction = ::Gapic::Config::Method.new reverse_replication_direction_config
|
6092
|
+
establish_peering_config = parent_rpcs.establish_peering if parent_rpcs.respond_to? :establish_peering
|
6093
|
+
@establish_peering = ::Gapic::Config::Method.new establish_peering_config
|
6094
|
+
sync_replication_config = parent_rpcs.sync_replication if parent_rpcs.respond_to? :sync_replication
|
6095
|
+
@sync_replication = ::Gapic::Config::Method.new sync_replication_config
|
5880
6096
|
create_backup_vault_config = parent_rpcs.create_backup_vault if parent_rpcs.respond_to? :create_backup_vault
|
5881
6097
|
@create_backup_vault = ::Gapic::Config::Method.new create_backup_vault_config
|
5882
6098
|
get_backup_vault_config = parent_rpcs.get_backup_vault if parent_rpcs.respond_to? :get_backup_vault
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|