canonicalName = $canonicalName; } /** * @return string */ public function getCanonicalName() { return $this->canonicalName; } /** * 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) * * @param string[] $marks */ public function setMarks($marks) { $this->marks = $marks; } /** * @return string[] */ public function getMarks() { return $this->marks; } /** * The relative resource name of the SecurityMarks. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/ * securityMarks". * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudSecuritycenterV1p1beta1SecurityMarks::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV1p1beta1SecurityMarks');