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.



10622
10623
10624
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10622

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

Instance Attribute Details

#domainsArray<String>

Corresponds to the JSON property domains

Returns:

  • (Array<String>)


10605
10606
10607
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10605

def domains
  @domains
end

#ip_addressesArray<String>

Corresponds to the JSON property ipAddresses

Returns:

  • (Array<String>)


10610
10611
10612
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10610

def ip_addresses
  @ip_addresses
end

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

Corresponds to the JSON property signatures



10615
10616
10617
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10615

def signatures
  @signatures
end

#urisArray<String>

Corresponds to the JSON property uris

Returns:

  • (Array<String>)


10620
10621
10622
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10620

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10627
10628
10629
10630
10631
10632
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10627

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