| 1 | package Google::Cloud::Backupdr::V1::Backupdr::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 'NetworkConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::NetworkConfig']; | ||
| 12 | |||
| 13 | coerce 'NetworkConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::NetworkConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedNetworkConfig', | ||
| 17 | as ArrayRef[NetworkConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedNetworkConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::NetworkConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringNetworkConfig', | ||
| 23 | as HashRef[NetworkConfig()]; | ||
| 24 | |||
| 25 | declare 'PeeringMode', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ManagementURI', | ||
| 29 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::ManagementURI']; | ||
| 30 | |||
| 31 | coerce 'ManagementURI', | ||
| 32 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::ManagementURI'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedManagementURI', | ||
| 35 | as ArrayRef[ManagementURI()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedManagementURI', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::ManagementURI'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringManagementURI', | ||
| 41 | as HashRef[ManagementURI()]; | ||
| 42 | |||
| 43 | declare 'WorkforceIdentityBasedManagementURI', | ||
| 44 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::WorkforceIdentityBasedManagementURI']; | ||
| 45 | |||
| 46 | coerce 'WorkforceIdentityBasedManagementURI', | ||
| 47 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::WorkforceIdentityBasedManagementURI'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedWorkforceIdentityBasedManagementURI', | ||
| 50 | as ArrayRef[WorkforceIdentityBasedManagementURI()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedWorkforceIdentityBasedManagementURI', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::WorkforceIdentityBasedManagementURI'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringWorkforceIdentityBasedManagementURI', | ||
| 56 | as HashRef[WorkforceIdentityBasedManagementURI()]; | ||
| 57 | |||
| 58 | declare 'WorkforceIdentityBasedOAuth2ClientID', | ||
| 59 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::WorkforceIdentityBasedOAuth2ClientID']; | ||
| 60 | |||
| 61 | coerce 'WorkforceIdentityBasedOAuth2ClientID', | ||
| 62 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::WorkforceIdentityBasedOAuth2ClientID'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedWorkforceIdentityBasedOAuth2ClientID', | ||
| 65 | as ArrayRef[WorkforceIdentityBasedOAuth2ClientID()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedWorkforceIdentityBasedOAuth2ClientID', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::WorkforceIdentityBasedOAuth2ClientID'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringWorkforceIdentityBasedOAuth2ClientID', | ||
| 71 | as HashRef[WorkforceIdentityBasedOAuth2ClientID()]; | ||
| 72 | |||
| 73 | declare 'ManagementServer', | ||
| 74 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::ManagementServer']; | ||
| 75 | |||
| 76 | coerce 'ManagementServer', | ||
| 77 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::ManagementServer'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedManagementServer', | ||
| 80 | as ArrayRef[ManagementServer()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedManagementServer', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::ManagementServer'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringManagementServer', | ||
| 86 | as HashRef[ManagementServer()]; | ||
| 87 | |||
| 88 | declare 'InstanceType', | ||
| 89 | as (Int | Str); | ||
| 90 | |||
| 91 | declare 'InstanceState', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'LabelsEntry', | ||
| 95 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::ManagementServer::LabelsEntry']; | ||
| 96 | |||
| 97 | coerce 'LabelsEntry', | ||
| 98 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::ManagementServer::LabelsEntry'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedLabelsEntry', | ||
| 101 | as ArrayRef[LabelsEntry()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedLabelsEntry', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::ManagementServer::LabelsEntry'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringLabelsEntry', | ||
| 107 | as HashRef[LabelsEntry()]; | ||
| 108 | |||
| 109 | declare 'ListManagementServersRequest', | ||
| 110 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::ListManagementServersRequest']; | ||
| 111 | |||
| 112 | coerce 'ListManagementServersRequest', | ||
| 113 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::ListManagementServersRequest'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedListManagementServersRequest', | ||
| 116 | as ArrayRef[ListManagementServersRequest()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedListManagementServersRequest', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::ListManagementServersRequest'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringListManagementServersRequest', | ||
| 122 | as HashRef[ListManagementServersRequest()]; | ||
| 123 | |||
| 124 | declare 'ListManagementServersResponse', | ||
| 125 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::ListManagementServersResponse']; | ||
| 126 | |||
| 127 | coerce 'ListManagementServersResponse', | ||
| 128 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::ListManagementServersResponse'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedListManagementServersResponse', | ||
| 131 | as ArrayRef[ListManagementServersResponse()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedListManagementServersResponse', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::ListManagementServersResponse'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringListManagementServersResponse', | ||
| 137 | as HashRef[ListManagementServersResponse()]; | ||
| 138 | |||
| 139 | declare 'GetManagementServerRequest', | ||
| 140 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::GetManagementServerRequest']; | ||
| 141 | |||
| 142 | coerce 'GetManagementServerRequest', | ||
| 143 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::GetManagementServerRequest'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedGetManagementServerRequest', | ||
| 146 | as ArrayRef[GetManagementServerRequest()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedGetManagementServerRequest', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::GetManagementServerRequest'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringGetManagementServerRequest', | ||
| 152 | as HashRef[GetManagementServerRequest()]; | ||
| 153 | |||
| 154 | declare 'CreateManagementServerRequest', | ||
| 155 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::CreateManagementServerRequest']; | ||
| 156 | |||
| 157 | coerce 'CreateManagementServerRequest', | ||
| 158 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::CreateManagementServerRequest'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedCreateManagementServerRequest', | ||
| 161 | as ArrayRef[CreateManagementServerRequest()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedCreateManagementServerRequest', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::CreateManagementServerRequest'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringCreateManagementServerRequest', | ||
| 167 | as HashRef[CreateManagementServerRequest()]; | ||
| 168 | |||
| 169 | declare 'DeleteManagementServerRequest', | ||
| 170 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::DeleteManagementServerRequest']; | ||
| 171 | |||
| 172 | coerce 'DeleteManagementServerRequest', | ||
| 173 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::DeleteManagementServerRequest'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedDeleteManagementServerRequest', | ||
| 176 | as ArrayRef[DeleteManagementServerRequest()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedDeleteManagementServerRequest', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::DeleteManagementServerRequest'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringDeleteManagementServerRequest', | ||
| 182 | as HashRef[DeleteManagementServerRequest()]; | ||
| 183 | |||
| 184 | declare 'InitializeServiceRequest', | ||
| 185 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::InitializeServiceRequest']; | ||
| 186 | |||
| 187 | coerce 'InitializeServiceRequest', | ||
| 188 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::InitializeServiceRequest'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedInitializeServiceRequest', | ||
| 191 | as ArrayRef[InitializeServiceRequest()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedInitializeServiceRequest', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::InitializeServiceRequest'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringInitializeServiceRequest', | ||
| 197 | as HashRef[InitializeServiceRequest()]; | ||
| 198 | |||
| 199 | declare 'InitializeServiceResponse', | ||
| 200 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::InitializeServiceResponse']; | ||
| 201 | |||
| 202 | coerce 'InitializeServiceResponse', | ||
| 203 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::InitializeServiceResponse'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedInitializeServiceResponse', | ||
| 206 | as ArrayRef[InitializeServiceResponse()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedInitializeServiceResponse', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::InitializeServiceResponse'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringInitializeServiceResponse', | ||
| 212 | as HashRef[InitializeServiceResponse()]; | ||
| 213 | |||
| 214 | declare 'OperationMetadata', | ||
| 215 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::OperationMetadata']; | ||
| 216 | |||
| 217 | coerce 'OperationMetadata', | ||
| 218 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::OperationMetadata'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedOperationMetadata', | ||
| 221 | as ArrayRef[OperationMetadata()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedOperationMetadata', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::OperationMetadata'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringOperationMetadata', | ||
| 227 | as HashRef[OperationMetadata()]; | ||
| 228 | |||
| 229 | declare 'AdditionalInfoEntry', | ||
| 230 | as InstanceOf['Google::Cloud::Backupdr::V1::Backupdr::OperationMetadata::AdditionalInfoEntry']; | ||
| 231 | |||
| 232 | coerce 'AdditionalInfoEntry', | ||
| 233 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Backupdr::OperationMetadata::AdditionalInfoEntry'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedAdditionalInfoEntry', | ||
| 236 | as ArrayRef[AdditionalInfoEntry()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedAdditionalInfoEntry', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Backupdr::OperationMetadata::AdditionalInfoEntry'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringAdditionalInfoEntry', | ||
| 242 | as HashRef[AdditionalInfoEntry()]; | ||
| 243 | |||
| 244 | 1; | ||
| 245 | |||
| 246 | __END__ |