Reference documentation and code samples for the Compute V1 Client class GetVersionHostRequest.
A request message for Hosts.GetVersion. See the method description for details.
Generated from protobuf message google.cloud.compute.v1.GetVersionHostRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ association |
string
The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. |
↳ host |
string
The name of the host, formatted as RFC1035 or a resource ID number. |
↳ hosts_get_version_request_resource |
HostsGetVersionRequest
The body resource for this request |
↳ project |
string
Project ID for this request. |
↳ request_id |
string
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. |
↳ zone |
string
Name of the zone for this request. Zone name should conform to RFC1035. |
getAssociation
The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAssociation
The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHost
The name of the host, formatted as RFC1035 or a resource ID number.
| Returns | |
|---|---|
| Type | Description |
string |
|
setHost
The name of the host, formatted as RFC1035 or a resource ID number.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHostsGetVersionRequestResource
The body resource for this request
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest|null |
|
hasHostsGetVersionRequestResource
clearHostsGetVersionRequestResource
setHostsGetVersionRequestResource
The body resource for this request
| Parameter | |
|---|---|
| Name | Description |
var |
HostsGetVersionRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProject
Project ID for this request.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
Project ID for this request.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestId
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasRequestId
clearRequestId
setRequestId
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getZone
Name of the zone for this request. Zone name should conform to RFC1035.
| Returns | |
|---|---|
| Type | Description |
string |
|
setZone
Name of the zone for this request. Zone name should conform to RFC1035.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
project |
string
Project ID for this request. |
zone |
string
Name of the zone for this request. Zone name should conform to RFC1035. |
association |
string
The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. |
host |
string
The name of the host, formatted as RFC1035 or a resource ID number. |
hostsGetVersionRequestResource |
HostsGetVersionRequest
The body resource for this request |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest |
|