# Google Cloud Capacity Planner V1beta Client - Class ShareType (0.1.2)

0.1.2 (latest) 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class ShareType.

Possible scope in which the reservation can be shared. More granularity
can be added in future.

Protobuf type `google.cloud.capacityplanner.v1beta.Allocation.ShareSettings.ShareType`

## Namespace

Google \\ Cloud \\ CapacityPlanner \\ V1beta \\ Allocation \\ ShareSettings

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SHARE_TYPE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `SHARE_TYPE_UNSPECIFIED = 0;`

### ORGANIZATION

    Value: 1

Shared-reservation is open to entire Organization

Generated from protobuf enum `ORGANIZATION = 1;`

### SPECIFIC_PROJECTS

    Value: 2

Shared-reservation is open to specific projects

Generated from protobuf enum `SPECIFIC_PROJECTS = 2;`

### LOCAL

    Value: 3

Default value.

Generated from protobuf enum `LOCAL = 3;`

### DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS

    Value: 4

Shared-reservation is open to direct child projects of specific
folders.

Generated from protobuf enum `DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS = 4;`