Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::FutureResourcesSpec.
Specification of resources to be created at some time in the future within an optionally specified set of locations, and within the specified time range.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployment_type
def deployment_type() -> ::String
Returns
- (::String) — Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
#deployment_type=
def deployment_type=(value) -> ::String
Parameter
- value (::String) — Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
Returns
- (::String) — Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE. Check the DeploymentType enum for the list of possible values.
#location_policy
def location_policy() -> ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicy
Returns
- (::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicy) — Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
#location_policy=
def location_policy=(value) -> ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicy
Parameter
- value (::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicy) — Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
Returns
- (::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicy) — Optional location policy allowing to exclude some zone(s) in which the resources must not be created.
#target_resources
def target_resources() -> ::Google::Cloud::Compute::V1::FutureResourcesSpecTargetResources
Returns
- (::Google::Cloud::Compute::V1::FutureResourcesSpecTargetResources) — Specification of the reserved resources.
#target_resources=
def target_resources=(value) -> ::Google::Cloud::Compute::V1::FutureResourcesSpecTargetResources
Parameter
- value (::Google::Cloud::Compute::V1::FutureResourcesSpecTargetResources) — Specification of the reserved resources.
Returns
- (::Google::Cloud::Compute::V1::FutureResourcesSpecTargetResources) — Specification of the reserved resources.
#time_range_spec
def time_range_spec() -> ::Google::Cloud::Compute::V1::FlexibleTimeRange
Returns
- (::Google::Cloud::Compute::V1::FlexibleTimeRange) — Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
#time_range_spec=
def time_range_spec=(value) -> ::Google::Cloud::Compute::V1::FlexibleTimeRange
Parameter
- value (::Google::Cloud::Compute::V1::FlexibleTimeRange) — Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.
Returns
- (::Google::Cloud::Compute::V1::FlexibleTimeRange) — Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use.