# 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.

Protobuf type `google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ShareType`

## Namespace

Google \\ Cloud \\ CapacityPlanner \\ V1beta \\ QueryReservationsRequest

## Methods

### static::name

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

### static::value

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

## Constants

### SHARE_TYPE_UNSPECIFIED

    Value: 0

No share type specified.

Generated from protobuf enum `SHARE_TYPE_UNSPECIFIED = 0;`

### SHARE_TYPE_LOCAL

    Value: 1

Default value, for which reservation is open to only owner project.

Generated from protobuf enum `SHARE_TYPE_LOCAL = 1;`

### SHARE_TYPE_SPECIFIC_PROJECTS

    Value: 2

Shared-reservation is open to specific projects.

Generated from protobuf enum `SHARE_TYPE_SPECIFIC_PROJECTS = 2;`