AiFeatureOnlineStoreFeatureview.reference constructor
AiFeatureOnlineStoreFeatureview.reference(
- String urn
Creates a typed reference to an existing AiFeatureOnlineStoreFeatureview resource.
Implementation
AiFeatureOnlineStoreFeatureview.reference(String urn)
: super(
'gcp:vertex/aiFeatureOnlineStoreFeatureview:AiFeatureOnlineStoreFeatureview',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
isResourceReference: true,
) {
bigQuerySource = registerOutput<AiFeatureOnlineStoreFeatureviewBigQuerySource?>('bigQuerySource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AiFeatureOnlineStoreFeatureviewBigQuerySource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
createTime = registerOutput<String>('createTime');
deletionPolicy = registerOutput<String>('deletionPolicy');
effectiveLabels = registerOutput<Map<String, String>>('effectiveLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
featureOnlineStore = registerOutput<String>('featureOnlineStore');
featureRegistrySource = registerOutput<AiFeatureOnlineStoreFeatureviewFeatureRegistrySource?>('featureRegistrySource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AiFeatureOnlineStoreFeatureviewFeatureRegistrySource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
pulumiLabels = registerOutput<Map<String, String>>('pulumiLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
region = registerOutput<String>('region');
syncConfig = registerOutput<AiFeatureOnlineStoreFeatureviewSyncConfig?>('syncConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AiFeatureOnlineStoreFeatureviewSyncConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
updateTime = registerOutput<String>('updateTime');
vectorSearchConfig = registerOutput<AiFeatureOnlineStoreFeatureviewVectorSearchConfig?>('vectorSearchConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AiFeatureOnlineStoreFeatureviewVectorSearchConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}