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.



7659
7660
7661
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7659

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

Instance Attribute Details

#action_typeString

Corresponds to the JSON property actionType

Returns:

  • (String)


7652
7653
7654
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7652

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)


7657
7658
7659
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7657

def unsafe_html_message_body
  @unsafe_html_message_body
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7664
7665
7666
7667
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7664

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