| 1 | package Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::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 'PatchConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig']; | ||
| 12 | |||
| 13 | coerce 'PatchConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedPatchConfig', | ||
| 17 | as ArrayRef[PatchConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedPatchConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::PatchConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringPatchConfig', | ||
| 23 | as HashRef[PatchConfig()]; | ||
| 24 | |||
| 25 | declare 'RebootConfig', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'AptSettings', | ||
| 29 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::AptSettings']; | ||
| 30 | |||
| 31 | coerce 'AptSettings', | ||
| 32 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::AptSettings'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedAptSettings', | ||
| 35 | as ArrayRef[AptSettings()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedAptSettings', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::AptSettings'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringAptSettings', | ||
| 41 | as HashRef[AptSettings()]; | ||
| 42 | |||
| 43 | declare 'Type', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'YumSettings', | ||
| 47 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::YumSettings']; | ||
| 48 | |||
| 49 | coerce 'YumSettings', | ||
| 50 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::YumSettings'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedYumSettings', | ||
| 53 | as ArrayRef[YumSettings()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedYumSettings', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::YumSettings'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringYumSettings', | ||
| 59 | as HashRef[YumSettings()]; | ||
| 60 | |||
| 61 | declare 'GooSettings', | ||
| 62 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GooSettings']; | ||
| 63 | |||
| 64 | coerce 'GooSettings', | ||
| 65 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GooSettings'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedGooSettings', | ||
| 68 | as ArrayRef[GooSettings()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedGooSettings', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GooSettings'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringGooSettings', | ||
| 74 | as HashRef[GooSettings()]; | ||
| 75 | |||
| 76 | declare 'ZypperSettings', | ||
| 77 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ZypperSettings']; | ||
| 78 | |||
| 79 | coerce 'ZypperSettings', | ||
| 80 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ZypperSettings'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedZypperSettings', | ||
| 83 | as ArrayRef[ZypperSettings()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedZypperSettings', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ZypperSettings'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringZypperSettings', | ||
| 89 | as HashRef[ZypperSettings()]; | ||
| 90 | |||
| 91 | declare 'WindowsUpdateSettings', | ||
| 92 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::WindowsUpdateSettings']; | ||
| 93 | |||
| 94 | coerce 'WindowsUpdateSettings', | ||
| 95 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::WindowsUpdateSettings'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedWindowsUpdateSettings', | ||
| 98 | as ArrayRef[WindowsUpdateSettings()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedWindowsUpdateSettings', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::WindowsUpdateSettings'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringWindowsUpdateSettings', | ||
| 104 | as HashRef[WindowsUpdateSettings()]; | ||
| 105 | |||
| 106 | declare 'Classification', | ||
| 107 | as (Int | Str); | ||
| 108 | |||
| 109 | declare 'RetryStrategy', | ||
| 110 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::RetryStrategy']; | ||
| 111 | |||
| 112 | coerce 'RetryStrategy', | ||
| 113 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::RetryStrategy'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedRetryStrategy', | ||
| 116 | as ArrayRef[RetryStrategy()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedRetryStrategy', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::RetryStrategy'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringRetryStrategy', | ||
| 122 | as HashRef[RetryStrategy()]; | ||
| 123 | |||
| 124 | declare 'ExecStep', | ||
| 125 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep']; | ||
| 126 | |||
| 127 | coerce 'ExecStep', | ||
| 128 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedExecStep', | ||
| 131 | as ArrayRef[ExecStep()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedExecStep', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStep'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringExecStep', | ||
| 137 | as HashRef[ExecStep()]; | ||
| 138 | |||
| 139 | declare 'ExecStepConfig', | ||
| 140 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStepConfig']; | ||
| 141 | |||
| 142 | coerce 'ExecStepConfig', | ||
| 143 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStepConfig'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedExecStepConfig', | ||
| 146 | as ArrayRef[ExecStepConfig()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedExecStepConfig', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::ExecStepConfig'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringExecStepConfig', | ||
| 152 | as HashRef[ExecStepConfig()]; | ||
| 153 | |||
| 154 | declare 'Interpreter', | ||
| 155 | as (Int | Str); | ||
| 156 | |||
| 157 | declare 'GcsObject', | ||
| 158 | as InstanceOf['Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GcsObject']; | ||
| 159 | |||
| 160 | coerce 'GcsObject', | ||
| 161 | from HashRef, via { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GcsObject'->new($_) }; | ||
| 162 | |||
| 163 | declare 'RepeatedGcsObject', | ||
| 164 | as ArrayRef[GcsObject()]; | ||
| 165 | |||
| 166 | coerce 'RepeatedGcsObject', | ||
| 167 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Osconfig::Agentendpoint::V1beta::PatchJobs::GcsObject'->new($_) } @$_ ] }; | ||
| 168 | |||
| 169 | declare 'MapStringGcsObject', | ||
| 170 | as HashRef[GcsObject()]; | ||
| 171 | |||
| 172 | 1; | ||
| 173 | |||
| 174 | __END__ |