Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataAccessSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataAccessSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#readers ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataAccessSpec
constructor
A new instance of GoogleCloudDataplexV1DataAccessSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataAccessSpec
Returns a new instance of GoogleCloudDataplexV1DataAccessSpec.
1320 1321 1322 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#readers ⇒ Array<String>
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.
Corresponds to the JSON property readers
1318 1319 1320 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1318 def readers @readers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1325 1326 1327 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1325 def update!(**args) @readers = args[:readers] if args.key?(:readers) end |