Class: Google::Apis::SecuritycenterV1::Indicator
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Indicator
- 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
-
#domains ⇒ Array<String>
Corresponds to the JSON property
domains. -
#ip_addresses ⇒ Array<String>
Corresponds to the JSON property
ipAddresses. -
#signatures ⇒ Array<Google::Apis::SecuritycenterV1::ProcessSignature>
Corresponds to the JSON property
signatures. -
#uris ⇒ Array<String>
Corresponds to the JSON property
uris.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Indicator
constructor
A new instance of Indicator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Indicator
Returns a new instance of Indicator.
10913 10914 10915 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domains ⇒ Array<String>
Corresponds to the JSON property domains
10896 10897 10898 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10896 def domains @domains end |
#ip_addresses ⇒ Array<String>
Corresponds to the JSON property ipAddresses
10901 10902 10903 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10901 def ip_addresses @ip_addresses end |
#signatures ⇒ Array<Google::Apis::SecuritycenterV1::ProcessSignature>
Corresponds to the JSON property signatures
10906 10907 10908 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10906 def signatures @signatures end |
#uris ⇒ Array<String>
Corresponds to the JSON property uris
10911 10912 10913 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10911 def uris @uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10918 10919 10920 10921 10922 10923 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10918 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 |