| 1 | package Google::Cloud::Netapp::V1::BackupVault::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 'BackupVault', | ||
| 11 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::BackupVault']; | ||
| 12 | |||
| 13 | coerce 'BackupVault', | ||
| 14 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::BackupVault'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedBackupVault', | ||
| 17 | as ArrayRef[BackupVault()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedBackupVault', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::BackupVault'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringBackupVault', | ||
| 23 | as HashRef[BackupVault()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'BackupVaultType', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'EncryptionState', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'BackupRetentionPolicy', | ||
| 35 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::BackupVault::BackupRetentionPolicy']; | ||
| 36 | |||
| 37 | coerce 'BackupRetentionPolicy', | ||
| 38 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::BackupVault::BackupRetentionPolicy'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedBackupRetentionPolicy', | ||
| 41 | as ArrayRef[BackupRetentionPolicy()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedBackupRetentionPolicy', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::BackupVault::BackupRetentionPolicy'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringBackupRetentionPolicy', | ||
| 47 | as HashRef[BackupRetentionPolicy()]; | ||
| 48 | |||
| 49 | declare 'LabelsEntry', | ||
| 50 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::BackupVault::LabelsEntry']; | ||
| 51 | |||
| 52 | coerce 'LabelsEntry', | ||
| 53 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::BackupVault::LabelsEntry'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedLabelsEntry', | ||
| 56 | as ArrayRef[LabelsEntry()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedLabelsEntry', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::BackupVault::LabelsEntry'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringLabelsEntry', | ||
| 62 | as HashRef[LabelsEntry()]; | ||
| 63 | |||
| 64 | declare 'GetBackupVaultRequest', | ||
| 65 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::GetBackupVaultRequest']; | ||
| 66 | |||
| 67 | coerce 'GetBackupVaultRequest', | ||
| 68 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::GetBackupVaultRequest'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedGetBackupVaultRequest', | ||
| 71 | as ArrayRef[GetBackupVaultRequest()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedGetBackupVaultRequest', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::GetBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringGetBackupVaultRequest', | ||
| 77 | as HashRef[GetBackupVaultRequest()]; | ||
| 78 | |||
| 79 | declare 'ListBackupVaultsRequest', | ||
| 80 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsRequest']; | ||
| 81 | |||
| 82 | coerce 'ListBackupVaultsRequest', | ||
| 83 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsRequest'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedListBackupVaultsRequest', | ||
| 86 | as ArrayRef[ListBackupVaultsRequest()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedListBackupVaultsRequest', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsRequest'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringListBackupVaultsRequest', | ||
| 92 | as HashRef[ListBackupVaultsRequest()]; | ||
| 93 | |||
| 94 | declare 'ListBackupVaultsResponse', | ||
| 95 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsResponse']; | ||
| 96 | |||
| 97 | coerce 'ListBackupVaultsResponse', | ||
| 98 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsResponse'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedListBackupVaultsResponse', | ||
| 101 | as ArrayRef[ListBackupVaultsResponse()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedListBackupVaultsResponse', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsResponse'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringListBackupVaultsResponse', | ||
| 107 | as HashRef[ListBackupVaultsResponse()]; | ||
| 108 | |||
| 109 | declare 'CreateBackupVaultRequest', | ||
| 110 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::CreateBackupVaultRequest']; | ||
| 111 | |||
| 112 | coerce 'CreateBackupVaultRequest', | ||
| 113 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::CreateBackupVaultRequest'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedCreateBackupVaultRequest', | ||
| 116 | as ArrayRef[CreateBackupVaultRequest()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedCreateBackupVaultRequest', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::CreateBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringCreateBackupVaultRequest', | ||
| 122 | as HashRef[CreateBackupVaultRequest()]; | ||
| 123 | |||
| 124 | declare 'DeleteBackupVaultRequest', | ||
| 125 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::DeleteBackupVaultRequest']; | ||
| 126 | |||
| 127 | coerce 'DeleteBackupVaultRequest', | ||
| 128 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::DeleteBackupVaultRequest'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedDeleteBackupVaultRequest', | ||
| 131 | as ArrayRef[DeleteBackupVaultRequest()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedDeleteBackupVaultRequest', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::DeleteBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringDeleteBackupVaultRequest', | ||
| 137 | as HashRef[DeleteBackupVaultRequest()]; | ||
| 138 | |||
| 139 | declare 'UpdateBackupVaultRequest', | ||
| 140 | as InstanceOf['Google::Cloud::Netapp::V1::BackupVault::UpdateBackupVaultRequest']; | ||
| 141 | |||
| 142 | coerce 'UpdateBackupVaultRequest', | ||
| 143 | from HashRef, via { 'Google::Cloud::Netapp::V1::BackupVault::UpdateBackupVaultRequest'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedUpdateBackupVaultRequest', | ||
| 146 | as ArrayRef[UpdateBackupVaultRequest()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedUpdateBackupVaultRequest', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Netapp::V1::BackupVault::UpdateBackupVaultRequest'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringUpdateBackupVaultRequest', | ||
| 152 | as HashRef[UpdateBackupVaultRequest()]; | ||
| 153 | |||
| 154 | 1; | ||
| 155 | |||
| 156 | __END__ |