Reference documentation and code samples for the Google Cloud Config Delivery V1beta Client class Release.
Release
represents a versioned release containing kubernetes manifests.
Generated from protobuf message google.cloud.configdelivery.v1beta.Release
Namespace
Google \ Cloud \ ConfigDelivery \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. Name of the Release. Format is |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Time |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Time |
↳ labels |
array|Google\Protobuf\Internal\MapField
Optional. Labels as key value pairs. |
↳ lifecycle |
int
Optional. lifecycle of the |
↳ version |
string
Required. version of the
|
↳ publish_time |
Google\Protobuf\Timestamp
Output only. Time the |
↳ info |
ReleaseInfo
Output only. |
getName
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}
.
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. Name of the Release. Format is
projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Time Release
was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time Release
was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. Time Release
was last updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time Release
was last updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Optional. Labels as key value pairs.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Optional. Labels as key value pairs.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getLifecycle
Optional. lifecycle of the Release
.
Returns | |
---|---|
Type | Description |
int |
setLifecycle
Optional. lifecycle of the Release
.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getVersion
Required. version of the Release
. This must be v
Returns | |
---|---|
Type | Description |
string |
setVersion
Required. version of the Release
. This must be v
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPublishTime
Output only. Time the Release
was published.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasPublishTime
clearPublishTime
setPublishTime
Output only. Time the Release
was published.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getInfo
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
Returns | |
---|---|
Type | Description |
ReleaseInfo|null |
hasInfo
clearInfo
setInfo
Output only. ResourceBundle
Release extra information e.g., artifact
registry image path.
Parameter | |
---|---|
Name | Description |
var |
ReleaseInfo
|
Returns | |
---|---|
Type | Description |
$this |