Class: Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatusPassedScan
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatusPassedScan
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#end_time ⇒ String
The end time of the passed scan inRFC3339 text format.
-
#name ⇒ String
Corresponds to the JSON property
name. -
#start_time ⇒ String
The start time of the passed scan inRFC3339 text format.
-
#version ⇒ String
Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceStatusAcceleratorStatusPassedScan
constructor
A new instance of ResourceStatusAcceleratorStatusPassedScan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceStatusAcceleratorStatusPassedScan
Returns a new instance of ResourceStatusAcceleratorStatusPassedScan.
63043 63044 63045 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63043 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The end time of the passed scan inRFC3339 text format.
Corresponds to the JSON property endTime
63026 63027 63028 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63026 def end_time @end_time end |
#name ⇒ String
Corresponds to the JSON property name
63031 63032 63033 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63031 def name @name end |
#start_time ⇒ String
The start time of the passed scan inRFC3339 text format.
Corresponds to the JSON property startTime
63036 63037 63038 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63036 def start_time @start_time end |
#version ⇒ String
Corresponds to the JSON property version
63041 63042 63043 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63041 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
63048 63049 63050 63051 63052 63053 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63048 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) @version = args[:version] if args.key?(:version) end |