1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1
  6. Dataset

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.healthcare/v1.Dataset

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new health dataset. Results are returned through the Operation interface which returns either an Operation.response which contains a Dataset or Operation.error. The metadata field type is OperationMetadata.

Create Dataset Resource

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

Constructor syntax

new Dataset(name: string, args?: DatasetArgs, opts?: CustomResourceOptions);
@overload
def Dataset(resource_name: str,
            args: Optional[DatasetArgs] = None,
            opts: Optional[ResourceOptions] = None)

@overload
def Dataset(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            dataset_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            time_zone: Optional[str] = None)
func NewDataset(ctx *Context, name string, args *DatasetArgs, opts ...ResourceOption) (*Dataset, error)
public Dataset(string name, DatasetArgs? args = null, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: google-native:healthcare/v1:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args DatasetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args DatasetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args DatasetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args DatasetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DatasetArgs
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 exampledatasetResourceResourceFromHealthcarev1 = new GoogleNative.Healthcare.V1.Dataset("exampledatasetResourceResourceFromHealthcarev1", new()
{
    DatasetId = "string",
    Location = "string",
    Name = "string",
    Project = "string",
    TimeZone = "string",
});
Copy
example, err := healthcare.NewDataset(ctx, "exampledatasetResourceResourceFromHealthcarev1", &healthcare.DatasetArgs{
	DatasetId: pulumi.String("string"),
	Location:  pulumi.String("string"),
	Name:      pulumi.String("string"),
	Project:   pulumi.String("string"),
	TimeZone:  pulumi.String("string"),
})
Copy
var exampledatasetResourceResourceFromHealthcarev1 = new Dataset("exampledatasetResourceResourceFromHealthcarev1", DatasetArgs.builder()
    .datasetId("string")
    .location("string")
    .name("string")
    .project("string")
    .timeZone("string")
    .build());
Copy
exampledataset_resource_resource_from_healthcarev1 = google_native.healthcare.v1.Dataset("exampledatasetResourceResourceFromHealthcarev1",
    dataset_id="string",
    location="string",
    name="string",
    project="string",
    time_zone="string")
Copy
const exampledatasetResourceResourceFromHealthcarev1 = new google_native.healthcare.v1.Dataset("exampledatasetResourceResourceFromHealthcarev1", {
    datasetId: "string",
    location: "string",
    name: "string",
    project: "string",
    timeZone: "string",
});
Copy
type: google-native:healthcare/v1:Dataset
properties:
    datasetId: string
    location: string
    name: string
    project: string
    timeZone: string
Copy

Dataset 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 Dataset resource accepts the following input properties:

DatasetId string
The ID of the dataset that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
Location Changes to this property will trigger replacement. string
Name string
Resource name of the dataset, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
Project Changes to this property will trigger replacement. string
TimeZone string
The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
DatasetId string
The ID of the dataset that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
Location Changes to this property will trigger replacement. string
Name string
Resource name of the dataset, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
Project Changes to this property will trigger replacement. string
TimeZone string
The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
datasetId String
The ID of the dataset that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
location Changes to this property will trigger replacement. String
name String
Resource name of the dataset, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
project Changes to this property will trigger replacement. String
timeZone String
The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
datasetId string
The ID of the dataset that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
location Changes to this property will trigger replacement. string
name string
Resource name of the dataset, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
project Changes to this property will trigger replacement. string
timeZone string
The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
dataset_id str
The ID of the dataset that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
location Changes to this property will trigger replacement. str
name str
Resource name of the dataset, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
project Changes to this property will trigger replacement. str
time_zone str
The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
datasetId String
The ID of the dataset that is being created. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}.
location Changes to this property will trigger replacement. String
name String
Resource name of the dataset, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
project Changes to this property will trigger replacement. String
timeZone String
The default timezone used by this dataset. Must be a either a valid IANA time zone name such as "America/New_York" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi