REST Resource: projects.locations.spaces.catalogs.shares

Resource: Share

A catalog share between spaces.

JSON representation
{
  "name": string,
  "destinationSpace": string,
  "createTime": string,
  "state": enum (State)
}
Fields
name

string

Identifier. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share

destinationSpace

string

Required. The space resource path to which the catalog is shared. Format is projects/$project/locations/$location/spaces/$space

createTime

string (Timestamp format)

Output only. The share creation timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

state

enum (State)

Output only. The state of the share.

State

The share status, which indicates whether the catalog is in sync.

Enums
STATE_UNSPECIFIED The state of the share is unknown.
IN_SYNC The share is in sync with the shared template catalog.
OUT_OF_SYNC The share is out of sync with the shared template catalog.

Methods

create

Shares a catalog from one space to another space.

delete

Deletes a catalog share.

get

Get catalog share object for the space.

list

Lists catalog share objects for the space.

sync

Synchronizes a share and updates the destination workspace to reflect.