| 1 | package Google::Monitoring::V3::ServiceService::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 'CreateServiceRequest', | ||
| 11 | as InstanceOf['Google::Monitoring::V3::ServiceService::CreateServiceRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateServiceRequest', | ||
| 14 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::CreateServiceRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateServiceRequest', | ||
| 17 | as ArrayRef[CreateServiceRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateServiceRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::CreateServiceRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateServiceRequest', | ||
| 23 | as HashRef[CreateServiceRequest()]; | ||
| 24 | |||
| 25 | declare 'GetServiceRequest', | ||
| 26 | as InstanceOf['Google::Monitoring::V3::ServiceService::GetServiceRequest']; | ||
| 27 | |||
| 28 | coerce 'GetServiceRequest', | ||
| 29 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::GetServiceRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetServiceRequest', | ||
| 32 | as ArrayRef[GetServiceRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetServiceRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::GetServiceRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetServiceRequest', | ||
| 38 | as HashRef[GetServiceRequest()]; | ||
| 39 | |||
| 40 | declare 'ListServicesRequest', | ||
| 41 | as InstanceOf['Google::Monitoring::V3::ServiceService::ListServicesRequest']; | ||
| 42 | |||
| 43 | coerce 'ListServicesRequest', | ||
| 44 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::ListServicesRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListServicesRequest', | ||
| 47 | as ArrayRef[ListServicesRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListServicesRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::ListServicesRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListServicesRequest', | ||
| 53 | as HashRef[ListServicesRequest()]; | ||
| 54 | |||
| 55 | declare 'ListServicesResponse', | ||
| 56 | as InstanceOf['Google::Monitoring::V3::ServiceService::ListServicesResponse']; | ||
| 57 | |||
| 58 | coerce 'ListServicesResponse', | ||
| 59 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::ListServicesResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListServicesResponse', | ||
| 62 | as ArrayRef[ListServicesResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListServicesResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::ListServicesResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListServicesResponse', | ||
| 68 | as HashRef[ListServicesResponse()]; | ||
| 69 | |||
| 70 | declare 'UpdateServiceRequest', | ||
| 71 | as InstanceOf['Google::Monitoring::V3::ServiceService::UpdateServiceRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateServiceRequest', | ||
| 74 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::UpdateServiceRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateServiceRequest', | ||
| 77 | as ArrayRef[UpdateServiceRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateServiceRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::UpdateServiceRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateServiceRequest', | ||
| 83 | as HashRef[UpdateServiceRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteServiceRequest', | ||
| 86 | as InstanceOf['Google::Monitoring::V3::ServiceService::DeleteServiceRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteServiceRequest', | ||
| 89 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::DeleteServiceRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteServiceRequest', | ||
| 92 | as ArrayRef[DeleteServiceRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteServiceRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::DeleteServiceRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteServiceRequest', | ||
| 98 | as HashRef[DeleteServiceRequest()]; | ||
| 99 | |||
| 100 | declare 'CreateServiceLevelObjectiveRequest', | ||
| 101 | as InstanceOf['Google::Monitoring::V3::ServiceService::CreateServiceLevelObjectiveRequest']; | ||
| 102 | |||
| 103 | coerce 'CreateServiceLevelObjectiveRequest', | ||
| 104 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::CreateServiceLevelObjectiveRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedCreateServiceLevelObjectiveRequest', | ||
| 107 | as ArrayRef[CreateServiceLevelObjectiveRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedCreateServiceLevelObjectiveRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::CreateServiceLevelObjectiveRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringCreateServiceLevelObjectiveRequest', | ||
| 113 | as HashRef[CreateServiceLevelObjectiveRequest()]; | ||
| 114 | |||
| 115 | declare 'GetServiceLevelObjectiveRequest', | ||
| 116 | as InstanceOf['Google::Monitoring::V3::ServiceService::GetServiceLevelObjectiveRequest']; | ||
| 117 | |||
| 118 | coerce 'GetServiceLevelObjectiveRequest', | ||
| 119 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::GetServiceLevelObjectiveRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedGetServiceLevelObjectiveRequest', | ||
| 122 | as ArrayRef[GetServiceLevelObjectiveRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedGetServiceLevelObjectiveRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::GetServiceLevelObjectiveRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringGetServiceLevelObjectiveRequest', | ||
| 128 | as HashRef[GetServiceLevelObjectiveRequest()]; | ||
| 129 | |||
| 130 | declare 'ListServiceLevelObjectivesRequest', | ||
| 131 | as InstanceOf['Google::Monitoring::V3::ServiceService::ListServiceLevelObjectivesRequest']; | ||
| 132 | |||
| 133 | coerce 'ListServiceLevelObjectivesRequest', | ||
| 134 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::ListServiceLevelObjectivesRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedListServiceLevelObjectivesRequest', | ||
| 137 | as ArrayRef[ListServiceLevelObjectivesRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedListServiceLevelObjectivesRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::ListServiceLevelObjectivesRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringListServiceLevelObjectivesRequest', | ||
| 143 | as HashRef[ListServiceLevelObjectivesRequest()]; | ||
| 144 | |||
| 145 | declare 'ListServiceLevelObjectivesResponse', | ||
| 146 | as InstanceOf['Google::Monitoring::V3::ServiceService::ListServiceLevelObjectivesResponse']; | ||
| 147 | |||
| 148 | coerce 'ListServiceLevelObjectivesResponse', | ||
| 149 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::ListServiceLevelObjectivesResponse'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedListServiceLevelObjectivesResponse', | ||
| 152 | as ArrayRef[ListServiceLevelObjectivesResponse()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedListServiceLevelObjectivesResponse', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::ListServiceLevelObjectivesResponse'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringListServiceLevelObjectivesResponse', | ||
| 158 | as HashRef[ListServiceLevelObjectivesResponse()]; | ||
| 159 | |||
| 160 | declare 'UpdateServiceLevelObjectiveRequest', | ||
| 161 | as InstanceOf['Google::Monitoring::V3::ServiceService::UpdateServiceLevelObjectiveRequest']; | ||
| 162 | |||
| 163 | coerce 'UpdateServiceLevelObjectiveRequest', | ||
| 164 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::UpdateServiceLevelObjectiveRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedUpdateServiceLevelObjectiveRequest', | ||
| 167 | as ArrayRef[UpdateServiceLevelObjectiveRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedUpdateServiceLevelObjectiveRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::UpdateServiceLevelObjectiveRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringUpdateServiceLevelObjectiveRequest', | ||
| 173 | as HashRef[UpdateServiceLevelObjectiveRequest()]; | ||
| 174 | |||
| 175 | declare 'DeleteServiceLevelObjectiveRequest', | ||
| 176 | as InstanceOf['Google::Monitoring::V3::ServiceService::DeleteServiceLevelObjectiveRequest']; | ||
| 177 | |||
| 178 | coerce 'DeleteServiceLevelObjectiveRequest', | ||
| 179 | from HashRef, via { 'Google::Monitoring::V3::ServiceService::DeleteServiceLevelObjectiveRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedDeleteServiceLevelObjectiveRequest', | ||
| 182 | as ArrayRef[DeleteServiceLevelObjectiveRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedDeleteServiceLevelObjectiveRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Monitoring::V3::ServiceService::DeleteServiceLevelObjectiveRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringDeleteServiceLevelObjectiveRequest', | ||
| 188 | as HashRef[DeleteServiceLevelObjectiveRequest()]; | ||
| 189 | |||
| 190 | 1; | ||
| 191 | |||
| 192 | __END__ |