Reference documentation and code samples for the Google Cloud Design Center V1 Client class Share.
A catalog share between spaces.
Generated from protobuf message google.cloud.designcenter.v1.Share
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The share name in the following format: |
↳ destination_space |
string
Required. The space resource path to which the catalog is shared. Format is |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The share creation timestamp. |
↳ state |
int
Output only. The state of the share. |
getName
Identifier. The share name in the following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The share name in the following format:
projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDestinationSpace
Required. The space resource path to which the catalog is shared.
Format is projects/$project/locations/$location/spaces/$space
| Returns | |
|---|---|
| Type | Description |
string |
|
setDestinationSpace
Required. The space resource path to which the catalog is shared.
Format is projects/$project/locations/$location/spaces/$space
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The share creation timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The share creation timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. The state of the share.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. The state of the share.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|