« Devtools/Testing/V1/ApplicationDetails/Types.pm
↑ Summary
Devtools/Testing/V1/TestEnvironmentDiscovery/Types.pm »
| 1 | package Google::Devtools::Testing::V1::DirectAccessService::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 'CreateDeviceSessionRequest', | ||
| 11 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::CreateDeviceSessionRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateDeviceSessionRequest', | ||
| 14 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::CreateDeviceSessionRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateDeviceSessionRequest', | ||
| 17 | as ArrayRef[CreateDeviceSessionRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateDeviceSessionRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::CreateDeviceSessionRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateDeviceSessionRequest', | ||
| 23 | as HashRef[CreateDeviceSessionRequest()]; | ||
| 24 | |||
| 25 | declare 'ListDeviceSessionsRequest', | ||
| 26 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::ListDeviceSessionsRequest']; | ||
| 27 | |||
| 28 | coerce 'ListDeviceSessionsRequest', | ||
| 29 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::ListDeviceSessionsRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListDeviceSessionsRequest', | ||
| 32 | as ArrayRef[ListDeviceSessionsRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListDeviceSessionsRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::ListDeviceSessionsRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListDeviceSessionsRequest', | ||
| 38 | as HashRef[ListDeviceSessionsRequest()]; | ||
| 39 | |||
| 40 | declare 'ListDeviceSessionsResponse', | ||
| 41 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::ListDeviceSessionsResponse']; | ||
| 42 | |||
| 43 | coerce 'ListDeviceSessionsResponse', | ||
| 44 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::ListDeviceSessionsResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListDeviceSessionsResponse', | ||
| 47 | as ArrayRef[ListDeviceSessionsResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListDeviceSessionsResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::ListDeviceSessionsResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListDeviceSessionsResponse', | ||
| 53 | as HashRef[ListDeviceSessionsResponse()]; | ||
| 54 | |||
| 55 | declare 'GetDeviceSessionRequest', | ||
| 56 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::GetDeviceSessionRequest']; | ||
| 57 | |||
| 58 | coerce 'GetDeviceSessionRequest', | ||
| 59 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::GetDeviceSessionRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedGetDeviceSessionRequest', | ||
| 62 | as ArrayRef[GetDeviceSessionRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedGetDeviceSessionRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::GetDeviceSessionRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringGetDeviceSessionRequest', | ||
| 68 | as HashRef[GetDeviceSessionRequest()]; | ||
| 69 | |||
| 70 | declare 'CancelDeviceSessionRequest', | ||
| 71 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::CancelDeviceSessionRequest']; | ||
| 72 | |||
| 73 | coerce 'CancelDeviceSessionRequest', | ||
| 74 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::CancelDeviceSessionRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCancelDeviceSessionRequest', | ||
| 77 | as ArrayRef[CancelDeviceSessionRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCancelDeviceSessionRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::CancelDeviceSessionRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCancelDeviceSessionRequest', | ||
| 83 | as HashRef[CancelDeviceSessionRequest()]; | ||
| 84 | |||
| 85 | declare 'UpdateDeviceSessionRequest', | ||
| 86 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::UpdateDeviceSessionRequest']; | ||
| 87 | |||
| 88 | coerce 'UpdateDeviceSessionRequest', | ||
| 89 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::UpdateDeviceSessionRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedUpdateDeviceSessionRequest', | ||
| 92 | as ArrayRef[UpdateDeviceSessionRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedUpdateDeviceSessionRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::UpdateDeviceSessionRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringUpdateDeviceSessionRequest', | ||
| 98 | as HashRef[UpdateDeviceSessionRequest()]; | ||
| 99 | |||
| 100 | declare 'DeviceSession', | ||
| 101 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::DeviceSession']; | ||
| 102 | |||
| 103 | coerce 'DeviceSession', | ||
| 104 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::DeviceSession'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedDeviceSession', | ||
| 107 | as ArrayRef[DeviceSession()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedDeviceSession', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::DeviceSession'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringDeviceSession', | ||
| 113 | as HashRef[DeviceSession()]; | ||
| 114 | |||
| 115 | declare 'SessionState', | ||
| 116 | as (Int | Str); | ||
| 117 | |||
| 118 | declare 'SessionStateEvent', | ||
| 119 | as InstanceOf['Google::Devtools::Testing::V1::DirectAccessService::DeviceSession::SessionStateEvent']; | ||
| 120 | |||
| 121 | coerce 'SessionStateEvent', | ||
| 122 | from HashRef, via { 'Google::Devtools::Testing::V1::DirectAccessService::DeviceSession::SessionStateEvent'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedSessionStateEvent', | ||
| 125 | as ArrayRef[SessionStateEvent()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedSessionStateEvent', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::DirectAccessService::DeviceSession::SessionStateEvent'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringSessionStateEvent', | ||
| 131 | as HashRef[SessionStateEvent()]; | ||
| 132 | |||
| 133 | 1; | ||
| 134 | |||
| 135 | __END__ |