Class: Google::Apis::SecuritycenterV1beta2::CloudDlpInspection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudDlpInspection

Returns a new instance of CloudDlpInspection.



1046
1047
1048
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1046

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

Instance Attribute Details

#full_scanBoolean Also known as: full_scan?

Corresponds to the JSON property fullScan

Returns:

  • (Boolean)


1028
1029
1030
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1028

def full_scan
  @full_scan
end

#info_typeString

Corresponds to the JSON property infoType

Returns:

  • (String)


1034
1035
1036
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1034

def info_type
  @info_type
end

#info_type_countFixnum

Corresponds to the JSON property infoTypeCount

Returns:

  • (Fixnum)


1039
1040
1041
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1039

def info_type_count
  @info_type_count
end

#inspect_jobString

Corresponds to the JSON property inspectJob

Returns:

  • (String)


1044
1045
1046
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1044

def inspect_job
  @inspect_job
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1051
1052
1053
1054
1055
1056
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1051

def update!(**args)
  @full_scan = args[:full_scan] if args.key?(:full_scan)
  @info_type = args[:info_type] if args.key?(:info_type)
  @info_type_count = args[:info_type_count] if args.key?(:info_type_count)
  @inspect_job = args[:inspect_job] if args.key?(:inspect_job)
end