Class: Google::Apis::SecuritycenterV1::GroupResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GroupResult
- 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
-
#count ⇒ Fixnum
Corresponds to the JSON property
count. -
#properties ⇒ Hash<String,Object>
Corresponds to the JSON property
properties.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupResult
constructor
A new instance of GroupResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupResult
Returns a new instance of GroupResult.
10512 10513 10514 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10512 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
10505 10506 10507 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10505 def count @count end |
#properties ⇒ Hash<String,Object>
Corresponds to the JSON property properties
10510 10511 10512 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10510 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10517 10518 10519 10520 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10517 def update!(**args) @count = args[:count] if args.key?(:count) @properties = args[:properties] if args.key?(:properties) end |