ShareSettings

The share setting for reservations and sole tenancy node groups.

JSON representation
{
  "shareType": enum (ShareType),
  "projectMap": {
    string: {
      object (ProjectConfig)
    },
    ...
  }
}
Fields
shareType

enum (ShareType)

Type of sharing for this shared-reservation

projectMap

map (key: string, value: object (ProjectConfig))

A map of project id and project config. This is only valid when shareType's value is SPECIFIC_PROJECTS.

ShareType

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

Enums
SHARE_TYPE_UNSPECIFIED Default value. This value is unused.
ORGANIZATION Shared-reservation is open to entire Organization
SPECIFIC_PROJECTS Shared-reservation is open to specific projects
LOCAL Default value.

ProjectConfig

Config for each project in the share settings.

JSON representation
{
  "projectId": string
}
Fields
projectId

string

The project ID, should be same as the key of this project config in the parent map.