Documentation ¶
Index ¶
- type AiDataset
- func (*AiDataset) ElementType() reflect.Type
- func (i *AiDataset) ToAiDatasetOutput() AiDatasetOutput
- func (i *AiDataset) ToAiDatasetOutputWithContext(ctx context.Context) AiDatasetOutput
- func (i *AiDataset) ToAiDatasetPtrOutput() AiDatasetPtrOutput
- func (i *AiDataset) ToAiDatasetPtrOutputWithContext(ctx context.Context) AiDatasetPtrOutput
- type AiDatasetArgs
- type AiDatasetArray
- type AiDatasetArrayInput
- type AiDatasetArrayOutput
- func (AiDatasetArrayOutput) ElementType() reflect.Type
- func (o AiDatasetArrayOutput) Index(i pulumi.IntInput) AiDatasetOutput
- func (o AiDatasetArrayOutput) ToAiDatasetArrayOutput() AiDatasetArrayOutput
- func (o AiDatasetArrayOutput) ToAiDatasetArrayOutputWithContext(ctx context.Context) AiDatasetArrayOutput
- type AiDatasetEncryptionSpec
- type AiDatasetEncryptionSpecArgs
- func (AiDatasetEncryptionSpecArgs) ElementType() reflect.Type
- func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecOutput() AiDatasetEncryptionSpecOutput
- func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecOutput
- func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput
- func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecPtrOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecPtrOutput
- type AiDatasetEncryptionSpecInput
- type AiDatasetEncryptionSpecOutput
- func (AiDatasetEncryptionSpecOutput) ElementType() reflect.Type
- func (o AiDatasetEncryptionSpecOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecOutput() AiDatasetEncryptionSpecOutput
- func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecOutput
- func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput
- func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecPtrOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecPtrOutput
- type AiDatasetEncryptionSpecPtrInput
- type AiDatasetEncryptionSpecPtrOutput
- func (o AiDatasetEncryptionSpecPtrOutput) Elem() AiDatasetEncryptionSpecOutput
- func (AiDatasetEncryptionSpecPtrOutput) ElementType() reflect.Type
- func (o AiDatasetEncryptionSpecPtrOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o AiDatasetEncryptionSpecPtrOutput) ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput
- func (o AiDatasetEncryptionSpecPtrOutput) ToAiDatasetEncryptionSpecPtrOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecPtrOutput
- type AiDatasetInput
- type AiDatasetMap
- type AiDatasetMapInput
- type AiDatasetMapOutput
- type AiDatasetOutput
- func (AiDatasetOutput) ElementType() reflect.Type
- func (o AiDatasetOutput) ToAiDatasetOutput() AiDatasetOutput
- func (o AiDatasetOutput) ToAiDatasetOutputWithContext(ctx context.Context) AiDatasetOutput
- func (o AiDatasetOutput) ToAiDatasetPtrOutput() AiDatasetPtrOutput
- func (o AiDatasetOutput) ToAiDatasetPtrOutputWithContext(ctx context.Context) AiDatasetPtrOutput
- type AiDatasetPtrInput
- type AiDatasetPtrOutput
- type AiDatasetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiDataset ¶
type AiDataset struct { pulumi.CustomResourceState // The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The user-defined name of the Dataset. The name can be up to 128 characters long and can be consist of any UTF-8 characters. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key. // Structure is documented below. EncryptionSpec AiDatasetEncryptionSpecPtrOutput `pulumi:"encryptionSpec"` // A set of key/value label pairs to assign to this Workflow. Labels pulumi.StringMapOutput `pulumi:"labels"` // Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. MetadataSchemaUri pulumi.StringOutput `pulumi:"metadataSchemaUri"` // The resource name of the Dataset. This value is set by Google. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The region of the dataset. eg us-central1 Region pulumi.StringOutput `pulumi:"region"` // The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to // nine fractional digits. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
A collection of DataItems and Annotations on them.
To get more information about Dataset, see:
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.datasets) * How-to Guides
- [Official Documentation](https://cloud.google.com/vertex-ai/docs)
## Example Usage ### Vertex Ai Dataset
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/vertex" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vertex.NewAiDataset(ctx, "dataset", &vertex.AiDatasetArgs{ DisplayName: pulumi.String("terraform"), MetadataSchemaUri: pulumi.String("gs://google-cloud-aiplatform/schema/dataset/metadata/image_1.0.0.yaml"), Region: pulumi.String("us-central1"), }) if err != nil { return err } return nil }) }
```
## Import
This resource does not support import.
func GetAiDataset ¶
func GetAiDataset(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AiDatasetState, opts ...pulumi.ResourceOption) (*AiDataset, error)
GetAiDataset gets an existing AiDataset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAiDataset ¶
func NewAiDataset(ctx *pulumi.Context, name string, args *AiDatasetArgs, opts ...pulumi.ResourceOption) (*AiDataset, error)
NewAiDataset registers a new resource with the given unique name, arguments, and options.
func (*AiDataset) ElementType ¶
func (*AiDataset) ToAiDatasetOutput ¶
func (i *AiDataset) ToAiDatasetOutput() AiDatasetOutput
func (*AiDataset) ToAiDatasetOutputWithContext ¶
func (i *AiDataset) ToAiDatasetOutputWithContext(ctx context.Context) AiDatasetOutput
func (*AiDataset) ToAiDatasetPtrOutput ¶
func (i *AiDataset) ToAiDatasetPtrOutput() AiDatasetPtrOutput
func (*AiDataset) ToAiDatasetPtrOutputWithContext ¶
func (i *AiDataset) ToAiDatasetPtrOutputWithContext(ctx context.Context) AiDatasetPtrOutput
type AiDatasetArgs ¶
type AiDatasetArgs struct { // The user-defined name of the Dataset. The name can be up to 128 characters long and can be consist of any UTF-8 characters. DisplayName pulumi.StringInput // Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key. // Structure is documented below. EncryptionSpec AiDatasetEncryptionSpecPtrInput // A set of key/value label pairs to assign to this Workflow. Labels pulumi.StringMapInput // Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. MetadataSchemaUri pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The region of the dataset. eg us-central1 Region pulumi.StringPtrInput }
The set of arguments for constructing a AiDataset resource.
func (AiDatasetArgs) ElementType ¶
func (AiDatasetArgs) ElementType() reflect.Type
type AiDatasetArray ¶
type AiDatasetArray []AiDatasetInput
func (AiDatasetArray) ElementType ¶
func (AiDatasetArray) ElementType() reflect.Type
func (AiDatasetArray) ToAiDatasetArrayOutput ¶
func (i AiDatasetArray) ToAiDatasetArrayOutput() AiDatasetArrayOutput
func (AiDatasetArray) ToAiDatasetArrayOutputWithContext ¶
func (i AiDatasetArray) ToAiDatasetArrayOutputWithContext(ctx context.Context) AiDatasetArrayOutput
type AiDatasetArrayInput ¶
type AiDatasetArrayInput interface { pulumi.Input ToAiDatasetArrayOutput() AiDatasetArrayOutput ToAiDatasetArrayOutputWithContext(context.Context) AiDatasetArrayOutput }
AiDatasetArrayInput is an input type that accepts AiDatasetArray and AiDatasetArrayOutput values. You can construct a concrete instance of `AiDatasetArrayInput` via:
AiDatasetArray{ AiDatasetArgs{...} }
type AiDatasetArrayOutput ¶
type AiDatasetArrayOutput struct{ *pulumi.OutputState }
func (AiDatasetArrayOutput) ElementType ¶
func (AiDatasetArrayOutput) ElementType() reflect.Type
func (AiDatasetArrayOutput) Index ¶
func (o AiDatasetArrayOutput) Index(i pulumi.IntInput) AiDatasetOutput
func (AiDatasetArrayOutput) ToAiDatasetArrayOutput ¶
func (o AiDatasetArrayOutput) ToAiDatasetArrayOutput() AiDatasetArrayOutput
func (AiDatasetArrayOutput) ToAiDatasetArrayOutputWithContext ¶
func (o AiDatasetArrayOutput) ToAiDatasetArrayOutputWithContext(ctx context.Context) AiDatasetArrayOutput
type AiDatasetEncryptionSpec ¶
type AiDatasetEncryptionSpec struct { // Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. // Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created. KmsKeyName *string `pulumi:"kmsKeyName"` }
type AiDatasetEncryptionSpecArgs ¶
type AiDatasetEncryptionSpecArgs struct { // Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. // Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created. KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"` }
func (AiDatasetEncryptionSpecArgs) ElementType ¶
func (AiDatasetEncryptionSpecArgs) ElementType() reflect.Type
func (AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecOutput ¶
func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecOutput() AiDatasetEncryptionSpecOutput
func (AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecOutputWithContext ¶
func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecOutput
func (AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecPtrOutput ¶
func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput
func (AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecPtrOutputWithContext ¶
func (i AiDatasetEncryptionSpecArgs) ToAiDatasetEncryptionSpecPtrOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecPtrOutput
type AiDatasetEncryptionSpecInput ¶
type AiDatasetEncryptionSpecInput interface { pulumi.Input ToAiDatasetEncryptionSpecOutput() AiDatasetEncryptionSpecOutput ToAiDatasetEncryptionSpecOutputWithContext(context.Context) AiDatasetEncryptionSpecOutput }
AiDatasetEncryptionSpecInput is an input type that accepts AiDatasetEncryptionSpecArgs and AiDatasetEncryptionSpecOutput values. You can construct a concrete instance of `AiDatasetEncryptionSpecInput` via:
AiDatasetEncryptionSpecArgs{...}
type AiDatasetEncryptionSpecOutput ¶
type AiDatasetEncryptionSpecOutput struct{ *pulumi.OutputState }
func (AiDatasetEncryptionSpecOutput) ElementType ¶
func (AiDatasetEncryptionSpecOutput) ElementType() reflect.Type
func (AiDatasetEncryptionSpecOutput) KmsKeyName ¶
func (o AiDatasetEncryptionSpecOutput) KmsKeyName() pulumi.StringPtrOutput
Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.
func (AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecOutput ¶
func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecOutput() AiDatasetEncryptionSpecOutput
func (AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecOutputWithContext ¶
func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecOutput
func (AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecPtrOutput ¶
func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput
func (AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecPtrOutputWithContext ¶
func (o AiDatasetEncryptionSpecOutput) ToAiDatasetEncryptionSpecPtrOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecPtrOutput
type AiDatasetEncryptionSpecPtrInput ¶
type AiDatasetEncryptionSpecPtrInput interface { pulumi.Input ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput ToAiDatasetEncryptionSpecPtrOutputWithContext(context.Context) AiDatasetEncryptionSpecPtrOutput }
AiDatasetEncryptionSpecPtrInput is an input type that accepts AiDatasetEncryptionSpecArgs, AiDatasetEncryptionSpecPtr and AiDatasetEncryptionSpecPtrOutput values. You can construct a concrete instance of `AiDatasetEncryptionSpecPtrInput` via:
AiDatasetEncryptionSpecArgs{...} or: nil
func AiDatasetEncryptionSpecPtr ¶
func AiDatasetEncryptionSpecPtr(v *AiDatasetEncryptionSpecArgs) AiDatasetEncryptionSpecPtrInput
type AiDatasetEncryptionSpecPtrOutput ¶
type AiDatasetEncryptionSpecPtrOutput struct{ *pulumi.OutputState }
func (AiDatasetEncryptionSpecPtrOutput) Elem ¶
func (o AiDatasetEncryptionSpecPtrOutput) Elem() AiDatasetEncryptionSpecOutput
func (AiDatasetEncryptionSpecPtrOutput) ElementType ¶
func (AiDatasetEncryptionSpecPtrOutput) ElementType() reflect.Type
func (AiDatasetEncryptionSpecPtrOutput) KmsKeyName ¶
func (o AiDatasetEncryptionSpecPtrOutput) KmsKeyName() pulumi.StringPtrOutput
Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created.
func (AiDatasetEncryptionSpecPtrOutput) ToAiDatasetEncryptionSpecPtrOutput ¶
func (o AiDatasetEncryptionSpecPtrOutput) ToAiDatasetEncryptionSpecPtrOutput() AiDatasetEncryptionSpecPtrOutput
func (AiDatasetEncryptionSpecPtrOutput) ToAiDatasetEncryptionSpecPtrOutputWithContext ¶
func (o AiDatasetEncryptionSpecPtrOutput) ToAiDatasetEncryptionSpecPtrOutputWithContext(ctx context.Context) AiDatasetEncryptionSpecPtrOutput
type AiDatasetInput ¶
type AiDatasetInput interface { pulumi.Input ToAiDatasetOutput() AiDatasetOutput ToAiDatasetOutputWithContext(ctx context.Context) AiDatasetOutput }
type AiDatasetMap ¶
type AiDatasetMap map[string]AiDatasetInput
func (AiDatasetMap) ElementType ¶
func (AiDatasetMap) ElementType() reflect.Type
func (AiDatasetMap) ToAiDatasetMapOutput ¶
func (i AiDatasetMap) ToAiDatasetMapOutput() AiDatasetMapOutput
func (AiDatasetMap) ToAiDatasetMapOutputWithContext ¶
func (i AiDatasetMap) ToAiDatasetMapOutputWithContext(ctx context.Context) AiDatasetMapOutput
type AiDatasetMapInput ¶
type AiDatasetMapInput interface { pulumi.Input ToAiDatasetMapOutput() AiDatasetMapOutput ToAiDatasetMapOutputWithContext(context.Context) AiDatasetMapOutput }
AiDatasetMapInput is an input type that accepts AiDatasetMap and AiDatasetMapOutput values. You can construct a concrete instance of `AiDatasetMapInput` via:
AiDatasetMap{ "key": AiDatasetArgs{...} }
type AiDatasetMapOutput ¶
type AiDatasetMapOutput struct{ *pulumi.OutputState }
func (AiDatasetMapOutput) ElementType ¶
func (AiDatasetMapOutput) ElementType() reflect.Type
func (AiDatasetMapOutput) MapIndex ¶
func (o AiDatasetMapOutput) MapIndex(k pulumi.StringInput) AiDatasetOutput
func (AiDatasetMapOutput) ToAiDatasetMapOutput ¶
func (o AiDatasetMapOutput) ToAiDatasetMapOutput() AiDatasetMapOutput
func (AiDatasetMapOutput) ToAiDatasetMapOutputWithContext ¶
func (o AiDatasetMapOutput) ToAiDatasetMapOutputWithContext(ctx context.Context) AiDatasetMapOutput
type AiDatasetOutput ¶
type AiDatasetOutput struct {
*pulumi.OutputState
}
func (AiDatasetOutput) ElementType ¶
func (AiDatasetOutput) ElementType() reflect.Type
func (AiDatasetOutput) ToAiDatasetOutput ¶
func (o AiDatasetOutput) ToAiDatasetOutput() AiDatasetOutput
func (AiDatasetOutput) ToAiDatasetOutputWithContext ¶
func (o AiDatasetOutput) ToAiDatasetOutputWithContext(ctx context.Context) AiDatasetOutput
func (AiDatasetOutput) ToAiDatasetPtrOutput ¶
func (o AiDatasetOutput) ToAiDatasetPtrOutput() AiDatasetPtrOutput
func (AiDatasetOutput) ToAiDatasetPtrOutputWithContext ¶
func (o AiDatasetOutput) ToAiDatasetPtrOutputWithContext(ctx context.Context) AiDatasetPtrOutput
type AiDatasetPtrInput ¶
type AiDatasetPtrInput interface { pulumi.Input ToAiDatasetPtrOutput() AiDatasetPtrOutput ToAiDatasetPtrOutputWithContext(ctx context.Context) AiDatasetPtrOutput }
type AiDatasetPtrOutput ¶
type AiDatasetPtrOutput struct {
*pulumi.OutputState
}
func (AiDatasetPtrOutput) ElementType ¶
func (AiDatasetPtrOutput) ElementType() reflect.Type
func (AiDatasetPtrOutput) ToAiDatasetPtrOutput ¶
func (o AiDatasetPtrOutput) ToAiDatasetPtrOutput() AiDatasetPtrOutput
func (AiDatasetPtrOutput) ToAiDatasetPtrOutputWithContext ¶
func (o AiDatasetPtrOutput) ToAiDatasetPtrOutputWithContext(ctx context.Context) AiDatasetPtrOutput
type AiDatasetState ¶
type AiDatasetState struct { // The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. CreateTime pulumi.StringPtrInput // The user-defined name of the Dataset. The name can be up to 128 characters long and can be consist of any UTF-8 characters. DisplayName pulumi.StringPtrInput // Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key. // Structure is documented below. EncryptionSpec AiDatasetEncryptionSpecPtrInput // A set of key/value label pairs to assign to this Workflow. Labels pulumi.StringMapInput // Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. MetadataSchemaUri pulumi.StringPtrInput // The resource name of the Dataset. This value is set by Google. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The region of the dataset. eg us-central1 Region pulumi.StringPtrInput // The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to // nine fractional digits. UpdateTime pulumi.StringPtrInput }
func (AiDatasetState) ElementType ¶
func (AiDatasetState) ElementType() reflect.Type