Class: Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NodeGroupsSetNodeTemplateRequest

Returns a new instance of NodeGroupsSetNodeTemplateRequest



15740
15741
15742
# File 'generated/google/apis/compute_beta/classes.rb', line 15740

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)


15738
15739
15740
# File 'generated/google/apis/compute_beta/classes.rb', line 15738

def node_template
  @node_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15745
15746
15747
# File 'generated/google/apis/compute_beta/classes.rb', line 15745

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