Class: Google::Apis::ComputeAlpha::NodeGroupsPerformMaintenanceRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeGroupsPerformMaintenanceRequest

Returns a new instance of NodeGroupsPerformMaintenanceRequest.



30200
30201
30202
# File 'lib/google/apis/compute_alpha/classes.rb', line 30200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nodesArray<String>

[Required] List of nodes affected by the call. Corresponds to the JSON property nodes

Returns:

  • (Array<String>)


30193
30194
30195
# File 'lib/google/apis/compute_alpha/classes.rb', line 30193

def nodes
  @nodes
end

#start_timeString

The start time of the schedule. The timestamp is an RFC3339 string. Corresponds to the JSON property startTime

Returns:

  • (String)


30198
30199
30200
# File 'lib/google/apis/compute_alpha/classes.rb', line 30198

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30205
30206
30207
30208
# File 'lib/google/apis/compute_alpha/classes.rb', line 30205

def update!(**args)
  @nodes = args[:nodes] if args.key?(:nodes)
  @start_time = args[:start_time] if args.key?(:start_time)
end