Class: Google::Apis::CloudsearchV1::DlpAction

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DlpAction

Returns a new instance of DlpAction.



7723
7724
7725
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7723

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#action_typeString

Corresponds to the JSON property actionType

Returns:

  • (String)


7716
7717
7718
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7716

def action_type
  @action_type
end

#unsafe_html_message_bodyString

The custom error message defined by the customer administrator. Corresponds to the JSON property unsafeHtmlMessageBody

Returns:

  • (String)


7721
7722
7723
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7721

def unsafe_html_message_body
  @unsafe_html_message_body
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7728
7729
7730
7731
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7728

def update!(**args)
  @action_type = args[:action_type] if args.key?(:action_type)
  @unsafe_html_message_body = args[:unsafe_html_message_body] if args.key?(:unsafe_html_message_body)
end