Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::UpdateDiscoveryConfigRequest.
Request message for UpdateDiscoveryConfig.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#discovery_config
def discovery_config() -> ::Google::Cloud::Dlp::V2::DiscoveryConfig
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryConfig) — Required. New DiscoveryConfig value.
#discovery_config=
def discovery_config=(value) -> ::Google::Cloud::Dlp::V2::DiscoveryConfig
Parameter
- value (::Google::Cloud::Dlp::V2::DiscoveryConfig) — Required. New DiscoveryConfig value.
Returns
- (::Google::Cloud::Dlp::V2::DiscoveryConfig) — Required. New DiscoveryConfig value.
#name
def name() -> ::String
Returns
-
(::String) — Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/53234423
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/53234423
.
Returns
-
(::String) — Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/53234423
.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Mask to control which fields get updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Mask to control which fields get updated.
Returns
- (::Google::Protobuf::FieldMask) — Mask to control which fields get updated.