Skip to content

Commit 789cf4a

Browse files
authored
Merge branch 'main' into migration.python-compute.migration.2023-10-21.04.migrate
2 parents 9f59759 + a8e7269 commit 789cf4a

13 files changed

Lines changed: 143 additions & 9 deletions

File tree

packages/google-cloud-batch/google/cloud/batch/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.17.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-batch/google/cloud/batch_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.17.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-batch/google/cloud/batch_v1/types/job.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,10 @@ class TaskGroup(proto.Message):
907907
Default is 1.
908908
parallelism (int):
909909
Max number of tasks that can run in parallel. Default to
910-
min(task_count, 1000). Field parallelism must be 1 if the
911-
scheduling_policy is IN_ORDER.
910+
min(task_count, parallel tasks per job limit). See: `Job
911+
Limits <https://cloud.google.com/batch/quotas#job_limits>`__.
912+
Field parallelism must be 1 if the scheduling_policy is
913+
IN_ORDER.
912914
scheduling_policy (google.cloud.batch_v1.types.TaskGroup.SchedulingPolicy):
913915
Scheduling policy for Tasks in the TaskGroup. The default
914916
value is AS_SOON_AS_POSSIBLE.

packages/google-cloud-batch/google/cloud/batch_v1alpha/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.17.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-batch/google/cloud/batch_v1alpha/types/job.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,10 @@ class TaskGroup(proto.Message):
10511051
Default is 1.
10521052
parallelism (int):
10531053
Max number of tasks that can run in parallel. Default to
1054-
min(task_count, 1000). Field parallelism must be 1 if the
1055-
scheduling_policy is IN_ORDER.
1054+
min(task_count, parallel tasks per job limit). See: `Job
1055+
Limits <https://cloud.google.com/batch/quotas#job_limits>`__.
1056+
Field parallelism must be 1 if the scheduling_policy is
1057+
IN_ORDER.
10561058
scheduling_policy (google.cloud.batch_v1alpha.types.TaskGroup.SchedulingPolicy):
10571059
Scheduling policy for Tasks in the TaskGroup. The default
10581060
value is AS_SOON_AS_POSSIBLE.

packages/google-cloud-batch/noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929

3030
BLACK_VERSION = "black[jupyter]==23.7.0"
3131
ISORT_VERSION = "isort==5.11.0"
32+
3233
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3334

35+
3436
DEFAULT_PYTHON_VERSION = "3.9"
3537

3638
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
@@ -89,6 +91,7 @@ def lint(session):
8991
"--check",
9092
*LINT_PATHS,
9193
)
94+
9295
session.run("flake8", "google", "tests")
9396

9497

packages/google-cloud-batch/samples/generated_samples/snippet_metadata_google.cloud.batch.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-batch",
11-
"version": "0.17.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-batch/samples/generated_samples/snippet_metadata_google.cloud.batch.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-batch",
11-
"version": "0.17.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-dataplex/google/cloud/dataplex/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
DataQualityScanRuleResult,
113113
DataScanEvent,
114114
DiscoveryEvent,
115+
GovernanceEvent,
115116
JobEvent,
116117
SessionEvent,
117118
)
@@ -257,6 +258,7 @@
257258
"DataQualityScanRuleResult",
258259
"DataScanEvent",
259260
"DiscoveryEvent",
261+
"GovernanceEvent",
260262
"JobEvent",
261263
"SessionEvent",
262264
"CreateEntityRequest",

packages/google-cloud-dataplex/google/cloud/dataplex_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
DataQualityScanRuleResult,
9191
DataScanEvent,
9292
DiscoveryEvent,
93+
GovernanceEvent,
9394
JobEvent,
9495
SessionEvent,
9596
)
@@ -236,6 +237,7 @@
236237
"GetPartitionRequest",
237238
"GetTaskRequest",
238239
"GetZoneRequest",
240+
"GovernanceEvent",
239241
"Job",
240242
"JobEvent",
241243
"Lake",

0 commit comments

Comments
 (0)