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

Commit 95ebbce

Browse files
feat: Add PeeredNetworkIpRange to NetworkConfigs message (#402)
* feat: Add PeeredNetworkIpRange to NetworkConfigs message feat: Add NpmPackages to Artifact and Results messages and new SHA512 hash type docs: Various doc updates Committer: @giangnguyen PiperOrigin-RevId: 525153459 Source-Link: googleapis/googleapis@0c7c7df Source-Link: https://github.com/googleapis/googleapis-gen/commit/8d2d20f50c585775e506b61bb43e9e4922795354 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGQyZDIwZjUwYzU4NTc3NWU1MDZiNjFiYjQzZTllNDkyMjc5NTM1NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent de0b9a0 commit 95ebbce

File tree

10 files changed

+200
-27
lines changed

10 files changed

+200
-27
lines changed

google/cloud/devtools/cloudbuild/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
)
102102
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UpdateWorkerPoolRequest
103103
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UploadedMavenArtifact
104+
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UploadedNpmPackage
104105
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import UploadedPythonPackage
105106
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import Volume
106107
from google.cloud.devtools.cloudbuild_v1.types.cloudbuild import WebhookConfig
@@ -165,6 +166,7 @@
165166
"UpdateWorkerPoolOperationMetadata",
166167
"UpdateWorkerPoolRequest",
167168
"UploadedMavenArtifact",
169+
"UploadedNpmPackage",
168170
"UploadedPythonPackage",
169171
"Volume",
170172
"WebhookConfig",

google/cloud/devtools/cloudbuild_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
from .types.cloudbuild import UpdateWorkerPoolOperationMetadata
7878
from .types.cloudbuild import UpdateWorkerPoolRequest
7979
from .types.cloudbuild import UploadedMavenArtifact
80+
from .types.cloudbuild import UploadedNpmPackage
8081
from .types.cloudbuild import UploadedPythonPackage
8182
from .types.cloudbuild import Volume
8283
from .types.cloudbuild import WebhookConfig
@@ -141,6 +142,7 @@
141142
"UpdateWorkerPoolOperationMetadata",
142143
"UpdateWorkerPoolRequest",
143144
"UploadedMavenArtifact",
145+
"UploadedNpmPackage",
144146
"UploadedPythonPackage",
145147
"Volume",
146148
"WebhookConfig",

google/cloud/devtools/cloudbuild_v1/services/cloud_build/async_client.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ async def sample_create_build():
322322
323323
- $PROJECT_ID: the project ID of the build.
324324
- $PROJECT_NUMBER: the project number of the build.
325+
- $LOCATION: the location/region of the build.
325326
- $BUILD_ID: the autogenerated ID of the build.
326327
- $REPO_NAME: the source repository name specified
327328
by RepoSource.
@@ -465,6 +466,7 @@ async def sample_get_build():
465466
466467
- $PROJECT_ID: the project ID of the build.
467468
- $PROJECT_NUMBER: the project number of the build.
469+
- $LOCATION: the location/region of the build.
468470
- $BUILD_ID: the autogenerated ID of the build.
469471
- $REPO_NAME: the source repository name specified
470472
by RepoSource.
@@ -744,6 +746,7 @@ async def sample_cancel_build():
744746
745747
- $PROJECT_ID: the project ID of the build.
746748
- $PROJECT_NUMBER: the project number of the build.
749+
- $LOCATION: the location/region of the build.
747750
- $BUILD_ID: the autogenerated ID of the build.
748751
- $REPO_NAME: the source repository name specified
749752
by RepoSource.
@@ -917,6 +920,7 @@ async def sample_retry_build():
917920
918921
- $PROJECT_ID: the project ID of the build.
919922
- $PROJECT_NUMBER: the project number of the build.
923+
- $LOCATION: the location/region of the build.
920924
- $BUILD_ID: the autogenerated ID of the build.
921925
- $REPO_NAME: the source repository name specified
922926
by RepoSource.
@@ -1073,6 +1077,7 @@ async def sample_approve_build():
10731077
10741078
- $PROJECT_ID: the project ID of the build.
10751079
- $PROJECT_NUMBER: the project number of the build.
1080+
- $LOCATION: the location/region of the build.
10761081
- $BUILD_ID: the autogenerated ID of the build.
10771082
- $REPO_NAME: the source repository name specified
10781083
by RepoSource.
@@ -1845,6 +1850,7 @@ async def sample_run_build_trigger():
18451850
18461851
- $PROJECT_ID: the project ID of the build.
18471852
- $PROJECT_NUMBER: the project number of the build.
1853+
- $LOCATION: the location/region of the build.
18481854
- $BUILD_ID: the autogenerated ID of the build.
18491855
- $REPO_NAME: the source repository name specified
18501856
by RepoSource.
@@ -2329,7 +2335,7 @@ async def sample_delete_worker_pool():
23292335
name (:class:`str`):
23302336
Required. The name of the ``WorkerPool`` to delete.
23312337
Format:
2332-
``projects/{project}/locations/{workerPool}/workerPools/{workerPool}``.
2338+
``projects/{project}/locations/{location}/workerPools/{workerPool}``.
23332339
23342340
This corresponds to the ``name`` field
23352341
on the ``request`` instance; if ``request`` is provided, this

google/cloud/devtools/cloudbuild_v1/services/cloud_build/client.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@ def sample_create_build():
694694
695695
- $PROJECT_ID: the project ID of the build.
696696
- $PROJECT_NUMBER: the project number of the build.
697+
- $LOCATION: the location/region of the build.
697698
- $BUILD_ID: the autogenerated ID of the build.
698699
- $REPO_NAME: the source repository name specified
699700
by RepoSource.
@@ -837,6 +838,7 @@ def sample_get_build():
837838
838839
- $PROJECT_ID: the project ID of the build.
839840
- $PROJECT_NUMBER: the project number of the build.
841+
- $LOCATION: the location/region of the build.
840842
- $BUILD_ID: the autogenerated ID of the build.
841843
- $REPO_NAME: the source repository name specified
842844
by RepoSource.
@@ -1096,6 +1098,7 @@ def sample_cancel_build():
10961098
10971099
- $PROJECT_ID: the project ID of the build.
10981100
- $PROJECT_NUMBER: the project number of the build.
1101+
- $LOCATION: the location/region of the build.
10991102
- $BUILD_ID: the autogenerated ID of the build.
11001103
- $REPO_NAME: the source repository name specified
11011104
by RepoSource.
@@ -1269,6 +1272,7 @@ def sample_retry_build():
12691272
12701273
- $PROJECT_ID: the project ID of the build.
12711274
- $PROJECT_NUMBER: the project number of the build.
1275+
- $LOCATION: the location/region of the build.
12721276
- $BUILD_ID: the autogenerated ID of the build.
12731277
- $REPO_NAME: the source repository name specified
12741278
by RepoSource.
@@ -1425,6 +1429,7 @@ def sample_approve_build():
14251429
14261430
- $PROJECT_ID: the project ID of the build.
14271431
- $PROJECT_NUMBER: the project number of the build.
1432+
- $LOCATION: the location/region of the build.
14281433
- $BUILD_ID: the autogenerated ID of the build.
14291434
- $REPO_NAME: the source repository name specified
14301435
by RepoSource.
@@ -2167,6 +2172,7 @@ def sample_run_build_trigger():
21672172
21682173
- $PROJECT_ID: the project ID of the build.
21692174
- $PROJECT_NUMBER: the project number of the build.
2175+
- $LOCATION: the location/region of the build.
21702176
- $BUILD_ID: the autogenerated ID of the build.
21712177
- $REPO_NAME: the source repository name specified
21722178
by RepoSource.
@@ -2642,7 +2648,7 @@ def sample_delete_worker_pool():
26422648
name (str):
26432649
Required. The name of the ``WorkerPool`` to delete.
26442650
Format:
2645-
``projects/{project}/locations/{workerPool}/workerPools/{workerPool}``.
2651+
``projects/{project}/locations/{location}/workerPools/{workerPool}``.
26462652
26472653
This corresponds to the ``name`` field
26482654
on the ``request`` instance; if ``request`` is provided, this

google/cloud/devtools/cloudbuild_v1/services/cloud_build/transports/rest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,7 @@ def __call__(
912912
913913
- $PROJECT_ID: the project ID of the build.
914914
- $PROJECT_NUMBER: the project number of the build.
915+
- $LOCATION: the location/region of the build.
915916
- $BUILD_ID: the autogenerated ID of the build.
916917
- $REPO_NAME: the source repository name specified by
917918
RepoSource.
@@ -1510,6 +1511,7 @@ def __call__(
15101511
15111512
- $PROJECT_ID: the project ID of the build.
15121513
- $PROJECT_NUMBER: the project number of the build.
1514+
- $LOCATION: the location/region of the build.
15131515
- $BUILD_ID: the autogenerated ID of the build.
15141516
- $REPO_NAME: the source repository name specified by
15151517
RepoSource.

google/cloud/devtools/cloudbuild_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
UpdateWorkerPoolOperationMetadata,
7171
UpdateWorkerPoolRequest,
7272
UploadedMavenArtifact,
73+
UploadedNpmPackage,
7374
UploadedPythonPackage,
7475
Volume,
7576
WebhookConfig,
@@ -133,6 +134,7 @@
133134
"UpdateWorkerPoolOperationMetadata",
134135
"UpdateWorkerPoolRequest",
135136
"UploadedMavenArtifact",
137+
"UploadedNpmPackage",
136138
"UploadedPythonPackage",
137139
"Volume",
138140
"WebhookConfig",

0 commit comments

Comments
 (0)