Class: Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeGroupsSetNodeTemplateRequest

Returns a new instance of NodeGroupsSetNodeTemplateRequest.



23472
23473
23474
# File 'generated/google/apis/compute_alpha/classes.rb', line 23472

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)


23470
23471
23472
# File 'generated/google/apis/compute_alpha/classes.rb', line 23470

def node_template
  @node_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23477
23478
23479
# File 'generated/google/apis/compute_alpha/classes.rb', line 23477

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