| 1 | package Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::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 'AutoProtectionPolicyBinding', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::AutoProtectionPolicyBinding']; | ||
| 12 | |||
| 13 | coerce 'AutoProtectionPolicyBinding', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::AutoProtectionPolicyBinding'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAutoProtectionPolicyBinding', | ||
| 17 | as ArrayRef[AutoProtectionPolicyBinding()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAutoProtectionPolicyBinding', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::AutoProtectionPolicyBinding'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAutoProtectionPolicyBinding', | ||
| 23 | as HashRef[AutoProtectionPolicyBinding()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'BindingEvaluationSummary', | ||
| 29 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::BindingEvaluationSummary']; | ||
| 30 | |||
| 31 | coerce 'BindingEvaluationSummary', | ||
| 32 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::BindingEvaluationSummary'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedBindingEvaluationSummary', | ||
| 35 | as ArrayRef[BindingEvaluationSummary()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedBindingEvaluationSummary', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::BindingEvaluationSummary'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringBindingEvaluationSummary', | ||
| 41 | as HashRef[BindingEvaluationSummary()]; | ||
| 42 | |||
| 43 | declare 'CreateAutoProtectionPolicyBindingRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::CreateAutoProtectionPolicyBindingRequest']; | ||
| 45 | |||
| 46 | coerce 'CreateAutoProtectionPolicyBindingRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::CreateAutoProtectionPolicyBindingRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedCreateAutoProtectionPolicyBindingRequest', | ||
| 50 | as ArrayRef[CreateAutoProtectionPolicyBindingRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedCreateAutoProtectionPolicyBindingRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::CreateAutoProtectionPolicyBindingRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringCreateAutoProtectionPolicyBindingRequest', | ||
| 56 | as HashRef[CreateAutoProtectionPolicyBindingRequest()]; | ||
| 57 | |||
| 58 | declare 'GetAutoProtectionPolicyBindingRequest', | ||
| 59 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::GetAutoProtectionPolicyBindingRequest']; | ||
| 60 | |||
| 61 | coerce 'GetAutoProtectionPolicyBindingRequest', | ||
| 62 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::GetAutoProtectionPolicyBindingRequest'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedGetAutoProtectionPolicyBindingRequest', | ||
| 65 | as ArrayRef[GetAutoProtectionPolicyBindingRequest()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedGetAutoProtectionPolicyBindingRequest', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::GetAutoProtectionPolicyBindingRequest'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringGetAutoProtectionPolicyBindingRequest', | ||
| 71 | as HashRef[GetAutoProtectionPolicyBindingRequest()]; | ||
| 72 | |||
| 73 | declare 'ListAutoProtectionPolicyBindingsRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::ListAutoProtectionPolicyBindingsRequest']; | ||
| 75 | |||
| 76 | coerce 'ListAutoProtectionPolicyBindingsRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::ListAutoProtectionPolicyBindingsRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedListAutoProtectionPolicyBindingsRequest', | ||
| 80 | as ArrayRef[ListAutoProtectionPolicyBindingsRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedListAutoProtectionPolicyBindingsRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::ListAutoProtectionPolicyBindingsRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringListAutoProtectionPolicyBindingsRequest', | ||
| 86 | as HashRef[ListAutoProtectionPolicyBindingsRequest()]; | ||
| 87 | |||
| 88 | declare 'ListAutoProtectionPolicyBindingsResponse', | ||
| 89 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::ListAutoProtectionPolicyBindingsResponse']; | ||
| 90 | |||
| 91 | coerce 'ListAutoProtectionPolicyBindingsResponse', | ||
| 92 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::ListAutoProtectionPolicyBindingsResponse'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedListAutoProtectionPolicyBindingsResponse', | ||
| 95 | as ArrayRef[ListAutoProtectionPolicyBindingsResponse()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedListAutoProtectionPolicyBindingsResponse', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::ListAutoProtectionPolicyBindingsResponse'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringListAutoProtectionPolicyBindingsResponse', | ||
| 101 | as HashRef[ListAutoProtectionPolicyBindingsResponse()]; | ||
| 102 | |||
| 103 | declare 'InitiateDeleteAutoProtectionPolicyBindingRequest', | ||
| 104 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::InitiateDeleteAutoProtectionPolicyBindingRequest']; | ||
| 105 | |||
| 106 | coerce 'InitiateDeleteAutoProtectionPolicyBindingRequest', | ||
| 107 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::InitiateDeleteAutoProtectionPolicyBindingRequest'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedInitiateDeleteAutoProtectionPolicyBindingRequest', | ||
| 110 | as ArrayRef[InitiateDeleteAutoProtectionPolicyBindingRequest()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedInitiateDeleteAutoProtectionPolicyBindingRequest', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Autoprotectionpolicybinding::InitiateDeleteAutoProtectionPolicyBindingRequest'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringInitiateDeleteAutoProtectionPolicyBindingRequest', | ||
| 116 | as HashRef[InitiateDeleteAutoProtectionPolicyBindingRequest()]; | ||
| 117 | |||
| 118 | 1; | ||
| 119 | |||
| 120 | __END__ |