Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class Blueprint.
A Blueprint contains a collection of kubernetes resources in the form of YAML files. The file contents of a blueprint are collectively known as package. A blueprint can be a) imported from TNA's public catalog b) modified as per a user's need c) proposed and approved.
On approval, a revision of blueprint is created which can be used to create a deployment on Orchestration or Workload Cluster.
Generated from protobuf message google.cloud.telcoautomation.v1.Blueprint
Namespace
Google \ Cloud \ TelcoAutomation \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain @
character.
↳ revision_id
string
Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.
↳ source_blueprint
string
Required. Immutable. The public blueprint ID from which this blueprint was created.
↳ revision_create_time
↳ approval_state
int
Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
↳ display_name
string
Optional. Human readable name of a Blueprint.
↳ repository
string
Output only. Name of the repository where the blueprint files are stored.
↳ files
array< File
>
Optional. Files present in a blueprint. When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.
↳ create_time
↳ update_time
↳ source_provider
string
Output only. Source provider is the author of a public blueprint, from which this blueprint is created.
↳ deployment_level
int
Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
↳ rollback_support
bool
Output only. Indicates if the deployment created from this blueprint can be rolled back.
getName
The name of the blueprint. If unspecified, the name will be autogenerated
from server side. Name of the blueprint must not contain @
character.
string
setName
The name of the blueprint. If unspecified, the name will be autogenerated
from server side. Name of the blueprint must not contain @
character.
var
string
$this
getRevisionId
Output only. Immutable. The revision ID of the blueprint.
A new revision is committed whenever a blueprint is approved.
string
setRevisionId
Output only. Immutable. The revision ID of the blueprint.
A new revision is committed whenever a blueprint is approved.
var
string
$this
getSourceBlueprint
Required. Immutable. The public blueprint ID from which this blueprint was created.
string
setSourceBlueprint
Required. Immutable. The public blueprint ID from which this blueprint was created.
var
string
$this
getRevisionCreateTime
Output only. The timestamp that the revision was created.
hasRevisionCreateTime
clearRevisionCreateTime
setRevisionCreateTime
Output only. The timestamp that the revision was created.
$this
getApprovalState
Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
int
setApprovalState
Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
var
int
$this
getDisplayName
Optional. Human readable name of a Blueprint.
string
setDisplayName
Optional. Human readable name of a Blueprint.
var
string
$this
getRepository
Output only. Name of the repository where the blueprint files are stored.
string
setRepository
Output only. Name of the repository where the blueprint files are stored.
var
string
$this
getFiles
Optional. Files present in a blueprint.
When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.
setFiles
Optional. Files present in a blueprint.
When invoking UpdateBlueprint API, only the modified files should be included in this. Files that are not included in the update of a blueprint will not be changed.
$this
getLabels
Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.
setLabels
Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.
$this
getCreateTime
Output only. Blueprint creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Blueprint creation time.
$this
getUpdateTime
Output only. The timestamp when the blueprint was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the blueprint was updated.
$this
getSourceProvider
Output only. Source provider is the author of a public blueprint, from which this blueprint is created.
string
setSourceProvider
Output only. Source provider is the author of a public blueprint, from which this blueprint is created.
var
string
$this
getDeploymentLevel
Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
int
setDeploymentLevel
Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
var
int
$this
getRollbackSupport
Output only. Indicates if the deployment created from this blueprint can be rolled back.
bool
setRollbackSupport
Output only. Indicates if the deployment created from this blueprint can be rolled back.
var
bool
$this