Resource: DataAccessScope
A DataAccessScope is a boolean expression of data access labels used to restrict access to data for users.
JSON representation |
---|
{ "name": string, "allowed_data_access_labels": [ { object ( |
Fields | |
---|---|
name |
Required. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards. |
allowed_data_access_labels[] |
Required. The allowed labels for the scope. There has to be at least one label allowed for the scope to be valid. The logical operator for evaluation of the allowed labels is OR. E.g.: A customer with scope with allowed labels A and B will be able to see data with labeled with A or B or (A and B). |
denied_data_access_labels[] |
Optional. The denied labels for the scope. The logical operator for evaluation of the denied labels is AND. E.g.: A customer with scope with denied labels A and B won't be able to see data labeled with A and data labeled with B and data with labels A and B. |
display_name |
Output only. The name to be used for display to customers of the data access scope. |
create_time |
Output only. The time at which the data access scope was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update_time |
Output only. The time at which the data access scope was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
author |
Output only. The user who created the data access scope. |
last_editor |
Output only. The user who last updated the data access scope. |
description |
Optional. A description of the data access scope for a human reader. |
DataAccessLabelReference
Reference object to a data access label.
JSON representation |
---|
{ "display_name": string, // Union field |
Fields | |
---|---|
display_name |
Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple. |
Union field label . The unique identifier for the label. label can be only one of the following: |
|
data_access_label |
The name of the data access label. |
log_type |
The name of the log type. |
asset_namespace |
The asset namespace configured in the forwarder of the customer's events. |
ingestion_label |
The ingestion label configured in the forwarder of the customer's events. |
IngestionLabel
Representation of an ingestion label type.
JSON representation |
---|
{ "ingestion_label_key": string, "ingestion_label_value": string } |
Fields | |
---|---|
ingestion_label_key |
Required. The key of the ingestion label. Always required. |
ingestion_label_value |
Optional. The value of the ingestion label. Optional. An object with no provided value and some key provided would match against the given key and ANY value. |
Methods |
|
---|---|
|
Creates a data access scope. |
|
Deletes a data access scope. |
|
Retrieves an existing data access scope. |
|
Lists all existing data access scopes for the customer. |
|
Updates a data access scope. |