#[non_exhaustive]pub struct SecurityMarks {
pub name: String,
pub marks: HashMap<String, String>,
pub canonical_name: String,
/* private fields */
}Expand description
User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization – they can be modified and viewed by all users who have proper permissions on the organization.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples:
organizations/{organization_id}/assets/{asset_id}/securityMarks
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks
+
organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks
marks: HashMap<String, String>Mutable user specified security marks belonging to the parent resource. Constraints are as follows:
- Keys and values are treated as case insensitive
- Keys must be between 1 - 256 characters (inclusive)
- Keys must be letters, numbers, underscores, or dashes
- Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
canonical_name: StringThe canonical name of the marks. The following list shows some examples:
organizations/{organization_id}/assets/{asset_id}/securityMarks
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks
+
organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks
folders/{folder_id}/assets/{asset_id}/securityMarks
folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks
+
folders/{folder_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks
projects/{project_number}/assets/{asset_id}/securityMarks
projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks
+
projects/{project_number}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks
Implementations§
Source§impl SecurityMarks
impl SecurityMarks
Trait Implementations§
Source§impl Clone for SecurityMarks
impl Clone for SecurityMarks
Source§fn clone(&self) -> SecurityMarks
fn clone(&self) -> SecurityMarks
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SecurityMarks
impl Debug for SecurityMarks
Source§impl Default for SecurityMarks
impl Default for SecurityMarks
Source§fn default() -> SecurityMarks
fn default() -> SecurityMarks
Source§impl Message for SecurityMarks
impl Message for SecurityMarks
Source§impl PartialEq for SecurityMarks
impl PartialEq for SecurityMarks
impl StructuralPartialEq for SecurityMarks
Auto Trait Implementations§
impl Freeze for SecurityMarks
impl RefUnwindSafe for SecurityMarks
impl Send for SecurityMarks
impl Sync for SecurityMarks
impl Unpin for SecurityMarks
impl UnsafeUnpin for SecurityMarks
impl UnwindSafe for SecurityMarks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request