| 1 | package Google::Cloud::Netapp::V1::Replication::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'TransferStats', | ||
| 11 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::TransferStats']; | ||
| 12 | |||
| 13 | coerce 'TransferStats', | ||
| 14 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::TransferStats'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedTransferStats', | ||
| 17 | as ArrayRef[TransferStats()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedTransferStats', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::TransferStats'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringTransferStats', | ||
| 23 | as HashRef[TransferStats()]; | ||
| 24 | |||
| 25 | declare 'Replication', | ||
| 26 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::Replication']; | ||
| 27 | |||
| 28 | coerce 'Replication', | ||
| 29 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::Replication'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedReplication', | ||
| 32 | as ArrayRef[Replication()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedReplication', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::Replication'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringReplication', | ||
| 38 | as HashRef[Replication()]; | ||
| 39 | |||
| 40 | declare 'State', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'ReplicationRole', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'ReplicationSchedule', | ||
| 47 | as (Int | Str); | ||
| 48 | |||
| 49 | declare 'MirrorState', | ||
| 50 | as (Int | Str); | ||
| 51 | |||
| 52 | declare 'HybridReplicationType', | ||
| 53 | as (Int | Str); | ||
| 54 | |||
| 55 | declare 'LabelsEntry', | ||
| 56 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::Replication::LabelsEntry']; | ||
| 57 | |||
| 58 | coerce 'LabelsEntry', | ||
| 59 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::Replication::LabelsEntry'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedLabelsEntry', | ||
| 62 | as ArrayRef[LabelsEntry()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedLabelsEntry', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::Replication::LabelsEntry'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringLabelsEntry', | ||
| 68 | as HashRef[LabelsEntry()]; | ||
| 69 | |||
| 70 | declare 'HybridPeeringDetails', | ||
| 71 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::HybridPeeringDetails']; | ||
| 72 | |||
| 73 | coerce 'HybridPeeringDetails', | ||
| 74 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::HybridPeeringDetails'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedHybridPeeringDetails', | ||
| 77 | as ArrayRef[HybridPeeringDetails()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedHybridPeeringDetails', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::HybridPeeringDetails'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringHybridPeeringDetails', | ||
| 83 | as HashRef[HybridPeeringDetails()]; | ||
| 84 | |||
| 85 | declare 'ListReplicationsRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::ListReplicationsRequest']; | ||
| 87 | |||
| 88 | coerce 'ListReplicationsRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::ListReplicationsRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListReplicationsRequest', | ||
| 92 | as ArrayRef[ListReplicationsRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListReplicationsRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::ListReplicationsRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListReplicationsRequest', | ||
| 98 | as HashRef[ListReplicationsRequest()]; | ||
| 99 | |||
| 100 | declare 'ListReplicationsResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::ListReplicationsResponse']; | ||
| 102 | |||
| 103 | coerce 'ListReplicationsResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::ListReplicationsResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListReplicationsResponse', | ||
| 107 | as ArrayRef[ListReplicationsResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListReplicationsResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::ListReplicationsResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListReplicationsResponse', | ||
| 113 | as HashRef[ListReplicationsResponse()]; | ||
| 114 | |||
| 115 | declare 'GetReplicationRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::GetReplicationRequest']; | ||
| 117 | |||
| 118 | coerce 'GetReplicationRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::GetReplicationRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedGetReplicationRequest', | ||
| 122 | as ArrayRef[GetReplicationRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedGetReplicationRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::GetReplicationRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringGetReplicationRequest', | ||
| 128 | as HashRef[GetReplicationRequest()]; | ||
| 129 | |||
| 130 | declare 'DestinationVolumeParameters', | ||
| 131 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::DestinationVolumeParameters']; | ||
| 132 | |||
| 133 | coerce 'DestinationVolumeParameters', | ||
| 134 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::DestinationVolumeParameters'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedDestinationVolumeParameters', | ||
| 137 | as ArrayRef[DestinationVolumeParameters()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedDestinationVolumeParameters', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::DestinationVolumeParameters'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringDestinationVolumeParameters', | ||
| 143 | as HashRef[DestinationVolumeParameters()]; | ||
| 144 | |||
| 145 | declare 'CreateReplicationRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::CreateReplicationRequest']; | ||
| 147 | |||
| 148 | coerce 'CreateReplicationRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::CreateReplicationRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedCreateReplicationRequest', | ||
| 152 | as ArrayRef[CreateReplicationRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedCreateReplicationRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::CreateReplicationRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringCreateReplicationRequest', | ||
| 158 | as HashRef[CreateReplicationRequest()]; | ||
| 159 | |||
| 160 | declare 'DeleteReplicationRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::DeleteReplicationRequest']; | ||
| 162 | |||
| 163 | coerce 'DeleteReplicationRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::DeleteReplicationRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedDeleteReplicationRequest', | ||
| 167 | as ArrayRef[DeleteReplicationRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedDeleteReplicationRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::DeleteReplicationRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringDeleteReplicationRequest', | ||
| 173 | as HashRef[DeleteReplicationRequest()]; | ||
| 174 | |||
| 175 | declare 'UpdateReplicationRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::UpdateReplicationRequest']; | ||
| 177 | |||
| 178 | coerce 'UpdateReplicationRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::UpdateReplicationRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedUpdateReplicationRequest', | ||
| 182 | as ArrayRef[UpdateReplicationRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedUpdateReplicationRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::UpdateReplicationRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringUpdateReplicationRequest', | ||
| 188 | as HashRef[UpdateReplicationRequest()]; | ||
| 189 | |||
| 190 | declare 'StopReplicationRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::StopReplicationRequest']; | ||
| 192 | |||
| 193 | coerce 'StopReplicationRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::StopReplicationRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedStopReplicationRequest', | ||
| 197 | as ArrayRef[StopReplicationRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedStopReplicationRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::StopReplicationRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringStopReplicationRequest', | ||
| 203 | as HashRef[StopReplicationRequest()]; | ||
| 204 | |||
| 205 | declare 'ResumeReplicationRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::ResumeReplicationRequest']; | ||
| 207 | |||
| 208 | coerce 'ResumeReplicationRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::ResumeReplicationRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedResumeReplicationRequest', | ||
| 212 | as ArrayRef[ResumeReplicationRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedResumeReplicationRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::ResumeReplicationRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringResumeReplicationRequest', | ||
| 218 | as HashRef[ResumeReplicationRequest()]; | ||
| 219 | |||
| 220 | declare 'ReverseReplicationDirectionRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::ReverseReplicationDirectionRequest']; | ||
| 222 | |||
| 223 | coerce 'ReverseReplicationDirectionRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::ReverseReplicationDirectionRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedReverseReplicationDirectionRequest', | ||
| 227 | as ArrayRef[ReverseReplicationDirectionRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedReverseReplicationDirectionRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::ReverseReplicationDirectionRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringReverseReplicationDirectionRequest', | ||
| 233 | as HashRef[ReverseReplicationDirectionRequest()]; | ||
| 234 | |||
| 235 | declare 'EstablishPeeringRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::EstablishPeeringRequest']; | ||
| 237 | |||
| 238 | coerce 'EstablishPeeringRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::EstablishPeeringRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedEstablishPeeringRequest', | ||
| 242 | as ArrayRef[EstablishPeeringRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedEstablishPeeringRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::EstablishPeeringRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringEstablishPeeringRequest', | ||
| 248 | as HashRef[EstablishPeeringRequest()]; | ||
| 249 | |||
| 250 | declare 'SyncReplicationRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Netapp::V1::Replication::SyncReplicationRequest']; | ||
| 252 | |||
| 253 | coerce 'SyncReplicationRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Netapp::V1::Replication::SyncReplicationRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedSyncReplicationRequest', | ||
| 257 | as ArrayRef[SyncReplicationRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedSyncReplicationRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::Replication::SyncReplicationRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringSyncReplicationRequest', | ||
| 263 | as HashRef[SyncReplicationRequest()]; | ||
| 264 | |||
| 265 | 1; | ||
| 266 | |||
| 267 | __END__ |