| 1 | package Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::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 'CheckOnboardingStatusRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusRequest']; | ||
| 12 | |||
| 13 | coerce 'CheckOnboardingStatusRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCheckOnboardingStatusRequest', | ||
| 17 | as ArrayRef[CheckOnboardingStatusRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCheckOnboardingStatusRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCheckOnboardingStatusRequest', | ||
| 23 | as HashRef[CheckOnboardingStatusRequest()]; | ||
| 24 | |||
| 25 | declare 'CheckOnboardingStatusResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse']; | ||
| 27 | |||
| 28 | coerce 'CheckOnboardingStatusResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedCheckOnboardingStatusResponse', | ||
| 32 | as ArrayRef[CheckOnboardingStatusResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedCheckOnboardingStatusResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringCheckOnboardingStatusResponse', | ||
| 38 | as HashRef[CheckOnboardingStatusResponse()]; | ||
| 39 | |||
| 40 | declare 'Finding', | ||
| 41 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse::Finding']; | ||
| 42 | |||
| 43 | coerce 'Finding', | ||
| 44 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse::Finding'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedFinding', | ||
| 47 | as ArrayRef[Finding()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedFinding', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse::Finding'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringFinding', | ||
| 53 | as HashRef[Finding()]; | ||
| 54 | |||
| 55 | declare 'IAMAccessDenied', | ||
| 56 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse::Finding::IAMAccessDenied']; | ||
| 57 | |||
| 58 | coerce 'IAMAccessDenied', | ||
| 59 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse::Finding::IAMAccessDenied'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedIAMAccessDenied', | ||
| 62 | as ArrayRef[IAMAccessDenied()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedIAMAccessDenied', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CheckOnboardingStatusResponse::Finding::IAMAccessDenied'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringIAMAccessDenied', | ||
| 68 | as HashRef[IAMAccessDenied()]; | ||
| 69 | |||
| 70 | declare 'Entitlement', | ||
| 71 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement']; | ||
| 72 | |||
| 73 | coerce 'Entitlement', | ||
| 74 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedEntitlement', | ||
| 77 | as ArrayRef[Entitlement()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedEntitlement', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringEntitlement', | ||
| 83 | as HashRef[Entitlement()]; | ||
| 84 | |||
| 85 | declare 'State', | ||
| 86 | as (Int | Str); | ||
| 87 | |||
| 88 | declare 'RequesterJustificationConfig', | ||
| 89 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig']; | ||
| 90 | |||
| 91 | coerce 'RequesterJustificationConfig', | ||
| 92 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedRequesterJustificationConfig', | ||
| 95 | as ArrayRef[RequesterJustificationConfig()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedRequesterJustificationConfig', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringRequesterJustificationConfig', | ||
| 101 | as HashRef[RequesterJustificationConfig()]; | ||
| 102 | |||
| 103 | declare 'NotMandatory', | ||
| 104 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig::NotMandatory']; | ||
| 105 | |||
| 106 | coerce 'NotMandatory', | ||
| 107 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig::NotMandatory'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedNotMandatory', | ||
| 110 | as ArrayRef[NotMandatory()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedNotMandatory', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig::NotMandatory'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringNotMandatory', | ||
| 116 | as HashRef[NotMandatory()]; | ||
| 117 | |||
| 118 | declare 'Unstructured', | ||
| 119 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig::Unstructured']; | ||
| 120 | |||
| 121 | coerce 'Unstructured', | ||
| 122 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig::Unstructured'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedUnstructured', | ||
| 125 | as ArrayRef[Unstructured()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedUnstructured', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::RequesterJustificationConfig::Unstructured'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringUnstructured', | ||
| 131 | as HashRef[Unstructured()]; | ||
| 132 | |||
| 133 | declare 'AdditionalNotificationTargets', | ||
| 134 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::AdditionalNotificationTargets']; | ||
| 135 | |||
| 136 | coerce 'AdditionalNotificationTargets', | ||
| 137 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::AdditionalNotificationTargets'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedAdditionalNotificationTargets', | ||
| 140 | as ArrayRef[AdditionalNotificationTargets()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedAdditionalNotificationTargets', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Entitlement::AdditionalNotificationTargets'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringAdditionalNotificationTargets', | ||
| 146 | as HashRef[AdditionalNotificationTargets()]; | ||
| 147 | |||
| 148 | declare 'AccessControlEntry', | ||
| 149 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::AccessControlEntry']; | ||
| 150 | |||
| 151 | coerce 'AccessControlEntry', | ||
| 152 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::AccessControlEntry'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedAccessControlEntry', | ||
| 155 | as ArrayRef[AccessControlEntry()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedAccessControlEntry', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::AccessControlEntry'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringAccessControlEntry', | ||
| 161 | as HashRef[AccessControlEntry()]; | ||
| 162 | |||
| 163 | declare 'ApprovalWorkflow', | ||
| 164 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ApprovalWorkflow']; | ||
| 165 | |||
| 166 | coerce 'ApprovalWorkflow', | ||
| 167 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ApprovalWorkflow'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedApprovalWorkflow', | ||
| 170 | as ArrayRef[ApprovalWorkflow()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedApprovalWorkflow', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ApprovalWorkflow'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringApprovalWorkflow', | ||
| 176 | as HashRef[ApprovalWorkflow()]; | ||
| 177 | |||
| 178 | declare 'ManualApprovals', | ||
| 179 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ManualApprovals']; | ||
| 180 | |||
| 181 | coerce 'ManualApprovals', | ||
| 182 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ManualApprovals'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedManualApprovals', | ||
| 185 | as ArrayRef[ManualApprovals()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedManualApprovals', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ManualApprovals'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringManualApprovals', | ||
| 191 | as HashRef[ManualApprovals()]; | ||
| 192 | |||
| 193 | declare 'Step', | ||
| 194 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ManualApprovals::Step']; | ||
| 195 | |||
| 196 | coerce 'Step', | ||
| 197 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ManualApprovals::Step'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedStep', | ||
| 200 | as ArrayRef[Step()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedStep', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ManualApprovals::Step'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringStep', | ||
| 206 | as HashRef[Step()]; | ||
| 207 | |||
| 208 | declare 'PrivilegedAccess', | ||
| 209 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess']; | ||
| 210 | |||
| 211 | coerce 'PrivilegedAccess', | ||
| 212 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedPrivilegedAccess', | ||
| 215 | as ArrayRef[PrivilegedAccess()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedPrivilegedAccess', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringPrivilegedAccess', | ||
| 221 | as HashRef[PrivilegedAccess()]; | ||
| 222 | |||
| 223 | declare 'GcpIamAccess', | ||
| 224 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess::GcpIamAccess']; | ||
| 225 | |||
| 226 | coerce 'GcpIamAccess', | ||
| 227 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess::GcpIamAccess'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedGcpIamAccess', | ||
| 230 | as ArrayRef[GcpIamAccess()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedGcpIamAccess', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess::GcpIamAccess'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringGcpIamAccess', | ||
| 236 | as HashRef[GcpIamAccess()]; | ||
| 237 | |||
| 238 | declare 'RoleBinding', | ||
| 239 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess::GcpIamAccess::RoleBinding']; | ||
| 240 | |||
| 241 | coerce 'RoleBinding', | ||
| 242 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess::GcpIamAccess::RoleBinding'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedRoleBinding', | ||
| 245 | as ArrayRef[RoleBinding()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedRoleBinding', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::PrivilegedAccess::GcpIamAccess::RoleBinding'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringRoleBinding', | ||
| 251 | as HashRef[RoleBinding()]; | ||
| 252 | |||
| 253 | declare 'ListEntitlementsRequest', | ||
| 254 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListEntitlementsRequest']; | ||
| 255 | |||
| 256 | coerce 'ListEntitlementsRequest', | ||
| 257 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListEntitlementsRequest'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedListEntitlementsRequest', | ||
| 260 | as ArrayRef[ListEntitlementsRequest()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedListEntitlementsRequest', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListEntitlementsRequest'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringListEntitlementsRequest', | ||
| 266 | as HashRef[ListEntitlementsRequest()]; | ||
| 267 | |||
| 268 | declare 'ListEntitlementsResponse', | ||
| 269 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListEntitlementsResponse']; | ||
| 270 | |||
| 271 | coerce 'ListEntitlementsResponse', | ||
| 272 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListEntitlementsResponse'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedListEntitlementsResponse', | ||
| 275 | as ArrayRef[ListEntitlementsResponse()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedListEntitlementsResponse', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListEntitlementsResponse'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringListEntitlementsResponse', | ||
| 281 | as HashRef[ListEntitlementsResponse()]; | ||
| 282 | |||
| 283 | declare 'SearchEntitlementsRequest', | ||
| 284 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchEntitlementsRequest']; | ||
| 285 | |||
| 286 | coerce 'SearchEntitlementsRequest', | ||
| 287 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchEntitlementsRequest'->new($_) }; | ||
| 288 | |||
| 289 | declare 'RepeatedSearchEntitlementsRequest', | ||
| 290 | as ArrayRef[SearchEntitlementsRequest()]; | ||
| 291 | |||
| 292 | coerce 'RepeatedSearchEntitlementsRequest', | ||
| 293 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchEntitlementsRequest'->new($_) } @$_ ] }; | ||
| 294 | |||
| 295 | declare 'MapStringSearchEntitlementsRequest', | ||
| 296 | as HashRef[SearchEntitlementsRequest()]; | ||
| 297 | |||
| 298 | declare 'CallerAccessType', | ||
| 299 | as (Int | Str); | ||
| 300 | |||
| 301 | declare 'SearchEntitlementsResponse', | ||
| 302 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchEntitlementsResponse']; | ||
| 303 | |||
| 304 | coerce 'SearchEntitlementsResponse', | ||
| 305 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchEntitlementsResponse'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedSearchEntitlementsResponse', | ||
| 308 | as ArrayRef[SearchEntitlementsResponse()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedSearchEntitlementsResponse', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchEntitlementsResponse'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringSearchEntitlementsResponse', | ||
| 314 | as HashRef[SearchEntitlementsResponse()]; | ||
| 315 | |||
| 316 | declare 'GetEntitlementRequest', | ||
| 317 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::GetEntitlementRequest']; | ||
| 318 | |||
| 319 | coerce 'GetEntitlementRequest', | ||
| 320 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::GetEntitlementRequest'->new($_) }; | ||
| 321 | |||
| 322 | declare 'RepeatedGetEntitlementRequest', | ||
| 323 | as ArrayRef[GetEntitlementRequest()]; | ||
| 324 | |||
| 325 | coerce 'RepeatedGetEntitlementRequest', | ||
| 326 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::GetEntitlementRequest'->new($_) } @$_ ] }; | ||
| 327 | |||
| 328 | declare 'MapStringGetEntitlementRequest', | ||
| 329 | as HashRef[GetEntitlementRequest()]; | ||
| 330 | |||
| 331 | declare 'CreateEntitlementRequest', | ||
| 332 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CreateEntitlementRequest']; | ||
| 333 | |||
| 334 | coerce 'CreateEntitlementRequest', | ||
| 335 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CreateEntitlementRequest'->new($_) }; | ||
| 336 | |||
| 337 | declare 'RepeatedCreateEntitlementRequest', | ||
| 338 | as ArrayRef[CreateEntitlementRequest()]; | ||
| 339 | |||
| 340 | coerce 'RepeatedCreateEntitlementRequest', | ||
| 341 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CreateEntitlementRequest'->new($_) } @$_ ] }; | ||
| 342 | |||
| 343 | declare 'MapStringCreateEntitlementRequest', | ||
| 344 | as HashRef[CreateEntitlementRequest()]; | ||
| 345 | |||
| 346 | declare 'DeleteEntitlementRequest', | ||
| 347 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::DeleteEntitlementRequest']; | ||
| 348 | |||
| 349 | coerce 'DeleteEntitlementRequest', | ||
| 350 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::DeleteEntitlementRequest'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedDeleteEntitlementRequest', | ||
| 353 | as ArrayRef[DeleteEntitlementRequest()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedDeleteEntitlementRequest', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::DeleteEntitlementRequest'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringDeleteEntitlementRequest', | ||
| 359 | as HashRef[DeleteEntitlementRequest()]; | ||
| 360 | |||
| 361 | declare 'UpdateEntitlementRequest', | ||
| 362 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::UpdateEntitlementRequest']; | ||
| 363 | |||
| 364 | coerce 'UpdateEntitlementRequest', | ||
| 365 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::UpdateEntitlementRequest'->new($_) }; | ||
| 366 | |||
| 367 | declare 'RepeatedUpdateEntitlementRequest', | ||
| 368 | as ArrayRef[UpdateEntitlementRequest()]; | ||
| 369 | |||
| 370 | coerce 'RepeatedUpdateEntitlementRequest', | ||
| 371 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::UpdateEntitlementRequest'->new($_) } @$_ ] }; | ||
| 372 | |||
| 373 | declare 'MapStringUpdateEntitlementRequest', | ||
| 374 | as HashRef[UpdateEntitlementRequest()]; | ||
| 375 | |||
| 376 | declare 'Grant', | ||
| 377 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant']; | ||
| 378 | |||
| 379 | coerce 'Grant', | ||
| 380 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant'->new($_) }; | ||
| 381 | |||
| 382 | declare 'RepeatedGrant', | ||
| 383 | as ArrayRef[Grant()]; | ||
| 384 | |||
| 385 | coerce 'RepeatedGrant', | ||
| 386 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant'->new($_) } @$_ ] }; | ||
| 387 | |||
| 388 | declare 'MapStringGrant', | ||
| 389 | as HashRef[Grant()]; | ||
| 390 | |||
| 391 | declare 'State', | ||
| 392 | as (Int | Str); | ||
| 393 | |||
| 394 | declare 'Timeline', | ||
| 395 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline']; | ||
| 396 | |||
| 397 | coerce 'Timeline', | ||
| 398 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedTimeline', | ||
| 401 | as ArrayRef[Timeline()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedTimeline', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringTimeline', | ||
| 407 | as HashRef[Timeline()]; | ||
| 408 | |||
| 409 | declare 'Event', | ||
| 410 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event']; | ||
| 411 | |||
| 412 | coerce 'Event', | ||
| 413 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedEvent', | ||
| 416 | as ArrayRef[Event()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedEvent', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringEvent', | ||
| 422 | as HashRef[Event()]; | ||
| 423 | |||
| 424 | declare 'Requested', | ||
| 425 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Requested']; | ||
| 426 | |||
| 427 | coerce 'Requested', | ||
| 428 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Requested'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedRequested', | ||
| 431 | as ArrayRef[Requested()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedRequested', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Requested'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringRequested', | ||
| 437 | as HashRef[Requested()]; | ||
| 438 | |||
| 439 | declare 'Approved', | ||
| 440 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Approved']; | ||
| 441 | |||
| 442 | coerce 'Approved', | ||
| 443 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Approved'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedApproved', | ||
| 446 | as ArrayRef[Approved()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedApproved', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Approved'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringApproved', | ||
| 452 | as HashRef[Approved()]; | ||
| 453 | |||
| 454 | declare 'Denied', | ||
| 455 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Denied']; | ||
| 456 | |||
| 457 | coerce 'Denied', | ||
| 458 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Denied'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedDenied', | ||
| 461 | as ArrayRef[Denied()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedDenied', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Denied'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringDenied', | ||
| 467 | as HashRef[Denied()]; | ||
| 468 | |||
| 469 | declare 'Revoked', | ||
| 470 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Revoked']; | ||
| 471 | |||
| 472 | coerce 'Revoked', | ||
| 473 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Revoked'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedRevoked', | ||
| 476 | as ArrayRef[Revoked()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedRevoked', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Revoked'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringRevoked', | ||
| 482 | as HashRef[Revoked()]; | ||
| 483 | |||
| 484 | declare 'Withdrawn', | ||
| 485 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Withdrawn']; | ||
| 486 | |||
| 487 | coerce 'Withdrawn', | ||
| 488 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Withdrawn'->new($_) }; | ||
| 489 | |||
| 490 | declare 'RepeatedWithdrawn', | ||
| 491 | as ArrayRef[Withdrawn()]; | ||
| 492 | |||
| 493 | coerce 'RepeatedWithdrawn', | ||
| 494 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Withdrawn'->new($_) } @$_ ] }; | ||
| 495 | |||
| 496 | declare 'MapStringWithdrawn', | ||
| 497 | as HashRef[Withdrawn()]; | ||
| 498 | |||
| 499 | declare 'Scheduled', | ||
| 500 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Scheduled']; | ||
| 501 | |||
| 502 | coerce 'Scheduled', | ||
| 503 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Scheduled'->new($_) }; | ||
| 504 | |||
| 505 | declare 'RepeatedScheduled', | ||
| 506 | as ArrayRef[Scheduled()]; | ||
| 507 | |||
| 508 | coerce 'RepeatedScheduled', | ||
| 509 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Scheduled'->new($_) } @$_ ] }; | ||
| 510 | |||
| 511 | declare 'MapStringScheduled', | ||
| 512 | as HashRef[Scheduled()]; | ||
| 513 | |||
| 514 | declare 'Activated', | ||
| 515 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Activated']; | ||
| 516 | |||
| 517 | coerce 'Activated', | ||
| 518 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Activated'->new($_) }; | ||
| 519 | |||
| 520 | declare 'RepeatedActivated', | ||
| 521 | as ArrayRef[Activated()]; | ||
| 522 | |||
| 523 | coerce 'RepeatedActivated', | ||
| 524 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Activated'->new($_) } @$_ ] }; | ||
| 525 | |||
| 526 | declare 'MapStringActivated', | ||
| 527 | as HashRef[Activated()]; | ||
| 528 | |||
| 529 | declare 'ActivationFailed', | ||
| 530 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::ActivationFailed']; | ||
| 531 | |||
| 532 | coerce 'ActivationFailed', | ||
| 533 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::ActivationFailed'->new($_) }; | ||
| 534 | |||
| 535 | declare 'RepeatedActivationFailed', | ||
| 536 | as ArrayRef[ActivationFailed()]; | ||
| 537 | |||
| 538 | coerce 'RepeatedActivationFailed', | ||
| 539 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::ActivationFailed'->new($_) } @$_ ] }; | ||
| 540 | |||
| 541 | declare 'MapStringActivationFailed', | ||
| 542 | as HashRef[ActivationFailed()]; | ||
| 543 | |||
| 544 | declare 'Expired', | ||
| 545 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Expired']; | ||
| 546 | |||
| 547 | coerce 'Expired', | ||
| 548 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Expired'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedExpired', | ||
| 551 | as ArrayRef[Expired()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedExpired', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Expired'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringExpired', | ||
| 557 | as HashRef[Expired()]; | ||
| 558 | |||
| 559 | declare 'Ended', | ||
| 560 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Ended']; | ||
| 561 | |||
| 562 | coerce 'Ended', | ||
| 563 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Ended'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedEnded', | ||
| 566 | as ArrayRef[Ended()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedEnded', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::Ended'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringEnded', | ||
| 572 | as HashRef[Ended()]; | ||
| 573 | |||
| 574 | declare 'ExternallyModified', | ||
| 575 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::ExternallyModified']; | ||
| 576 | |||
| 577 | coerce 'ExternallyModified', | ||
| 578 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::ExternallyModified'->new($_) }; | ||
| 579 | |||
| 580 | declare 'RepeatedExternallyModified', | ||
| 581 | as ArrayRef[ExternallyModified()]; | ||
| 582 | |||
| 583 | coerce 'RepeatedExternallyModified', | ||
| 584 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::Timeline::Event::ExternallyModified'->new($_) } @$_ ] }; | ||
| 585 | |||
| 586 | declare 'MapStringExternallyModified', | ||
| 587 | as HashRef[ExternallyModified()]; | ||
| 588 | |||
| 589 | declare 'AuditTrail', | ||
| 590 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::AuditTrail']; | ||
| 591 | |||
| 592 | coerce 'AuditTrail', | ||
| 593 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::AuditTrail'->new($_) }; | ||
| 594 | |||
| 595 | declare 'RepeatedAuditTrail', | ||
| 596 | as ArrayRef[AuditTrail()]; | ||
| 597 | |||
| 598 | coerce 'RepeatedAuditTrail', | ||
| 599 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Grant::AuditTrail'->new($_) } @$_ ] }; | ||
| 600 | |||
| 601 | declare 'MapStringAuditTrail', | ||
| 602 | as HashRef[AuditTrail()]; | ||
| 603 | |||
| 604 | declare 'Justification', | ||
| 605 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Justification']; | ||
| 606 | |||
| 607 | coerce 'Justification', | ||
| 608 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Justification'->new($_) }; | ||
| 609 | |||
| 610 | declare 'RepeatedJustification', | ||
| 611 | as ArrayRef[Justification()]; | ||
| 612 | |||
| 613 | coerce 'RepeatedJustification', | ||
| 614 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::Justification'->new($_) } @$_ ] }; | ||
| 615 | |||
| 616 | declare 'MapStringJustification', | ||
| 617 | as HashRef[Justification()]; | ||
| 618 | |||
| 619 | declare 'ListGrantsRequest', | ||
| 620 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListGrantsRequest']; | ||
| 621 | |||
| 622 | coerce 'ListGrantsRequest', | ||
| 623 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListGrantsRequest'->new($_) }; | ||
| 624 | |||
| 625 | declare 'RepeatedListGrantsRequest', | ||
| 626 | as ArrayRef[ListGrantsRequest()]; | ||
| 627 | |||
| 628 | coerce 'RepeatedListGrantsRequest', | ||
| 629 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListGrantsRequest'->new($_) } @$_ ] }; | ||
| 630 | |||
| 631 | declare 'MapStringListGrantsRequest', | ||
| 632 | as HashRef[ListGrantsRequest()]; | ||
| 633 | |||
| 634 | declare 'ListGrantsResponse', | ||
| 635 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListGrantsResponse']; | ||
| 636 | |||
| 637 | coerce 'ListGrantsResponse', | ||
| 638 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListGrantsResponse'->new($_) }; | ||
| 639 | |||
| 640 | declare 'RepeatedListGrantsResponse', | ||
| 641 | as ArrayRef[ListGrantsResponse()]; | ||
| 642 | |||
| 643 | coerce 'RepeatedListGrantsResponse', | ||
| 644 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ListGrantsResponse'->new($_) } @$_ ] }; | ||
| 645 | |||
| 646 | declare 'MapStringListGrantsResponse', | ||
| 647 | as HashRef[ListGrantsResponse()]; | ||
| 648 | |||
| 649 | declare 'SearchGrantsRequest', | ||
| 650 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchGrantsRequest']; | ||
| 651 | |||
| 652 | coerce 'SearchGrantsRequest', | ||
| 653 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchGrantsRequest'->new($_) }; | ||
| 654 | |||
| 655 | declare 'RepeatedSearchGrantsRequest', | ||
| 656 | as ArrayRef[SearchGrantsRequest()]; | ||
| 657 | |||
| 658 | coerce 'RepeatedSearchGrantsRequest', | ||
| 659 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchGrantsRequest'->new($_) } @$_ ] }; | ||
| 660 | |||
| 661 | declare 'MapStringSearchGrantsRequest', | ||
| 662 | as HashRef[SearchGrantsRequest()]; | ||
| 663 | |||
| 664 | declare 'CallerRelationshipType', | ||
| 665 | as (Int | Str); | ||
| 666 | |||
| 667 | declare 'SearchGrantsResponse', | ||
| 668 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchGrantsResponse']; | ||
| 669 | |||
| 670 | coerce 'SearchGrantsResponse', | ||
| 671 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchGrantsResponse'->new($_) }; | ||
| 672 | |||
| 673 | declare 'RepeatedSearchGrantsResponse', | ||
| 674 | as ArrayRef[SearchGrantsResponse()]; | ||
| 675 | |||
| 676 | coerce 'RepeatedSearchGrantsResponse', | ||
| 677 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::SearchGrantsResponse'->new($_) } @$_ ] }; | ||
| 678 | |||
| 679 | declare 'MapStringSearchGrantsResponse', | ||
| 680 | as HashRef[SearchGrantsResponse()]; | ||
| 681 | |||
| 682 | declare 'GetGrantRequest', | ||
| 683 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::GetGrantRequest']; | ||
| 684 | |||
| 685 | coerce 'GetGrantRequest', | ||
| 686 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::GetGrantRequest'->new($_) }; | ||
| 687 | |||
| 688 | declare 'RepeatedGetGrantRequest', | ||
| 689 | as ArrayRef[GetGrantRequest()]; | ||
| 690 | |||
| 691 | coerce 'RepeatedGetGrantRequest', | ||
| 692 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::GetGrantRequest'->new($_) } @$_ ] }; | ||
| 693 | |||
| 694 | declare 'MapStringGetGrantRequest', | ||
| 695 | as HashRef[GetGrantRequest()]; | ||
| 696 | |||
| 697 | declare 'ApproveGrantRequest', | ||
| 698 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ApproveGrantRequest']; | ||
| 699 | |||
| 700 | coerce 'ApproveGrantRequest', | ||
| 701 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ApproveGrantRequest'->new($_) }; | ||
| 702 | |||
| 703 | declare 'RepeatedApproveGrantRequest', | ||
| 704 | as ArrayRef[ApproveGrantRequest()]; | ||
| 705 | |||
| 706 | coerce 'RepeatedApproveGrantRequest', | ||
| 707 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::ApproveGrantRequest'->new($_) } @$_ ] }; | ||
| 708 | |||
| 709 | declare 'MapStringApproveGrantRequest', | ||
| 710 | as HashRef[ApproveGrantRequest()]; | ||
| 711 | |||
| 712 | declare 'DenyGrantRequest', | ||
| 713 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::DenyGrantRequest']; | ||
| 714 | |||
| 715 | coerce 'DenyGrantRequest', | ||
| 716 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::DenyGrantRequest'->new($_) }; | ||
| 717 | |||
| 718 | declare 'RepeatedDenyGrantRequest', | ||
| 719 | as ArrayRef[DenyGrantRequest()]; | ||
| 720 | |||
| 721 | coerce 'RepeatedDenyGrantRequest', | ||
| 722 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::DenyGrantRequest'->new($_) } @$_ ] }; | ||
| 723 | |||
| 724 | declare 'MapStringDenyGrantRequest', | ||
| 725 | as HashRef[DenyGrantRequest()]; | ||
| 726 | |||
| 727 | declare 'RevokeGrantRequest', | ||
| 728 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::RevokeGrantRequest']; | ||
| 729 | |||
| 730 | coerce 'RevokeGrantRequest', | ||
| 731 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::RevokeGrantRequest'->new($_) }; | ||
| 732 | |||
| 733 | declare 'RepeatedRevokeGrantRequest', | ||
| 734 | as ArrayRef[RevokeGrantRequest()]; | ||
| 735 | |||
| 736 | coerce 'RepeatedRevokeGrantRequest', | ||
| 737 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::RevokeGrantRequest'->new($_) } @$_ ] }; | ||
| 738 | |||
| 739 | declare 'MapStringRevokeGrantRequest', | ||
| 740 | as HashRef[RevokeGrantRequest()]; | ||
| 741 | |||
| 742 | declare 'CreateGrantRequest', | ||
| 743 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CreateGrantRequest']; | ||
| 744 | |||
| 745 | coerce 'CreateGrantRequest', | ||
| 746 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CreateGrantRequest'->new($_) }; | ||
| 747 | |||
| 748 | declare 'RepeatedCreateGrantRequest', | ||
| 749 | as ArrayRef[CreateGrantRequest()]; | ||
| 750 | |||
| 751 | coerce 'RepeatedCreateGrantRequest', | ||
| 752 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::CreateGrantRequest'->new($_) } @$_ ] }; | ||
| 753 | |||
| 754 | declare 'MapStringCreateGrantRequest', | ||
| 755 | as HashRef[CreateGrantRequest()]; | ||
| 756 | |||
| 757 | declare 'OperationMetadata', | ||
| 758 | as InstanceOf['Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::OperationMetadata']; | ||
| 759 | |||
| 760 | coerce 'OperationMetadata', | ||
| 761 | from HashRef, via { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::OperationMetadata'->new($_) }; | ||
| 762 | |||
| 763 | declare 'RepeatedOperationMetadata', | ||
| 764 | as ArrayRef[OperationMetadata()]; | ||
| 765 | |||
| 766 | coerce 'RepeatedOperationMetadata', | ||
| 767 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Privilegedaccessmanager::V1::Privilegedaccessmanager::OperationMetadata'->new($_) } @$_ ] }; | ||
| 768 | |||
| 769 | declare 'MapStringOperationMetadata', | ||
| 770 | as HashRef[OperationMetadata()]; | ||
| 771 | |||
| 772 | 1; | ||
| 773 | |||
| 774 | __END__ |