Request message for CreateDataAccessLabel.
Fields
parent
Required. The parent resource where this Data Access Label will be created.
Format: projects/{project}/locations/{location}/instances/{instance}
data_access_label
Required. Data access label to create.
data_access_label_id
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
Implementations
new
fn new() -> Self
set_parent
fn set_parent<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [parent][crate::model::CreateDataAccessLabelRequest::parent].
set_data_access_label
fn set_data_access_label<T>(self, v: T) -> Self
where
T: std::convert::Into<crate::model::DataAccessLabel>,
Sets the value of [data_access_label][crate::model::CreateDataAccessLabelRequest::data_access_label].
set_or_clear_data_access_label
fn set_or_clear_data_access_label<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<crate::model::DataAccessLabel>,
Sets or clears the value of [data_access_label][crate::model::CreateDataAccessLabelRequest::data_access_label].
set_data_access_label_id
fn set_data_access_label_id<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [data_access_label_id][crate::model::CreateDataAccessLabelRequest::data_access_label_id].