displayName = $displayName; } /** * @deprecated * @return string */ public function getDisplayName() { return $this->displayName; } /** * Output only. [Output Only] The name of the firewall policy. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. [Output Only] The packet mirroring rules that apply to the * instance. * * @param FirewallPolicyRule[] $packetMirroringRules */ public function setPacketMirroringRules($packetMirroringRules) { $this->packetMirroringRules = $packetMirroringRules; } /** * @return FirewallPolicyRule[] */ public function getPacketMirroringRules() { return $this->packetMirroringRules; } /** * Output only. [Output only] Priority of firewall policy association. Not * applicable for type=HIERARCHY. * * @param int $priority */ public function setPriority($priority) { $this->priority = $priority; } /** * @return int */ public function getPriority() { return $this->priority; } /** * [Output Only] The rules that apply to the instance. Only rules that target * the specific VM instance are returned if target service accounts or target * secure tags are specified in the rules. * * @param FirewallPolicyRule[] $rules */ public function setRules($rules) { $this->rules = $rules; } /** * @return FirewallPolicyRule[] */ public function getRules() { return $this->rules; } /** * Output only. [Output Only] The short name of the firewall policy. * * @param string $shortName */ public function setShortName($shortName) { $this->shortName = $shortName; } /** * @return string */ public function getShortName() { return $this->shortName; } /** * Output only. [Output Only] The type of the firewall policy. Can be one of * HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. * * Accepted values: HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, * SYSTEM_REGIONAL, UNSPECIFIED * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy::class, 'Google_Service_Compute_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy');