Class: Google::Apis::SecuritycenterV1::CustomModuleValidationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomModuleValidationError

Returns a new instance of CustomModuleValidationError.



1821
1822
1823
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1821

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


1804
1805
1806
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1804

def description
  @description
end

#endGoogle::Apis::SecuritycenterV1::Position

Corresponds to the JSON property end



1809
1810
1811
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1809

def end
  @end
end

#field_pathString

Corresponds to the JSON property fieldPath

Returns:

  • (String)


1814
1815
1816
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1814

def field_path
  @field_path
end

#startGoogle::Apis::SecuritycenterV1::Position

Corresponds to the JSON property start



1819
1820
1821
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1819

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1826
1827
1828
1829
1830
1831
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1826

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @end = args[:end] if args.key?(:end)
  @field_path = args[:field_path] if args.key?(:field_path)
  @start = args[:start] if args.key?(:start)
end