Class SecurityProfile (0.11.0)

SecurityProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
threat_prevention_profile google.cloud.network_security_v1alpha1.types.ThreatPreventionProfile
The threat prevention configuration for the SecurityProfile. This field is a member of oneof_ profile.
custom_mirroring_profile google.cloud.network_security_v1alpha1.types.CustomMirroringProfile
The custom Packet Mirroring v2 configuration for the SecurityProfile. This field is a member of oneof_ profile.
custom_intercept_profile google.cloud.network_security_v1alpha1.types.CustomInterceptProfile
The custom TPPI configuration for the SecurityProfile. This field is a member of oneof_ profile.
url_filtering_profile google.cloud.network_security_v1alpha1.types.UrlFilteringProfile
The URL filtering configuration for the SecurityProfile. This field is a member of oneof_ profile.
name str
Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
description str
Optional. An optional description of the profile. Max length 512 characters.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Resource creation timestamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Last resource update timestamp.
etag str
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 MutableMapping[str, str]
Optional. Labels as key value pairs.
type_ google.cloud.network_security_v1alpha1.types.SecurityProfile.ProfileType
Immutable. The single ProfileType that the SecurityProfile resource configures.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

ProfileType

ProfileType(value)

The possible types that the SecurityProfile resource can configure.