Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit f2962f8

Browse files
feat: Integration of Cloud Build with Artifact Registry (#353)
* chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Integration of Cloud Build with Artifact Registry Committer: @amcooper PiperOrigin-RevId: 484745059 Source-Link: googleapis/googleapis@b819b95 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b7ff84f154b8c5bc0b32208fe6c39827a2a86451 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjdmZjg0ZjE1NGI4YzViYzBiMzIyMDhmZTZjMzk4MjdhMmE4NjQ1MSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update version in gapic_version.py * add .release-please-manifest.json with correct version * set manifest to true in .github/release-please.yml * add release-please-config.json * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update path to snippet metadata json * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * use templated owlbot.py and setup.py * configure release-please to use manifest Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent dd0eb59 commit f2962f8

26 files changed

+854
-532
lines changed

.github/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true
34
# NOTE: this section is generated by synthtool.languages.python
45
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
56
branches:

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "3.9.3"
3+
}

docs/cloudbuild_v1/types.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Devtools Cloudbuild v1 API
33

44
.. automodule:: google.cloud.devtools.cloudbuild_v1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

docs/index.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,22 @@
55

66
API Reference
77
-------------
8-
98
.. toctree::
10-
:maxdepth: 2
9+
:maxdepth: 2
1110

12-
cloudbuild_v1/services
13-
cloudbuild_v1/types
11+
cloudbuild_v1/services
12+
cloudbuild_v1/types
1413

1514

1615
Migration Guide
1716
---------------
1817

19-
See the guide below for instructions on migrating to the 2.x release of this library.
18+
See the guide below for instructions on migrating to the latest version.
2019

2120
.. toctree::
22-
:maxdepth: 2
21+
:maxdepth: 2
2322

24-
UPGRADING
23+
 UPGRADING
2524

2625

2726
Changelog
@@ -30,6 +29,6 @@ Changelog
3029
For a list of all ``google-cloud-build`` releases:
3130

3231
.. toctree::
33-
:maxdepth: 2
32+
:maxdepth: 2
3433

35-
changelog
34+
changelog

google/cloud/devtools/cloudbuild/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.devtools.cloudbuild import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from google.cloud.devtools.cloudbuild_v1.services.cloud_build.client import (
1822
CloudBuildClient,
@@ -95,6 +99,8 @@
9599
UpdateWorkerPoolOperationMetadata,
96100
)
97101
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UpdateWorkerPoolRequest
102+
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UploadedMavenArtifact
103+
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UploadedPythonPackage
98104
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import Volume
99105
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import WebhookConfig
100106
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import WorkerPool
@@ -156,6 +162,8 @@
156162
"UpdateBuildTriggerRequest",
157163
"UpdateWorkerPoolOperationMetadata",
158164
"UpdateWorkerPoolRequest",
165+
"UploadedMavenArtifact",
166+
"UploadedPythonPackage",
159167
"Volume",
160168
"WebhookConfig",
161169
"WorkerPool",
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2022 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "3.9.3" # {x-release-please-version}

google/cloud/devtools/cloudbuild_v1/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.devtools.cloudbuild import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from .services.cloud_build import CloudBuildClient
1822
from .services.cloud_build import CloudBuildAsyncClient
@@ -71,6 +75,8 @@
7175
from .types.cloudbuild import UpdateBuildTriggerRequest
7276
from .types.cloudbuild import UpdateWorkerPoolOperationMetadata
7377
from .types.cloudbuild import UpdateWorkerPoolRequest
78+
from .types.cloudbuild import UploadedMavenArtifact
79+
from .types.cloudbuild import UploadedPythonPackage
7480
from .types.cloudbuild import Volume
7581
from .types.cloudbuild import WebhookConfig
7682
from .types.cloudbuild import WorkerPool
@@ -132,6 +138,8 @@
132138
"UpdateBuildTriggerRequest",
133139
"UpdateWorkerPoolOperationMetadata",
134140
"UpdateWorkerPoolRequest",
141+
"UploadedMavenArtifact",
142+
"UploadedPythonPackage",
135143
"Volume",
136144
"WebhookConfig",
137145
"WorkerPool",

0 commit comments

Comments
 (0)