| 1 | package Google::Cloud::Batch::V1alpha::Batch::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 'CreateJobRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::CreateJobRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateJobRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::CreateJobRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateJobRequest', | ||
| 17 | as ArrayRef[CreateJobRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateJobRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::CreateJobRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateJobRequest', | ||
| 23 | as HashRef[CreateJobRequest()]; | ||
| 24 | |||
| 25 | declare 'GetJobRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::GetJobRequest']; | ||
| 27 | |||
| 28 | coerce 'GetJobRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::GetJobRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetJobRequest', | ||
| 32 | as ArrayRef[GetJobRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetJobRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::GetJobRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetJobRequest', | ||
| 38 | as HashRef[GetJobRequest()]; | ||
| 39 | |||
| 40 | declare 'DeleteJobRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::DeleteJobRequest']; | ||
| 42 | |||
| 43 | coerce 'DeleteJobRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::DeleteJobRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedDeleteJobRequest', | ||
| 47 | as ArrayRef[DeleteJobRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedDeleteJobRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::DeleteJobRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringDeleteJobRequest', | ||
| 53 | as HashRef[DeleteJobRequest()]; | ||
| 54 | |||
| 55 | declare 'CancelJobRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::CancelJobRequest']; | ||
| 57 | |||
| 58 | coerce 'CancelJobRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::CancelJobRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCancelJobRequest', | ||
| 62 | as ArrayRef[CancelJobRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCancelJobRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::CancelJobRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCancelJobRequest', | ||
| 68 | as HashRef[CancelJobRequest()]; | ||
| 69 | |||
| 70 | declare 'CancelJobResponse', | ||
| 71 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::CancelJobResponse']; | ||
| 72 | |||
| 73 | coerce 'CancelJobResponse', | ||
| 74 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::CancelJobResponse'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCancelJobResponse', | ||
| 77 | as ArrayRef[CancelJobResponse()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCancelJobResponse', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::CancelJobResponse'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCancelJobResponse', | ||
| 83 | as HashRef[CancelJobResponse()]; | ||
| 84 | |||
| 85 | declare 'UpdateJobRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::UpdateJobRequest']; | ||
| 87 | |||
| 88 | coerce 'UpdateJobRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::UpdateJobRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedUpdateJobRequest', | ||
| 92 | as ArrayRef[UpdateJobRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedUpdateJobRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::UpdateJobRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringUpdateJobRequest', | ||
| 98 | as HashRef[UpdateJobRequest()]; | ||
| 99 | |||
| 100 | declare 'ListJobsRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::ListJobsRequest']; | ||
| 102 | |||
| 103 | coerce 'ListJobsRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::ListJobsRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListJobsRequest', | ||
| 107 | as ArrayRef[ListJobsRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListJobsRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::ListJobsRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListJobsRequest', | ||
| 113 | as HashRef[ListJobsRequest()]; | ||
| 114 | |||
| 115 | declare 'ListJobsResponse', | ||
| 116 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::ListJobsResponse']; | ||
| 117 | |||
| 118 | coerce 'ListJobsResponse', | ||
| 119 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::ListJobsResponse'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedListJobsResponse', | ||
| 122 | as ArrayRef[ListJobsResponse()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedListJobsResponse', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::ListJobsResponse'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringListJobsResponse', | ||
| 128 | as HashRef[ListJobsResponse()]; | ||
| 129 | |||
| 130 | declare 'ListTasksRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::ListTasksRequest']; | ||
| 132 | |||
| 133 | coerce 'ListTasksRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::ListTasksRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedListTasksRequest', | ||
| 137 | as ArrayRef[ListTasksRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedListTasksRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::ListTasksRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringListTasksRequest', | ||
| 143 | as HashRef[ListTasksRequest()]; | ||
| 144 | |||
| 145 | declare 'ListTasksResponse', | ||
| 146 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::ListTasksResponse']; | ||
| 147 | |||
| 148 | coerce 'ListTasksResponse', | ||
| 149 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::ListTasksResponse'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedListTasksResponse', | ||
| 152 | as ArrayRef[ListTasksResponse()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedListTasksResponse', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::ListTasksResponse'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringListTasksResponse', | ||
| 158 | as HashRef[ListTasksResponse()]; | ||
| 159 | |||
| 160 | declare 'GetTaskRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::GetTaskRequest']; | ||
| 162 | |||
| 163 | coerce 'GetTaskRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::GetTaskRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedGetTaskRequest', | ||
| 167 | as ArrayRef[GetTaskRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedGetTaskRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::GetTaskRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringGetTaskRequest', | ||
| 173 | as HashRef[GetTaskRequest()]; | ||
| 174 | |||
| 175 | declare 'CreateResourceAllowanceRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::CreateResourceAllowanceRequest']; | ||
| 177 | |||
| 178 | coerce 'CreateResourceAllowanceRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::CreateResourceAllowanceRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedCreateResourceAllowanceRequest', | ||
| 182 | as ArrayRef[CreateResourceAllowanceRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedCreateResourceAllowanceRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::CreateResourceAllowanceRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringCreateResourceAllowanceRequest', | ||
| 188 | as HashRef[CreateResourceAllowanceRequest()]; | ||
| 189 | |||
| 190 | declare 'GetResourceAllowanceRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::GetResourceAllowanceRequest']; | ||
| 192 | |||
| 193 | coerce 'GetResourceAllowanceRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::GetResourceAllowanceRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedGetResourceAllowanceRequest', | ||
| 197 | as ArrayRef[GetResourceAllowanceRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedGetResourceAllowanceRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::GetResourceAllowanceRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringGetResourceAllowanceRequest', | ||
| 203 | as HashRef[GetResourceAllowanceRequest()]; | ||
| 204 | |||
| 205 | declare 'DeleteResourceAllowanceRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::DeleteResourceAllowanceRequest']; | ||
| 207 | |||
| 208 | coerce 'DeleteResourceAllowanceRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::DeleteResourceAllowanceRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedDeleteResourceAllowanceRequest', | ||
| 212 | as ArrayRef[DeleteResourceAllowanceRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedDeleteResourceAllowanceRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::DeleteResourceAllowanceRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringDeleteResourceAllowanceRequest', | ||
| 218 | as HashRef[DeleteResourceAllowanceRequest()]; | ||
| 219 | |||
| 220 | declare 'ListResourceAllowancesRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::ListResourceAllowancesRequest']; | ||
| 222 | |||
| 223 | coerce 'ListResourceAllowancesRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::ListResourceAllowancesRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedListResourceAllowancesRequest', | ||
| 227 | as ArrayRef[ListResourceAllowancesRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedListResourceAllowancesRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::ListResourceAllowancesRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringListResourceAllowancesRequest', | ||
| 233 | as HashRef[ListResourceAllowancesRequest()]; | ||
| 234 | |||
| 235 | declare 'ListResourceAllowancesResponse', | ||
| 236 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::ListResourceAllowancesResponse']; | ||
| 237 | |||
| 238 | coerce 'ListResourceAllowancesResponse', | ||
| 239 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::ListResourceAllowancesResponse'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedListResourceAllowancesResponse', | ||
| 242 | as ArrayRef[ListResourceAllowancesResponse()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedListResourceAllowancesResponse', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::ListResourceAllowancesResponse'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringListResourceAllowancesResponse', | ||
| 248 | as HashRef[ListResourceAllowancesResponse()]; | ||
| 249 | |||
| 250 | declare 'UpdateResourceAllowanceRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::UpdateResourceAllowanceRequest']; | ||
| 252 | |||
| 253 | coerce 'UpdateResourceAllowanceRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::UpdateResourceAllowanceRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedUpdateResourceAllowanceRequest', | ||
| 257 | as ArrayRef[UpdateResourceAllowanceRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedUpdateResourceAllowanceRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::UpdateResourceAllowanceRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringUpdateResourceAllowanceRequest', | ||
| 263 | as HashRef[UpdateResourceAllowanceRequest()]; | ||
| 264 | |||
| 265 | declare 'OperationMetadata', | ||
| 266 | as InstanceOf['Google::Cloud::Batch::V1alpha::Batch::OperationMetadata']; | ||
| 267 | |||
| 268 | coerce 'OperationMetadata', | ||
| 269 | from HashRef, via { 'Google::Cloud::Batch::V1alpha::Batch::OperationMetadata'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedOperationMetadata', | ||
| 272 | as ArrayRef[OperationMetadata()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedOperationMetadata', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Batch::V1alpha::Batch::OperationMetadata'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringOperationMetadata', | ||
| 278 | as HashRef[OperationMetadata()]; | ||
| 279 | |||
| 280 | 1; | ||
| 281 | |||
| 282 | __END__ |