Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.aiplatform/v1.FeatureGroup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new FeatureGroup in a given project and location. Auto-naming is currently not supported for this resource.
Create FeatureGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FeatureGroup(name: string, args: FeatureGroupArgs, opts?: CustomResourceOptions);
@overload
def FeatureGroup(resource_name: str,
args: FeatureGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FeatureGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
feature_group_id: Optional[str] = None,
big_query: Optional[GoogleCloudAiplatformV1FeatureGroupBigQueryArgs] = None,
description: Optional[str] = None,
etag: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
project: Optional[str] = None)
func NewFeatureGroup(ctx *Context, name string, args FeatureGroupArgs, opts ...ResourceOption) (*FeatureGroup, error)
public FeatureGroup(string name, FeatureGroupArgs args, CustomResourceOptions? opts = null)
public FeatureGroup(String name, FeatureGroupArgs args)
public FeatureGroup(String name, FeatureGroupArgs args, CustomResourceOptions options)
type: google-native:aiplatform/v1:FeatureGroup
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 FeatureGroupArgs
- 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 FeatureGroupArgs
- 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 FeatureGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FeatureGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FeatureGroupArgs
- 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 featureGroupResource = new GoogleNative.Aiplatform.V1.FeatureGroup("featureGroupResource", new()
{
FeatureGroupId = "string",
BigQuery = new GoogleNative.Aiplatform.V1.Inputs.GoogleCloudAiplatformV1FeatureGroupBigQueryArgs
{
BigQuerySource = new GoogleNative.Aiplatform.V1.Inputs.GoogleCloudAiplatformV1BigQuerySourceArgs
{
InputUri = "string",
},
EntityIdColumns = new[]
{
"string",
},
},
Description = "string",
Etag = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
});
example, err := aiplatform.NewFeatureGroup(ctx, "featureGroupResource", &aiplatform.FeatureGroupArgs{
FeatureGroupId: pulumi.String("string"),
BigQuery: &aiplatform.GoogleCloudAiplatformV1FeatureGroupBigQueryArgs{
BigQuerySource: &aiplatform.GoogleCloudAiplatformV1BigQuerySourceArgs{
InputUri: pulumi.String("string"),
},
EntityIdColumns: pulumi.StringArray{
pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Etag: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var featureGroupResource = new FeatureGroup("featureGroupResource", FeatureGroupArgs.builder()
.featureGroupId("string")
.bigQuery(GoogleCloudAiplatformV1FeatureGroupBigQueryArgs.builder()
.bigQuerySource(GoogleCloudAiplatformV1BigQuerySourceArgs.builder()
.inputUri("string")
.build())
.entityIdColumns("string")
.build())
.description("string")
.etag("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.build());
feature_group_resource = google_native.aiplatform.v1.FeatureGroup("featureGroupResource",
feature_group_id="string",
big_query={
"big_query_source": {
"input_uri": "string",
},
"entity_id_columns": ["string"],
},
description="string",
etag="string",
labels={
"string": "string",
},
location="string",
project="string")
const featureGroupResource = new google_native.aiplatform.v1.FeatureGroup("featureGroupResource", {
featureGroupId: "string",
bigQuery: {
bigQuerySource: {
inputUri: "string",
},
entityIdColumns: ["string"],
},
description: "string",
etag: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
});
type: google-native:aiplatform/v1:FeatureGroup
properties:
bigQuery:
bigQuerySource:
inputUri: string
entityIdColumns:
- string
description: string
etag: string
featureGroupId: string
labels:
string: string
location: string
project: string
FeatureGroup 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 FeatureGroup resource accepts the following input properties:
- Feature
Group stringId - Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within the project and location. - Big
Query Pulumi.Google Native. Aiplatform. V1. Inputs. Google Cloud Aiplatform V1Feature Group Big Query - Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.
- Description string
- Optional. Description of the FeatureGroup.
- Etag string
- Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- Labels Dictionary<string, string>
- Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
- Location string
- Project string
- Feature
Group stringId - Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within the project and location. - Big
Query GoogleCloud Aiplatform V1Feature Group Big Query Args - Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.
- Description string
- Optional. Description of the FeatureGroup.
- Etag string
- Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- Labels map[string]string
- Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
- Location string
- Project string
- feature
Group StringId - Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within the project and location. - big
Query GoogleCloud Aiplatform V1Feature Group Big Query - Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.
- description String
- Optional. Description of the FeatureGroup.
- etag String
- Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels Map<String,String>
- Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
- location String
- project String
- feature
Group stringId - Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within the project and location. - big
Query GoogleCloud Aiplatform V1Feature Group Big Query - Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.
- description string
- Optional. Description of the FeatureGroup.
- etag string
- Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels {[key: string]: string}
- Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
- location string
- project string
- feature_
group_ strid - Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within the project and location. - big_
query GoogleCloud Aiplatform V1Feature Group Big Query Args - Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.
- description str
- Optional. Description of the FeatureGroup.
- etag str
- Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels Mapping[str, str]
- Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
- location str
- project str
- feature
Group StringId - Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within the project and location. - big
Query Property Map - Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source, which is required to have an entity_id and a feature_timestamp column in the source.
- description String
- Optional. Description of the FeatureGroup.
- etag String
- Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels Map<String>
- Optional. The labels with user-defined metadata to organize your FeatureGroup. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureGroup(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the FeatureGroup resource produces the following output properties:
- Create
Time string - Timestamp when this FeatureGroup was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the FeatureGroup. Format:
projects/{project}/locations/{location}/featureGroups/{featureGroup}
- Update
Time string - Timestamp when this FeatureGroup was last updated.
- Create
Time string - Timestamp when this FeatureGroup was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the FeatureGroup. Format:
projects/{project}/locations/{location}/featureGroups/{featureGroup}
- Update
Time string - Timestamp when this FeatureGroup was last updated.
- create
Time String - Timestamp when this FeatureGroup was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the FeatureGroup. Format:
projects/{project}/locations/{location}/featureGroups/{featureGroup}
- update
Time String - Timestamp when this FeatureGroup was last updated.
- create
Time string - Timestamp when this FeatureGroup was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the FeatureGroup. Format:
projects/{project}/locations/{location}/featureGroups/{featureGroup}
- update
Time string - Timestamp when this FeatureGroup was last updated.
- create_
time str - Timestamp when this FeatureGroup was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the FeatureGroup. Format:
projects/{project}/locations/{location}/featureGroups/{featureGroup}
- update_
time str - Timestamp when this FeatureGroup was last updated.
- create
Time String - Timestamp when this FeatureGroup was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the FeatureGroup. Format:
projects/{project}/locations/{location}/featureGroups/{featureGroup}
- update
Time String - Timestamp when this FeatureGroup was last updated.
Supporting Types
GoogleCloudAiplatformV1BigQuerySource, GoogleCloudAiplatformV1BigQuerySourceArgs
- Input
Uri string - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- Input
Uri string - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input
Uri String - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input
Uri string - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input_
uri str - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input
Uri String - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
GoogleCloudAiplatformV1BigQuerySourceResponse, GoogleCloudAiplatformV1BigQuerySourceResponseArgs
- Input
Uri string - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- Input
Uri string - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input
Uri String - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input
Uri string - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input_
uri str - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
- input
Uri String - BigQuery URI to a table, up to 2000 characters long. Accepted forms: * BigQuery path. For example:
bq://projectId.bqDatasetId.bqTableId
.
GoogleCloudAiplatformV1FeatureGroupBigQuery, GoogleCloudAiplatformV1FeatureGroupBigQueryArgs
- Big
Query Pulumi.Source Google Native. Aiplatform. V1. Inputs. Google Cloud Aiplatform V1Big Query Source - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- Entity
Id List<string>Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- Big
Query GoogleSource Cloud Aiplatform V1Big Query Source - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- Entity
Id []stringColumns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big
Query GoogleSource Cloud Aiplatform V1Big Query Source - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity
Id List<String>Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big
Query GoogleSource Cloud Aiplatform V1Big Query Source - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity
Id string[]Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big_
query_ Googlesource Cloud Aiplatform V1Big Query Source - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity_
id_ Sequence[str]columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big
Query Property MapSource - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity
Id List<String>Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
GoogleCloudAiplatformV1FeatureGroupBigQueryResponse, GoogleCloudAiplatformV1FeatureGroupBigQueryResponseArgs
- Big
Query Pulumi.Source Google Native. Aiplatform. V1. Inputs. Google Cloud Aiplatform V1Big Query Source Response - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- Entity
Id List<string>Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- Big
Query GoogleSource Cloud Aiplatform V1Big Query Source Response - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- Entity
Id []stringColumns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big
Query GoogleSource Cloud Aiplatform V1Big Query Source Response - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity
Id List<String>Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big
Query GoogleSource Cloud Aiplatform V1Big Query Source Response - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity
Id string[]Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big_
query_ Googlesource Cloud Aiplatform V1Big Query Source Response - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity_
id_ Sequence[str]columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
- big
Query Property MapSource - Immutable. The BigQuery source URI that points to either a BigQuery Table or View.
- entity
Id List<String>Columns - Optional. Columns to construct entity_id / row keys. Currently only supports 1 entity_id_column. If not provided defaults to
entity_id
.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.