Class: Google::Apis::ComputeV1::NodeGroupsPerformMaintenanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::NodeGroupsPerformMaintenanceRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#nodes ⇒ Array<String>
[Required] List of nodes affected by the call.
-
#start_time ⇒ String
The start time of the schedule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupsPerformMaintenanceRequest
constructor
A new instance of NodeGroupsPerformMaintenanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeGroupsPerformMaintenanceRequest
Returns a new instance of NodeGroupsPerformMaintenanceRequest.
39336 39337 39338 |
# File 'lib/google/apis/compute_v1/classes.rb', line 39336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nodes ⇒ Array<String>
[Required] List of nodes affected by the call.
Corresponds to the JSON property nodes
39329 39330 39331 |
# File 'lib/google/apis/compute_v1/classes.rb', line 39329 def nodes @nodes end |
#start_time ⇒ String
The start time of the schedule. The timestamp is an RFC3339 string.
Corresponds to the JSON property startTime
39334 39335 39336 |
# File 'lib/google/apis/compute_v1/classes.rb', line 39334 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39341 39342 39343 39344 |
# File 'lib/google/apis/compute_v1/classes.rb', line 39341 def update!(**args) @nodes = args[:nodes] if args.key?(:nodes) @start_time = args[:start_time] if args.key?(:start_time) end |