google-cloud-netapp-v1 2.12.2 → 2.14.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/backup_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/backup_policy_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/backup_vault_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 +19 -4
- data/lib/google/cloud/netapp/v1/common_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/host_group_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/kms_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/netapp/client.rb +534 -6
- data/lib/google/cloud/netapp/v1/netapp/paths.rb +21 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +499 -6
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +308 -0
- data/lib/google/cloud/netapp/v1/ontap_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/quota_rule_pb.rb +1 -1
- 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 +14 -1
- data/proto_docs/google/cloud/netapp/v1/backup.rb +24 -4
- data/proto_docs/google/cloud/netapp/v1/backup_vault.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/common.rb +12 -0
- data/proto_docs/google/cloud/netapp/v1/kms.rb +1 -1
- data/proto_docs/google/cloud/netapp/v1/ontap.rb +1 -1
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/volume.rb +199 -4
- metadata +3 -3
|
@@ -593,6 +593,86 @@ module Google
|
|
|
593
593
|
end
|
|
594
594
|
end
|
|
595
595
|
|
|
596
|
+
##
|
|
597
|
+
# Baseline implementation for the start_split REST call
|
|
598
|
+
#
|
|
599
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::StartSplitRequest]
|
|
600
|
+
# A request object representing the call parameters. Required.
|
|
601
|
+
# @param options [::Gapic::CallOptions]
|
|
602
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
603
|
+
#
|
|
604
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
605
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
606
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
607
|
+
#
|
|
608
|
+
# @return [::Google::Longrunning::Operation]
|
|
609
|
+
# A result object deserialized from the server's reply
|
|
610
|
+
def start_split request_pb, options = nil
|
|
611
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
612
|
+
|
|
613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_start_split_request request_pb
|
|
614
|
+
query_string_params = if query_string_params.any?
|
|
615
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
616
|
+
else
|
|
617
|
+
{}
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
response = @client_stub.make_http_request(
|
|
621
|
+
verb,
|
|
622
|
+
uri: uri,
|
|
623
|
+
body: body || "",
|
|
624
|
+
params: query_string_params,
|
|
625
|
+
method_name: "start_split",
|
|
626
|
+
options: options
|
|
627
|
+
)
|
|
628
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
629
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
630
|
+
catch :response do
|
|
631
|
+
yield result, operation if block_given?
|
|
632
|
+
result
|
|
633
|
+
end
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
##
|
|
637
|
+
# Baseline implementation for the get_split_status REST call
|
|
638
|
+
#
|
|
639
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::GetSplitStatusRequest]
|
|
640
|
+
# A request object representing the call parameters. Required.
|
|
641
|
+
# @param options [::Gapic::CallOptions]
|
|
642
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
643
|
+
#
|
|
644
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
645
|
+
# @yieldparam result [::Google::Cloud::NetApp::V1::SplitStatus]
|
|
646
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
647
|
+
#
|
|
648
|
+
# @return [::Google::Cloud::NetApp::V1::SplitStatus]
|
|
649
|
+
# A result object deserialized from the server's reply
|
|
650
|
+
def get_split_status request_pb, options = nil
|
|
651
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
652
|
+
|
|
653
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_split_status_request request_pb
|
|
654
|
+
query_string_params = if query_string_params.any?
|
|
655
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
656
|
+
else
|
|
657
|
+
{}
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
response = @client_stub.make_http_request(
|
|
661
|
+
verb,
|
|
662
|
+
uri: uri,
|
|
663
|
+
body: body || "",
|
|
664
|
+
params: query_string_params,
|
|
665
|
+
method_name: "get_split_status",
|
|
666
|
+
options: options
|
|
667
|
+
)
|
|
668
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
669
|
+
result = ::Google::Cloud::NetApp::V1::SplitStatus.decode_json response.body, ignore_unknown_fields: true
|
|
670
|
+
catch :response do
|
|
671
|
+
yield result, operation if block_given?
|
|
672
|
+
result
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
|
|
596
676
|
##
|
|
597
677
|
# Baseline implementation for the establish_volume_peering REST call
|
|
598
678
|
#
|
|
@@ -2913,6 +2993,126 @@ module Google
|
|
|
2913
2993
|
end
|
|
2914
2994
|
end
|
|
2915
2995
|
|
|
2996
|
+
##
|
|
2997
|
+
# Baseline implementation for the restore_volume REST call
|
|
2998
|
+
#
|
|
2999
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::RestoreVolumeRequest]
|
|
3000
|
+
# A request object representing the call parameters. Required.
|
|
3001
|
+
# @param options [::Gapic::CallOptions]
|
|
3002
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3003
|
+
#
|
|
3004
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3005
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
3006
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3007
|
+
#
|
|
3008
|
+
# @return [::Google::Longrunning::Operation]
|
|
3009
|
+
# A result object deserialized from the server's reply
|
|
3010
|
+
def restore_volume request_pb, options = nil
|
|
3011
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3012
|
+
|
|
3013
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_restore_volume_request request_pb
|
|
3014
|
+
query_string_params = if query_string_params.any?
|
|
3015
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3016
|
+
else
|
|
3017
|
+
{}
|
|
3018
|
+
end
|
|
3019
|
+
|
|
3020
|
+
response = @client_stub.make_http_request(
|
|
3021
|
+
verb,
|
|
3022
|
+
uri: uri,
|
|
3023
|
+
body: body || "",
|
|
3024
|
+
params: query_string_params,
|
|
3025
|
+
method_name: "restore_volume",
|
|
3026
|
+
options: options
|
|
3027
|
+
)
|
|
3028
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3029
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
3030
|
+
catch :response do
|
|
3031
|
+
yield result, operation if block_given?
|
|
3032
|
+
result
|
|
3033
|
+
end
|
|
3034
|
+
end
|
|
3035
|
+
|
|
3036
|
+
##
|
|
3037
|
+
# Baseline implementation for the list_backup_configs REST call
|
|
3038
|
+
#
|
|
3039
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::ListBackupConfigsRequest]
|
|
3040
|
+
# A request object representing the call parameters. Required.
|
|
3041
|
+
# @param options [::Gapic::CallOptions]
|
|
3042
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3043
|
+
#
|
|
3044
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3045
|
+
# @yieldparam result [::Google::Cloud::NetApp::V1::ListBackupConfigsResponse]
|
|
3046
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3047
|
+
#
|
|
3048
|
+
# @return [::Google::Cloud::NetApp::V1::ListBackupConfigsResponse]
|
|
3049
|
+
# A result object deserialized from the server's reply
|
|
3050
|
+
def list_backup_configs request_pb, options = nil
|
|
3051
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3052
|
+
|
|
3053
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_backup_configs_request request_pb
|
|
3054
|
+
query_string_params = if query_string_params.any?
|
|
3055
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3056
|
+
else
|
|
3057
|
+
{}
|
|
3058
|
+
end
|
|
3059
|
+
|
|
3060
|
+
response = @client_stub.make_http_request(
|
|
3061
|
+
verb,
|
|
3062
|
+
uri: uri,
|
|
3063
|
+
body: body || "",
|
|
3064
|
+
params: query_string_params,
|
|
3065
|
+
method_name: "list_backup_configs",
|
|
3066
|
+
options: options
|
|
3067
|
+
)
|
|
3068
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3069
|
+
result = ::Google::Cloud::NetApp::V1::ListBackupConfigsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
3070
|
+
catch :response do
|
|
3071
|
+
yield result, operation if block_given?
|
|
3072
|
+
result
|
|
3073
|
+
end
|
|
3074
|
+
end
|
|
3075
|
+
|
|
3076
|
+
##
|
|
3077
|
+
# Baseline implementation for the update_backup_config REST call
|
|
3078
|
+
#
|
|
3079
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::UpdateBackupConfigRequest]
|
|
3080
|
+
# A request object representing the call parameters. Required.
|
|
3081
|
+
# @param options [::Gapic::CallOptions]
|
|
3082
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3083
|
+
#
|
|
3084
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3085
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
3086
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3087
|
+
#
|
|
3088
|
+
# @return [::Google::Longrunning::Operation]
|
|
3089
|
+
# A result object deserialized from the server's reply
|
|
3090
|
+
def update_backup_config request_pb, options = nil
|
|
3091
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
3092
|
+
|
|
3093
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_backup_config_request request_pb
|
|
3094
|
+
query_string_params = if query_string_params.any?
|
|
3095
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
3096
|
+
else
|
|
3097
|
+
{}
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3100
|
+
response = @client_stub.make_http_request(
|
|
3101
|
+
verb,
|
|
3102
|
+
uri: uri,
|
|
3103
|
+
body: body || "",
|
|
3104
|
+
params: query_string_params,
|
|
3105
|
+
method_name: "update_backup_config",
|
|
3106
|
+
options: options
|
|
3107
|
+
)
|
|
3108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
3109
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
3110
|
+
catch :response do
|
|
3111
|
+
yield result, operation if block_given?
|
|
3112
|
+
result
|
|
3113
|
+
end
|
|
3114
|
+
end
|
|
3115
|
+
|
|
2916
3116
|
##
|
|
2917
3117
|
# @private
|
|
2918
3118
|
#
|
|
@@ -3193,6 +3393,49 @@ module Google
|
|
|
3193
3393
|
transcoder.transcode request_pb
|
|
3194
3394
|
end
|
|
3195
3395
|
|
|
3396
|
+
##
|
|
3397
|
+
# @private
|
|
3398
|
+
#
|
|
3399
|
+
# GRPC transcoding helper method for the start_split REST call
|
|
3400
|
+
#
|
|
3401
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::StartSplitRequest]
|
|
3402
|
+
# A request object representing the call parameters. Required.
|
|
3403
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3404
|
+
# Uri, Body, Query string parameters
|
|
3405
|
+
def self.transcode_start_split_request request_pb
|
|
3406
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3407
|
+
.with_bindings(
|
|
3408
|
+
uri_method: :post,
|
|
3409
|
+
uri_template: "/v1/{name}:startSplit",
|
|
3410
|
+
body: "*",
|
|
3411
|
+
matches: [
|
|
3412
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/volumes/[^/]+/?$}, false]
|
|
3413
|
+
]
|
|
3414
|
+
)
|
|
3415
|
+
transcoder.transcode request_pb
|
|
3416
|
+
end
|
|
3417
|
+
|
|
3418
|
+
##
|
|
3419
|
+
# @private
|
|
3420
|
+
#
|
|
3421
|
+
# GRPC transcoding helper method for the get_split_status REST call
|
|
3422
|
+
#
|
|
3423
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::GetSplitStatusRequest]
|
|
3424
|
+
# A request object representing the call parameters. Required.
|
|
3425
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
3426
|
+
# Uri, Body, Query string parameters
|
|
3427
|
+
def self.transcode_get_split_status_request request_pb
|
|
3428
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
3429
|
+
.with_bindings(
|
|
3430
|
+
uri_method: :get,
|
|
3431
|
+
uri_template: "/v1/{name}:getSplitStatus",
|
|
3432
|
+
matches: [
|
|
3433
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/volumes/[^/]+/?$}, false]
|
|
3434
|
+
]
|
|
3435
|
+
)
|
|
3436
|
+
transcoder.transcode request_pb
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3196
3439
|
##
|
|
3197
3440
|
# @private
|
|
3198
3441
|
#
|
|
@@ -4439,6 +4682,71 @@ module Google
|
|
|
4439
4682
|
)
|
|
4440
4683
|
transcoder.transcode request_pb
|
|
4441
4684
|
end
|
|
4685
|
+
|
|
4686
|
+
##
|
|
4687
|
+
# @private
|
|
4688
|
+
#
|
|
4689
|
+
# GRPC transcoding helper method for the restore_volume REST call
|
|
4690
|
+
#
|
|
4691
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::RestoreVolumeRequest]
|
|
4692
|
+
# A request object representing the call parameters. Required.
|
|
4693
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
4694
|
+
# Uri, Body, Query string parameters
|
|
4695
|
+
def self.transcode_restore_volume_request request_pb
|
|
4696
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
4697
|
+
.with_bindings(
|
|
4698
|
+
uri_method: :post,
|
|
4699
|
+
uri_template: "/v1/{name}:restoreVolume",
|
|
4700
|
+
body: "*",
|
|
4701
|
+
matches: [
|
|
4702
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/?$}, false]
|
|
4703
|
+
]
|
|
4704
|
+
)
|
|
4705
|
+
transcoder.transcode request_pb
|
|
4706
|
+
end
|
|
4707
|
+
|
|
4708
|
+
##
|
|
4709
|
+
# @private
|
|
4710
|
+
#
|
|
4711
|
+
# GRPC transcoding helper method for the list_backup_configs REST call
|
|
4712
|
+
#
|
|
4713
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::ListBackupConfigsRequest]
|
|
4714
|
+
# A request object representing the call parameters. Required.
|
|
4715
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
4716
|
+
# Uri, Body, Query string parameters
|
|
4717
|
+
def self.transcode_list_backup_configs_request request_pb
|
|
4718
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
4719
|
+
.with_bindings(
|
|
4720
|
+
uri_method: :get,
|
|
4721
|
+
uri_template: "/v1/{parent}/backupConfigs",
|
|
4722
|
+
matches: [
|
|
4723
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/?$}, false]
|
|
4724
|
+
]
|
|
4725
|
+
)
|
|
4726
|
+
transcoder.transcode request_pb
|
|
4727
|
+
end
|
|
4728
|
+
|
|
4729
|
+
##
|
|
4730
|
+
# @private
|
|
4731
|
+
#
|
|
4732
|
+
# GRPC transcoding helper method for the update_backup_config REST call
|
|
4733
|
+
#
|
|
4734
|
+
# @param request_pb [::Google::Cloud::NetApp::V1::UpdateBackupConfigRequest]
|
|
4735
|
+
# A request object representing the call parameters. Required.
|
|
4736
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
4737
|
+
# Uri, Body, Query string parameters
|
|
4738
|
+
def self.transcode_update_backup_config_request request_pb
|
|
4739
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
4740
|
+
.with_bindings(
|
|
4741
|
+
uri_method: :post,
|
|
4742
|
+
uri_template: "/v1/{name}:updateBackupConfig",
|
|
4743
|
+
body: "*",
|
|
4744
|
+
matches: [
|
|
4745
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/storagePools/[^/]+/?$}, false]
|
|
4746
|
+
]
|
|
4747
|
+
)
|
|
4748
|
+
transcoder.transcode request_pb
|
|
4749
|
+
end
|
|
4442
4750
|
end
|
|
4443
4751
|
end
|
|
4444
4752
|
end
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/protobuf/struct_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\"google/cloud/netapp/v1/ontap.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"
|
|
11
|
+
descriptor_data = "\n\"google/cloud/netapp/v1/ontap.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"`\n\x17\x45xecuteOntapPostRequest\x12+\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x02\x12\x18\n\nontap_path\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"A\n\x18\x45xecuteOntapPostResponse\x12%\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"2\n\x16\x45xecuteOntapGetRequest\x12\x18\n\nontap_path\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"@\n\x17\x45xecuteOntapGetResponse\x12%\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"5\n\x19\x45xecuteOntapDeleteRequest\x12\x18\n\nontap_path\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"C\n\x1a\x45xecuteOntapDeleteResponse\x12%\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"a\n\x18\x45xecuteOntapPatchRequest\x12+\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x02\x12\x18\n\nontap_path\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"B\n\x19\x45xecuteOntapPatchResponse\x12%\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructB\xac\x01\n\x1a\x63om.google.cloud.netapp.v1B\nOntapProtoP\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"
|
|
12
12
|
|
|
13
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -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/quota_rule.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\"\
|
|
13
|
+
descriptor_data = "\n\'google/cloud/netapp/v1/quota_rule.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\"\xb2\x01\n\x15ListQuotaRulesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/QuotaRule\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"~\n\x16ListQuotaRulesResponse\x12\x36\n\x0bquota_rules\x18\x01 \x03(\x0b\x32!.google.cloud.netapp.v1.QuotaRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x13GetQuotaRuleRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1fnetapp.googleapis.com/QuotaRule\"\xac\x01\n\x16\x43reateQuotaRuleRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/QuotaRule\x12;\n\nquota_rule\x18\x02 \x01(\x0b\x32!.google.cloud.netapp.v1.QuotaRuleB\x04\xe2\x41\x01\x02\x12\x1b\n\rquota_rule_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"\x8c\x01\n\x16UpdateQuotaRuleRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12;\n\nquota_rule\x18\x02 \x01(\x0b\x32!.google.cloud.netapp.v1.QuotaRuleB\x04\xe2\x41\x01\x02\"P\n\x16\x44\x65leteQuotaRuleRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1fnetapp.googleapis.com/QuotaRule\"\xa8\x06\n\tQuotaRule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x14\n\x06target\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12:\n\x04type\x18\x03 \x01(\x0e\x32&.google.cloud.netapp.v1.QuotaRule.TypeB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x64isk_limit_mib\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12<\n\x05state\x18\x06 \x01(\x0e\x32\'.google.cloud.netapp.v1.QuotaRule.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_details\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x43\n\x06labels\x18\n \x03(\x0b\x32-.google.cloud.netapp.v1.QuotaRule.LabelsEntryB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15INDIVIDUAL_USER_QUOTA\x10\x01\x12\x1a\n\x16INDIVIDUAL_GROUP_QUOTA\x10\x02\x12\x16\n\x12\x44\x45\x46\x41ULT_USER_QUOTA\x10\x03\x12\x17\n\x13\x44\x45\x46\x41ULT_GROUP_QUOTA\x10\x04\"^\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05READY\x10\x04\x12\t\n\x05\x45RROR\x10\x05:\x8e\x01\xea\x41\x8a\x01\n\x1fnetapp.googleapis.com/QuotaRule\x12Pprojects/{project}/locations/{location}/volumes/{volume}/quotaRules/{quota_rule}*\nquotaRules2\tquotaRuleB\xb0\x01\n\x1a\x63om.google.cloud.netapp.v1B\x0eQuotaRuleProtoP\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
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
descriptor_data = "\n(google/cloud/netapp/v1/replication.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\x04\n\rTransferStats\x12\x1b\n\x0etransfer_bytes\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12?\n\x17total_transfer_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12 \n\x13last_transfer_bytes\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12>\n\x16last_transfer_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12\x34\n\x0clag_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12?\n\x16last_transfer_end_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\x88\x01\x01\x12 \n\x13last_transfer_error\x18\x08 \x01(\tH\x07\x88\x01\x01\x42\x11\n\x0f_transfer_bytesB\x1a\n\x18_total_transfer_durationB\x16\n\x14_last_transfer_bytesB\x19\n\x17_last_transfer_durationB\x0f\n\r_lag_durationB\x0e\n\x0c_update_timeB\x19\n\x17_last_transfer_end_timeB\x16\n\x14_last_transfer_error\"\
|
|
16
|
+
descriptor_data = "\n(google/cloud/netapp/v1/replication.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\x04\n\rTransferStats\x12\x1b\n\x0etransfer_bytes\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12?\n\x17total_transfer_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12 \n\x13last_transfer_bytes\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12>\n\x16last_transfer_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12\x34\n\x0clag_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12?\n\x16last_transfer_end_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\x88\x01\x01\x12 \n\x13last_transfer_error\x18\x08 \x01(\tH\x07\x88\x01\x01\x42\x11\n\x0f_transfer_bytesB\x1a\n\x18_total_transfer_durationB\x16\n\x14_last_transfer_bytesB\x19\n\x17_last_transfer_durationB\x0f\n\r_lag_durationB\x0e\n\x0c_update_timeB\x19\n\x17_last_transfer_end_timeB\x16\n\x14_last_transfer_error\"\xd0\x10\n\x0bReplication\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12>\n\x05state\x18\x02 \x01(\x0e\x32).google.cloud.netapp.v1.Replication.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_details\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12G\n\x04role\x18\x04 \x01(\x0e\x32\x33.google.cloud.netapp.v1.Replication.ReplicationRoleB\x04\xe2\x41\x01\x03\x12[\n\x14replication_schedule\x18\x05 \x01(\x0e\x32\x37.google.cloud.netapp.v1.Replication.ReplicationScheduleB\x04\xe2\x41\x01\x02\x12K\n\x0cmirror_state\x18\x06 \x01(\x0e\x32/.google.cloud.netapp.v1.Replication.MirrorStateB\x04\xe2\x41\x01\x03\x12\x1a\n\x07healthy\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x03H\x00\x88\x01\x01\x12\x35\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x41\n\x12\x64\x65stination_volume\x18\n \x01(\tB%\xe2\x41\x01\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x43\n\x0etransfer_stats\x18\x0b \x01(\x0b\x32%.google.cloud.netapp.v1.TransferStatsB\x04\xe2\x41\x01\x03\x12?\n\x06labels\x18\x0c \x03(\x0b\x32/.google.cloud.netapp.v1.Replication.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x01\x88\x01\x01\x12\x61\n\x1d\x64\x65stination_volume_parameters\x18\x0e \x01(\x0b\x32\x33.google.cloud.netapp.v1.DestinationVolumeParametersB\x05\xe2\x41\x02\x04\x02\x12<\n\rsource_volume\x18\x0f \x01(\tB%\xe2\x41\x01\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12R\n\x16hybrid_peering_details\x18\x10 \x01(\x0b\x32,.google.cloud.netapp.v1.HybridPeeringDetailsB\x04\xe2\x41\x01\x03\x12\x1e\n\x10\x63luster_location\x18\x12 \x01(\tB\x04\xe2\x41\x01\x01\x12`\n\x17hybrid_replication_type\x18\x13 \x01(\x0e\x32\x39.google.cloud.netapp.v1.Replication.HybridReplicationTypeB\x04\xe2\x41\x01\x03\x12T\n hybrid_replication_user_commands\x18\x14 \x01(\x0b\x32$.google.cloud.netapp.v1.UserCommandsB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd3\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\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x1b\n\x17PENDING_CLUSTER_PEERING\x10\x08\x12\x17\n\x13PENDING_SVM_PEERING\x10\t\x12\x19\n\x15PENDING_REMOTE_RESYNC\x10\n\x12\"\n\x1e\x45XTERNALLY_MANAGED_REPLICATION\x10\x0b\"P\n\x0fReplicationRole\x12 \n\x1cREPLICATION_ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\x0f\n\x0b\x44\x45STINATION\x10\x02\"h\n\x13ReplicationSchedule\x12$\n REPLICATION_SCHEDULE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45VERY_10_MINUTES\x10\x01\x12\n\n\x06HOURLY\x10\x02\x12\t\n\x05\x44\x41ILY\x10\x03\"\xbc\x01\n\x0bMirrorState\x12\x1c\n\x18MIRROR_STATE_UNSPECIFIED\x10\x00\x12\r\n\tPREPARING\x10\x01\x12\x0c\n\x08MIRRORED\x10\x02\x12\x0b\n\x07STOPPED\x10\x03\x12\x10\n\x0cTRANSFERRING\x10\x04\x12\x19\n\x15\x42\x41SELINE_TRANSFERRING\x10\x05\x12\x0b\n\x07\x41\x42ORTED\x10\x06\x12\x16\n\x12\x45XTERNALLY_MANAGED\x10\x07\x12\x13\n\x0fPENDING_PEERING\x10\x08\"\xa3\x01\n\x15HybridReplicationType\x12\'\n#HYBRID_REPLICATION_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tMIGRATION\x10\x01\x12\x1a\n\x16\x43ONTINUOUS_REPLICATION\x10\x02\x12\x16\n\x12ONPREM_REPLICATION\x10\x03\x12\x1e\n\x1aREVERSE_ONPREM_REPLICATION\x10\x04:\x97\x01\xea\x41\x93\x01\n!netapp.googleapis.com/Replication\x12Sprojects/{project}/locations/{location}/volumes/{volume}/replications/{replication}*\x0creplications2\x0breplicationB\n\n\x08_healthyB\x0e\n\x0c_description\"\xfd\x01\n\x14HybridPeeringDetails\x12\x17\n\tsubnet_ip\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x15\n\x07\x63ommand\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12=\n\x13\x63ommand_expiry_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x18\n\npassphrase\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1e\n\x10peer_volume_name\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1f\n\x11peer_cluster_name\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rpeer_svm_name\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\"\x9e\x01\n\x17ListReplicationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\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\"\x83\x01\n\x18ListReplicationsResponse\x12\x39\n\x0creplications\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.Replication\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x15GetReplicationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\x8d\x02\n\x1b\x44\x65stinationVolumeParameters\x12@\n\x0cstorage_pool\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12\x11\n\tvolume_id\x18\x02 \x01(\t\x12\x12\n\nshare_name\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x12H\n\x0etiering_policy\x18\x05 \x01(\x0b\x32%.google.cloud.netapp.v1.TieringPolicyB\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_tiering_policy\"\xb4\x01\n\x18\x43reateReplicationRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\x12>\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x04\xe2\x41\x01\x02\x12\x1c\n\x0ereplication_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"T\n\x18\x44\x65leteReplicationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\x91\x01\n\x18UpdateReplicationRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12>\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x04\xe2\x41\x01\x02\"a\n\x16StopReplicationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/Replication\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"T\n\x18ResumeReplicationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"^\n\"ReverseReplicationDirectionRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\xd2\x01\n\x17\x45stablishPeeringRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/Replication\x12\x1f\n\x11peer_cluster_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rpeer_svm_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1f\n\x11peer_ip_addresses\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10peer_volume_name\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02\"R\n\x16SyncReplicationRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/ReplicationB\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10ReplicationProtoP\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"
|
|
17
17
|
|
|
18
18
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
19
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -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/snapshot.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\"\
|
|
13
|
+
descriptor_data = "\n%google/cloud/netapp/v1/snapshot.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\"\x98\x01\n\x14ListSnapshotsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1enetapp.googleapis.com/Snapshot\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\"z\n\x15ListSnapshotsResponse\x12\x33\n\tsnapshots\x18\x01 \x03(\x0b\x32 .google.cloud.netapp.v1.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x12GetSnapshotRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1enetapp.googleapis.com/Snapshot\"\xa5\x01\n\x15\x43reateSnapshotRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1enetapp.googleapis.com/Snapshot\x12\x38\n\x08snapshot\x18\x02 \x01(\x0b\x32 .google.cloud.netapp.v1.SnapshotB\x04\xe2\x41\x01\x02\x12\x19\n\x0bsnapshot_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"N\n\x15\x44\x65leteSnapshotRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1enetapp.googleapis.com/Snapshot\"\x88\x01\n\x15UpdateSnapshotRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x38\n\x08snapshot\x18\x02 \x01(\x0b\x32 .google.cloud.netapp.v1.SnapshotB\x04\xe2\x41\x01\x02\"\xc4\x04\n\x08Snapshot\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12;\n\x05state\x18\x02 \x01(\x0e\x32&.google.cloud.netapp.v1.Snapshot.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_details\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x18\n\nused_bytes\x18\x05 \x01(\x01\x42\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12<\n\x06labels\x18\x07 \x03(\x0b\x32,.google.cloud.netapp.v1.Snapshot.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"l\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\x0c\n\x08\x44ISABLED\x10\x05\x12\t\n\x05\x45RROR\x10\x06:\x88\x01\xea\x41\x84\x01\n\x1enetapp.googleapis.com/Snapshot\x12Mprojects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}*\tsnapshots2\x08snapshotB\xaf\x01\n\x1a\x63om.google.cloud.netapp.v1B\rSnapshotProtoP\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
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n)google/cloud/netapp/v1/storage_pool.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"
|
|
14
|
+
descriptor_data = "\n)google/cloud/netapp/v1/storage_pool.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x15GetStoragePoolRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\xb6\x01\n\x17ListStoragePoolsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x84\x01\n\x18ListStoragePoolsResponse\x12:\n\rstorage_pools\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.StoragePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb6\x01\n\x18\x43reateStoragePoolRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x1d\n\x0fstorage_pool_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12?\n\x0cstorage_pool\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x04\xe2\x41\x01\x02\"\x92\x01\n\x18UpdateStoragePoolRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12?\n\x0cstorage_pool\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x04\xe2\x41\x01\x02\"T\n\x18\x44\x65leteStoragePoolRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"Z\n\x1eSwitchActiveReplicaZoneRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\xca\x0e\n\x0bStoragePool\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x41\n\rservice_level\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.ServiceLevelB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63\x61pacity_gib\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x02\x12!\n\x13volume_capacity_gib\x18\x04 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x1a\n\x0cvolume_count\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12>\n\x05state\x18\x06 \x01(\x0e\x32).google.cloud.netapp.v1.StoragePool.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\rstate_details\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x45\n\x06labels\x18\n \x03(\x0b\x32/.google.cloud.netapp.v1.StoragePool.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x38\n\x07network\x18\x0b \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12H\n\x10\x61\x63tive_directory\x18\x0c \x01(\tB.\xe2\x41\x01\x01\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\x12<\n\nkms_config\x18\r \x01(\tB(\xe2\x41\x01\x01\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\x12\x1a\n\x0cldap_enabled\x18\x0e \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x17\n\tpsa_range\x18\x0f \x01(\tB\x04\xe2\x41\x01\x01\x12\x45\n\x0f\x65ncryption_type\x18\x10 \x01(\x0e\x32&.google.cloud.netapp.v1.EncryptionTypeB\x04\xe2\x41\x01\x03\x12&\n\x15global_access_allowed\x18\x11 \x01(\x08\x42\x02\x18\x01H\x00\x88\x01\x01\x12 \n\x12\x61llow_auto_tiering\x18\x12 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1a\n\x0creplica_zone\x18\x14 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04zone\x18\x15 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rsatisfies_pzs\x18\x17 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x1b\n\rsatisfies_pzi\x18\x18 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12(\n\x1a\x63ustom_performance_enabled\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12$\n\x16total_throughput_mibps\x18\x1a \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x18\n\ntotal_iops\x18\x1b \x01(\x03\x42\x04\xe2\x41\x01\x01\x12\x1f\n\x11hot_tier_size_gib\x18\x1c \x01(\x03\x42\x04\xe2\x41\x01\x01\x12.\n\x1b\x65nable_hot_tier_auto_resize\x18\x1d \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12\x37\n\x08qos_type\x18\x1e \x01(\x0e\x32\x1f.google.cloud.netapp.v1.QosTypeB\x04\xe2\x41\x01\x01\x12(\n\x1a\x61vailable_throughput_mibps\x18\x1f \x01(\x01\x42\x04\xe2\x41\x01\x03\x12%\n\x17\x63old_tier_size_used_gib\x18! \x01(\x03\x42\x04\xe2\x41\x01\x03\x12$\n\x16hot_tier_size_used_gib\x18\" \x01(\x03\x42\x04\xe2\x41\x01\x03\x12@\n\x04type\x18# \x01(\x0e\x32\'.google.cloud.netapp.v1.StoragePoolTypeB\x04\xe2\x41\x01\x01H\x02\x88\x01\x01\x12\x35\n\x04mode\x18$ \x01(\x0e\x32\x1c.google.cloud.netapp.v1.ModeB\x04\xe2\x41\x01\x01H\x03\x88\x01\x01\x12;\n\nscale_type\x18& \x01(\x0e\x32!.google.cloud.netapp.v1.ScaleTypeB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\r\n\tRESTORING\x10\x05\x12\x0c\n\x08\x44ISABLED\x10\x06\x12\t\n\x05\x45RROR\x10\x07:\x87\x01\xea\x41\x83\x01\n!netapp.googleapis.com/StoragePool\x12\x43projects/{project}/locations/{location}/storagePools/{storage_pool}*\x0cstoragePools2\x0bstoragePoolB\x18\n\x16_global_access_allowedB\x1e\n\x1c_enable_hot_tier_auto_resizeB\x07\n\x05_typeB\x07\n\x05_mode\"\xa9\x01\n\x1fValidateDirectoryServiceRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12L\n\x16\x64irectory_service_type\x18\x02 \x01(\x0e\x32,.google.cloud.netapp.v1.DirectoryServiceType*4\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\t\n\x05ONTAP\x10\x02\x42\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10StoragePoolProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
pool.add_serialized_file(descriptor_data)
|