Network Security V1 API - Class Google::Cloud::NetworkSecurity::V1::SecurityProfile (v0.1.0)

Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::SecurityProfile.

SecurityProfile is a resource that defines the behavior for one of many ProfileTypes.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#custom_intercept_profile

def custom_intercept_profile() -> ::Google::Cloud::NetworkSecurity::V1::CustomInterceptProfile
Returns
  • (::Google::Cloud::NetworkSecurity::V1::CustomInterceptProfile) — The custom TPPI configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: custom_intercept_profile, threat_prevention_profile, custom_mirroring_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#custom_intercept_profile=

def custom_intercept_profile=(value) -> ::Google::Cloud::NetworkSecurity::V1::CustomInterceptProfile
Parameter
  • value (::Google::Cloud::NetworkSecurity::V1::CustomInterceptProfile) — The custom TPPI configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: custom_intercept_profile, threat_prevention_profile, custom_mirroring_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::NetworkSecurity::V1::CustomInterceptProfile) — The custom TPPI configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: custom_intercept_profile, threat_prevention_profile, custom_mirroring_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#custom_mirroring_profile

def custom_mirroring_profile() -> ::Google::Cloud::NetworkSecurity::V1::CustomMirroringProfile
Returns
  • (::Google::Cloud::NetworkSecurity::V1::CustomMirroringProfile) — The custom Packet Mirroring v2 configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: custom_mirroring_profile, threat_prevention_profile, custom_intercept_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#custom_mirroring_profile=

def custom_mirroring_profile=(value) -> ::Google::Cloud::NetworkSecurity::V1::CustomMirroringProfile
Parameter
  • value (::Google::Cloud::NetworkSecurity::V1::CustomMirroringProfile) — The custom Packet Mirroring v2 configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: custom_mirroring_profile, threat_prevention_profile, custom_intercept_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::NetworkSecurity::V1::CustomMirroringProfile) — The custom Packet Mirroring v2 configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: custom_mirroring_profile, threat_prevention_profile, custom_intercept_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#description

def description() -> ::String
Returns
  • (::String) — Optional. An optional description of the profile. Max length 512 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional description of the profile. Max length 512 characters.
Returns
  • (::String) — Optional. An optional description of the profile. Max length 512 characters.

#etag

def etag() -> ::String
Returns
  • (::String) — Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
Returns
  • (::String) — Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.

#threat_prevention_profile

def threat_prevention_profile() -> ::Google::Cloud::NetworkSecurity::V1::ThreatPreventionProfile
Returns
  • (::Google::Cloud::NetworkSecurity::V1::ThreatPreventionProfile) — The threat prevention configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: threat_prevention_profile, custom_mirroring_profile, custom_intercept_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#threat_prevention_profile=

def threat_prevention_profile=(value) -> ::Google::Cloud::NetworkSecurity::V1::ThreatPreventionProfile
Parameter
  • value (::Google::Cloud::NetworkSecurity::V1::ThreatPreventionProfile) — The threat prevention configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: threat_prevention_profile, custom_mirroring_profile, custom_intercept_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::NetworkSecurity::V1::ThreatPreventionProfile) — The threat prevention configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: threat_prevention_profile, custom_mirroring_profile, custom_intercept_profile, url_filtering_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type

def type() -> ::Google::Cloud::NetworkSecurity::V1::SecurityProfile::ProfileType
Returns

#type=

def type=(value) -> ::Google::Cloud::NetworkSecurity::V1::SecurityProfile::ProfileType
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#url_filtering_profile

def url_filtering_profile() -> ::Google::Cloud::NetworkSecurity::V1::UrlFilteringProfile
Returns
  • (::Google::Cloud::NetworkSecurity::V1::UrlFilteringProfile) — The URL filtering configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: url_filtering_profile, threat_prevention_profile, custom_mirroring_profile, custom_intercept_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

#url_filtering_profile=

def url_filtering_profile=(value) -> ::Google::Cloud::NetworkSecurity::V1::UrlFilteringProfile
Parameter
  • value (::Google::Cloud::NetworkSecurity::V1::UrlFilteringProfile) — The URL filtering configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: url_filtering_profile, threat_prevention_profile, custom_mirroring_profile, custom_intercept_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::NetworkSecurity::V1::UrlFilteringProfile) — The URL filtering configuration for the SecurityProfile.

    Note: The following fields are mutually exclusive: url_filtering_profile, threat_prevention_profile, custom_mirroring_profile, custom_intercept_profile. If a field in that set is populated, all other fields in the set will automatically be cleared.