Compute V1 Client - Class ImageFamilyView (1.26.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ imageImage

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

getImage

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

Returns
TypeDescription
Image|null

hasImage

clearImage

setImage

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

Parameter
NameDescription
varImage
Returns
TypeDescription
$this