Compute V1 Client - Class ImageFamilyView (1.21.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 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
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 Image
Returns
Type Description
$this