Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class FutureReservation.
Repesents Future Reservation request which is part of aggregated reservations data response of "QueryReservations".
Generated from protobuf message google.cloud.capacityplanner.v1beta.FutureReservation
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ specific_sku_properties
FutureReservation\SpecificSKUProperties
Future Reservation configuration to indicate instance properties and total count.
↳ id
int|string
A unique identifier for this future reservation. The server defines this identifier.
↳ create_time
↳ zone
string
URL of the Zone where this future reservation resides.
↳ description
string
Description of the future reservation provided by user.
↳ future_reservation
string
The future reservation resource name.
↳ owner_project_id
string
↳ time_window
↳ share_settings
↳ name_prefix
string
Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be
↳ status
↳ auto_created_reservations_delete_time
Google\Protobuf\Timestamp
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
↳ auto_delete_auto_created_reservations
bool
Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.
getSpecificSkuProperties
Future Reservation configuration to indicate instance properties and total count.
hasSpecificSkuProperties
setSpecificSkuProperties
Future Reservation configuration to indicate instance properties and total count.
$this
getId
A unique identifier for this future reservation. The server defines this identifier.
int|string
setId
A unique identifier for this future reservation. The server defines this identifier.
var
int|string
$this
getCreateTime
The creation timestamp for this future reservation.
hasCreateTime
clearCreateTime
setCreateTime
The creation timestamp for this future reservation.
$this
getZone
URL of the Zone where this future reservation resides.
string
setZone
URL of the Zone where this future reservation resides.
var
string
$this
getDescription
Description of the future reservation provided by user.
string
setDescription
Description of the future reservation provided by user.
var
string
$this
getFutureReservation
The future reservation resource name.
string
setFutureReservation
The future reservation resource name.
var
string
$this
getOwnerProjectId
Generated from protobuf field string owner_project_id = 15;
string
setOwnerProjectId
Generated from protobuf field string owner_project_id = 15;
var
string
$this
getTimeWindow
Time window for this Future Reservation.
hasTimeWindow
clearTimeWindow
setTimeWindow
Time window for this Future Reservation.
$this
getShareSettings
List of Projects/Folders to share with.
hasShareSettings
clearShareSettings
setShareSettings
List of Projects/Folders to share with.
$this
getNamePrefix
Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035.
Maximum allowed length for name prefix is 20. Automatically created reservations name format will be
string
setNamePrefix
Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035.
Maximum allowed length for name prefix is 20. Automatically created reservations name format will be
var
string
$this
getStatus
Status of the Future Reservation
hasStatus
clearStatus
setStatus
Status of the Future Reservation
$this
getAutoCreatedReservationsDeleteTime
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
hasAutoCreatedReservationsDeleteTime
clearAutoCreatedReservationsDeleteTime
setAutoCreatedReservationsDeleteTime
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value.
$this
getAutoDeleteAutoCreatedReservations
Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified.
For keeping auto-created reservation indefinitely, this value should be set to false.
bool
setAutoDeleteAutoCreatedReservations
Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified.
For keeping auto-created reservation indefinitely, this value should be set to false.
var
bool
$this
getType
string

