Class: Google::Apis::SecuritycenterV1beta1::GroupResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GroupResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/securitycenter_v1beta1/classes.rb,
generated/google/apis/securitycenter_v1beta1/representations.rb,
generated/google/apis/securitycenter_v1beta1/representations.rb
Overview
Result containing the properties and count of a groupBy request.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Total count of resources for the given properties.
-
#properties ⇒ Hash<String,Object>
Properties matching the groupBy fields in the request.
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.
1288 1289 1290 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 1288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Total count of resources for the given properties.
Corresponds to the JSON property count
1281 1282 1283 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 1281 def count @count end |
#properties ⇒ Hash<String,Object>
Properties matching the groupBy fields in the request.
Corresponds to the JSON property properties
1286 1287 1288 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 1286 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1293 1294 1295 1296 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 1293 def update!(**args) @count = args[:count] if args.key?(:count) @properties = args[:properties] if args.key?(:properties) end |