Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ManagedRuleset.
Represents a ManagedRuleset resource.
Managed internally by Cloud Armor CLH for Managed Rules features. Customers can only view these resources to modify their Security Policies. For more information, see https://cloud.google.com/armor/docs/.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#change_log
def change_log() -> ::String
Returns
- (::String) — Output only. [Output Only] The change log for this managed ruleset.
#change_log=
def change_log=(value) -> ::String
Parameter
- value (::String) — Output only. [Output Only] The change log for this managed ruleset.
Returns
- (::String) — Output only. [Output Only] The change log for this managed ruleset.
#creation_timestamp
def creation_timestamp() -> ::String
Returns
- (::String) — Output only. [Output Only] Creation timestamp in RFC3339 text format.
#creation_timestamp=
def creation_timestamp=(value) -> ::String
Parameter
- value (::String) — Output only. [Output Only] Creation timestamp in RFC3339 text format.
Returns
- (::String) — Output only. [Output Only] Creation timestamp in RFC3339 text format.
#description
def description() -> ::String
Returns
- (::String) — [Output Only] An optional description of this resource.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — [Output Only] An optional description of this resource.
Returns
- (::String) — [Output Only] An optional description of this resource.
#id
def id() -> ::Integer
Returns
- (::Integer) — Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#id=
def id=(value) -> ::Integer
Parameter
- value (::Integer) — Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
Returns
- (::Integer) — Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
#name
def name() -> ::String
Returns
-
(::String) — Name of the resource. Generated internally when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Name of the resource. Generated internally when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Returns
-
(::String) — Name of the resource. Generated internally when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression
[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
#rule_ids
def rule_ids() -> ::Array<::String>
Returns
- (::Array<::String>) — Output only. [Output Only] The list of managed rule IDs that are included in this managed ruleset.
#rule_ids=
def rule_ids=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Output only. [Output Only] The list of managed rule IDs that are included in this managed ruleset.
Returns
- (::Array<::String>) — Output only. [Output Only] The list of managed rule IDs that are included in this managed ruleset.
#ruleset_id
def ruleset_id() -> ::String
Returns
- (::String) — Output only. [Output Only] The managed ruleset identifier that can be configured in Security Policy rules.
#ruleset_id=
def ruleset_id=(value) -> ::String
Parameter
- value (::String) — Output only. [Output Only] The managed ruleset identifier that can be configured in Security Policy rules.
Returns
- (::String) — Output only. [Output Only] The managed ruleset identifier that can be configured in Security Policy rules.
#self_link
def self_link() -> ::String
Returns
- (::String) — Output only. [Output Only] Server-defined URL for the resource.
#self_link=
def self_link=(value) -> ::String
Parameter
- value (::String) — Output only. [Output Only] Server-defined URL for the resource.
Returns
- (::String) — Output only. [Output Only] Server-defined URL for the resource.