Class: Google::Apis::ComputeBeta::NodeGroupsPerformMaintenanceRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeGroupsPerformMaintenanceRequest

Returns a new instance of NodeGroupsPerformMaintenanceRequest.



44195
44196
44197
# File 'lib/google/apis/compute_beta/classes.rb', line 44195

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>)


44188
44189
44190
# File 'lib/google/apis/compute_beta/classes.rb', line 44188

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)


44193
44194
44195
# File 'lib/google/apis/compute_beta/classes.rb', line 44193

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44200
44201
44202
44203
# File 'lib/google/apis/compute_beta/classes.rb', line 44200

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