| 1 | package Google::Cloud::Designcenter::V1::Designcenter::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 'OperationMetadata', | ||
| 11 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::OperationMetadata']; | ||
| 12 | |||
| 13 | coerce 'OperationMetadata', | ||
| 14 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::OperationMetadata'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedOperationMetadata', | ||
| 17 | as ArrayRef[OperationMetadata()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedOperationMetadata', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::OperationMetadata'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringOperationMetadata', | ||
| 23 | as HashRef[OperationMetadata()]; | ||
| 24 | |||
| 25 | declare 'PreviewOperationMetadata', | ||
| 26 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::PreviewOperationMetadata']; | ||
| 27 | |||
| 28 | coerce 'PreviewOperationMetadata', | ||
| 29 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::PreviewOperationMetadata'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedPreviewOperationMetadata', | ||
| 32 | as ArrayRef[PreviewOperationMetadata()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedPreviewOperationMetadata', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::PreviewOperationMetadata'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringPreviewOperationMetadata', | ||
| 38 | as HashRef[PreviewOperationMetadata()]; | ||
| 39 | |||
| 40 | declare 'GenerateAssessmentReportOperationMetadata', | ||
| 41 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::GenerateAssessmentReportOperationMetadata']; | ||
| 42 | |||
| 43 | coerce 'GenerateAssessmentReportOperationMetadata', | ||
| 44 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::GenerateAssessmentReportOperationMetadata'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGenerateAssessmentReportOperationMetadata', | ||
| 47 | as ArrayRef[GenerateAssessmentReportOperationMetadata()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGenerateAssessmentReportOperationMetadata', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::GenerateAssessmentReportOperationMetadata'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGenerateAssessmentReportOperationMetadata', | ||
| 53 | as HashRef[GenerateAssessmentReportOperationMetadata()]; | ||
| 54 | |||
| 55 | declare 'AssessmentStep', | ||
| 56 | as (Int | Str); | ||
| 57 | |||
| 58 | declare 'ApplicationOperationMetadata', | ||
| 59 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::ApplicationOperationMetadata']; | ||
| 60 | |||
| 61 | coerce 'ApplicationOperationMetadata', | ||
| 62 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::ApplicationOperationMetadata'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedApplicationOperationMetadata', | ||
| 65 | as ArrayRef[ApplicationOperationMetadata()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedApplicationOperationMetadata', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::ApplicationOperationMetadata'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringApplicationOperationMetadata', | ||
| 71 | as HashRef[ApplicationOperationMetadata()]; | ||
| 72 | |||
| 73 | declare 'ProvisionDeploymentGroupOperationMetadata', | ||
| 74 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::ProvisionDeploymentGroupOperationMetadata']; | ||
| 75 | |||
| 76 | coerce 'ProvisionDeploymentGroupOperationMetadata', | ||
| 77 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::ProvisionDeploymentGroupOperationMetadata'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedProvisionDeploymentGroupOperationMetadata', | ||
| 80 | as ArrayRef[ProvisionDeploymentGroupOperationMetadata()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedProvisionDeploymentGroupOperationMetadata', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::ProvisionDeploymentGroupOperationMetadata'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringProvisionDeploymentGroupOperationMetadata', | ||
| 86 | as HashRef[ProvisionDeploymentGroupOperationMetadata()]; | ||
| 87 | |||
| 88 | declare 'DeploymentStep', | ||
| 89 | as (Int | Str); | ||
| 90 | |||
| 91 | declare 'DeploymentUnitProgress', | ||
| 92 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::DeploymentUnitProgress']; | ||
| 93 | |||
| 94 | coerce 'DeploymentUnitProgress', | ||
| 95 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::DeploymentUnitProgress'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedDeploymentUnitProgress', | ||
| 98 | as ArrayRef[DeploymentUnitProgress()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedDeploymentUnitProgress', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::DeploymentUnitProgress'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringDeploymentUnitProgress', | ||
| 104 | as HashRef[DeploymentUnitProgress()]; | ||
| 105 | |||
| 106 | declare 'DeploymentOperationMetadata', | ||
| 107 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::DeploymentOperationMetadata']; | ||
| 108 | |||
| 109 | coerce 'DeploymentOperationMetadata', | ||
| 110 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::DeploymentOperationMetadata'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedDeploymentOperationMetadata', | ||
| 113 | as ArrayRef[DeploymentOperationMetadata()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedDeploymentOperationMetadata', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::DeploymentOperationMetadata'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringDeploymentOperationMetadata', | ||
| 119 | as HashRef[DeploymentOperationMetadata()]; | ||
| 120 | |||
| 121 | declare 'DeploymentAttemptMetadata', | ||
| 122 | as InstanceOf['Google::Cloud::Designcenter::V1::Designcenter::DeploymentAttemptMetadata']; | ||
| 123 | |||
| 124 | coerce 'DeploymentAttemptMetadata', | ||
| 125 | from HashRef, via { 'Google::Cloud::Designcenter::V1::Designcenter::DeploymentAttemptMetadata'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedDeploymentAttemptMetadata', | ||
| 128 | as ArrayRef[DeploymentAttemptMetadata()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedDeploymentAttemptMetadata', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::Designcenter::DeploymentAttemptMetadata'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringDeploymentAttemptMetadata', | ||
| 134 | as HashRef[DeploymentAttemptMetadata()]; | ||
| 135 | |||
| 136 | 1; | ||
| 137 | |||
| 138 | __END__ |