Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::UpdateInspectTemplateRequest.
Request message for UpdateInspectTemplate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#inspect_template
def inspect_template() -> ::Google::Cloud::Dlp::V2::InspectTemplate
Returns
- (::Google::Cloud::Dlp::V2::InspectTemplate) — New InspectTemplate value.
#inspect_template=
def inspect_template=(value) -> ::Google::Cloud::Dlp::V2::InspectTemplate
Parameter
- value (::Google::Cloud::Dlp::V2::InspectTemplate) — New InspectTemplate value.
Returns
- (::Google::Cloud::Dlp::V2::InspectTemplate) — New InspectTemplate value.
#name
def name() -> ::String
Returns
-
(::String) — Required. Resource name of organization and inspectTemplate to be updated, for
example
organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Resource name of organization and inspectTemplate to be updated, for
example
organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
Returns
-
(::String) — Required. Resource name of organization and inspectTemplate to be updated, for
example
organizations/433245324/inspectTemplates/432452342
or projects/project-id/inspectTemplates/432452342.
#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.