Class: Google::Apis::SecuritycenterV1beta1::GroupResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GroupResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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.
10049 10050 10051 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Corresponds to the JSON property count
10042 10043 10044 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10042 def count @count end |
#properties ⇒ Hash<String,Object>
Corresponds to the JSON property properties
10047 10048 10049 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10047 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10054 10055 10056 10057 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10054 def update!(**args) @count = args[:count] if args.key?(:count) @properties = args[:properties] if args.key?(:properties) end |