| 1 | package Google::Cloud::Run::V2::Execution::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 'GetExecutionRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Run::V2::Execution::GetExecutionRequest']; | ||
| 12 | |||
| 13 | coerce 'GetExecutionRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::GetExecutionRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGetExecutionRequest', | ||
| 17 | as ArrayRef[GetExecutionRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGetExecutionRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::GetExecutionRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGetExecutionRequest', | ||
| 23 | as HashRef[GetExecutionRequest()]; | ||
| 24 | |||
| 25 | declare 'ListExecutionsRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Run::V2::Execution::ListExecutionsRequest']; | ||
| 27 | |||
| 28 | coerce 'ListExecutionsRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::ListExecutionsRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListExecutionsRequest', | ||
| 32 | as ArrayRef[ListExecutionsRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListExecutionsRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::ListExecutionsRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListExecutionsRequest', | ||
| 38 | as HashRef[ListExecutionsRequest()]; | ||
| 39 | |||
| 40 | declare 'ListExecutionsResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Run::V2::Execution::ListExecutionsResponse']; | ||
| 42 | |||
| 43 | coerce 'ListExecutionsResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::ListExecutionsResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListExecutionsResponse', | ||
| 47 | as ArrayRef[ListExecutionsResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListExecutionsResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::ListExecutionsResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListExecutionsResponse', | ||
| 53 | as HashRef[ListExecutionsResponse()]; | ||
| 54 | |||
| 55 | declare 'DeleteExecutionRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Run::V2::Execution::DeleteExecutionRequest']; | ||
| 57 | |||
| 58 | coerce 'DeleteExecutionRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::DeleteExecutionRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedDeleteExecutionRequest', | ||
| 62 | as ArrayRef[DeleteExecutionRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedDeleteExecutionRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::DeleteExecutionRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringDeleteExecutionRequest', | ||
| 68 | as HashRef[DeleteExecutionRequest()]; | ||
| 69 | |||
| 70 | declare 'CancelExecutionRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Run::V2::Execution::CancelExecutionRequest']; | ||
| 72 | |||
| 73 | coerce 'CancelExecutionRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::CancelExecutionRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCancelExecutionRequest', | ||
| 77 | as ArrayRef[CancelExecutionRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCancelExecutionRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::CancelExecutionRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCancelExecutionRequest', | ||
| 83 | as HashRef[CancelExecutionRequest()]; | ||
| 84 | |||
| 85 | declare 'Execution', | ||
| 86 | as InstanceOf['Google::Cloud::Run::V2::Execution::Execution']; | ||
| 87 | |||
| 88 | coerce 'Execution', | ||
| 89 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::Execution'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedExecution', | ||
| 92 | as ArrayRef[Execution()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedExecution', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::Execution'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringExecution', | ||
| 98 | as HashRef[Execution()]; | ||
| 99 | |||
| 100 | declare 'LabelsEntry', | ||
| 101 | as InstanceOf['Google::Cloud::Run::V2::Execution::Execution::LabelsEntry']; | ||
| 102 | |||
| 103 | coerce 'LabelsEntry', | ||
| 104 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::Execution::LabelsEntry'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedLabelsEntry', | ||
| 107 | as ArrayRef[LabelsEntry()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedLabelsEntry', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::Execution::LabelsEntry'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringLabelsEntry', | ||
| 113 | as HashRef[LabelsEntry()]; | ||
| 114 | |||
| 115 | declare 'AnnotationsEntry', | ||
| 116 | as InstanceOf['Google::Cloud::Run::V2::Execution::Execution::AnnotationsEntry']; | ||
| 117 | |||
| 118 | coerce 'AnnotationsEntry', | ||
| 119 | from HashRef, via { 'Google::Cloud::Run::V2::Execution::Execution::AnnotationsEntry'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedAnnotationsEntry', | ||
| 122 | as ArrayRef[AnnotationsEntry()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedAnnotationsEntry', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Run::V2::Execution::Execution::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringAnnotationsEntry', | ||
| 128 | as HashRef[AnnotationsEntry()]; | ||
| 129 | |||
| 130 | 1; | ||
| 131 | |||
| 132 | __END__ |