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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setFamily
Name of the image family to search for.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
GetFromFamilyImageRequest |
|