Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings.
The share setting for reservation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#projects
def projects() -> ::Array<::String>
Returns
- (::Array<::String>) — A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
#projects=
def projects=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
Returns
- (::Array<::String>) — A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
#share_type
def share_type() -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings::ShareType
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings::ShareType) — Type of sharing for this shared-reservation
#share_type=
def share_type=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings::ShareType
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings::ShareType) — Type of sharing for this shared-reservation
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings::ShareType) — Type of sharing for this shared-reservation