Class: Google::Apis::ComputeV1::NodeGroupsSetNodeTemplateRequest

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

Returns a new instance of NodeGroupsSetNodeTemplateRequest.



39454
39455
39456
# File 'lib/google/apis/compute_v1/classes.rb', line 39454

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

Instance Attribute Details

#node_templateString

Full or partial URL of the node template resource to be updated for this node group. Corresponds to the JSON property nodeTemplate

Returns:

  • (String)


39452
39453
39454
# File 'lib/google/apis/compute_v1/classes.rb', line 39452

def node_template
  @node_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39459
39460
39461
# File 'lib/google/apis/compute_v1/classes.rb', line 39459

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