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 ( |
name
string
Identifier. name of resource
createTime
string (
Timestamp
format)
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: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
updateTime
string (
Timestamp
format)
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: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
labels
map (key: string, value: string)
Labels as key value pairs
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
uid
string
Output only. System generated unique identifier for the resource.
organizationNumber
string ( int64
format)
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
boolean
If set to true
, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
retentionPeriodDays
integer
Number of days of history that must be retained.
link
object (
Link
)
Details of the linked dataset.
identity
object (
Identity
)
Identity used by this datasetConfig
.
status
object (
Status
)
Output only. Status of the datasetConfig
.
datasetConfigState
enum (
ConfigState
)
Output only. State of the datasetConfig
.
description
string
Optional. A user-provided description for the dataset configuration.
Maximum length: 256 characters.
sourceProjects
object (
SourceProjects
)
Defines the options for providing source projects for the dataset.
sourceFolders
object (
SourceFolders
)
Defines the options for providing source folders for the dataset.
organizationScope
boolean
Defines the options for providing a source organization for the dataset.
cloudStorageObjectPath
string
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:
- Project number, formatted as
projects/{projectNumber}
, for example,projects/1234567890
. - Folder identifier, formatted as
folders/{folder_number}
, for example,folders/9876543210
. Path must be in the formatgs://{bucketName}/{objectName}
.
cloud_storage_locations
. Cloud Storage locations to include or exclude. cloud_storage_locations
can be only one of the following:includeCloudStorageLocations
object (
CloudStorageLocations
)
excludeCloudStorageLocations
object (
CloudStorageLocations
)
cloud_storage_buckets
. Cloud Storage buckets to include or exclude. cloud_storage_buckets
can be only one of the following:includeCloudStorageBuckets
object (
CloudStorageBuckets
)
excludeCloudStorageBuckets
object (
CloudStorageBuckets
)
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 |
Union field cloud_storage_bucket
.
cloud_storage_bucket
can be only one of the following:
bucketName
string
Cloud Storage bucket name.
bucketPrefixRegex
string
A regex pattern for bucket names matching the regex. Regex should follow the syntax specified in google/re2
on GitHub.
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. |