Class: Google::Apis::ComputeV1::NodeGroupsPerformMaintenanceRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeGroupsPerformMaintenanceRequest

Returns a new instance of NodeGroupsPerformMaintenanceRequest.



26500
26501
26502
# File 'lib/google/apis/compute_v1/classes.rb', line 26500

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


26493
26494
26495
# File 'lib/google/apis/compute_v1/classes.rb', line 26493

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)


26498
26499
26500
# File 'lib/google/apis/compute_v1/classes.rb', line 26498

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26505
26506
26507
26508
# File 'lib/google/apis/compute_v1/classes.rb', line 26505

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