Compute V1 Client - Class InstanceGroupManagersSetInstanceTemplateRequest (1.6.1)

Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagersSetInstanceTemplateRequest.

Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_template string

The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.

getInstanceTemplate

The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.

Returns
TypeDescription
string

hasInstanceTemplate

clearInstanceTemplate

setInstanceTemplate

The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.

Parameter
NameDescription
var string
Returns
TypeDescription
$this