Required. 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
Required. 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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface CreateDataAccessLabelRequestOrBuilder (0.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.0 (latest)](/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.CreateDataAccessLabelRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-chronicle/0.8.0/com.google.cloud.chronicle.v1.CreateDataAccessLabelRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-chronicle/0.6.0/com.google.cloud.chronicle.v1.CreateDataAccessLabelRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-chronicle/0.5.0/com.google.cloud.chronicle.v1.CreateDataAccessLabelRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-chronicle/0.2.0/com.google.cloud.chronicle.v1.CreateDataAccessLabelRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-chronicle/0.1.0/com.google.cloud.chronicle.v1.CreateDataAccessLabelRequestOrBuilder) \n\n public interface CreateDataAccessLabelRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDataAccessLabel()\n\n public abstract DataAccessLabel getDataAccessLabel()\n\nRequired. Data access label to create.\n\n`\n.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getDataAccessLabelId()\n\n public abstract String getDataAccessLabelId()\n\nRequired. The ID to use for the data access label, which will become the\nlabel's display name and the final component of the label's resource name.\nThe maximum number of characters should be 63. Regex pattern is as per AIP:\n\u003chttps://google.aip.dev/122#resource-id-segments\u003e\n\n`string data_access_label_id = 3 [(.google.api.field_behavior) = REQUIRED];`\n\n### getDataAccessLabelIdBytes()\n\n public abstract ByteString getDataAccessLabelIdBytes()\n\nRequired. The ID to use for the data access label, which will become the\nlabel's display name and the final component of the label's resource name.\nThe maximum number of characters should be 63. Regex pattern is as per AIP:\n\u003chttps://google.aip.dev/122#resource-id-segments\u003e\n\n`string data_access_label_id = 3 [(.google.api.field_behavior) = REQUIRED];`\n\n### getDataAccessLabelOrBuilder()\n\n public abstract DataAccessLabelOrBuilder getDataAccessLabelOrBuilder()\n\nRequired. Data access label to create.\n\n`\n.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. The parent resource where this Data Access Label will be created.\nFormat: `projects/{project}/locations/{location}/instances/{instance}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. The parent resource where this Data Access Label will be created.\nFormat: `projects/{project}/locations/{location}/instances/{instance}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### hasDataAccessLabel()\n\n public abstract boolean hasDataAccessLabel()\n\nRequired. Data access label to create.\n\n`\n.google.cloud.chronicle.v1.DataAccessLabel data_access_label = 2 [(.google.api.field_behavior) = REQUIRED];\n`"]]