Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::UpdateSecurityProfileRequest.
Request used by the UpdateSecurityProfile method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#security_profile
def security_profile() -> ::Google::Cloud::NetworkSecurity::V1::SecurityProfile
Returns
- (::Google::Cloud::NetworkSecurity::V1::SecurityProfile) — Required. Updated SecurityProfile resource.
#security_profile=
def security_profile=(value) -> ::Google::Cloud::NetworkSecurity::V1::SecurityProfile
Parameter
- value (::Google::Cloud::NetworkSecurity::V1::SecurityProfile) — Required. Updated SecurityProfile resource.
Returns
- (::Google::Cloud::NetworkSecurity::V1::SecurityProfile) — Required. Updated SecurityProfile resource.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.
Returns
- (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.