| 1 | package Google::Cloud::Discoveryengine::V1beta::Project::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 'Project', | ||
| 11 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project']; | ||
| 12 | |||
| 13 | coerce 'Project', | ||
| 14 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedProject', | ||
| 17 | as ArrayRef[Project()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedProject', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringProject', | ||
| 23 | as HashRef[Project()]; | ||
| 24 | |||
| 25 | declare 'ServiceTerms', | ||
| 26 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::ServiceTerms']; | ||
| 27 | |||
| 28 | coerce 'ServiceTerms', | ||
| 29 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ServiceTerms'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedServiceTerms', | ||
| 32 | as ArrayRef[ServiceTerms()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedServiceTerms', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ServiceTerms'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringServiceTerms', | ||
| 38 | as HashRef[ServiceTerms()]; | ||
| 39 | |||
| 40 | declare 'State', | ||
| 41 | as (Int | Str); | ||
| 42 | |||
| 43 | declare 'CustomerProvidedConfig', | ||
| 44 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig']; | ||
| 45 | |||
| 46 | coerce 'CustomerProvidedConfig', | ||
| 47 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedCustomerProvidedConfig', | ||
| 50 | as ArrayRef[CustomerProvidedConfig()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedCustomerProvidedConfig', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringCustomerProvidedConfig', | ||
| 56 | as HashRef[CustomerProvidedConfig()]; | ||
| 57 | |||
| 58 | declare 'NotebooklmConfig', | ||
| 59 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig']; | ||
| 60 | |||
| 61 | coerce 'NotebooklmConfig', | ||
| 62 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedNotebooklmConfig', | ||
| 65 | as ArrayRef[NotebooklmConfig()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedNotebooklmConfig', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringNotebooklmConfig', | ||
| 71 | as HashRef[NotebooklmConfig()]; | ||
| 72 | |||
| 73 | declare 'ModelArmorConfig', | ||
| 74 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig']; | ||
| 75 | |||
| 76 | coerce 'ModelArmorConfig', | ||
| 77 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedModelArmorConfig', | ||
| 80 | as ArrayRef[ModelArmorConfig()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedModelArmorConfig', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringModelArmorConfig', | ||
| 86 | as HashRef[ModelArmorConfig()]; | ||
| 87 | |||
| 88 | declare 'DataProtectionPolicy', | ||
| 89 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy']; | ||
| 90 | |||
| 91 | coerce 'DataProtectionPolicy', | ||
| 92 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedDataProtectionPolicy', | ||
| 95 | as ArrayRef[DataProtectionPolicy()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedDataProtectionPolicy', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringDataProtectionPolicy', | ||
| 101 | as HashRef[DataProtectionPolicy()]; | ||
| 102 | |||
| 103 | declare 'SensitiveDataProtectionPolicy', | ||
| 104 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy']; | ||
| 105 | |||
| 106 | coerce 'SensitiveDataProtectionPolicy', | ||
| 107 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedSensitiveDataProtectionPolicy', | ||
| 110 | as ArrayRef[SensitiveDataProtectionPolicy()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedSensitiveDataProtectionPolicy', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringSensitiveDataProtectionPolicy', | ||
| 116 | as HashRef[SensitiveDataProtectionPolicy()]; | ||
| 117 | |||
| 118 | declare 'ConfigurableBillingStatus', | ||
| 119 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::ConfigurableBillingStatus']; | ||
| 120 | |||
| 121 | coerce 'ConfigurableBillingStatus', | ||
| 122 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ConfigurableBillingStatus'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedConfigurableBillingStatus', | ||
| 125 | as ArrayRef[ConfigurableBillingStatus()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedConfigurableBillingStatus', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ConfigurableBillingStatus'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringConfigurableBillingStatus', | ||
| 131 | as HashRef[ConfigurableBillingStatus()]; | ||
| 132 | |||
| 133 | declare 'UpdateType', | ||
| 134 | as (Int | Str); | ||
| 135 | |||
| 136 | declare 'AgentSearchTokenSubscriptionStatus', | ||
| 137 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus']; | ||
| 138 | |||
| 139 | coerce 'AgentSearchTokenSubscriptionStatus', | ||
| 140 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedAgentSearchTokenSubscriptionStatus', | ||
| 143 | as ArrayRef[AgentSearchTokenSubscriptionStatus()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedAgentSearchTokenSubscriptionStatus', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringAgentSearchTokenSubscriptionStatus', | ||
| 149 | as HashRef[AgentSearchTokenSubscriptionStatus()]; | ||
| 150 | |||
| 151 | declare 'ServiceTermsMapEntry', | ||
| 152 | as InstanceOf['Google::Cloud::Discoveryengine::V1beta::Project::Project::ServiceTermsMapEntry']; | ||
| 153 | |||
| 154 | coerce 'ServiceTermsMapEntry', | ||
| 155 | from HashRef, via { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ServiceTermsMapEntry'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedServiceTermsMapEntry', | ||
| 158 | as ArrayRef[ServiceTermsMapEntry()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedServiceTermsMapEntry', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Discoveryengine::V1beta::Project::Project::ServiceTermsMapEntry'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringServiceTermsMapEntry', | ||
| 164 | as HashRef[ServiceTermsMapEntry()]; | ||
| 165 | |||
| 166 | 1; | ||
| 167 | |||
| 168 | __END__ |