google-cloud-netapp-v1 0.2.0 → 0.3.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/active_directory_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/backup_pb.rb +57 -0
- data/lib/google/cloud/netapp/v1/backup_policy_pb.rb +56 -0
- data/lib/google/cloud/netapp/v1/backup_vault_pb.rb +56 -0
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +4 -1
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +33 -0
- data/lib/google/cloud/netapp/v1/kms_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/netapp/client.rb +1733 -120
- data/lib/google/cloud/netapp/v1/netapp/paths.rb +59 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +1622 -117
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +891 -0
- data/lib/google/cloud/netapp/v1/replication_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/snapshot_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +2 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/cloud/netapp/v1/active_directory.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/backup.rb +231 -0
- data/proto_docs/google/cloud/netapp/v1/backup_policy.rb +190 -0
- data/proto_docs/google/cloud/netapp/v1/backup_vault.rb +177 -0
- data/proto_docs/google/cloud/netapp/v1/common.rb +3 -0
- data/proto_docs/google/cloud/netapp/v1/kms.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/replication.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/snapshot.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +4 -3
- data/proto_docs/google/cloud/netapp/v1/volume.rb +31 -2
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ebbbc33e5b741844817501c67651eadd537d1865b579666492f7ff3becb1e5
|
4
|
+
data.tar.gz: 9578af540e62fb5363559e16588d927fdfb013763aac2161921e93d4789964b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5273b34c002754157e540cd74b3873d4506b1ade82ae5f120cb4cb1143fd8d0288a3dd35c76fd23e7922693053d9c1d2c07504d23dfca2c1ce0e1aac6a65affe
|
7
|
+
data.tar.gz: 01f3cb36d2bc11813397f235932ad3f8272ebcf29d608a7d46b6fa3c61be060fdf5ad0e551b0ef7a1bda6fafa4c0db8f61c34774b5b27d09c33aa242831c7e1a
|
@@ -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\"\xb3\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\x18\n\x10\x62\x61\x63kup_operators\x18\x0c \x03(\t\x12\x1a\n\x12security_operators\x18\r \x03(\t\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\"j\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:\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
|
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/netapp/v1/backup.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n#google/cloud/netapp/v1/backup.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\"\xd2\x06\n\x06\x42\x61\x63kup\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.Backup.StateB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1f\n\x12volume_usage_bytes\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12=\n\x0b\x62\x61\x63kup_type\x18\x05 \x01(\x0e\x32#.google.cloud.netapp.v1.Backup.TypeB\x03\xe0\x41\x03\x12\x38\n\rsource_volume\x18\x06 \x01(\tB!\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x41\n\x0fsource_snapshot\x18\x07 \x01(\tB#\xfa\x41 \n\x1enetapp.googleapis.com/SnapshotH\x00\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x06labels\x18\t \x03(\x0b\x32*.google.cloud.netapp.v1.Backup.LabelsEntry\x12 \n\x13\x63hain_storage_bytes\x18\n \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\"m\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tUPLOADING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08UPDATING\x10\x06\"7\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\r\n\tSCHEDULED\x10\x02:\x89\x01\xea\x41\x85\x01\n\x1cnetapp.googleapis.com/Backup\x12Tprojects/{project}/locations/{location}/backupVaults/{backup_vault}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kupB\x12\n\x10_source_snapshot\"\x93\x01\n\x12ListBackupsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"t\n\x13ListBackupsResponse\x12/\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32\x1e.google.cloud.netapp.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"F\n\x10GetBackupRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Backup\"\x98\x01\n\x13\x43reateBackupRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.BackupB\x03\xe0\x41\x02\"I\n\x13\x44\x65leteBackupRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Backup\"\x80\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x33\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.BackupB\x03\xe0\x41\x02\x42\xad\x01\n\x1a\x63om.google.cloud.netapp.v1B\x0b\x42\x61\x63kupProtoP\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
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module NetApp
|
44
|
+
module V1
|
45
|
+
Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Backup").msgclass
|
46
|
+
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Backup.State").enummodule
|
47
|
+
Backup::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Backup.Type").enummodule
|
48
|
+
ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupsRequest").msgclass
|
49
|
+
ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupsResponse").msgclass
|
50
|
+
GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetBackupRequest").msgclass
|
51
|
+
CreateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateBackupRequest").msgclass
|
52
|
+
DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteBackupRequest").msgclass
|
53
|
+
UpdateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateBackupRequest").msgclass
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/netapp/v1/backup_policy.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n*google/cloud/netapp/v1/backup_policy.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\"\xb6\x06\n\x0c\x42\x61\x63kupPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1f\n\x12\x64\x61ily_backup_limit\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12 \n\x13weekly_backup_limit\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12!\n\x14monthly_backup_limit\x18\x04 \x01(\x05H\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x07\x65nabled\x18\x06 \x01(\x08H\x04\x88\x01\x01\x12\'\n\x15\x61ssigned_volume_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03H\x05\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\t \x03(\x0b\x32\x30.google.cloud.netapp.v1.BackupPolicy.LabelsEntry\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.netapp.v1.BackupPolicy.StateB\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\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:\x8e\x01\xea\x41\x8a\x01\n\"netapp.googleapis.com/BackupPolicy\x12\x46projects/{project}/locations/{location}/backupPolicies/{backup_policy}*\x0e\x62\x61\x63kupPolicies2\x0c\x62\x61\x63kupPolicyB\x15\n\x13_daily_backup_limitB\x16\n\x14_weekly_backup_limitB\x17\n\x15_monthly_backup_limitB\x0e\n\x0c_descriptionB\n\n\x08_enabledB\x18\n\x16_assigned_volume_count\"\xb8\x01\n\x19\x43reateBackupPolicyRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"netapp.googleapis.com/BackupPolicy\x12@\n\rbackup_policy\x18\x02 \x01(\x0b\x32$.google.cloud.netapp.v1.BackupPolicyB\x03\xe0\x41\x02\x12\x1d\n\x10\x62\x61\x63kup_policy_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"R\n\x16GetBackupPolicyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"netapp.googleapis.com/BackupPolicy\"\xa0\x01\n\x19ListBackupPoliciesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"netapp.googleapis.com/BackupPolicy\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\"\x89\x01\n\x1aListBackupPoliciesResponse\x12=\n\x0f\x62\x61\x63kup_policies\x18\x01 \x03(\x0b\x32$.google.cloud.netapp.v1.BackupPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x93\x01\n\x19UpdateBackupPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12@\n\rbackup_policy\x18\x02 \x01(\x0b\x32$.google.cloud.netapp.v1.BackupPolicyB\x03\xe0\x41\x02\"U\n\x19\x44\x65leteBackupPolicyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"netapp.googleapis.com/BackupPolicyB\xb3\x01\n\x1a\x63om.google.cloud.netapp.v1B\x11\x42\x61\x63kupPolicyProtoP\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
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module NetApp
|
44
|
+
module V1
|
45
|
+
BackupPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupPolicy").msgclass
|
46
|
+
BackupPolicy::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupPolicy.State").enummodule
|
47
|
+
CreateBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateBackupPolicyRequest").msgclass
|
48
|
+
GetBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetBackupPolicyRequest").msgclass
|
49
|
+
ListBackupPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupPoliciesRequest").msgclass
|
50
|
+
ListBackupPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupPoliciesResponse").msgclass
|
51
|
+
UpdateBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateBackupPolicyRequest").msgclass
|
52
|
+
DeleteBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteBackupPolicyRequest").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/netapp/v1/backup_vault.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n)google/cloud/netapp/v1/backup_vault.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\"\x84\x04\n\x0b\x42\x61\x63kupVault\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12=\n\x05state\x18\x02 \x01(\x0e\x32).google.cloud.netapp.v1.BackupVault.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12?\n\x06labels\x18\x05 \x03(\x0b\x32/.google.cloud.netapp.v1.BackupVault.LabelsEntry\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\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:\x87\x01\xea\x41\x83\x01\n!netapp.googleapis.com/BackupVault\x12\x43projects/{project}/locations/{location}/backupVaults/{backup_vault}*\x0c\x62\x61\x63kupVaults2\x0b\x62\x61\x63kupVault\"P\n\x15GetBackupVaultRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/BackupVault\"\x9d\x01\n\x17ListBackupVaultsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/BackupVault\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"\x84\x01\n\x18ListBackupVaultsResponse\x12:\n\rbackup_vaults\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.BackupVault\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x18\x43reateBackupVaultRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/BackupVault\x12\x1c\n\x0f\x62\x61\x63kup_vault_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0c\x62\x61\x63kup_vault\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.BackupVaultB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteBackupVaultRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/BackupVault\"\x90\x01\n\x18UpdateBackupVaultRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x0c\x62\x61\x63kup_vault\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.BackupVaultB\x03\xe0\x41\x02\x42\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10\x42\x61\x63kupVaultProtoP\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
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module NetApp
|
44
|
+
module V1
|
45
|
+
BackupVault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupVault").msgclass
|
46
|
+
BackupVault::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupVault.State").enummodule
|
47
|
+
GetBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetBackupVaultRequest").msgclass
|
48
|
+
ListBackupVaultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupVaultsRequest").msgclass
|
49
|
+
ListBackupVaultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupVaultsResponse").msgclass
|
50
|
+
CreateBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateBackupVaultRequest").msgclass
|
51
|
+
DeleteBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteBackupVaultRequest").msgclass
|
52
|
+
UpdateBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateBackupVaultRequest").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -9,6 +9,9 @@ require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
10
|
require 'google/api/resource_pb'
|
11
11
|
require 'google/cloud/netapp/v1/active_directory_pb'
|
12
|
+
require 'google/cloud/netapp/v1/backup_pb'
|
13
|
+
require 'google/cloud/netapp/v1/backup_policy_pb'
|
14
|
+
require 'google/cloud/netapp/v1/backup_vault_pb'
|
12
15
|
require 'google/cloud/netapp/v1/kms_pb'
|
13
16
|
require 'google/cloud/netapp/v1/replication_pb'
|
14
17
|
require 'google/cloud/netapp/v1/snapshot_pb'
|
@@ -19,7 +22,7 @@ require 'google/protobuf/empty_pb'
|
|
19
22
|
require 'google/protobuf/timestamp_pb'
|
20
23
|
|
21
24
|
|
22
|
-
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/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\xf3;\n\x06NetApp\x12\xb8\x01\n\x10ListStoragePools\x12/.google.cloud.netapp.v1.ListStoragePoolsRequest\x1a\x30.google.cloud.netapp.v1.ListStoragePoolsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/storagePools\xda\x41\x06parent\x12\xf6\x01\n\x11\x43reateStoragePool\x12\x30.google.cloud.netapp.v1.CreateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/storagePools:\x0cstorage_pool\xda\x41#parent,storage_pool,storage_pool_id\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xa5\x01\n\x0eGetStoragePool\x12-.google.cloud.netapp.v1.GetStoragePoolRequest\x1a#.google.cloud.netapp.v1.StoragePool\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\x12\xf8\x01\n\x11UpdateStoragePool\x12\x30.google.cloud.netapp.v1.UpdateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}:\x0cstorage_pool\xda\x41\x18storage_pool,update_mask\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xd2\x01\n\x11\x44\x65leteStoragePool\x12\x30.google.cloud.netapp.v1.DeleteStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa4\x01\n\x0bListVolumes\x12*.google.cloud.netapp.v1.ListVolumesRequest\x1a+.google.cloud.netapp.v1.ListVolumesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/volumes\xda\x41\x06parent\x12\x91\x01\n\tGetVolume\x12(.google.cloud.netapp.v1.GetVolumeRequest\x1a\x1e.google.cloud.netapp.v1.Volume\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\x12\xcf\x01\n\x0c\x43reateVolume\x12+.google.cloud.netapp.v1.CreateVolumeRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/volumes:\x06volume\xda\x41\x17parent,volume,volume_id\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xd1\x01\n\x0cUpdateVolume\x12+.google.cloud.netapp.v1.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\xda\x41\x12volume,update_mask\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xc3\x01\n\x0c\x44\x65leteVolume\x12+.google.cloud.netapp.v1.DeleteVolumeRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb7\x01\n\x0cRevertVolume\x12+.google.cloud.netapp.v1.RevertVolumeRequest\x1a\x1d.google.longrunning.Operation\"[\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/volumes/*}:revert:\x01*\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xb6\x01\n\rListSnapshots\x12,.google.cloud.netapp.v1.ListSnapshotsRequest\x1a-.google.cloud.netapp.v1.ListSnapshotsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/volumes/*}/snapshots\xda\x41\x06parent\x12\xa3\x01\n\x0bGetSnapshot\x12*.google.cloud.netapp.v1.GetSnapshotRequest\x1a .google.cloud.netapp.v1.Snapshot\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\x12\xe8\x01\n\x0e\x43reateSnapshot\x12-.google.cloud.netapp.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x43\"7/v1/{parent=projects/*/locations/*/volumes/*}/snapshots:\x08snapshot\xda\x41\x1bparent,snapshot,snapshot_id\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xd3\x01\n\x0e\x44\x65leteSnapshot\x12-.google.cloud.netapp.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xea\x01\n\x0eUpdateSnapshot\x12-.google.cloud.netapp.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02L2@/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}:\x08snapshot\xda\x41\x14snapshot,update_mask\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xcc\x01\n\x15ListActiveDirectories\x12\x34.google.cloud.netapp.v1.ListActiveDirectoriesRequest\x1a\x35.google.cloud.netapp.v1.ListActiveDirectoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/activeDirectories\xda\x41\x06parent\x12\xb6\x01\n\x12GetActiveDirectory\x12\x31.google.cloud.netapp.v1.GetActiveDirectoryRequest\x1a\'.google.cloud.netapp.v1.ActiveDirectory\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\x12\x93\x02\n\x15\x43reateActiveDirectory\x12\x34.google.cloud.netapp.v1.CreateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\x82\xd3\xe4\x93\x02I\"5/v1/{parent=projects/*/locations/*}/activeDirectories:\x10\x61\x63tive_directory\xda\x41+parent,active_directory,active_directory_id\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\x95\x02\n\x15UpdateActiveDirectory\x12\x34.google.cloud.netapp.v1.UpdateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02Z2F/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}:\x10\x61\x63tive_directory\xda\x41\x1c\x61\x63tive_directory,update_mask\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\xdf\x01\n\x15\x44\x65leteActiveDirectory\x12\x34.google.cloud.netapp.v1.DeleteActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb0\x01\n\x0eListKmsConfigs\x12-.google.cloud.netapp.v1.ListKmsConfigsRequest\x1a..google.cloud.netapp.v1.ListKmsConfigsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/kmsConfigs\xda\x41\x06parent\x12\xe8\x01\n\x0f\x43reateKmsConfig\x12..google.cloud.netapp.v1.CreateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/kmsConfigs:\nkms_config\xda\x41\x1fparent,kms_config,kms_config_id\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\x9d\x01\n\x0cGetKmsConfig\x12+.google.cloud.netapp.v1.GetKmsConfigRequest\x1a!.google.cloud.netapp.v1.KmsConfig\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\x12\xea\x01\n\x0fUpdateKmsConfig\x12..google.cloud.netapp.v1.UpdateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02G29/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}:\nkms_config\xda\x41\x16kms_config,update_mask\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\xc2\x01\n\x0e\x45ncryptVolumes\x12-.google.cloud.netapp.v1.EncryptVolumesRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt:\x01*\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\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\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc2\x01\n\x10ListReplications\x12/.google.cloud.netapp.v1.ListReplicationsRequest\x1a\x30.google.cloud.netapp.v1.ListReplicationsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/volumes/*}/replications\xda\x41\x06parent\x12\xaf\x01\n\x0eGetReplication\x12-.google.cloud.netapp.v1.GetReplicationRequest\x1a#.google.cloud.netapp.v1.Replication\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\x12\xfd\x01\n\x11\x43reateReplication\x12\x30.google.cloud.netapp.v1.CreateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/volumes/*}/replications:\x0breplication\xda\x41!parent,replication,replication_id\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xdc\x01\n\x11\x44\x65leteReplication\x12\x30.google.cloud.netapp.v1.DeleteReplicationRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xff\x01\n\x11UpdateReplication\x12\x30.google.cloud.netapp.v1.UpdateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02U2F/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}:\x0breplication\xda\x41\x17replication,update_mask\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xcf\x01\n\x0fStopReplication\x12..google.cloud.netapp.v1.StopReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xd5\x01\n\x11ResumeReplication\x12\x30.google.cloud.netapp.v1.ResumeReplicationRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xf3\x01\n\x1bReverseReplicationDirection\x12:.google.cloud.netapp.v1.ReverseReplicationDirectionRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\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\xe0T\n\x06NetApp\x12\xb8\x01\n\x10ListStoragePools\x12/.google.cloud.netapp.v1.ListStoragePoolsRequest\x1a\x30.google.cloud.netapp.v1.ListStoragePoolsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/storagePools\xda\x41\x06parent\x12\xf6\x01\n\x11\x43reateStoragePool\x12\x30.google.cloud.netapp.v1.CreateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/storagePools:\x0cstorage_pool\xda\x41#parent,storage_pool,storage_pool_id\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xa5\x01\n\x0eGetStoragePool\x12-.google.cloud.netapp.v1.GetStoragePoolRequest\x1a#.google.cloud.netapp.v1.StoragePool\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\x12\xf8\x01\n\x11UpdateStoragePool\x12\x30.google.cloud.netapp.v1.UpdateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}:\x0cstorage_pool\xda\x41\x18storage_pool,update_mask\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xd2\x01\n\x11\x44\x65leteStoragePool\x12\x30.google.cloud.netapp.v1.DeleteStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa4\x01\n\x0bListVolumes\x12*.google.cloud.netapp.v1.ListVolumesRequest\x1a+.google.cloud.netapp.v1.ListVolumesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/volumes\xda\x41\x06parent\x12\x91\x01\n\tGetVolume\x12(.google.cloud.netapp.v1.GetVolumeRequest\x1a\x1e.google.cloud.netapp.v1.Volume\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\x12\xcf\x01\n\x0c\x43reateVolume\x12+.google.cloud.netapp.v1.CreateVolumeRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/volumes:\x06volume\xda\x41\x17parent,volume,volume_id\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xd1\x01\n\x0cUpdateVolume\x12+.google.cloud.netapp.v1.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\xda\x41\x12volume,update_mask\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xc3\x01\n\x0c\x44\x65leteVolume\x12+.google.cloud.netapp.v1.DeleteVolumeRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb7\x01\n\x0cRevertVolume\x12+.google.cloud.netapp.v1.RevertVolumeRequest\x1a\x1d.google.longrunning.Operation\"[\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/volumes/*}:revert:\x01*\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xb6\x01\n\rListSnapshots\x12,.google.cloud.netapp.v1.ListSnapshotsRequest\x1a-.google.cloud.netapp.v1.ListSnapshotsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/volumes/*}/snapshots\xda\x41\x06parent\x12\xa3\x01\n\x0bGetSnapshot\x12*.google.cloud.netapp.v1.GetSnapshotRequest\x1a .google.cloud.netapp.v1.Snapshot\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\x12\xe8\x01\n\x0e\x43reateSnapshot\x12-.google.cloud.netapp.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x43\"7/v1/{parent=projects/*/locations/*/volumes/*}/snapshots:\x08snapshot\xda\x41\x1bparent,snapshot,snapshot_id\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xd3\x01\n\x0e\x44\x65leteSnapshot\x12-.google.cloud.netapp.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xea\x01\n\x0eUpdateSnapshot\x12-.google.cloud.netapp.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02L2@/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}:\x08snapshot\xda\x41\x14snapshot,update_mask\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xcc\x01\n\x15ListActiveDirectories\x12\x34.google.cloud.netapp.v1.ListActiveDirectoriesRequest\x1a\x35.google.cloud.netapp.v1.ListActiveDirectoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/activeDirectories\xda\x41\x06parent\x12\xb6\x01\n\x12GetActiveDirectory\x12\x31.google.cloud.netapp.v1.GetActiveDirectoryRequest\x1a\'.google.cloud.netapp.v1.ActiveDirectory\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\x12\x93\x02\n\x15\x43reateActiveDirectory\x12\x34.google.cloud.netapp.v1.CreateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\x82\xd3\xe4\x93\x02I\"5/v1/{parent=projects/*/locations/*}/activeDirectories:\x10\x61\x63tive_directory\xda\x41+parent,active_directory,active_directory_id\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\x95\x02\n\x15UpdateActiveDirectory\x12\x34.google.cloud.netapp.v1.UpdateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02Z2F/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}:\x10\x61\x63tive_directory\xda\x41\x1c\x61\x63tive_directory,update_mask\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\xdf\x01\n\x15\x44\x65leteActiveDirectory\x12\x34.google.cloud.netapp.v1.DeleteActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb0\x01\n\x0eListKmsConfigs\x12-.google.cloud.netapp.v1.ListKmsConfigsRequest\x1a..google.cloud.netapp.v1.ListKmsConfigsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/kmsConfigs\xda\x41\x06parent\x12\xe8\x01\n\x0f\x43reateKmsConfig\x12..google.cloud.netapp.v1.CreateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/kmsConfigs:\nkms_config\xda\x41\x1fparent,kms_config,kms_config_id\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\x9d\x01\n\x0cGetKmsConfig\x12+.google.cloud.netapp.v1.GetKmsConfigRequest\x1a!.google.cloud.netapp.v1.KmsConfig\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\x12\xea\x01\n\x0fUpdateKmsConfig\x12..google.cloud.netapp.v1.UpdateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02G29/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}:\nkms_config\xda\x41\x16kms_config,update_mask\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\xc2\x01\n\x0e\x45ncryptVolumes\x12-.google.cloud.netapp.v1.EncryptVolumesRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt:\x01*\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\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\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc2\x01\n\x10ListReplications\x12/.google.cloud.netapp.v1.ListReplicationsRequest\x1a\x30.google.cloud.netapp.v1.ListReplicationsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/volumes/*}/replications\xda\x41\x06parent\x12\xaf\x01\n\x0eGetReplication\x12-.google.cloud.netapp.v1.GetReplicationRequest\x1a#.google.cloud.netapp.v1.Replication\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\x12\xfd\x01\n\x11\x43reateReplication\x12\x30.google.cloud.netapp.v1.CreateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/volumes/*}/replications:\x0breplication\xda\x41!parent,replication,replication_id\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xdc\x01\n\x11\x44\x65leteReplication\x12\x30.google.cloud.netapp.v1.DeleteReplicationRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xff\x01\n\x11UpdateReplication\x12\x30.google.cloud.netapp.v1.UpdateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02U2F/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}:\x0breplication\xda\x41\x17replication,update_mask\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xcf\x01\n\x0fStopReplication\x12..google.cloud.netapp.v1.StopReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xd5\x01\n\x11ResumeReplication\x12\x30.google.cloud.netapp.v1.ResumeReplicationRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xf3\x01\n\x1bReverseReplicationDirection\x12:.google.cloud.netapp.v1.ReverseReplicationDirectionRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xf6\x01\n\x11\x43reateBackupVault\x12\x30.google.cloud.netapp.v1.CreateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/backupVaults:\x0c\x62\x61\x63kup_vault\xda\x41#parent,backup_vault,backup_vault_id\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\x12\xa5\x01\n\x0eGetBackupVault\x12-.google.cloud.netapp.v1.GetBackupVaultRequest\x1a#.google.cloud.netapp.v1.BackupVault\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/backupVaults/*}\xda\x41\x04name\x12\xb8\x01\n\x10ListBackupVaults\x12/.google.cloud.netapp.v1.ListBackupVaultsRequest\x1a\x30.google.cloud.netapp.v1.ListBackupVaultsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/backupVaults\xda\x41\x06parent\x12\xf8\x01\n\x11UpdateBackupVault\x12\x30.google.cloud.netapp.v1.UpdateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{backup_vault.name=projects/*/locations/*/backupVaults/*}:\x0c\x62\x61\x63kup_vault\xda\x41\x18\x62\x61\x63kup_vault,update_mask\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\x12\xd2\x01\n\x11\x44\x65leteBackupVault\x12\x30.google.cloud.netapp.v1.DeleteBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/backupVaults/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xdf\x01\n\x0c\x43reateBackup\x12+.google.cloud.netapp.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02\x44\":/v1/{parent=projects/*/locations/*/backupVaults/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xa0\x01\n\tGetBackup\x12(.google.cloud.netapp.v1.GetBackupRequest\x1a\x1e.google.cloud.netapp.v1.Backup\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\xda\x41\x04name\x12\xb3\x01\n\x0bListBackups\x12*.google.cloud.netapp.v1.ListBackupsRequest\x1a+.google.cloud.netapp.v1.ListBackupsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/backupVaults/*}/backups\xda\x41\x06parent\x12\xd2\x01\n\x0c\x44\x65leteBackup\x12+.google.cloud.netapp.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe1\x01\n\x0cUpdateBackup\x12+.google.cloud.netapp.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02K2A/v1/{backup.name=projects/*/locations/*/backupVaults/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xfe\x01\n\x12\x43reateBackupPolicy\x12\x31.google.cloud.netapp.v1.CreateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02\x43\"2/v1/{parent=projects/*/locations/*}/backupPolicies:\rbackup_policy\xda\x41%parent,backup_policy,backup_policy_id\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\x12\xaa\x01\n\x0fGetBackupPolicy\x12..google.cloud.netapp.v1.GetBackupPolicyRequest\x1a$.google.cloud.netapp.v1.BackupPolicy\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/backupPolicies/*}\xda\x41\x04name\x12\xc0\x01\n\x12ListBackupPolicies\x12\x31.google.cloud.netapp.v1.ListBackupPoliciesRequest\x1a\x32.google.cloud.netapp.v1.ListBackupPoliciesResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/backupPolicies\xda\x41\x06parent\x12\x80\x02\n\x12UpdateBackupPolicy\x12\x31.google.cloud.netapp.v1.UpdateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x82\xd3\xe4\x93\x02Q2@/v1/{backup_policy.name=projects/*/locations/*/backupPolicies/*}:\rbackup_policy\xda\x41\x19\x62\x61\x63kup_policy,update_mask\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\x12\xd6\x01\n\x12\x44\x65leteBackupPolicy\x12\x31.google.cloud.netapp.v1.DeleteBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/backupPolicies/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\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"
|
23
26
|
|
24
27
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
28
|
|
@@ -110,6 +110,39 @@ module Google
|
|
110
110
|
# Reverses direction of replication. Source becomes destination and
|
111
111
|
# destination becomes source.
|
112
112
|
rpc :ReverseReplicationDirection, ::Google::Cloud::NetApp::V1::ReverseReplicationDirectionRequest, ::Google::Longrunning::Operation
|
113
|
+
# Creates new backup vault
|
114
|
+
rpc :CreateBackupVault, ::Google::Cloud::NetApp::V1::CreateBackupVaultRequest, ::Google::Longrunning::Operation
|
115
|
+
# Returns the description of the specified backup vault
|
116
|
+
rpc :GetBackupVault, ::Google::Cloud::NetApp::V1::GetBackupVaultRequest, ::Google::Cloud::NetApp::V1::BackupVault
|
117
|
+
# Returns list of all available backup vaults.
|
118
|
+
rpc :ListBackupVaults, ::Google::Cloud::NetApp::V1::ListBackupVaultsRequest, ::Google::Cloud::NetApp::V1::ListBackupVaultsResponse
|
119
|
+
# Updates the settings of a specific backup vault.
|
120
|
+
rpc :UpdateBackupVault, ::Google::Cloud::NetApp::V1::UpdateBackupVaultRequest, ::Google::Longrunning::Operation
|
121
|
+
# Warning! This operation will permanently delete the backup vault.
|
122
|
+
rpc :DeleteBackupVault, ::Google::Cloud::NetApp::V1::DeleteBackupVaultRequest, ::Google::Longrunning::Operation
|
123
|
+
# Creates a backup from the volume specified in the request
|
124
|
+
# The backup can be created from the given snapshot if specified in the
|
125
|
+
# request. If no snapshot specified, there'll be a new snapshot taken to
|
126
|
+
# initiate the backup creation.
|
127
|
+
rpc :CreateBackup, ::Google::Cloud::NetApp::V1::CreateBackupRequest, ::Google::Longrunning::Operation
|
128
|
+
# Returns the description of the specified backup
|
129
|
+
rpc :GetBackup, ::Google::Cloud::NetApp::V1::GetBackupRequest, ::Google::Cloud::NetApp::V1::Backup
|
130
|
+
# Returns descriptions of all backups for a backupVault.
|
131
|
+
rpc :ListBackups, ::Google::Cloud::NetApp::V1::ListBackupsRequest, ::Google::Cloud::NetApp::V1::ListBackupsResponse
|
132
|
+
# Warning! This operation will permanently delete the backup.
|
133
|
+
rpc :DeleteBackup, ::Google::Cloud::NetApp::V1::DeleteBackupRequest, ::Google::Longrunning::Operation
|
134
|
+
# Update backup with full spec.
|
135
|
+
rpc :UpdateBackup, ::Google::Cloud::NetApp::V1::UpdateBackupRequest, ::Google::Longrunning::Operation
|
136
|
+
# Creates new backup policy
|
137
|
+
rpc :CreateBackupPolicy, ::Google::Cloud::NetApp::V1::CreateBackupPolicyRequest, ::Google::Longrunning::Operation
|
138
|
+
# Returns the description of the specified backup policy by backup_policy_id.
|
139
|
+
rpc :GetBackupPolicy, ::Google::Cloud::NetApp::V1::GetBackupPolicyRequest, ::Google::Cloud::NetApp::V1::BackupPolicy
|
140
|
+
# Returns list of all available backup policies.
|
141
|
+
rpc :ListBackupPolicies, ::Google::Cloud::NetApp::V1::ListBackupPoliciesRequest, ::Google::Cloud::NetApp::V1::ListBackupPoliciesResponse
|
142
|
+
# Updates settings of a specific backup policy.
|
143
|
+
rpc :UpdateBackupPolicy, ::Google::Cloud::NetApp::V1::UpdateBackupPolicyRequest, ::Google::Longrunning::Operation
|
144
|
+
# Warning! This operation will permanently delete the backup policy.
|
145
|
+
rpc :DeleteBackupPolicy, ::Google::Cloud::NetApp::V1::DeleteBackupPolicyRequest, ::Google::Longrunning::Operation
|
113
146
|
end
|
114
147
|
|
115
148
|
Stub = Service.rpc_stub_class
|
@@ -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/kms.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\"L\n\x13GetKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"\x99\x01\n\x15ListKmsConfigsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"~\n\x16ListKmsConfigsResponse\x12\x36\n\x0bkms_configs\x18\x01 \x03(\x0b\x32!.google.cloud.netapp.v1.KmsConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa9\x01\n\x16\x43reateKmsConfigRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x1a\n\rkms_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x03 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"\x8a\x01\n\x16UpdateKmsConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x02 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"O\n\x16\x44\x65leteKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"N\n\x15\x45ncryptVolumesRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"O\n\x16VerifyKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"e\n\x17VerifyKmsConfigResponse\x12\x14\n\x07healthy\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x19\n\x0chealth_error\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cinstructions\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\
|
13
|
+
descriptor_data = "\n google/cloud/netapp/v1/kms.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\"L\n\x13GetKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"\x99\x01\n\x15ListKmsConfigsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"~\n\x16ListKmsConfigsResponse\x12\x36\n\x0bkms_configs\x18\x01 \x03(\x0b\x32!.google.cloud.netapp.v1.KmsConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa9\x01\n\x16\x43reateKmsConfigRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x1a\n\rkms_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x03 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"\x8a\x01\n\x16UpdateKmsConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x02 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"O\n\x16\x44\x65leteKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"N\n\x15\x45ncryptVolumesRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"O\n\x16VerifyKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"e\n\x17VerifyKmsConfigResponse\x12\x14\n\x07healthy\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x19\n\x0chealth_error\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cinstructions\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xcc\x05\n\tKmsConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1c\n\x0f\x63rypto_key_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.cloud.netapp.v1.KmsConfig.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.netapp.v1.KmsConfig.LabelsEntry\x12\x19\n\x0cinstructions\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fservice_account\x18\t \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\"\xc4\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\n\n\x06IN_USE\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x15\n\x11KEY_CHECK_PENDING\x10\x07\x12\x15\n\x11KEY_NOT_REACHABLE\x10\x08\x12\r\n\tDISABLING\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\r\n\tMIGRATING\x10\x0b:|\xea\x41y\n\x1fnetapp.googleapis.com/KmsConfig\x12?projects/{project}/locations/{location}/kmsConfigs/{kms_config}*\nkmsConfigs2\tkmsConfigB\xaa\x01\n\x1a\x63om.google.cloud.netapp.v1B\x08KmsProtoP\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
|
|