Compute V1 Client - Class GetFromFamilyImageRequest (1.29.0)

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

A request message for Images.GetFromFamily. See the method description for details.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ familystring

Name of the image family to search for.

↳ projectstring

The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.

getFamily

Name of the image family to search for.

Returns
TypeDescription
string

setFamily

Name of the image family to search for.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getProject

The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.

Returns
TypeDescription
string

setProject

The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
projectstring

The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.

familystring

Name of the image family to search for.

Returns
TypeDescription
GetFromFamilyImageRequest