Class: Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatusRecommendedScan
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ResourceStatusAcceleratorStatusRecommendedScan
- 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
-
#estimated_duration ⇒ Google::Apis::ComputeAlpha::Duration
A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#version ⇒ String
Corresponds to the JSON property
version
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceStatusAcceleratorStatusRecommendedScan
constructor
A new instance of ResourceStatusAcceleratorStatusRecommendedScan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceStatusAcceleratorStatusRecommendedScan
Returns a new instance of ResourceStatusAcceleratorStatusRecommendedScan.
44609 44610 44611 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_duration ⇒ Google::Apis::ComputeAlpha::Duration
A Duration represents a fixed-length span of time represented as a count of
seconds and fractions of seconds at nanosecond resolution. It is independent
of any calendar and concepts like "day" or "month". Range is approximately 10,
000 years.
Corresponds to the JSON property estimatedDuration
44597 44598 44599 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44597 def estimated_duration @estimated_duration end |
#name ⇒ String
Corresponds to the JSON property name
44602 44603 44604 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44602 def name @name end |
#version ⇒ String
Corresponds to the JSON property version
44607 44608 44609 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44607 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44614 44615 44616 44617 44618 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44614 def update!(**args) @estimated_duration = args[:estimated_duration] if args.key?(:estimated_duration) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |