Resource: DatasetConfig
Message describing the dataset configuration properties. For more information, see Dataset configuration properties.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "uid": string, "organizationNumber": string, "includeNewlyCreatedBuckets": boolean, "retentionPeriodDays": integer, "link": { object ( |
Fields | |
---|---|
name |
Identifier. name of resource |
createTime |
Output only. The UTC time at which the dataset configuration was created. This is auto-populated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The UTC time at which the dataset configuration was last updated. This is auto-populated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Labels as key value pairs An object containing a list of |
uid |
Output only. System generated unique identifier for the resource. |
organizationNumber |
Optional. Organization resource ID that the source projects should belong to. Projects that do not belong to the provided organization are not considered when creating the dataset. |
includeNewlyCreatedBuckets |
If set to |
retentionPeriodDays |
Number of days of history that must be retained. |
link |
Details of the linked dataset. |
identity |
Identity used by this |
status |
Output only. Status of the |
datasetConfigState |
Output only. State of the |
description |
Optional. A user-provided description for the dataset configuration. Maximum length: 256 characters. |
Union field source_options . Defines the options for providing source identifiers for the dataset. source_options can be only one of the following: |
|
sourceProjects |
Defines the options for providing source projects for the dataset. |
sourceFolders |
Defines the options for providing source folders for the dataset. |
organizationScope |
Defines the options for providing a source organization for the dataset. |
cloudStorageObjectPath |
Input only. Cloud Storage object path containing a list of project or folder numbers to include in the dataset; it cannot contain a mix of project and folders. The object must be a text file where each line has one of the following entries:
|
Union field cloud_storage_locations . Cloud Storage locations to include or exclude. cloud_storage_locations can be only one of the following: |
|
includeCloudStorageLocations |
|
excludeCloudStorageLocations |
|
Union field cloud_storage_buckets . Cloud Storage buckets to include or exclude. cloud_storage_buckets can be only one of the following: |
|
includeCloudStorageBuckets |
|
excludeCloudStorageBuckets |
|
SourceProjects
Collection of project numbers
JSON representation |
---|
{ "projectNumbers": [ string ] } |
Fields | |
---|---|
projectNumbers[] |
|
SourceFolders
Specifies a set of folders to include in the dataset
JSON representation |
---|
{ "folderNumbers": [ string ] } |
Fields | |
---|---|
folderNumbers[] |
Optional. The list of folder numbers to include in the dataset. |
CloudStorageLocations
Collection of Cloud Storage locations.
JSON representation |
---|
{ "locations": [ string ] } |
Fields | |
---|---|
locations[] |
|
CloudStorageBuckets
Collection of Cloud Storage buckets.
JSON representation |
---|
{
"cloudStorageBuckets": [
{
object ( |
Fields | |
---|---|
cloudStorageBuckets[] |
|
CloudStorageBucket
Defines the bucket by its name or a regex pattern to match buckets.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
bucketName |
Cloud Storage bucket name. |
bucketPrefixRegex |
A regex pattern for bucket names matching the regex. Regex should follow the syntax specified in |
Link
Defines the details about the linked dataset.
JSON representation |
---|
{ "dataset": string, "linked": boolean } |
Fields | |
---|---|
dataset |
Output only. Dataset name for linked dataset. |
linked |
Output only. State of the linked dataset. |
Identity
Identity lets the user provide the type of identity to use, and outputs the identity string that can be used for IAM policy changes.
JSON representation |
---|
{
"name": string,
"type": enum ( |
Fields | |
---|---|
name |
Output only. Name of the identity. |
type |
Type of identity to use for the datasetConfig. |
IdentityType
Type of service account to use for the dataset configuration.
Enums | |
---|---|
IDENTITY_TYPE_UNSPECIFIED |
Default is unspecified and should not be used. |
IDENTITY_TYPE_PER_CONFIG |
Google managed service account per resource. |
IDENTITY_TYPE_PER_PROJECT |
Google managed service account per project. |
ConfigState
State of the configuration.
Enums | |
---|---|
CONFIG_STATE_UNSPECIFIED |
Unspecified state. |
CONFIG_STATE_ACTIVE |
Active configuration indicates that the configuration is actively ingesting data. |
CONFIG_STATE_VERIFICATION_IN_PROGRESS |
In this state, the configuration is being verified for various permissions. |
CONFIG_STATE_CREATED |
Configuration is created and further processing needs to happen. |
CONFIG_STATE_PROCESSING |
Configuration is under processing |
Methods |
|
---|---|
|
Creates a dataset configuration in a given project for a given location. |
|
Deletes a dataset configuration in a given project for a given location. |
|
Gets the dataset configuration in a given project for a given location. |
|
Links a dataset to BigQuery in a given project for a given location. |
|
Lists the dataset configurations in a given project for a given location. |
|
Updates a dataset configuration in a given project for a given location. |
|
Unlinks a dataset from BigQuery in a given project for a given location. |