Skip to content

Commit

Permalink
feat: support for the STATUS_NOT_APPLICABLE entity status
Browse files Browse the repository at this point in the history
feat: support for the WORKLOAD_CLUSTER_DEPLOYMENT blueprint deployment level
docs: clarified Deployment.workload_cluster field description

PiperOrigin-RevId: 603108025
  • Loading branch information
Google APIs authored and Copybara-Service committed Jan 31, 2024
1 parent c0d9680 commit 56e52c4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion google/cloud/telcoautomation/v1/telcoautomation.proto
Expand Up @@ -25,13 +25,13 @@ import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.TelcoAutomation.V1";
option go_package = "cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb;telcoautomationpb";
option java_multiple_files = true;
option java_outer_classname = "TelcoautomationProto";
option java_package = "com.google.cloud.telcoautomation.v1";
option php_namespace = "Google\\Cloud\\TelcoAutomation\\V1";
option ruby_package = "Google::Cloud::TelcoAutomation::V1";
option csharp_namespace = "Google.Cloud.TelcoAutomation.V1";

// TelcoAutomation Service manages the control plane cluster a.k.a.
// Orchestration Cluster (GKE cluster with config controller) of TNA. It also
Expand Down Expand Up @@ -450,6 +450,10 @@ enum Status {

// NFDeploy specific status. Peering in progress.
STATUS_PEERING = 10;

// K8s objects such as NetworkAttachmentDefinition don't have a defined
// status.
STATUS_NOT_APPLICABLE = 11;
}

// DeploymentLevel of a blueprint signifies where the blueprint will be
Expand All @@ -476,6 +480,12 @@ enum DeploymentLevel {
// b) Used to create a deployment on orchestration cluster which will create
// further hydrated deployments.
MULTI_DEPLOYMENT = 3;

// Blueprints at WORKLOAD_CLUSTER_DEPLOYMENT level can be
// a) Modified in private catalog.
// b) Used to create a deployment on workload cluster by the user, once
// approved.
WORKLOAD_CLUSTER_DEPLOYMENT = 4;
}

// Orchestration cluster represents a GKE cluster with config controller and
Expand Down Expand Up @@ -831,6 +841,9 @@ message Deployment {
string source_provider = 12 [(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. Immutable. The WorkloadCluster on which to create the Deployment.
// This field should only be passed when the deployment_level of the source
// blueprint specifies deployments on workload clusters e.g.
// WORKLOAD_CLUSTER_DEPLOYMENT.
string workload_cluster = 13 [
(google.api.field_behavior) = IMMUTABLE,
(google.api.field_behavior) = OPTIONAL
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/telcoautomation/v1/telcoautomation_v1.yaml
Expand Up @@ -12,7 +12,7 @@ types:
- name: google.cloud.telcoautomation.v1.OperationMetadata

documentation:
summary: APIs to automate 5G deployment and management of cloud infrastructure and network functions.
summary: APIs to automate management of cloud infrastructure for network functions.
rules:
- selector: google.cloud.location.Locations.GetLocation
description: Gets information about a location.
Expand Down

0 comments on commit 56e52c4

Please sign in to comment.