class Google::Apis::SecuritycenterV1beta2::Details
Details
of a subscription.
Attributes
end_time[RW]
The time the subscription has or will end. Corresponds to the JSON property `endTime` @return [String]
start_time[RW]
The time the subscription has or will start. Corresponds to the JSON property `startTime` @return [String]
type[RW]
The type of subscription Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/securitycenter_v1beta2/classes.rb, line 232 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/securitycenter_v1beta2/classes.rb, line 237 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