Compute V1 Client - Class GetFromFamilyImageRequest (1.11.1)

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
data array

Optional. Data for populating the Message object.

↳ family string

Name of the image family to search for.

↳ project string

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
var string
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
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
project string

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

family string

Name of the image family to search for.

Returns
TypeDescription
Google\Cloud\Compute\V1\GetFromFamilyImageRequest