Reference documentation and code samples for the Compute V1 Client class UpdateReservationSlotRequest.
A request message for ReservationSlots.Update. See the method description for details.
Generated from protobuf message google.cloud.compute.v1.UpdateReservationSlotRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent_name |
string
The name of the sub-block resource. |
↳ project |
string
The project ID for this request. |
↳ reservation_slot |
string
The name of the slot resource. |
↳ reservation_slot_resource |
ReservationSlot
The body resource for this request |
↳ update_mask |
string
The fields to be updated as part of this request. |
↳ zone |
string
The name of the zone for this request, formatted as RFC1035. |
getParentName
The name of the sub-block resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParentName
The name of the sub-block resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProject
The project ID for this request.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProject
The project ID for this request.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReservationSlot
The name of the slot resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReservationSlot
The name of the slot resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReservationSlotResource
The body resource for this request
| Returns | |
|---|---|
| Type | Description |
ReservationSlot|null |
|
hasReservationSlotResource
clearReservationSlotResource
setReservationSlotResource
The body resource for this request
| Parameter | |
|---|---|
| Name | Description |
var |
ReservationSlot
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
The fields to be updated as part of this request.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
The fields to be updated as part of this request.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getZone
The name of the zone for this request, formatted as RFC1035.
| Returns | |
|---|---|
| Type | Description |
string |
|
setZone
The name of the zone for this request, formatted as RFC1035.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
project |
string
The project ID for this request. |
zone |
string
The name of the zone for this request, formatted as RFC1035. |
parentName |
string
The name of the sub-block resource. |
reservationSlot |
string
The name of the slot resource. |
reservationSlotResource |
ReservationSlot
The body resource for this request |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest |
|