| 1 | package Google::Cloud::Bigquery::Migration::V2::MigrationService::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 'CreateMigrationWorkflowRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::CreateMigrationWorkflowRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateMigrationWorkflowRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::CreateMigrationWorkflowRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateMigrationWorkflowRequest', | ||
| 17 | as ArrayRef[CreateMigrationWorkflowRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateMigrationWorkflowRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::CreateMigrationWorkflowRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateMigrationWorkflowRequest', | ||
| 23 | as HashRef[CreateMigrationWorkflowRequest()]; | ||
| 24 | |||
| 25 | declare 'GetMigrationWorkflowRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationWorkflowRequest']; | ||
| 27 | |||
| 28 | coerce 'GetMigrationWorkflowRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationWorkflowRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetMigrationWorkflowRequest', | ||
| 32 | as ArrayRef[GetMigrationWorkflowRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetMigrationWorkflowRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationWorkflowRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetMigrationWorkflowRequest', | ||
| 38 | as HashRef[GetMigrationWorkflowRequest()]; | ||
| 39 | |||
| 40 | declare 'ListMigrationWorkflowsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsRequest']; | ||
| 42 | |||
| 43 | coerce 'ListMigrationWorkflowsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListMigrationWorkflowsRequest', | ||
| 47 | as ArrayRef[ListMigrationWorkflowsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListMigrationWorkflowsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListMigrationWorkflowsRequest', | ||
| 53 | as HashRef[ListMigrationWorkflowsRequest()]; | ||
| 54 | |||
| 55 | declare 'ListMigrationWorkflowsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsResponse']; | ||
| 57 | |||
| 58 | coerce 'ListMigrationWorkflowsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListMigrationWorkflowsResponse', | ||
| 62 | as ArrayRef[ListMigrationWorkflowsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListMigrationWorkflowsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationWorkflowsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListMigrationWorkflowsResponse', | ||
| 68 | as HashRef[ListMigrationWorkflowsResponse()]; | ||
| 69 | |||
| 70 | declare 'DeleteMigrationWorkflowRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::DeleteMigrationWorkflowRequest']; | ||
| 72 | |||
| 73 | coerce 'DeleteMigrationWorkflowRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::DeleteMigrationWorkflowRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedDeleteMigrationWorkflowRequest', | ||
| 77 | as ArrayRef[DeleteMigrationWorkflowRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedDeleteMigrationWorkflowRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::DeleteMigrationWorkflowRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringDeleteMigrationWorkflowRequest', | ||
| 83 | as HashRef[DeleteMigrationWorkflowRequest()]; | ||
| 84 | |||
| 85 | declare 'StartMigrationWorkflowRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::StartMigrationWorkflowRequest']; | ||
| 87 | |||
| 88 | coerce 'StartMigrationWorkflowRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::StartMigrationWorkflowRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedStartMigrationWorkflowRequest', | ||
| 92 | as ArrayRef[StartMigrationWorkflowRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedStartMigrationWorkflowRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::StartMigrationWorkflowRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringStartMigrationWorkflowRequest', | ||
| 98 | as HashRef[StartMigrationWorkflowRequest()]; | ||
| 99 | |||
| 100 | declare 'GetMigrationSubtaskRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationSubtaskRequest']; | ||
| 102 | |||
| 103 | coerce 'GetMigrationSubtaskRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationSubtaskRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedGetMigrationSubtaskRequest', | ||
| 107 | as ArrayRef[GetMigrationSubtaskRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedGetMigrationSubtaskRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::GetMigrationSubtaskRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringGetMigrationSubtaskRequest', | ||
| 113 | as HashRef[GetMigrationSubtaskRequest()]; | ||
| 114 | |||
| 115 | declare 'ListMigrationSubtasksRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksRequest']; | ||
| 117 | |||
| 118 | coerce 'ListMigrationSubtasksRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedListMigrationSubtasksRequest', | ||
| 122 | as ArrayRef[ListMigrationSubtasksRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedListMigrationSubtasksRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringListMigrationSubtasksRequest', | ||
| 128 | as HashRef[ListMigrationSubtasksRequest()]; | ||
| 129 | |||
| 130 | declare 'ListMigrationSubtasksResponse', | ||
| 131 | as InstanceOf['Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksResponse']; | ||
| 132 | |||
| 133 | coerce 'ListMigrationSubtasksResponse', | ||
| 134 | from HashRef, via { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksResponse'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedListMigrationSubtasksResponse', | ||
| 137 | as ArrayRef[ListMigrationSubtasksResponse()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedListMigrationSubtasksResponse', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Bigquery::Migration::V2::MigrationService::ListMigrationSubtasksResponse'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringListMigrationSubtasksResponse', | ||
| 143 | as HashRef[ListMigrationSubtasksResponse()]; | ||
| 144 | |||
| 145 | 1; | ||
| 146 | |||
| 147 | __END__ |