Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::CreateSecurityProfileRequest.
Request used by the CreateSecurityProfile method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource of the SecurityProfile. Must be in the format
projects|organizations/*/locations/{location}.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource of the SecurityProfile. Must be in the format
projects|organizations/*/locations/{location}.
Returns
-
(::String) — Required. The parent resource of the SecurityProfile. Must be in the format
projects|organizations/*/locations/{location}.
#security_profile
def security_profile() -> ::Google::Cloud::NetworkSecurity::V1::SecurityProfile
Returns
- (::Google::Cloud::NetworkSecurity::V1::SecurityProfile) — Required. SecurityProfile resource to be created.
#security_profile=
def security_profile=(value) -> ::Google::Cloud::NetworkSecurity::V1::SecurityProfile
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::SecurityProfile) — Required. SecurityProfile resource to be created.
Returns
- (::Google::Cloud::NetworkSecurity::V1::SecurityProfile) — Required. SecurityProfile resource to be created.
#security_profile_id
def security_profile_id() -> ::String
Returns
- (::String) — Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1".
#security_profile_id=
def security_profile_id=(value) -> ::String
Parameter
- value (::String) — Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1".
Returns
- (::String) — Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1".