1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. vertex
  5. AiFeatureGroupFeature
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.vertex.AiFeatureGroupFeature

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Vertex AI Feature Group Feature is feature metadata information.

    To get more information about FeatureGroupFeature, see:

    Example Usage

    Vertex Ai Feature Group Feature

    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 pulumi
    import pulumi_gcp as gcp
    
    sample_dataset = gcp.bigquery.Dataset("sample_dataset",
        dataset_id="job_load_dataset",
        friendly_name="test",
        description="This is a test description",
        location="US")
    sample_table = gcp.bigquery.Table("sample_table",
        deletion_protection=False,
        dataset_id=sample_dataset.dataset_id,
        table_id="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"
        }
    ]
    """)
    sample_feature_group = gcp.vertex.AiFeatureGroup("sample_feature_group",
        name="example_feature_group",
        description="A sample feature group",
        region="us-central1",
        labels={
            "label-one": "value-one",
        },
        big_query={
            "big_query_source": {
                "input_uri": pulumi.Output.all(
                    project=sample_table.project,
                    dataset_id=sample_table.dataset_id,
                    table_id=sample_table.table_id
    ).apply(lambda resolved_outputs: f"bq://{resolved_outputs['project']}.{resolved_outputs['dataset_id']}.{resolved_outputs['table_id']}")
    ,
            },
            "entity_id_columns": ["feature_id"],
        })
    feature_group_feature = gcp.vertex.AiFeatureGroupFeature("feature_group_feature",
        name="example_feature",
        region="us-central1",
        feature_group=sample_feature_group.name,
        description="A sample feature",
        labels={
            "label-one": "value-one",
        })
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/bigquery"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/vertex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		sampleDataset, err := bigquery.NewDataset(ctx, "sample_dataset", &bigquery.DatasetArgs{
    			DatasetId:    pulumi.String("job_load_dataset"),
    			FriendlyName: pulumi.String("test"),
    			Description:  pulumi.String("This is a test description"),
    			Location:     pulumi.String("US"),
    		})
    		if err != nil {
    			return err
    		}
    		sampleTable, err := bigquery.NewTable(ctx, "sample_table", &bigquery.TableArgs{
    			DeletionProtection: pulumi.Bool(false),
    			DatasetId:          sampleDataset.DatasetId,
    			TableId:            pulumi.String("job_load_table"),
    			Schema: pulumi.String(`[
        {
            "name": "feature_id",
            "type": "STRING",
            "mode": "NULLABLE"
        },
        {
            "name": "example_feature",
            "type": "STRING",
            "mode": "NULLABLE"
        },
        {
            "name": "feature_timestamp",
            "type": "TIMESTAMP",
            "mode": "NULLABLE"
        }
    ]
    `),
    		})
    		if err != nil {
    			return err
    		}
    		sampleFeatureGroup, err := vertex.NewAiFeatureGroup(ctx, "sample_feature_group", &vertex.AiFeatureGroupArgs{
    			Name:        pulumi.String("example_feature_group"),
    			Description: pulumi.String("A sample feature group"),
    			Region:      pulumi.String("us-central1"),
    			Labels: pulumi.StringMap{
    				"label-one": pulumi.String("value-one"),
    			},
    			BigQuery: &vertex.AiFeatureGroupBigQueryArgs{
    				BigQuerySource: &vertex.AiFeatureGroupBigQueryBigQuerySourceArgs{
    					InputUri: pulumi.All(sampleTable.Project, sampleTable.DatasetId, sampleTable.TableId).ApplyT(func(_args []interface{}) (string, error) {
    						project := _args[0].(string)
    						datasetId := _args[1].(string)
    						tableId := _args[2].(string)
    						return fmt.Sprintf("bq://%v.%v.%v", project, datasetId, tableId), nil
    					}).(pulumi.StringOutput),
    				},
    				EntityIdColumns: pulumi.StringArray{
    					pulumi.String("feature_id"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vertex.NewAiFeatureGroupFeature(ctx, "feature_group_feature", &vertex.AiFeatureGroupFeatureArgs{
    			Name:         pulumi.String("example_feature"),
    			Region:       pulumi.String("us-central1"),
    			FeatureGroup: sampleFeatureGroup.Name,
    			Description:  pulumi.String("A sample feature"),
    			Labels: pulumi.StringMap{
    				"label-one": pulumi.String("value-one"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var sampleDataset = new Gcp.BigQuery.Dataset("sample_dataset", new()
        {
            DatasetId = "job_load_dataset",
            FriendlyName = "test",
            Description = "This is a test description",
            Location = "US",
        });
    
        var sampleTable = new Gcp.BigQuery.Table("sample_table", new()
        {
            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""
        }
    ]
    ",
        });
    
        var sampleFeatureGroup = new Gcp.Vertex.AiFeatureGroup("sample_feature_group", new()
        {
            Name = "example_feature_group",
            Description = "A sample feature group",
            Region = "us-central1",
            Labels = 
            {
                { "label-one", "value-one" },
            },
            BigQuery = new Gcp.Vertex.Inputs.AiFeatureGroupBigQueryArgs
            {
                BigQuerySource = new Gcp.Vertex.Inputs.AiFeatureGroupBigQueryBigQuerySourceArgs
                {
                    InputUri = Output.Tuple(sampleTable.Project, sampleTable.DatasetId, sampleTable.TableId).Apply(values =>
                    {
                        var project = values.Item1;
                        var datasetId = values.Item2;
                        var tableId = values.Item3;
                        return $"bq://{project}.{datasetId}.{tableId}";
                    }),
                },
                EntityIdColumns = new[]
                {
                    "feature_id",
                },
            },
        });
    
        var featureGroupFeature = new Gcp.Vertex.AiFeatureGroupFeature("feature_group_feature", new()
        {
            Name = "example_feature",
            Region = "us-central1",
            FeatureGroup = sampleFeatureGroup.Name,
            Description = "A sample feature",
            Labels = 
            {
                { "label-one", "value-one" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.bigquery.Dataset;
    import com.pulumi.gcp.bigquery.DatasetArgs;
    import com.pulumi.gcp.bigquery.Table;
    import com.pulumi.gcp.bigquery.TableArgs;
    import com.pulumi.gcp.vertex.AiFeatureGroup;
    import com.pulumi.gcp.vertex.AiFeatureGroupArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureGroupBigQueryArgs;
    import com.pulumi.gcp.vertex.inputs.AiFeatureGroupBigQueryBigQuerySourceArgs;
    import com.pulumi.gcp.vertex.AiFeatureGroupFeature;
    import com.pulumi.gcp.vertex.AiFeatureGroupFeatureArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sampleDataset = new Dataset("sampleDataset", DatasetArgs.builder()
                .datasetId("job_load_dataset")
                .friendlyName("test")
                .description("This is a test description")
                .location("US")
                .build());
    
            var sampleTable = new Table("sampleTable", TableArgs.builder()
                .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"
        }
    ]
                """)
                .build());
    
            var sampleFeatureGroup = new AiFeatureGroup("sampleFeatureGroup", AiFeatureGroupArgs.builder()
                .name("example_feature_group")
                .description("A sample feature group")
                .region("us-central1")
                .labels(Map.of("label-one", "value-one"))
                .bigQuery(AiFeatureGroupBigQueryArgs.builder()
                    .bigQuerySource(AiFeatureGroupBigQueryBigQuerySourceArgs.builder()
                        .inputUri(Output.tuple(sampleTable.project(), sampleTable.datasetId(), sampleTable.tableId()).applyValue(values -> {
                            var project = values.t1;
                            var datasetId = values.t2;
                            var tableId = values.t3;
                            return String.format("bq://%s.%s.%s", project,datasetId,tableId);
                        }))
                        .build())
                    .entityIdColumns("feature_id")
                    .build())
                .build());
    
            var featureGroupFeature = new AiFeatureGroupFeature("featureGroupFeature", AiFeatureGroupFeatureArgs.builder()
                .name("example_feature")
                .region("us-central1")
                .featureGroup(sampleFeatureGroup.name())
                .description("A sample feature")
                .labels(Map.of("label-one", "value-one"))
                .build());
    
        }
    }
    
    resources:
      featureGroupFeature:
        type: gcp:vertex:AiFeatureGroupFeature
        name: feature_group_feature
        properties:
          name: example_feature
          region: us-central1
          featureGroup: ${sampleFeatureGroup.name}
          description: A sample feature
          labels:
            label-one: value-one
      sampleFeatureGroup:
        type: gcp:vertex:AiFeatureGroup
        name: sample_feature_group
        properties:
          name: example_feature_group
          description: A sample feature group
          region: us-central1
          labels:
            label-one: value-one
          bigQuery:
            bigQuerySource:
              inputUri: bq://${sampleTable.project}.${sampleTable.datasetId}.${sampleTable.tableId}
            entityIdColumns:
              - feature_id
      sampleDataset:
        type: gcp:bigquery:Dataset
        name: sample_dataset
        properties:
          datasetId: job_load_dataset
          friendlyName: test
          description: This is a test description
          location: US
      sampleTable:
        type: gcp:bigquery:Table
        name: sample_table
        properties:
          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"
                }
            ]        
    

    Create AiFeatureGroupFeature Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiFeatureGroupFeature(name: string, args: AiFeatureGroupFeatureArgs, opts?: CustomResourceOptions);
    @overload
    def AiFeatureGroupFeature(resource_name: str,
                              args: AiFeatureGroupFeatureArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiFeatureGroupFeature(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              feature_group: Optional[str] = None,
                              region: Optional[str] = None,
                              description: Optional[str] = None,
                              labels: Optional[Mapping[str, str]] = None,
                              name: Optional[str] = None,
                              project: Optional[str] = None,
                              version_column_name: Optional[str] = None)
    func NewAiFeatureGroupFeature(ctx *Context, name string, args AiFeatureGroupFeatureArgs, opts ...ResourceOption) (*AiFeatureGroupFeature, error)
    public AiFeatureGroupFeature(string name, AiFeatureGroupFeatureArgs args, CustomResourceOptions? opts = null)
    public AiFeatureGroupFeature(String name, AiFeatureGroupFeatureArgs args)
    public AiFeatureGroupFeature(String name, AiFeatureGroupFeatureArgs args, CustomResourceOptions options)
    
    type: gcp:vertex:AiFeatureGroupFeature
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AiFeatureGroupFeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiFeatureGroupFeatureArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiFeatureGroupFeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiFeatureGroupFeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiFeatureGroupFeatureArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aiFeatureGroupFeatureResource = new Gcp.Vertex.AiFeatureGroupFeature("aiFeatureGroupFeatureResource", new()
    {
        FeatureGroup = "string",
        Region = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        Project = "string",
        VersionColumnName = "string",
    });
    
    example, err := vertex.NewAiFeatureGroupFeature(ctx, "aiFeatureGroupFeatureResource", &vertex.AiFeatureGroupFeatureArgs{
    	FeatureGroup: pulumi.String("string"),
    	Region:       pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:              pulumi.String("string"),
    	Project:           pulumi.String("string"),
    	VersionColumnName: pulumi.String("string"),
    })
    
    var aiFeatureGroupFeatureResource = new AiFeatureGroupFeature("aiFeatureGroupFeatureResource", AiFeatureGroupFeatureArgs.builder()
        .featureGroup("string")
        .region("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .project("string")
        .versionColumnName("string")
        .build());
    
    ai_feature_group_feature_resource = gcp.vertex.AiFeatureGroupFeature("aiFeatureGroupFeatureResource",
        feature_group="string",
        region="string",
        description="string",
        labels={
            "string": "string",
        },
        name="string",
        project="string",
        version_column_name="string")
    
    const aiFeatureGroupFeatureResource = new gcp.vertex.AiFeatureGroupFeature("aiFeatureGroupFeatureResource", {
        featureGroup: "string",
        region: "string",
        description: "string",
        labels: {
            string: "string",
        },
        name: "string",
        project: "string",
        versionColumnName: "string",
    });
    
    type: gcp:vertex:AiFeatureGroupFeature
    properties:
        description: string
        featureGroup: string
        labels:
            string: string
        name: string
        project: string
        region: string
        versionColumnName: string
    

    AiFeatureGroupFeature Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiFeatureGroupFeature resource accepts the following input properties:

    FeatureGroup string
    The name of the Feature Group.
    Region string
    The region for the resource. It should be the same as the feature group's region.


    Description string
    The description of the FeatureGroup.
    Labels Dictionary<string, string>
    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 effective_labels for all of the labels present on the resource.
    Name string
    The resource name of the Feature Group Feature.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    VersionColumnName string
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    FeatureGroup string
    The name of the Feature Group.
    Region string
    The region for the resource. It should be the same as the feature group's region.


    Description string
    The description of the FeatureGroup.
    Labels map[string]string
    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 effective_labels for all of the labels present on the resource.
    Name string
    The resource name of the Feature Group Feature.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    VersionColumnName string
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    featureGroup String
    The name of the Feature Group.
    region String
    The region for the resource. It should be the same as the feature group's region.


    description String
    The description of the FeatureGroup.
    labels Map<String,String>
    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 effective_labels for all of the labels present on the resource.
    name String
    The resource name of the Feature Group Feature.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    versionColumnName String
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    featureGroup string
    The name of the Feature Group.
    region string
    The region for the resource. It should be the same as the feature group's region.


    description string
    The description of the FeatureGroup.
    labels {[key: string]: string}
    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 effective_labels for all of the labels present on the resource.
    name string
    The resource name of the Feature Group Feature.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    versionColumnName string
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    feature_group str
    The name of the Feature Group.
    region str
    The region for the resource. It should be the same as the feature group's region.


    description str
    The description of the FeatureGroup.
    labels Mapping[str, str]
    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 effective_labels for all of the labels present on the resource.
    name str
    The resource name of the Feature Group Feature.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    version_column_name str
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    featureGroup String
    The name of the Feature Group.
    region String
    The region for the resource. It should be the same as the feature group's region.


    description String
    The description of the FeatureGroup.
    labels Map<String>
    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 effective_labels for all of the labels present on the resource.
    name String
    The resource name of the Feature Group Feature.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    versionColumnName String
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiFeatureGroupFeature resource produces the following output properties:

    CreateTime string
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    CreateTime string
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    createTime String
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    createTime string
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime string
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    create_time str
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    update_time str
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    createTime String
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

    Look up Existing AiFeatureGroupFeature Resource

    Get an existing AiFeatureGroupFeature resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiFeatureGroupFeatureState, opts?: CustomResourceOptions): AiFeatureGroupFeature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            feature_group: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            region: Optional[str] = None,
            update_time: Optional[str] = None,
            version_column_name: Optional[str] = None) -> AiFeatureGroupFeature
    func GetAiFeatureGroupFeature(ctx *Context, name string, id IDInput, state *AiFeatureGroupFeatureState, opts ...ResourceOption) (*AiFeatureGroupFeature, error)
    public static AiFeatureGroupFeature Get(string name, Input<string> id, AiFeatureGroupFeatureState? state, CustomResourceOptions? opts = null)
    public static AiFeatureGroupFeature get(String name, Output<String> id, AiFeatureGroupFeatureState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    Description string
    The description of the FeatureGroup.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    FeatureGroup string
    The name of the Feature Group.
    Labels Dictionary<string, string>
    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 effective_labels for all of the labels present on the resource.
    Name string
    The resource name of the Feature Group Feature.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    Region string
    The region for the resource. It should be the same as the feature group's region.


    UpdateTime string
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    VersionColumnName string
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    CreateTime string
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    Description string
    The description of the FeatureGroup.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    FeatureGroup string
    The name of the Feature Group.
    Labels map[string]string
    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 effective_labels for all of the labels present on the resource.
    Name string
    The resource name of the Feature Group Feature.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    Region string
    The region for the resource. It should be the same as the feature group's region.


    UpdateTime string
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    VersionColumnName string
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    createTime String
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    description String
    The description of the FeatureGroup.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    featureGroup String
    The name of the Feature Group.
    labels Map<String,String>
    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 effective_labels for all of the labels present on the resource.
    name String
    The resource name of the Feature Group Feature.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region String
    The region for the resource. It should be the same as the feature group's region.


    updateTime String
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    versionColumnName String
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    createTime string
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    description string
    The description of the FeatureGroup.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    featureGroup string
    The name of the Feature Group.
    labels {[key: string]: string}
    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 effective_labels for all of the labels present on the resource.
    name string
    The resource name of the Feature Group Feature.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region string
    The region for the resource. It should be the same as the feature group's region.


    updateTime string
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    versionColumnName string
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    create_time str
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    description str
    The description of the FeatureGroup.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    feature_group str
    The name of the Feature Group.
    labels Mapping[str, str]
    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 effective_labels for all of the labels present on the resource.
    name str
    The resource name of the Feature Group Feature.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region str
    The region for the resource. It should be the same as the feature group's region.


    update_time str
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    version_column_name str
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.
    createTime String
    The timestamp of when the FeatureGroup was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    description String
    The description of the FeatureGroup.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    featureGroup String
    The name of the Feature Group.
    labels Map<String>
    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 effective_labels for all of the labels present on the resource.
    name String
    The resource name of the Feature Group Feature.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    region String
    The region for the resource. It should be the same as the feature group's region.


    updateTime String
    The timestamp of when the FeatureGroup was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
    versionColumnName String
    The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use featureId.

    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:

    $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default projects/{{project}}/locations/{{region}}/featureGroups/{{feature_group}}/features/{{name}}
    
    $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default {{project}}/{{region}}/{{feature_group}}/{{name}}
    
    $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default {{region}}/{{feature_group}}/{{name}}
    
    $ pulumi import gcp:vertex/aiFeatureGroupFeature:AiFeatureGroupFeature default {{feature_group}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi