Service Client: Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessControlServiceClient
Client stub representing the remote DataAccessControlService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to chronicle.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Chronicle::V1::DataAccessControl - Compiled Protocol Buffers messages for google/cloud/chronicle/v1/data_access_control.proto
SYNOPSIS
use Google::Cloud::Chronicle::V1::DataAccessControl;
my $msg = Google::Cloud::Chronicle::V1::DataAccessControl::CreateDataAccessLabelRequest->new({
parent => $parent,
data_access_label => $data_access_label,
data_access_label_id => $data_access_label_id,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Chronicle::V1::DataAccessControl::CreateDataAccessLabelRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/chronicle/v1/data_access_control.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Chronicle::V1::DataAccessControl::CreateDataAccessLabelRequest
Request message for CreateDataAccessLabel.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this Data Access Label will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->data_access_label()/$msg->data_access_label($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabel)Required. Data access label to create.
$msg->data_access_label_id()/$msg->data_access_label_id($value)Type:
StringRequired. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments
Google::Cloud::Chronicle::V1::DataAccessControl::GetDataAccessLabelRequest
Request message to retrieve a data access label.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The ID of the data access label to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`
Google::Cloud::Chronicle::V1::DataAccessControl::ListDataAccessLabelsRequest
Request message for ListDataAccessLabels.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this data access label will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of data access labels to return. The service may return fewer than this value. If unspecified, at most 100 data access labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListDataAccessLabelsRequest` call. Provide this to retrieve the subsequent page.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessLabel and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".
Google::Cloud::Chronicle::V1::DataAccessControl::ListDataAccessLabelsResponse
Response message for ListDataAccessLabels.
Inherits from Protobuf::Message.
Accessors
$msg->data_access_labels()/$msg->data_access_labels($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabel)List of data access labels.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Chronicle::V1::DataAccessControl::UpdateDataAccessLabelRequest
Request message for UpdateDataAccessLabel method.
Inherits from Protobuf::Message.
Accessors
$msg->data_access_label()/$msg->data_access_label($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabel)Required. The data access label to update.
The label's `name` field is used to identify the label to update. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description and definition fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.
Google::Cloud::Chronicle::V1::DataAccessControl::DeleteDataAccessLabelRequest
Request message to delete a data access label.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The ID of the data access label to delete. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`
Google::Cloud::Chronicle::V1::DataAccessControl::CreateDataAccessScopeRequest
Request message for CreateDataAccessScope.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this Data Access Scope will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->data_access_scope()/$msg->data_access_scope($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessScope)Required. Data access scope to create.
$msg->data_access_scope_id()/$msg->data_access_scope_id($value)Type:
StringRequired. The user provided scope id which will become the last part of the name of the scope resource. Needs to be compliant with https://google.aip.dev/122
Google::Cloud::Chronicle::V1::DataAccessControl::GetDataAccessScopeRequest
Request message to retrieve a data access scope.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The ID of the data access scope to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
Google::Cloud::Chronicle::V1::DataAccessControl::ListDataAccessScopesRequest
Request message for ListDataAccessScopes.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this data access scope will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of data access scopes to return. The service may return fewer than this value. If unspecified, at most 100 data access scopes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListDataAccessScopesRequest` call. Provide this to retrieve the subsequent page.
$msg->filter()/$msg->filter($value)Type:
StringOptional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessScope and all operations as mentioned in https://google.aip.dev/160. example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR display_name:\"-21-1\"".
Google::Cloud::Chronicle::V1::DataAccessControl::ListDataAccessScopesResponse
Response message for ListDataAccessScopes.
Inherits from Protobuf::Message.
Accessors
$msg->data_access_scopes()/$msg->data_access_scopes($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessScope)List of data access scopes.
$msg->global_data_access_scope_granted()/$msg->global_data_access_scope_granted($value)Type:
BoolWhether or not global scope is granted to the user.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Chronicle::V1::DataAccessControl::UpdateDataAccessScopeRequest
Request message for UpdateDataAccessScope method.
Inherits from Protobuf::Message.
Accessors
$msg->data_access_scope()/$msg->data_access_scope($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessScope)Required. The data access scope to update.
The scope's `name` field is used to identify the scope to update. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The list of fields to update. If not included, all fields with a non-empty value will be overwritten. Currently, only the description, the allowed and denied labels list fields are supported for update; an update call that attempts to update any other fields will return INVALID_ARGUMENT.
Google::Cloud::Chronicle::V1::DataAccessControl::DeleteDataAccessScopeRequest
Request message to delete a data access scope.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The ID of the data access scope to delete. Format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabel
A DataAccessLabel is a label on events to define user access to data.
Inherits from Protobuf::Message.
Accessors
$msg->udm_query()/$msg->udm_query($value)Type:
StringA UDM query over event data.
$msg->name()/$msg->name($value)Type:
StringThe unique resource name of the data access label.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The short name displayed for the label as it appears on event data.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the data access label was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the data access label was last updated.
$msg->author()/$msg->author($value)Type:
StringOutput only. The user who created the data access label.
$msg->last_editor()/$msg->last_editor($value)Type:
StringOutput only. The user who last updated the data access label.
$msg->description()/$msg->description($value)Type:
StringOptional. A description of the data access label for a human reader.
Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessScope
A DataAccessScope is a boolean expression of data access labels used to restrict access to data for users.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique full name of the data access scope. The name should comply with https://google.aip.dev/122 standards.
$msg->allowed_data_access_labels()/$msg->allowed_data_access_labels($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabelReference)Optional. The allowed labels for the scope. Either allow_all or allowed_data_access_labels needs to be provided. When provided, 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).
$msg->denied_data_access_labels()/$msg->denied_data_access_labels($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabelReference)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.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The name to be used for display to customers of the data access scope.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the data access scope was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the data access scope was last updated.
$msg->author()/$msg->author($value)Type:
StringOutput only. The user who created the data access scope.
$msg->last_editor()/$msg->last_editor($value)Type:
StringOutput only. The user who last updated the data access scope.
$msg->description()/$msg->description($value)Type:
StringOptional. A description of the data access scope for a human reader.
$msg->allow_all()/$msg->allow_all($value)Type:
BoolOptional. Whether or not the scope allows all labels, allow_all and allowed_data_access_labels are mutually exclusive and one of them must be present. denied_data_access_labels can still be used along with allow_all. When combined with denied_data_access_labels, access will be granted to all data that doesn't have labels mentioned in denied_data_access_labels. E.g.: A customer with scope with denied labels A and B and allow_all will be able to see all data except data labeled with A and data labeled with B and data with labels A and B.
Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessLabelReference
Reference object to a data access label.
Inherits from Protobuf::Message.
Accessors
$msg->data_access_label()/$msg->data_access_label($value)Type:
StringThe name of the data access label.
$msg->log_type()/$msg->log_type($value)Type:
StringThe name of the log type.
$msg->asset_namespace()/$msg->asset_namespace($value)Type:
StringThe asset namespace configured in the forwarder of the customer's events.
$msg->ingestion_label()/$msg->ingestion_label($value)Type:
Message(Google::Cloud::Chronicle::V1::DataAccessControl::IngestionLabel)The ingestion label configured in the forwarder of the customer's events.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput 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.
Google::Cloud::Chronicle::V1::DataAccessControl::IngestionLabel
Representation of an ingestion label type.
Inherits from Protobuf::Message.
Accessors
$msg->ingestion_label_key()/$msg->ingestion_label_key($value)Type:
StringRequired. The key of the ingestion label. Always required.
$msg->ingestion_label_value()/$msg->ingestion_label_value($value)Type:
StringOptional. 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.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Chronicle::V1::DataAccessControl::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.