Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Request message for UpdateStoredInfoType.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest

Returns a new instance of GooglePrivacyDlpV2UpdateStoredInfoTypeRequest



5647
5648
5649
# File 'generated/google/apis/dlp_v2/classes.rb', line 5647

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

Instance Attribute Details

#configGoogle::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig

Configuration for a StoredInfoType. Corresponds to the JSON property config



5640
5641
5642
# File 'generated/google/apis/dlp_v2/classes.rb', line 5640

def config
  @config
end

#update_maskString

Mask to control which fields get updated. Corresponds to the JSON property updateMask

Returns:

  • (String)


5645
5646
5647
# File 'generated/google/apis/dlp_v2/classes.rb', line 5645

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5652
5653
5654
5655
# File 'generated/google/apis/dlp_v2/classes.rb', line 5652

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