| 1 | package Google::Cloud::Notebooks::V2::Service::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::Notebooks::V2::Service::OperationMetadata']; | ||
| 12 | |||
| 13 | coerce 'OperationMetadata', | ||
| 14 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::OperationMetadata'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedOperationMetadata', | ||
| 17 | as ArrayRef[OperationMetadata()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedOperationMetadata', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::OperationMetadata'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringOperationMetadata', | ||
| 23 | as HashRef[OperationMetadata()]; | ||
| 24 | |||
| 25 | declare 'ListInstancesRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::ListInstancesRequest']; | ||
| 27 | |||
| 28 | coerce 'ListInstancesRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::ListInstancesRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListInstancesRequest', | ||
| 32 | as ArrayRef[ListInstancesRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListInstancesRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::ListInstancesRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListInstancesRequest', | ||
| 38 | as HashRef[ListInstancesRequest()]; | ||
| 39 | |||
| 40 | declare 'ListInstancesResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::ListInstancesResponse']; | ||
| 42 | |||
| 43 | coerce 'ListInstancesResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::ListInstancesResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListInstancesResponse', | ||
| 47 | as ArrayRef[ListInstancesResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListInstancesResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::ListInstancesResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListInstancesResponse', | ||
| 53 | as HashRef[ListInstancesResponse()]; | ||
| 54 | |||
| 55 | declare 'GetInstanceRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::GetInstanceRequest']; | ||
| 57 | |||
| 58 | coerce 'GetInstanceRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::GetInstanceRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedGetInstanceRequest', | ||
| 62 | as ArrayRef[GetInstanceRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedGetInstanceRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::GetInstanceRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringGetInstanceRequest', | ||
| 68 | as HashRef[GetInstanceRequest()]; | ||
| 69 | |||
| 70 | declare 'CreateInstanceRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::CreateInstanceRequest']; | ||
| 72 | |||
| 73 | coerce 'CreateInstanceRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::CreateInstanceRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCreateInstanceRequest', | ||
| 77 | as ArrayRef[CreateInstanceRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCreateInstanceRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::CreateInstanceRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCreateInstanceRequest', | ||
| 83 | as HashRef[CreateInstanceRequest()]; | ||
| 84 | |||
| 85 | declare 'UpdateInstanceRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::UpdateInstanceRequest']; | ||
| 87 | |||
| 88 | coerce 'UpdateInstanceRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::UpdateInstanceRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedUpdateInstanceRequest', | ||
| 92 | as ArrayRef[UpdateInstanceRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedUpdateInstanceRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::UpdateInstanceRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringUpdateInstanceRequest', | ||
| 98 | as HashRef[UpdateInstanceRequest()]; | ||
| 99 | |||
| 100 | declare 'DeleteInstanceRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::DeleteInstanceRequest']; | ||
| 102 | |||
| 103 | coerce 'DeleteInstanceRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::DeleteInstanceRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedDeleteInstanceRequest', | ||
| 107 | as ArrayRef[DeleteInstanceRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedDeleteInstanceRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::DeleteInstanceRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringDeleteInstanceRequest', | ||
| 113 | as HashRef[DeleteInstanceRequest()]; | ||
| 114 | |||
| 115 | declare 'StartInstanceRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::StartInstanceRequest']; | ||
| 117 | |||
| 118 | coerce 'StartInstanceRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::StartInstanceRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedStartInstanceRequest', | ||
| 122 | as ArrayRef[StartInstanceRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedStartInstanceRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::StartInstanceRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringStartInstanceRequest', | ||
| 128 | as HashRef[StartInstanceRequest()]; | ||
| 129 | |||
| 130 | declare 'StopInstanceRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::StopInstanceRequest']; | ||
| 132 | |||
| 133 | coerce 'StopInstanceRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::StopInstanceRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedStopInstanceRequest', | ||
| 137 | as ArrayRef[StopInstanceRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedStopInstanceRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::StopInstanceRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringStopInstanceRequest', | ||
| 143 | as HashRef[StopInstanceRequest()]; | ||
| 144 | |||
| 145 | declare 'ResetInstanceRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::ResetInstanceRequest']; | ||
| 147 | |||
| 148 | coerce 'ResetInstanceRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::ResetInstanceRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedResetInstanceRequest', | ||
| 152 | as ArrayRef[ResetInstanceRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedResetInstanceRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::ResetInstanceRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringResetInstanceRequest', | ||
| 158 | as HashRef[ResetInstanceRequest()]; | ||
| 159 | |||
| 160 | declare 'CheckInstanceUpgradabilityRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::CheckInstanceUpgradabilityRequest']; | ||
| 162 | |||
| 163 | coerce 'CheckInstanceUpgradabilityRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::CheckInstanceUpgradabilityRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedCheckInstanceUpgradabilityRequest', | ||
| 167 | as ArrayRef[CheckInstanceUpgradabilityRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedCheckInstanceUpgradabilityRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::CheckInstanceUpgradabilityRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringCheckInstanceUpgradabilityRequest', | ||
| 173 | as HashRef[CheckInstanceUpgradabilityRequest()]; | ||
| 174 | |||
| 175 | declare 'CheckInstanceUpgradabilityResponse', | ||
| 176 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::CheckInstanceUpgradabilityResponse']; | ||
| 177 | |||
| 178 | coerce 'CheckInstanceUpgradabilityResponse', | ||
| 179 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::CheckInstanceUpgradabilityResponse'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedCheckInstanceUpgradabilityResponse', | ||
| 182 | as ArrayRef[CheckInstanceUpgradabilityResponse()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedCheckInstanceUpgradabilityResponse', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::CheckInstanceUpgradabilityResponse'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringCheckInstanceUpgradabilityResponse', | ||
| 188 | as HashRef[CheckInstanceUpgradabilityResponse()]; | ||
| 189 | |||
| 190 | declare 'UpgradeInstanceRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::UpgradeInstanceRequest']; | ||
| 192 | |||
| 193 | coerce 'UpgradeInstanceRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::UpgradeInstanceRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedUpgradeInstanceRequest', | ||
| 197 | as ArrayRef[UpgradeInstanceRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedUpgradeInstanceRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::UpgradeInstanceRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringUpgradeInstanceRequest', | ||
| 203 | as HashRef[UpgradeInstanceRequest()]; | ||
| 204 | |||
| 205 | declare 'RollbackInstanceRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::RollbackInstanceRequest']; | ||
| 207 | |||
| 208 | coerce 'RollbackInstanceRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::RollbackInstanceRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedRollbackInstanceRequest', | ||
| 212 | as ArrayRef[RollbackInstanceRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedRollbackInstanceRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::RollbackInstanceRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringRollbackInstanceRequest', | ||
| 218 | as HashRef[RollbackInstanceRequest()]; | ||
| 219 | |||
| 220 | declare 'DiagnoseInstanceRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Notebooks::V2::Service::DiagnoseInstanceRequest']; | ||
| 222 | |||
| 223 | coerce 'DiagnoseInstanceRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Notebooks::V2::Service::DiagnoseInstanceRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedDiagnoseInstanceRequest', | ||
| 227 | as ArrayRef[DiagnoseInstanceRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedDiagnoseInstanceRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Notebooks::V2::Service::DiagnoseInstanceRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringDiagnoseInstanceRequest', | ||
| 233 | as HashRef[DiagnoseInstanceRequest()]; | ||
| 234 | |||
| 235 | 1; | ||
| 236 | |||
| 237 | __END__ |