Compute V1 Client - Class ImageFamilyView (1.18.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
Name Description
data array

Optional. Data for populating the Message object.

↳ image Google\Cloud\Compute\V1\Image

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
Type Description
Google\Cloud\Compute\V1\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
Name Description
var Google\Cloud\Compute\V1\Image
Returns
Type Description
$this