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
@@ -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/replication.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.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\"\
|
14
|
+
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\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\"\xa8\x0b\n\x0bReplication\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12=\n\x05state\x18\x02 \x01(\x0e\x32).google.cloud.netapp.v1.Replication.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x04role\x18\x04 \x01(\x0e\x32\x33.google.cloud.netapp.v1.Replication.ReplicationRoleB\x03\xe0\x41\x03\x12Z\n\x14replication_schedule\x18\x05 \x01(\x0e\x32\x37.google.cloud.netapp.v1.Replication.ReplicationScheduleB\x03\xe0\x41\x02\x12J\n\x0cmirror_state\x18\x06 \x01(\x0e\x32/.google.cloud.netapp.v1.Replication.MirrorStateB\x03\xe0\x41\x03\x12\x19\n\x07healthy\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x12\x64\x65stination_volume\x18\n \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x42\n\x0etransfer_stats\x18\x0b \x01(\x0b\x32%.google.cloud.netapp.v1.TransferStatsB\x03\xe0\x41\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\x62\n\x1d\x64\x65stination_volume_parameters\x18\x0e \x01(\x0b\x32\x33.google.cloud.netapp.v1.DestinationVolumeParametersB\x06\xe0\x41\x04\xe0\x41\x02\x12;\n\rsource_volume\x18\x0f \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\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\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\"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\"g\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:\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\"\x9d\x01\n\x17ListReplicationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\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\"P\n\x15GetReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\xaf\x01\n\x1b\x44\x65stinationVolumeParameters\x12?\n\x0cstorage_pool\x18\x01 \x01(\tB)\xe0\x41\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\x42\x0e\n\x0c_description\"\xb1\x01\n\x18\x43reateReplicationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\x12=\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x03\xe0\x41\x02\x12\x1b\n\x0ereplication_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\x8f\x01\n\x18UpdateReplicationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12=\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x03\xe0\x41\x02\"`\n\x16StopReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"S\n\x18ResumeReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"]\n\"ReverseReplicationDirectionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\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"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -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\"\x97\x01\n\x14ListSnapshotsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\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\"J\n\x12GetSnapshotRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1enetapp.googleapis.com/Snapshot\"\xa2\x01\n\x15\x43reateSnapshotRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1enetapp.googleapis.com/Snapshot\x12\x37\n\x08snapshot\x18\x02 \x01(\x0b\x32 .google.cloud.netapp.v1.SnapshotB\x03\xe0\x41\x02\x12\x18\n\x0bsnapshot_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"M\n\x15\x44\x65leteSnapshotRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1enetapp.googleapis.com/Snapshot\"\x86\x01\n\x15UpdateSnapshotRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x37\n\x08snapshot\x18\x02 \x01(\x0b\x32 .google.cloud.netapp.v1.SnapshotB\x03\xe0\x41\x02\"\
|
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\"\x97\x01\n\x14ListSnapshotsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\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\"J\n\x12GetSnapshotRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1enetapp.googleapis.com/Snapshot\"\xa2\x01\n\x15\x43reateSnapshotRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1enetapp.googleapis.com/Snapshot\x12\x37\n\x08snapshot\x18\x02 \x01(\x0b\x32 .google.cloud.netapp.v1.SnapshotB\x03\xe0\x41\x02\x12\x18\n\x0bsnapshot_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"M\n\x15\x44\x65leteSnapshotRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1enetapp.googleapis.com/Snapshot\"\x86\x01\n\x15UpdateSnapshotRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x37\n\x08snapshot\x18\x02 \x01(\x0b\x32 .google.cloud.netapp.v1.SnapshotB\x03\xe0\x41\x02\"\xbf\x04\n\x08Snapshot\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12:\n\x05state\x18\x02 \x01(\x0e\x32&.google.cloud.netapp.v1.Snapshot.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x17\n\nused_bytes\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\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
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n)google/cloud/netapp/v1/storage_pool.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x15GetStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\x9d\x01\n\x17ListStoragePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\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\x18ListStoragePoolsResponse\x12:\n\rstorage_pools\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.StoragePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x18\x43reateStoragePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x1c\n\x0fstorage_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"\x90\x01\n\x18UpdateStoragePoolRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\
|
14
|
+
descriptor_data = "\n)google/cloud/netapp/v1/storage_pool.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x15GetStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\x9d\x01\n\x17ListStoragePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\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\x18ListStoragePoolsResponse\x12:\n\rstorage_pools\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.StoragePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x18\x43reateStoragePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/StoragePool\x12\x1c\n\x0fstorage_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"\x90\x01\n\x18UpdateStoragePoolRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x0cstorage_pool\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.StoragePoolB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteStoragePoolRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\"\xc1\x08\n\x0bStoragePool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12@\n\rservice_level\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.ServiceLevelB\x03\xe0\x41\x02\x12\x19\n\x0c\x63\x61pacity_gib\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\x12 \n\x13volume_capacity_gib\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cvolume_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12=\n\x05state\x18\x06 \x01(\x0e\x32).google.cloud.netapp.v1.StoragePool.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12?\n\x06labels\x18\n \x03(\x0b\x32/.google.cloud.netapp.v1.StoragePool.LabelsEntry\x12\x37\n\x07network\x18\x0b \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x44\n\x10\x61\x63tive_directory\x18\x0c \x01(\tB*\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\x12\x38\n\nkms_config\x18\r \x01(\tB$\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\x12\x14\n\x0cldap_enabled\x18\x0e \x01(\x08\x12\x11\n\tpsa_range\x18\x0f \x01(\t\x12\x44\n\x0f\x65ncryption_type\x18\x10 \x01(\x0e\x32&.google.cloud.netapp.v1.EncryptionTypeB\x03\xe0\x41\x03\x12&\n\x15global_access_allowed\x18\x11 \x01(\x08\x42\x02\x18\x01H\x00\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\r\n\tRESTORING\x10\x05\x12\x0c\n\x08\x44ISABLED\x10\x06\x12\t\n\x05\x45RROR\x10\x07:\x87\x01\xea\x41\x83\x01\n!netapp.googleapis.com/StoragePool\x12\x43projects/{project}/locations/{location}/storagePools/{storage_pool}*\x0cstoragePools2\x0bstoragePoolB\x18\n\x16_global_access_allowedB\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10StoragePoolProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n#google/cloud/netapp/v1/volume.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x12ListVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"t\n\x13ListVolumesResponse\x12/\n\x07volumes\x18\x01 \x03(\x0b\x32\x1e.google.cloud.netapp.v1.Volume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"F\n\x10GetVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\"\x98\x01\n\x13\x43reateVolumeRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x16\n\tvolume_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x03 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"\x80\x01\n\x13UpdateVolumeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x02 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"X\n\x13\x44\x65leteVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"c\n\x13RevertVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x18\n\x0bsnapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\
|
14
|
+
descriptor_data = "\n#google/cloud/netapp/v1/volume.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x12ListVolumesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"t\n\x13ListVolumesResponse\x12/\n\x07volumes\x18\x01 \x03(\x0b\x32\x1e.google.cloud.netapp.v1.Volume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"F\n\x10GetVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\"\x98\x01\n\x13\x43reateVolumeRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Volume\x12\x16\n\tvolume_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x03 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"\x80\x01\n\x13UpdateVolumeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x33\n\x06volume\x18\x02 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.VolumeB\x03\xe0\x41\x02\"X\n\x13\x44\x65leteVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"c\n\x13RevertVolumeRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x18\n\x0bsnapshot_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xad\x0e\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x38\n\x05state\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.Volume.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nshare_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpsa_range\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12?\n\x0cstorage_pool\x18\x07 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12\x37\n\x07network\x18\x08 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12@\n\rservice_level\x18\t \x01(\x0e\x32$.google.cloud.netapp.v1.ServiceLevelB\x03\xe0\x41\x03\x12\x19\n\x0c\x63\x61pacity_gib\x18\n \x01(\x03\x42\x03\xe0\x41\x02\x12@\n\rexport_policy\x18\x0b \x01(\x0b\x32$.google.cloud.netapp.v1.ExportPolicyB\x03\xe0\x41\x01\x12\x39\n\tprotocols\x18\x0c \x03(\x0e\x32!.google.cloud.netapp.v1.ProtocolsB\x03\xe0\x41\x02\x12>\n\x0csmb_settings\x18\r \x03(\x0e\x32#.google.cloud.netapp.v1.SMBSettingsB\x03\xe0\x41\x01\x12?\n\rmount_options\x18\x0e \x03(\x0b\x32#.google.cloud.netapp.v1.MountOptionB\x03\xe0\x41\x03\x12\x1d\n\x10unix_permissions\x18\x0f \x01(\tB\x03\xe0\x41\x01\x12?\n\x06labels\x18\x10 \x03(\x0b\x32*.google.cloud.netapp.v1.Volume.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x11 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x0fsnapshot_policy\x18\x12 \x01(\x0b\x32&.google.cloud.netapp.v1.SnapshotPolicyB\x03\xe0\x41\x01\x12\x19\n\x0csnap_reserve\x18\x13 \x01(\x01\x42\x03\xe0\x41\x01\x12\x1f\n\x12snapshot_directory\x18\x14 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08used_gib\x18\x15 \x01(\x03\x42\x03\xe0\x41\x03\x12\x42\n\x0esecurity_style\x18\x16 \x01(\x0e\x32%.google.cloud.netapp.v1.SecurityStyleB\x03\xe0\x41\x01\x12\x1d\n\x10kerberos_enabled\x18\x17 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0cldap_enabled\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03\x12G\n\x10\x61\x63tive_directory\x18\x19 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\x12J\n\x12restore_parameters\x18\x1a \x01(\x0b\x32).google.cloud.netapp.v1.RestoreParametersB\x03\xe0\x41\x01\x12;\n\nkms_config\x18\x1b \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\x12\x44\n\x0f\x65ncryption_type\x18\x1c \x01(\x0e\x32&.google.cloud.netapp.v1.EncryptionTypeB\x03\xe0\x41\x03\x12\x1c\n\x0fhas_replication\x18\x1d \x01(\x08\x42\x03\xe0\x41\x03\x12@\n\rbackup_config\x18\x1e \x01(\x0b\x32$.google.cloud.netapp.v1.BackupConfigH\x00\x88\x01\x01\x12I\n\x12restricted_actions\x18\x1f \x03(\x0e\x32(.google.cloud.netapp.v1.RestrictedActionB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\r\n\tRESTORING\x10\x05\x12\x0c\n\x08\x44ISABLED\x10\x06\x12\t\n\x05\x45RROR\x10\x07:l\xea\x41i\n\x1cnetapp.googleapis.com/Volume\x12\x38projects/{project}/locations/{location}/volumes/{volume}*\x07volumes2\x06volumeB\x10\n\x0e_backup_config\"R\n\x0c\x45xportPolicy\x12\x42\n\x05rules\x18\x01 \x03(\x0b\x32..google.cloud.netapp.v1.SimpleExportPolicyRuleB\x03\xe0\x41\x02\"\xfc\x04\n\x16SimpleExportPolicyRule\x12\x1c\n\x0f\x61llowed_clients\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fhas_root_access\x18\x02 \x01(\tH\x01\x88\x01\x01\x12<\n\x0b\x61\x63\x63\x65ss_type\x18\x03 \x01(\x0e\x32\".google.cloud.netapp.v1.AccessTypeH\x02\x88\x01\x01\x12\x12\n\x05nfsv3\x18\x04 \x01(\x08H\x03\x88\x01\x01\x12\x12\n\x05nfsv4\x18\x05 \x01(\x08H\x04\x88\x01\x01\x12!\n\x14kerberos_5_read_only\x18\x06 \x01(\x08H\x05\x88\x01\x01\x12\"\n\x15kerberos_5_read_write\x18\x07 \x01(\x08H\x06\x88\x01\x01\x12\"\n\x15kerberos_5i_read_only\x18\x08 \x01(\x08H\x07\x88\x01\x01\x12#\n\x16kerberos_5i_read_write\x18\t \x01(\x08H\x08\x88\x01\x01\x12\"\n\x15kerberos_5p_read_only\x18\n \x01(\x08H\t\x88\x01\x01\x12#\n\x16kerberos_5p_read_write\x18\x0b \x01(\x08H\n\x88\x01\x01\x42\x12\n\x10_allowed_clientsB\x12\n\x10_has_root_accessB\x0e\n\x0c_access_typeB\x08\n\x06_nfsv3B\x08\n\x06_nfsv4B\x17\n\x15_kerberos_5_read_onlyB\x18\n\x16_kerberos_5_read_writeB\x18\n\x16_kerberos_5i_read_onlyB\x19\n\x17_kerberos_5i_read_writeB\x18\n\x16_kerberos_5p_read_onlyB\x19\n\x17_kerberos_5p_read_write\"\x9a\x03\n\x0eSnapshotPolicy\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x44\n\x0fhourly_schedule\x18\x02 \x01(\x0b\x32&.google.cloud.netapp.v1.HourlyScheduleH\x01\x88\x01\x01\x12\x42\n\x0e\x64\x61ily_schedule\x18\x03 \x01(\x0b\x32%.google.cloud.netapp.v1.DailyScheduleH\x02\x88\x01\x01\x12\x44\n\x0fweekly_schedule\x18\x04 \x01(\x0b\x32&.google.cloud.netapp.v1.WeeklyScheduleH\x03\x88\x01\x01\x12\x46\n\x10monthly_schedule\x18\x05 \x01(\x0b\x32\'.google.cloud.netapp.v1.MonthlyScheduleH\x04\x88\x01\x01\x42\n\n\x08_enabledB\x12\n\x10_hourly_scheduleB\x11\n\x0f_daily_scheduleB\x12\n\x10_weekly_scheduleB\x13\n\x11_monthly_schedule\"f\n\x0eHourlySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minute\"\x81\x01\n\rDailySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hour\"\x9c\x01\n\x0eWeeklySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x10\n\x03\x64\x61y\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hourB\x06\n\x04_day\"\xb1\x01\n\x0fMonthlySchedule\x12\x1e\n\x11snapshots_to_keep\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06minute\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\x04hour\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rdays_of_month\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x14\n\x12_snapshots_to_keepB\t\n\x07_minuteB\x07\n\x05_hourB\x10\n\x0e_days_of_month\"}\n\x0bMountOption\x12\x0e\n\x06\x65xport\x18\x01 \x01(\t\x12\x13\n\x0b\x65xport_full\x18\x02 \x01(\t\x12\x33\n\x08protocol\x18\x03 \x01(\x0e\x32!.google.cloud.netapp.v1.Protocols\x12\x14\n\x0cinstructions\x18\x04 \x01(\t\"Q\n\x11RestoreParameters\x12\x19\n\x0fsource_snapshot\x18\x01 \x01(\tH\x00\x12\x17\n\rsource_backup\x18\x02 \x01(\tH\x00\x42\x08\n\x06source\"\xdd\x01\n\x0c\x42\x61\x63kupConfig\x12\x43\n\x0f\x62\x61\x63kup_policies\x18\x01 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"netapp.googleapis.com/BackupPolicy\x12?\n\x0c\x62\x61\x63kup_vault\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!netapp.googleapis.com/BackupVault\x12*\n\x18scheduled_backup_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x1b\n\x19_scheduled_backup_enabled*E\n\tProtocols\x12\x19\n\x15PROTOCOLS_UNSPECIFIED\x10\x00\x12\t\n\x05NFSV3\x10\x01\x12\t\n\x05NFSV4\x10\x02\x12\x07\n\x03SMB\x10\x03*W\n\nAccessType\x12\x1b\n\x17\x41\x43\x43\x45SS_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\x12\r\n\tREAD_NONE\x10\x03*\xe8\x01\n\x0bSMBSettings\x12\x1c\n\x18SMB_SETTINGS_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x45NCRYPT_DATA\x10\x01\x12\r\n\tBROWSABLE\x10\x02\x12\x11\n\rCHANGE_NOTIFY\x10\x03\x12\x11\n\rNON_BROWSABLE\x10\x04\x12\x0b\n\x07OPLOCKS\x10\x05\x12\x11\n\rSHOW_SNAPSHOT\x10\x06\x12\x1a\n\x16SHOW_PREVIOUS_VERSIONS\x10\x07\x12\x1c\n\x18\x41\x43\x43\x45SS_BASED_ENUMERATION\x10\x08\x12\x1a\n\x16\x43ONTINUOUSLY_AVAILABLE\x10\t*C\n\rSecurityStyle\x12\x1e\n\x1aSECURITY_STYLE_UNSPECIFIED\x10\x00\x12\x08\n\x04NTFS\x10\x01\x12\x08\n\x04UNIX\x10\x02*A\n\x10RestrictedAction\x12!\n\x1dRESTRICTED_ACTION_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x42\xad\x01\n\x1a\x63om.google.cloud.netapp.v1B\x0bVolumeProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -61,6 +61,7 @@ module Google
|
|
61
61
|
MonthlySchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.MonthlySchedule").msgclass
|
62
62
|
MountOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.MountOption").msgclass
|
63
63
|
RestoreParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.RestoreParameters").msgclass
|
64
|
+
BackupConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupConfig").msgclass
|
64
65
|
Protocols = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Protocols").enummodule
|
65
66
|
AccessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.AccessType").enummodule
|
66
67
|
SMBSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.SMBSettings").enummodule
|
@@ -304,6 +304,19 @@ module Google
|
|
304
304
|
# seconds: 360 # 6 minutes
|
305
305
|
# total_poll_timeout:
|
306
306
|
# seconds: 54000 # 90 minutes
|
307
|
+
# @!attribute [rw] auto_populated_fields
|
308
|
+
# @return [::Array<::String>]
|
309
|
+
# List of top-level fields of the request message, that should be
|
310
|
+
# automatically populated by the client libraries based on their
|
311
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
312
|
+
#
|
313
|
+
# Example of a YAML configuration:
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# method_settings:
|
317
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
318
|
+
# auto_populated_fields:
|
319
|
+
# - request_id
|
307
320
|
class MethodSettings
|
308
321
|
include ::Google::Protobuf::MessageExts
|
309
322
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,9 +108,9 @@ module Google
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# ActiveDirectory is the public representation of the active directory config.
|
111
|
-
# @!attribute [
|
111
|
+
# @!attribute [rw] name
|
112
112
|
# @return [::String]
|
113
|
-
#
|
113
|
+
# Identifier. The resource name of the active directory.
|
114
114
|
# Format:
|
115
115
|
# `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
|
116
116
|
# @!attribute [r] create_time
|
@@ -0,0 +1,231 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module NetApp
|
23
|
+
module V1
|
24
|
+
# A NetApp Backup.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the backup.
|
28
|
+
# Format:
|
29
|
+
# `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.
|
30
|
+
# @!attribute [r] state
|
31
|
+
# @return [::Google::Cloud::NetApp::V1::Backup::State]
|
32
|
+
# Output only. The backup state.
|
33
|
+
# @!attribute [rw] description
|
34
|
+
# @return [::String]
|
35
|
+
# A description of the backup with 2048 characters or less.
|
36
|
+
# Requests with longer descriptions will be rejected.
|
37
|
+
# @!attribute [r] volume_usage_bytes
|
38
|
+
# @return [::Integer]
|
39
|
+
# Output only. Size of the file system when the backup was created. When
|
40
|
+
# creating a new volume from the backup, the volume capacity will have to be
|
41
|
+
# at least as big.
|
42
|
+
# @!attribute [r] backup_type
|
43
|
+
# @return [::Google::Cloud::NetApp::V1::Backup::Type]
|
44
|
+
# Output only. Type of backup, manually created or created by a backup
|
45
|
+
# policy.
|
46
|
+
# @!attribute [rw] source_volume
|
47
|
+
# @return [::String]
|
48
|
+
# Volume full name of this backup belongs to.
|
49
|
+
# Format:
|
50
|
+
# `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
|
51
|
+
# @!attribute [rw] source_snapshot
|
52
|
+
# @return [::String]
|
53
|
+
# If specified, backup will be created from the given snapshot.
|
54
|
+
# If not specified, there will be a new snapshot taken to initiate the backup
|
55
|
+
# creation. Format:
|
56
|
+
# `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`
|
57
|
+
# @!attribute [r] create_time
|
58
|
+
# @return [::Google::Protobuf::Timestamp]
|
59
|
+
# Output only. The time when the backup was created.
|
60
|
+
# @!attribute [rw] labels
|
61
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
62
|
+
# Resource labels to represent user provided metadata.
|
63
|
+
# @!attribute [r] chain_storage_bytes
|
64
|
+
# @return [::Integer]
|
65
|
+
# Output only. Total size of all backups in a chain in bytes = baseline
|
66
|
+
# backup size + sum(incremental backup size)
|
67
|
+
class Backup
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
|
71
|
+
# @!attribute [rw] key
|
72
|
+
# @return [::String]
|
73
|
+
# @!attribute [rw] value
|
74
|
+
# @return [::String]
|
75
|
+
class LabelsEntry
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
end
|
79
|
+
|
80
|
+
# The Backup States
|
81
|
+
module State
|
82
|
+
# State not set.
|
83
|
+
STATE_UNSPECIFIED = 0
|
84
|
+
|
85
|
+
# Backup is being created. While in this state, the snapshot for the backup
|
86
|
+
# point-in-time may not have been created yet, and so the point-in-time may
|
87
|
+
# not have been fixed.
|
88
|
+
CREATING = 1
|
89
|
+
|
90
|
+
# Backup is being uploaded. While in this state, none of the writes to the
|
91
|
+
# volume will be included in the backup.
|
92
|
+
UPLOADING = 2
|
93
|
+
|
94
|
+
# Backup is available for use.
|
95
|
+
READY = 3
|
96
|
+
|
97
|
+
# Backup is being deleted.
|
98
|
+
DELETING = 4
|
99
|
+
|
100
|
+
# Backup is not valid and cannot be used for creating new volumes or
|
101
|
+
# restoring existing volumes.
|
102
|
+
ERROR = 5
|
103
|
+
|
104
|
+
# Backup is being updated.
|
105
|
+
UPDATING = 6
|
106
|
+
end
|
107
|
+
|
108
|
+
# Backup types.
|
109
|
+
module Type
|
110
|
+
# Unspecified backup type.
|
111
|
+
TYPE_UNSPECIFIED = 0
|
112
|
+
|
113
|
+
# Manual backup type.
|
114
|
+
MANUAL = 1
|
115
|
+
|
116
|
+
# Scheduled backup type.
|
117
|
+
SCHEDULED = 2
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
# ListBackupsRequest lists backups.
|
122
|
+
# @!attribute [rw] parent
|
123
|
+
# @return [::String]
|
124
|
+
# Required. The backupVault for which to retrieve backup information,
|
125
|
+
# in the format
|
126
|
+
# `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
|
127
|
+
# To retrieve backup information for all locations, use "-" for the
|
128
|
+
# `{location}` value.
|
129
|
+
# To retrieve backup information for all backupVaults, use "-" for the
|
130
|
+
# `{backup_vault_id}` value.
|
131
|
+
# To retrieve backup information for a volume, use "-" for the
|
132
|
+
# `{backup_vault_id}` value and specify volume full name with the filter.
|
133
|
+
# @!attribute [rw] page_size
|
134
|
+
# @return [::Integer]
|
135
|
+
# The maximum number of items to return. The service may return fewer
|
136
|
+
# than this value. The maximum value
|
137
|
+
# is 1000; values above 1000 will be coerced to 1000.
|
138
|
+
# @!attribute [rw] page_token
|
139
|
+
# @return [::String]
|
140
|
+
# The next_page_token value to use if there are additional
|
141
|
+
# results to retrieve for this list request.
|
142
|
+
# @!attribute [rw] order_by
|
143
|
+
# @return [::String]
|
144
|
+
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
|
145
|
+
# @!attribute [rw] filter
|
146
|
+
# @return [::String]
|
147
|
+
# The standard list filter.
|
148
|
+
# If specified, backups will be returned based on the attribute name that
|
149
|
+
# matches the filter expression. If empty, then no backups are filtered out.
|
150
|
+
# See https://google.aip.dev/160
|
151
|
+
class ListBackupsRequest
|
152
|
+
include ::Google::Protobuf::MessageExts
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
154
|
+
end
|
155
|
+
|
156
|
+
# ListBackupsResponse is the result of ListBackupsRequest.
|
157
|
+
# @!attribute [rw] backups
|
158
|
+
# @return [::Array<::Google::Cloud::NetApp::V1::Backup>]
|
159
|
+
# A list of backups in the project.
|
160
|
+
# @!attribute [rw] next_page_token
|
161
|
+
# @return [::String]
|
162
|
+
# The token you can use to retrieve the next page of results. Not returned
|
163
|
+
# if there are no more results in the list.
|
164
|
+
# @!attribute [rw] unreachable
|
165
|
+
# @return [::Array<::String>]
|
166
|
+
# Locations that could not be reached.
|
167
|
+
class ListBackupsResponse
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
end
|
171
|
+
|
172
|
+
# GetBackupRequest gets the state of a backup.
|
173
|
+
# @!attribute [rw] name
|
174
|
+
# @return [::String]
|
175
|
+
# Required. The backup resource name, in the format
|
176
|
+
# `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`
|
177
|
+
class GetBackupRequest
|
178
|
+
include ::Google::Protobuf::MessageExts
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
|
+
end
|
181
|
+
|
182
|
+
# CreateBackupRequest creates a backup.
|
183
|
+
# @!attribute [rw] parent
|
184
|
+
# @return [::String]
|
185
|
+
# Required. The NetApp backupVault to create the backups of, in the format
|
186
|
+
# `projects/*/locations/*/backupVaults/{backup_vault_id}`
|
187
|
+
# @!attribute [rw] backup_id
|
188
|
+
# @return [::String]
|
189
|
+
# Required. The ID to use for the backup.
|
190
|
+
# The ID must be unique within the specified backupVault.
|
191
|
+
# This value must start with a lowercase letter followed by up to 62
|
192
|
+
# lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
|
193
|
+
# Values that do not match this pattern will trigger an INVALID_ARGUMENT
|
194
|
+
# error.
|
195
|
+
# @!attribute [rw] backup
|
196
|
+
# @return [::Google::Cloud::NetApp::V1::Backup]
|
197
|
+
# Required. A backup resource
|
198
|
+
class CreateBackupRequest
|
199
|
+
include ::Google::Protobuf::MessageExts
|
200
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
201
|
+
end
|
202
|
+
|
203
|
+
# DeleteBackupRequest deletes a backup.
|
204
|
+
# @!attribute [rw] name
|
205
|
+
# @return [::String]
|
206
|
+
# Required. The backup resource name, in the format
|
207
|
+
# `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`
|
208
|
+
class DeleteBackupRequest
|
209
|
+
include ::Google::Protobuf::MessageExts
|
210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
211
|
+
end
|
212
|
+
|
213
|
+
# UpdateBackupRequest updates description and/or labels for a backup.
|
214
|
+
# @!attribute [rw] update_mask
|
215
|
+
# @return [::Google::Protobuf::FieldMask]
|
216
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
217
|
+
# Backup resource to be updated.
|
218
|
+
# The fields specified in the update_mask are relative to the resource, not
|
219
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
220
|
+
# user does not provide a mask then all fields will be overwritten.
|
221
|
+
# @!attribute [rw] backup
|
222
|
+
# @return [::Google::Cloud::NetApp::V1::Backup]
|
223
|
+
# Required. The backup being updated
|
224
|
+
class UpdateBackupRequest
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|
@@ -0,0 +1,190 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module NetApp
|
23
|
+
module V1
|
24
|
+
# Backup Policy.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Identifier. The resource name of the backup policy.
|
28
|
+
# Format:
|
29
|
+
# `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`.
|
30
|
+
# @!attribute [rw] daily_backup_limit
|
31
|
+
# @return [::Integer]
|
32
|
+
# Number of daily backups to keep. Note that the minimum daily backup limit
|
33
|
+
# is 2.
|
34
|
+
# @!attribute [rw] weekly_backup_limit
|
35
|
+
# @return [::Integer]
|
36
|
+
# Number of weekly backups to keep. Note that the sum of daily, weekly and
|
37
|
+
# monthly backups should be greater than 1.
|
38
|
+
# @!attribute [rw] monthly_backup_limit
|
39
|
+
# @return [::Integer]
|
40
|
+
# Number of monthly backups to keep. Note that the sum of daily, weekly and
|
41
|
+
# monthly backups should be greater than 1.
|
42
|
+
# @!attribute [rw] description
|
43
|
+
# @return [::String]
|
44
|
+
# Description of the backup policy.
|
45
|
+
# @!attribute [rw] enabled
|
46
|
+
# @return [::Boolean]
|
47
|
+
# If enabled, make backups automatically according to the schedules.
|
48
|
+
# This will be applied to all volumes that have this policy attached and
|
49
|
+
# enforced on volume level. If not specified, default is true.
|
50
|
+
# @!attribute [r] assigned_volume_count
|
51
|
+
# @return [::Integer]
|
52
|
+
# Output only. The total number of volumes assigned by this backup policy.
|
53
|
+
# @!attribute [r] create_time
|
54
|
+
# @return [::Google::Protobuf::Timestamp]
|
55
|
+
# Output only. The time when the backup policy was created.
|
56
|
+
# @!attribute [rw] labels
|
57
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
58
|
+
# Resource labels to represent user provided metadata.
|
59
|
+
# @!attribute [r] state
|
60
|
+
# @return [::Google::Cloud::NetApp::V1::BackupPolicy::State]
|
61
|
+
# Output only. The backup policy state.
|
62
|
+
class BackupPolicy
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
|
66
|
+
# @!attribute [rw] key
|
67
|
+
# @return [::String]
|
68
|
+
# @!attribute [rw] value
|
69
|
+
# @return [::String]
|
70
|
+
class LabelsEntry
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
|
75
|
+
module State
|
76
|
+
# State not set.
|
77
|
+
STATE_UNSPECIFIED = 0
|
78
|
+
|
79
|
+
# BackupPolicy is being created.
|
80
|
+
CREATING = 1
|
81
|
+
|
82
|
+
# BackupPolicy is available for use.
|
83
|
+
READY = 2
|
84
|
+
|
85
|
+
# BackupPolicy is being deleted.
|
86
|
+
DELETING = 3
|
87
|
+
|
88
|
+
# BackupPolicy is not valid and cannot be used.
|
89
|
+
ERROR = 4
|
90
|
+
|
91
|
+
# BackupPolicy is being updated.
|
92
|
+
UPDATING = 5
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# CreateBackupPolicyRequest creates a backupPolicy.
|
97
|
+
# @!attribute [rw] parent
|
98
|
+
# @return [::String]
|
99
|
+
# Required. The location to create the backup policies of, in the format
|
100
|
+
# `projects/{project_id}/locations/{location}`
|
101
|
+
# @!attribute [rw] backup_policy
|
102
|
+
# @return [::Google::Cloud::NetApp::V1::BackupPolicy]
|
103
|
+
# Required. A backupPolicy resource
|
104
|
+
# @!attribute [rw] backup_policy_id
|
105
|
+
# @return [::String]
|
106
|
+
# Required. The ID to use for the backup policy.
|
107
|
+
# The ID must be unique within the specified location.
|
108
|
+
# This value must start with a lowercase letter followed by up to 62
|
109
|
+
# lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
|
110
|
+
class CreateBackupPolicyRequest
|
111
|
+
include ::Google::Protobuf::MessageExts
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
|
+
end
|
114
|
+
|
115
|
+
# GetBackupPolicyRequest gets the state of a backupPolicy.
|
116
|
+
# @!attribute [rw] name
|
117
|
+
# @return [::String]
|
118
|
+
# Required. The backupPolicy resource name, in the format
|
119
|
+
# `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`
|
120
|
+
class GetBackupPolicyRequest
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
|
125
|
+
# ListBackupPoliciesRequest for requesting multiple backup policies.
|
126
|
+
# @!attribute [rw] parent
|
127
|
+
# @return [::String]
|
128
|
+
# Required. Parent value for ListBackupPoliciesRequest
|
129
|
+
# @!attribute [rw] page_size
|
130
|
+
# @return [::Integer]
|
131
|
+
# Requested page size. Server may return fewer items than requested.
|
132
|
+
# If unspecified, the server will pick an appropriate default.
|
133
|
+
# @!attribute [rw] page_token
|
134
|
+
# @return [::String]
|
135
|
+
# A token identifying a page of results the server should return.
|
136
|
+
# @!attribute [rw] filter
|
137
|
+
# @return [::String]
|
138
|
+
# Filtering results
|
139
|
+
# @!attribute [rw] order_by
|
140
|
+
# @return [::String]
|
141
|
+
# Hint for how to order the results
|
142
|
+
class ListBackupPoliciesRequest
|
143
|
+
include ::Google::Protobuf::MessageExts
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
145
|
+
end
|
146
|
+
|
147
|
+
# ListBackupPoliciesResponse contains all the backup policies requested.
|
148
|
+
# @!attribute [rw] backup_policies
|
149
|
+
# @return [::Array<::Google::Cloud::NetApp::V1::BackupPolicy>]
|
150
|
+
# The list of backup policies.
|
151
|
+
# @!attribute [rw] next_page_token
|
152
|
+
# @return [::String]
|
153
|
+
# A token identifying a page of results the server should return.
|
154
|
+
# @!attribute [rw] unreachable
|
155
|
+
# @return [::Array<::String>]
|
156
|
+
# Locations that could not be reached.
|
157
|
+
class ListBackupPoliciesResponse
|
158
|
+
include ::Google::Protobuf::MessageExts
|
159
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
|
+
end
|
161
|
+
|
162
|
+
# UpdateBackupPolicyRequest for updating a backup policy.
|
163
|
+
# @!attribute [rw] update_mask
|
164
|
+
# @return [::Google::Protobuf::FieldMask]
|
165
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
166
|
+
# Backup Policy resource by the update.
|
167
|
+
# The fields specified in the update_mask are relative to the resource, not
|
168
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
169
|
+
# user does not provide a mask then all fields will be overwritten.
|
170
|
+
# @!attribute [rw] backup_policy
|
171
|
+
# @return [::Google::Cloud::NetApp::V1::BackupPolicy]
|
172
|
+
# Required. The backup policy being updated
|
173
|
+
class UpdateBackupPolicyRequest
|
174
|
+
include ::Google::Protobuf::MessageExts
|
175
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
176
|
+
end
|
177
|
+
|
178
|
+
# DeleteBackupPolicyRequest deletes a backup policy.
|
179
|
+
# @!attribute [rw] name
|
180
|
+
# @return [::String]
|
181
|
+
# Required. The backup policy resource name, in the format
|
182
|
+
# `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`
|
183
|
+
class DeleteBackupPolicyRequest
|
184
|
+
include ::Google::Protobuf::MessageExts
|
185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|