Compute V1 Client - Class InstanceTemplatesScopedList (1.20.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ instance_templates
array< Google\Cloud\Compute\V1\InstanceTemplate >

[Output Only] A list of instance templates that are contained within the specified project and zone.

↳ warning
Google\Cloud\Compute\V1\Warning

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

getInstanceTemplates

[Output Only] A list of instance templates that are contained within the specified project and zone.

Returns
Type
Description

setInstanceTemplates

[Output Only] A list of instance templates that are contained within the specified project and zone.

Parameter
Name
Description
Returns
Type
Description
$this

getWarning

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

Returns
Type
Description

hasWarning

clearWarning

setWarning

[Output Only] An informational warning that replaces the list of instance templates when the list is empty.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: