import * as pulumi from "@pulumi/pulumi"; /** * Vertex AI Feature Group Feature is feature metadata information. * * To get more information about FeatureGroupFeature, see: * * * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.featureGroups.features) * * How-to Guides * * [Creating a Feature](https://cloud.google.com/vertex-ai/docs/featurestore/latest/create-feature) * * ## Example Usage * * ### Vertex Ai Feature Group Feature * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const sampleDataset = new gcp.bigquery.Dataset("sample_dataset", { * datasetId: "job_load_dataset", * friendlyName: "test", * description: "This is a test description", * location: "US", * }); * const sampleTable = new gcp.bigquery.Table("sample_table", { * deletionProtection: false, * datasetId: sampleDataset.datasetId, * tableId: "job_load_table", * schema: `[ * { * \\"name\\": \\"feature_id\\", * \\"type\\": \\"STRING\\", * \\"mode\\": \\"NULLABLE\\" * }, * { * \\"name\\": \\"example_feature\\", * \\"type\\": \\"STRING\\", * \\"mode\\": \\"NULLABLE\\" * }, * { * \\"name\\": \\"feature_timestamp\\", * \\"type\\": \\"TIMESTAMP\\", * \\"mode\\": \\"NULLABLE\\" * } * ] * `, * }); * const sampleFeatureGroup = new gcp.vertex.AiFeatureGroup("sample_feature_group", { * name: "example_feature_group", * description: "A sample feature group", * region: "us-central1", * labels: { * "label-one": "value-one", * }, * bigQuery: { * bigQuerySource: { * inputUri: pulumi.interpolate`bq://${sampleTable.project}.${sampleTable.datasetId}.${sampleTable.tableId}`, * }, * entityIdColumns: ["feature_id"], * }, * }); * const featureGroupFeature = new gcp.vertex.AiFeatureGroupFeature("feature_group_feature", { * name: "example_feature", * region: "us-central1", * featureGroup: sampleFeatureGroup.name, * description: "A sample feature", * labels: { * "label-one": "value-one", * }, * }); * ``` * * ## Import * * FeatureGroupFeature can be imported using any of these accepted formats: * * * `projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}}/features/{{name}}` * * * `{{project}}/{{region}}/{{feature_group}}/{{name}}` * * * `{{region}}/{{feature_group}}/{{name}}` * * * `{{feature_group}}/{{name}}` * * When using the `pulumi import` command, FeatureGroupFeature can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}}/features/{{name}} * ``` * * ```sh * $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default {{project}}/{{region}}/{{feature_group}}/{{name}} * ``` * * ```sh * $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default {{region}}/{{feature_group}}/{{name}} * ``` * * ```sh * $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default {{feature_group}}/{{name}} * ``` */ export declare class AiFeatureGroupFeature extends pulumi.CustomResource { /** * Get an existing AiFeatureGroupFeature resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AiFeatureGroupFeatureState, opts?: pulumi.CustomResourceOptions): AiFeatureGroupFeature; /** * Returns true if the given object is an instance of AiFeatureGroupFeature. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AiFeatureGroupFeature; /** * The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. */ readonly createTime: pulumi.Output; /** * The description of the FeatureGroup. */ readonly description: pulumi.Output; /** * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. */ readonly effectiveLabels: pulumi.Output<{ [key: string]: string; }>; /** * The name of the Feature Group. */ readonly featureGroup: pulumi.Output; /** * The labels with user-defined metadata to organize your FeatureGroup. * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field `effectiveLabels` for all of the labels present on the resource. */ readonly labels: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The resource name of the Feature Group Feature. */ readonly name: pulumi.Output; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ readonly project: pulumi.Output; /** * The combination of labels configured directly on the resource * and default labels configured on the provider. */ readonly pulumiLabels: pulumi.Output<{ [key: string]: string; }>; /** * The region for the resource. It should be the same as the feature group's region. */ readonly region: pulumi.Output; /** * The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. */ readonly updateTime: pulumi.Output; /** * The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId. */ readonly versionColumnName: pulumi.Output; /** * Create a AiFeatureGroupFeature resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AiFeatureGroupFeatureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AiFeatureGroupFeature resources. */ export interface AiFeatureGroupFeatureState { /** * The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. */ createTime?: pulumi.Input; /** * The description of the FeatureGroup. */ description?: pulumi.Input; /** * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. */ effectiveLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of the Feature Group. */ featureGroup?: pulumi.Input; /** * The labels with user-defined metadata to organize your FeatureGroup. * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field `effectiveLabels` for all of the labels present on the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The resource name of the Feature Group Feature. */ name?: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input; /** * The combination of labels configured directly on the resource * and default labels configured on the provider. */ pulumiLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The region for the resource. It should be the same as the feature group's region. */ region?: pulumi.Input; /** * The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. */ updateTime?: pulumi.Input; /** * The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId. */ versionColumnName?: pulumi.Input; } /** * The set of arguments for constructing a AiFeatureGroupFeature resource. */ export interface AiFeatureGroupFeatureArgs { /** * The description of the FeatureGroup. */ description?: pulumi.Input; /** * The name of the Feature Group. */ featureGroup: pulumi.Input; /** * The labels with user-defined metadata to organize your FeatureGroup. * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field `effectiveLabels` for all of the labels present on the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The resource name of the Feature Group Feature. */ name?: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input; /** * The region for the resource. It should be the same as the feature group's region. */ region: pulumi.Input; /** * The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId. */ versionColumnName?: pulumi.Input; }