Class: Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#node_template ⇒ String
Full or partial URL of the node template resource to be updated for this node group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupsSetNodeTemplateRequest
constructor
A new instance of NodeGroupsSetNodeTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeGroupsSetNodeTemplateRequest
Returns a new instance of NodeGroupsSetNodeTemplateRequest.
29523 29524 29525 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_template ⇒ String
Full or partial URL of the node template resource to be updated for this node
group.
Corresponds to the JSON property nodeTemplate
29521 29522 29523 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29521 def node_template @node_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29528 29529 29530 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29528 def update!(**args) @node_template = args[:node_template] if args.key?(:node_template) end |