DatasetAccessEntry

Grants all resources of particular types in a particular dataset read access to the current dataset.

Similar to how individually authorized views work, updates to any resource granted through its dataset (including creation of new resources) requires read permission to referenced resources, plus write permission to the authorizing dataset.

JSON representation
{
  "dataset": {
    object (DatasetReference)
  },
  "targetTypes": [
    enum (DatasetAccessEntry.TargetType)
  ]
}
Fields
dataset

object (DatasetReference)

The dataset this entry applies to

targetTypes[]

enum (DatasetAccessEntry.TargetType)

Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future.

DatasetReference

Identifier for a dataset.

JSON representation
{
  "datasetId": string,
  "projectId": string
}
Fields
datasetId

string

Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

projectId

string

Optional. The ID of the project containing this dataset.