public sealed class DataAccessSpec : IMessage<DataAccessSpec>, IEquatable<DataAccessSpec>, IDeepCloneable<DataAccessSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Dataplex v1 API class DataAccessSpec.
DataAccessSpec holds the access control configuration to be enforced on data
stored within resources (eg: rows, columns in BigQuery Tables). When
associated with data, the data is only accessible to
principals explicitly granted access through the DataAccessSpec. Principals
with access to the containing resource are not implicitly granted access.
Optional. The format of strings follows the pattern followed by IAM in the
bindings. user:{email}, serviceAccount:{email} group:{email}.
The set of principals to be granted reader role on data
stored within resources.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDataAccessSpec\u003c/code\u003e class in the Google Cloud Dataplex v1 API controls access to data stored in resources, enforcing explicit access grants and not inheriting permissions from the containing resource.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version of the \u003ccode\u003eDataAccessSpec\u003c/code\u003e API, while the page specifically documents version 2.10.0, with a range of older versions listed for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataAccessSpec\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReaders\u003c/code\u003e property of \u003ccode\u003eDataAccessSpec\u003c/code\u003e defines the set of principals, such as users or service accounts, that have read access to data, using IAM-like string patterns for defining these principals.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one and one that takes another DataAccessSpec as a parameter, and it inherits members such as GetHashCode(), GetType() and ToString() from the base Object class.\u003c/p\u003e\n"]]],[],null,[]]