Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings (v0.2.0)

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

#share_type=

def share_type=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::ShareSettings::ShareType
Parameter
Returns