# Telco Automation V1 API - Class Google::Cloud::TelcoAutomation::V1::Blueprint (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.2 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Telco Automation V1 API class Google::Cloud::TelcoAutomation::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #approval_state

    def approval_state() -> ::Google::Cloud::TelcoAutomation::V1::Blueprint::ApprovalState

**Returns**

- ([::Google::Cloud::TelcoAutomation::V1::Blueprint::ApprovalState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Cloud-TelcoAutomation-V1-Blueprint-ApprovalState)) --- Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Blueprint creation time.

### #deployment_level

    def deployment_level() -> ::Google::Cloud::TelcoAutomation::V1::DeploymentLevel

**Returns**

- ([::Google::Cloud::TelcoAutomation::V1::DeploymentLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Cloud-TelcoAutomation-V1-DeploymentLevel)) --- Output only. DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. \[HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT\]

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Optional. Human readable name of a Blueprint.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Human readable name of a Blueprint.
**Returns**

- (::String) --- Optional. Human readable name of a Blueprint.

### #files

    def files() -> ::Array<::Google::Cloud::TelcoAutomation::V1::File>

**Returns**

- (::Array\<[::Google::Cloud::TelcoAutomation::V1::File](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Cloud-TelcoAutomation-V1-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.

### #files=

    def files=(value) -> ::Array<::Google::Cloud::TelcoAutomation::V1::File>

**Parameter**

- **value** (::Array\<[::Google::Cloud::TelcoAutomation::V1::File](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Cloud-TelcoAutomation-V1-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.
**Returns**

- (::Array\<[::Google::Cloud::TelcoAutomation::V1::File](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Cloud-TelcoAutomation-V1-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

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels are key-value attributes that can be set on a blueprint resource by the user.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain `@` character.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain `@` character.
**Returns**

- (::String) --- The name of the blueprint. If unspecified, the name will be autogenerated from server side. Name of the blueprint must not contain `@` character.

### #repository

    def repository() -> ::String

**Returns**

- (::String) --- Output only. Name of the repository where the blueprint files are stored.

### #revision_create_time

    def revision_create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp that the revision was created.

### #revision_id

    def revision_id() -> ::String

**Returns**

- (::String) --- Output only. Immutable. The revision ID of the blueprint. A new revision is committed whenever a blueprint is approved.

### #rollback_support

    def rollback_support() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates if the deployment created from this blueprint can be rolled back.

### #source_blueprint

    def source_blueprint() -> ::String

**Returns**

- (::String) --- Required. Immutable. The public blueprint ID from which this blueprint was created.

### #source_blueprint=

    def source_blueprint=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Immutable. The public blueprint ID from which this blueprint was created.
**Returns**

- (::String) --- Required. Immutable. The public blueprint ID from which this blueprint was created.

### #source_provider

    def source_provider() -> ::String

**Returns**

- (::String) --- Output only. Source provider is the author of a public blueprint, from which this blueprint is created.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-telco_automation-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the blueprint was updated.