google-cloud-netapp-v1 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/netapp/v1/active_directory_pb.rb +56 -0
  6. data/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +57 -0
  7. data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +120 -0
  8. data/lib/google/cloud/netapp/v1/common_pb.rb +43 -0
  9. data/lib/google/cloud/netapp/v1/kms_pb.rb +59 -0
  10. data/lib/google/cloud/netapp/v1/netapp/client.rb +4110 -0
  11. data/lib/google/cloud/netapp/v1/netapp/credentials.rb +47 -0
  12. data/lib/google/cloud/netapp/v1/netapp/operations.rb +770 -0
  13. data/lib/google/cloud/netapp/v1/netapp/paths.rb +185 -0
  14. data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +3071 -0
  15. data/lib/google/cloud/netapp/v1/netapp/rest/operations.rb +795 -0
  16. data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +2190 -0
  17. data/lib/google/cloud/netapp/v1/netapp/rest.rb +53 -0
  18. data/lib/google/cloud/netapp/v1/netapp.rb +56 -0
  19. data/lib/google/cloud/netapp/v1/replication_pb.rb +66 -0
  20. data/lib/google/cloud/netapp/v1/rest.rb +37 -0
  21. data/lib/google/cloud/netapp/v1/snapshot_pb.rb +56 -0
  22. data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +57 -0
  23. data/lib/google/cloud/netapp/v1/version.rb +8 -3
  24. data/lib/google/cloud/netapp/v1/volume_pb.rb +71 -0
  25. data/lib/google/cloud/netapp/v1.rb +45 -0
  26. data/lib/google-cloud-netapp-v1.rb +21 -0
  27. data/proto_docs/README.md +4 -0
  28. data/proto_docs/google/api/client.rb +381 -0
  29. data/proto_docs/google/api/field_behavior.rb +71 -0
  30. data/proto_docs/google/api/launch_stage.rb +71 -0
  31. data/proto_docs/google/api/resource.rb +222 -0
  32. data/proto_docs/google/cloud/netapp/v1/active_directory.rb +222 -0
  33. data/proto_docs/google/cloud/netapp/v1/cloud_netapp_service.rb +57 -0
  34. data/proto_docs/google/cloud/netapp/v1/common.rb +50 -0
  35. data/proto_docs/google/cloud/netapp/v1/kms.rb +230 -0
  36. data/proto_docs/google/cloud/netapp/v1/replication.rb +349 -0
  37. data/proto_docs/google/cloud/netapp/v1/snapshot.rb +179 -0
  38. data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +205 -0
  39. data/proto_docs/google/cloud/netapp/v1/volume.rb +530 -0
  40. data/proto_docs/google/longrunning/operations.rb +164 -0
  41. data/proto_docs/google/protobuf/any.rb +144 -0
  42. data/proto_docs/google/protobuf/duration.rb +98 -0
  43. data/proto_docs/google/protobuf/empty.rb +34 -0
  44. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  45. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  46. data/proto_docs/google/rpc/status.rb +48 -0
  47. metadata +224 -13
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/netapp/v1/kms.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/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\"\xb5\x05\n\tKmsConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\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:e\xea\x41\x62\n\x1fnetapp.googleapis.com/KmsConfig\x12?projects/{project}/locations/{location}/kmsConfigs/{kms_config}B\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
+
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.FieldMask", "google/protobuf/field_mask.proto"],
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.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
+ GetKmsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetKmsConfigRequest").msgclass
46
+ ListKmsConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListKmsConfigsRequest").msgclass
47
+ ListKmsConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListKmsConfigsResponse").msgclass
48
+ CreateKmsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateKmsConfigRequest").msgclass
49
+ UpdateKmsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateKmsConfigRequest").msgclass
50
+ DeleteKmsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteKmsConfigRequest").msgclass
51
+ EncryptVolumesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.EncryptVolumesRequest").msgclass
52
+ VerifyKmsConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.VerifyKmsConfigRequest").msgclass
53
+ VerifyKmsConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.VerifyKmsConfigResponse").msgclass
54
+ KmsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.KmsConfig").msgclass
55
+ KmsConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.KmsConfig.State").enummodule
56
+ end
57
+ end
58
+ end
59
+ end