Class: Google::Apis::SecuritycenterV1beta2::Details
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Details
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#end_time ⇒ String
Corresponds to the JSON property
endTime. -
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Details
constructor
A new instance of Details.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Details
Returns a new instance of Details.
1784 1785 1786 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1784 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Corresponds to the JSON property endTime
1772 1773 1774 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1772 def end_time @end_time end |
#start_time ⇒ String
Corresponds to the JSON property startTime
1777 1778 1779 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1777 def start_time @start_time end |
#type ⇒ String
Corresponds to the JSON property type
1782 1783 1784 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1782 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1789 1790 1791 1792 1793 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1789 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @type = args[:type] if args.key?(:type) end |