Compute V1 Client - Class ImageFamilyView (1.9.1)

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
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
TypeDescription
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
NameDescription
var Google\Cloud\Compute\V1\Image
Returns
TypeDescription
$this