Documentation ¶
Index ¶
Constants ¶
View Source
const ( READER = "READER" WRITER = "WRITER" OWNER = "OWNER" )
Variables ¶
This section is empty.
Functions ¶
func DatasetRole ¶
func DatasetRole(role string) (bq.AccessRole, error)
func PermitDataset ¶
func ProjectRole ¶
Types ¶
type ProjectPolicy ¶
type ProjectPolicy struct { Bindings []struct { Role string `json:"role"` Members []string `json:"members"` } `json:"bindings"` Etag string `json:"etag"` Version int `json:"version"` }
func FetchCurrentPolicy ¶ added in v0.4.0
func FetchCurrentPolicy(project string) (*ProjectPolicy, error)
Click to show internal directories.
Click to hide internal directories.