Reference documentation and code samples for the Google Cloud Design Center V1 Client class Space.
Space is a top level resource for managing teams building applications through Application Design Center.
Generated from protobuf message google.cloud.designcenter.v1.Space
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The space name. |
↳ display_name |
string
Optional. Display name for the space. |
↳ description |
string
Optional. Description for the space. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Space creation timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Space update timestamp |
↳ enable_gcp_shared_templates |
bool
Optional. Flag to enable Google opinionated shared templates. |
↳ gcs_bucket |
string
Optional. An existing Google Cloud Storage bucket that you want to use instead of creating a new bucket during Application Design Center setup. If not provided, a default bucket is created during setup. The bucket must exist in the same project as the space. If the bucket name does not exist in the same project as the space, the request fails with an INVALID_ARGUMENT error. If you do not have access to the bucket, the request fails with a PERMISSION_DENIED error. Format: {$bucket_name} For example, if the Cloud Storage bucket URI is gs://{$bucket_name}, the format is {$bucket_name}. |
↳ tags |
array|Google\Protobuf\Internal\MapField
Optional. Input only. Immutable. Tags are key/values bound to space resource. Example: |
getName
Identifier. The space name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The space name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. Display name for the space.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. Display name for the space.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. Description for the space.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. Description for the space.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. Space creation timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. Space creation timestamp.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. Space update timestamp
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Space update timestamp
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnableGcpSharedTemplates
Optional. Flag to enable Google opinionated shared templates.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasEnableGcpSharedTemplates
clearEnableGcpSharedTemplates
setEnableGcpSharedTemplates
Optional. Flag to enable Google opinionated shared templates.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcsBucket
Optional. An existing Google Cloud Storage bucket that you want to use instead of creating a new bucket during Application Design Center setup. If not provided, a default bucket is created during setup. The bucket must exist in the same project as the space. If the bucket name does not exist in the same project as the space, the request fails with an INVALID_ARGUMENT error. If you do not have access to the bucket, the request fails with a PERMISSION_DENIED error. Format: {$bucket_name} For example, if the Cloud Storage bucket URI is gs://{$bucket_name}, the format is {$bucket_name}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGcsBucket
Optional. An existing Google Cloud Storage bucket that you want to use instead of creating a new bucket during Application Design Center setup. If not provided, a default bucket is created during setup. The bucket must exist in the same project as the space. If the bucket name does not exist in the same project as the space, the request fails with an INVALID_ARGUMENT error. If you do not have access to the bucket, the request fails with a PERMISSION_DENIED error. Format: {$bucket_name} For example, if the Cloud Storage bucket URI is gs://{$bucket_name}, the format is {$bucket_name}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTags
Optional. Input only. Immutable. Tags are key/values bound to space resource. Example:
"123/environment": "production"
"123/costCenter": "marketing"
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setTags
Optional. Input only. Immutable. Tags are key/values bound to space resource. Example:
"123/environment": "production"
"123/costCenter": "marketing"
For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|