Class: Google::Apis::SecuritycenterV1::Indicator

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) ⇒ Indicator

Returns a new instance of Indicator.



10522
10523
10524
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10522

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

Instance Attribute Details

#domainsArray<String>

Corresponds to the JSON property domains

Returns:

  • (Array<String>)


10505
10506
10507
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10505

def domains
  @domains
end

#ip_addressesArray<String>

Corresponds to the JSON property ipAddresses

Returns:

  • (Array<String>)


10510
10511
10512
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10510

def ip_addresses
  @ip_addresses
end

#signaturesArray<Google::Apis::SecuritycenterV1::ProcessSignature>

Corresponds to the JSON property signatures



10515
10516
10517
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10515

def signatures
  @signatures
end

#urisArray<String>

Corresponds to the JSON property uris

Returns:

  • (Array<String>)


10520
10521
10522
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10520

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10527
10528
10529
10530
10531
10532
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10527

def update!(**args)
  @domains = args[:domains] if args.key?(:domains)
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
  @signatures = args[:signatures] if args.key?(:signatures)
  @uris = args[:uris] if args.key?(:uris)
end