Skip to content

Commit

Permalink
feat: [google-cloud-telcoautomation] support for the STATUS_NOT_APPLI…
Browse files Browse the repository at this point in the history
…CABLE entity status (#12236)

- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: Support for the STATUS_NOT_APPLICABLE entity status
feat: Support for the WORKLOAD_CLUSTER_DEPLOYMENT blueprint deployment
level
docs: Clarified Deployment.workload_cluster field description
END_COMMIT_OVERRIDE


PiperOrigin-RevId: 603108025

Source-Link:
googleapis/googleapis@56e52c4

Source-Link:
googleapis/googleapis-gen@374bff6
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRlbGNvYXV0b21hdGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiMzc0YmZmNmUwOGI2NGFhNGM5NDExMDQ3N2M2MTk1NjA4MWQ1N2UxYiJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jan 31, 2024
1 parent 7caca2e commit 9d4649b
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ class Status(proto.Enum):
STATUS_PEERING (10):
NFDeploy specific status. Peering in
progress.
STATUS_NOT_APPLICABLE (11):
K8s objects such as
NetworkAttachmentDefinition don't have a defined
status.
"""
STATUS_UNSPECIFIED = 0
STATUS_IN_PROGRESS = 1
Expand All @@ -177,6 +181,7 @@ class Status(proto.Enum):
STATUS_DELETING = 4
STATUS_DELETED = 5
STATUS_PEERING = 10
STATUS_NOT_APPLICABLE = 11


class DeploymentLevel(proto.Enum):
Expand All @@ -203,11 +208,16 @@ class DeploymentLevel(proto.Enum):
private catalog. b) Used to create a deployment on
orchestration cluster which will create further hydrated
deployments.
WORKLOAD_CLUSTER_DEPLOYMENT (4):
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.
"""
DEPLOYMENT_LEVEL_UNSPECIFIED = 0
HYDRATION = 1
SINGLE_DEPLOYMENT = 2
MULTI_DEPLOYMENT = 3
WORKLOAD_CLUSTER_DEPLOYMENT = 4


class OrchestrationCluster(proto.Message):
Expand Down Expand Up @@ -666,8 +676,11 @@ class Deployment(proto.Message):
a public blueprint, from which this deployment
is created.
workload_cluster (str):
Optional. Immutable. The WorkloadCluster on
which to create the Deployment.
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.
deployment_level (google.cloud.telcoautomation_v1.types.DeploymentLevel):
Output only. Attributes to where the deployment can inflict
changes. The value can only be [SINGLE_DEPLOYMENT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.2" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
18 changes: 18 additions & 0 deletions packages/google-cloud-telcoautomation/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,15 @@ def docs(session):

session.install("-e", ".")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"sphinx==4.5.0",
"alabaster",
"recommonmark",
Expand All @@ -308,6 +317,15 @@ def docfx(session):

session.install("-e", ".")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"gcp-sphinx-docfx-yaml",
"alabaster",
"recommonmark",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-telcoautomation",
"version": "0.1.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-telcoautomation",
"version": "0.1.2"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 9d4649b

Please sign in to comment.