Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e68b735

Browse files
feat: [google-cloud-deploy] Add stable cutback duration configuration to the k8s gateway service mesh deployment strategy. This allows configuring the amount of time to migrate traffic back to the original Service in the stable phase (#12162)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: Add stable cutback duration configuration to the k8s gateway service mesh deployment strategy feat: Updated logging protos with new fields docs: Fixed a number of comments END_COMMIT_OVERRIDE feat: Add stable cutback duration configuration to the k8s gateway service mesh deployment strategy. This allows configuring the amount of time to migrate traffic back to the original Service in the stable phase PiperOrigin-RevId: 596610888 Source-Link: googleapis/googleapis@6f69d9a Source-Link: googleapis/googleapis-gen@e2a9e76 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiZTJhOWU3NmVmODE4ZmY0YjgyYjMzYTBmYjAwNTkzNmZiYmUzMGQ0OSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent f5a2903 commit e68b735

File tree

14 files changed

+223
-152
lines changed

14 files changed

+223
-152
lines changed

packages/google-cloud-deploy/google/cloud/deploy/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__ = "1.15.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-deploy/google/cloud/deploy_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__ = "1.15.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/async_client.py

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,8 @@ async def sample_update_delivery_pipeline():
692692
overwritten in the ``DeliveryPipeline`` resource by the
693693
update. The fields specified in the update_mask are
694694
relative to the resource, not the full request. A field
695-
will be overwritten if it is in the mask. If the user
696-
does not provide a mask then all fields will be
697-
overwritten.
695+
will be overwritten if it's in the mask. If the user
696+
doesn't provide a mask then all fields are overwritten.
698697
699698
This corresponds to the ``update_mask`` field
700699
on the ``request`` instance; if ``request`` is provided, this
@@ -1443,8 +1442,8 @@ async def sample_update_target():
14431442
overwritten in the Target resource by the update. The
14441443
fields specified in the update_mask are relative to the
14451444
resource, not the full request. A field will be
1446-
overwritten if it is in the mask. If the user does not
1447-
provide a mask then all fields will be overwritten.
1445+
overwritten if it's in the mask. If the user doesn't
1446+
provide a mask then all fields are overwritten.
14481447
14491448
This corresponds to the ``update_mask`` field
14501449
on the ``request`` instance; if ``request`` is provided, this
@@ -1831,8 +1830,8 @@ async def sample_get_custom_target_type():
18311830
18321831
A CustomTargetType defines a type of custom target
18331832
that can be referenced in a Target in order to
1834-
facilitate deploying to a runtime that does not have
1835-
a 1P integration with Cloud Deploy.
1833+
facilitate deploying to other systems besides the
1834+
supported runtimes.
18361835
18371836
"""
18381837
# Create or coerce a protobuf request object.
@@ -1942,8 +1941,8 @@ async def sample_create_custom_target_type():
19421941
The request object. The request object for ``CreateCustomTargetType``.
19431942
parent (:class:`str`):
19441943
Required. The parent collection in which the
1945-
``CustomTargetType`` should be created in. Format should
1946-
be ``projects/{project_id}/locations/{location_name}``.
1944+
``CustomTargetType`` should be created. Format should be
1945+
``projects/{project_id}/locations/{location_name}``.
19471946
19481947
This corresponds to the ``parent`` field
19491948
on the ``request`` instance; if ``request`` is provided, this
@@ -1974,8 +1973,8 @@ async def sample_create_custom_target_type():
19741973
19751974
A CustomTargetType defines a type of custom target
19761975
that can be referenced in a Target in order to
1977-
facilitate deploying to a runtime that does not have
1978-
a 1P integration with Cloud Deploy.
1976+
facilitate deploying to other systems besides the
1977+
supported runtimes.
19791978
19801979
"""
19811980
# Create or coerce a protobuf request object.
@@ -2092,9 +2091,8 @@ async def sample_update_custom_target_type():
20922091
overwritten in the ``CustomTargetType`` resource by the
20932092
update. The fields specified in the update_mask are
20942093
relative to the resource, not the full request. A field
2095-
will be overwritten if it is in the mask. If the user
2096-
does not provide a mask then all fields will be
2097-
overwritten.
2094+
will be overwritten if it's in the mask. If the user
2095+
doesn't provide a mask then all fields are overwritten.
20982096
20992097
This corresponds to the ``update_mask`` field
21002098
on the ``request`` instance; if ``request`` is provided, this
@@ -2115,8 +2113,8 @@ async def sample_update_custom_target_type():
21152113
21162114
A CustomTargetType defines a type of custom target
21172115
that can be referenced in a Target in order to
2118-
facilitate deploying to a runtime that does not have
2119-
a 1P integration with Cloud Deploy.
2116+
facilitate deploying to other systems besides the
2117+
supported runtimes.
21202118
21212119
"""
21222120
# Create or coerce a protobuf request object.
@@ -4351,9 +4349,8 @@ async def sample_update_automation():
43514349
overwritten in the ``Automation`` resource by the
43524350
update. The fields specified in the update_mask are
43534351
relative to the resource, not the full request. A field
4354-
will be overwritten if it is in the mask. If the user
4355-
does not provide a mask then all fields will be
4356-
overwritten.
4352+
will be overwritten if it's in the mask. If the user
4353+
doesn't provide a mask then all fields are overwritten.
43574354
43584355
This corresponds to the ``update_mask`` field
43594356
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/client.py

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,9 +1196,8 @@ def sample_update_delivery_pipeline():
11961196
overwritten in the ``DeliveryPipeline`` resource by the
11971197
update. The fields specified in the update_mask are
11981198
relative to the resource, not the full request. A field
1199-
will be overwritten if it is in the mask. If the user
1200-
does not provide a mask then all fields will be
1201-
overwritten.
1199+
will be overwritten if it's in the mask. If the user
1200+
doesn't provide a mask then all fields are overwritten.
12021201
12031202
This corresponds to the ``update_mask`` field
12041203
on the ``request`` instance; if ``request`` is provided, this
@@ -1929,8 +1928,8 @@ def sample_update_target():
19291928
overwritten in the Target resource by the update. The
19301929
fields specified in the update_mask are relative to the
19311930
resource, not the full request. A field will be
1932-
overwritten if it is in the mask. If the user does not
1933-
provide a mask then all fields will be overwritten.
1931+
overwritten if it's in the mask. If the user doesn't
1932+
provide a mask then all fields are overwritten.
19341933
19351934
This corresponds to the ``update_mask`` field
19361935
on the ``request`` instance; if ``request`` is provided, this
@@ -2308,8 +2307,8 @@ def sample_get_custom_target_type():
23082307
23092308
A CustomTargetType defines a type of custom target
23102309
that can be referenced in a Target in order to
2311-
facilitate deploying to a runtime that does not have
2312-
a 1P integration with Cloud Deploy.
2310+
facilitate deploying to other systems besides the
2311+
supported runtimes.
23132312
23142313
"""
23152314
# Create or coerce a protobuf request object.
@@ -2410,8 +2409,8 @@ def sample_create_custom_target_type():
24102409
The request object. The request object for ``CreateCustomTargetType``.
24112410
parent (str):
24122411
Required. The parent collection in which the
2413-
``CustomTargetType`` should be created in. Format should
2414-
be ``projects/{project_id}/locations/{location_name}``.
2412+
``CustomTargetType`` should be created. Format should be
2413+
``projects/{project_id}/locations/{location_name}``.
24152414
24162415
This corresponds to the ``parent`` field
24172416
on the ``request`` instance; if ``request`` is provided, this
@@ -2442,8 +2441,8 @@ def sample_create_custom_target_type():
24422441
24432442
A CustomTargetType defines a type of custom target
24442443
that can be referenced in a Target in order to
2445-
facilitate deploying to a runtime that does not have
2446-
a 1P integration with Cloud Deploy.
2444+
facilitate deploying to other systems besides the
2445+
supported runtimes.
24472446
24482447
"""
24492448
# Create or coerce a protobuf request object.
@@ -2562,9 +2561,8 @@ def sample_update_custom_target_type():
25622561
overwritten in the ``CustomTargetType`` resource by the
25632562
update. The fields specified in the update_mask are
25642563
relative to the resource, not the full request. A field
2565-
will be overwritten if it is in the mask. If the user
2566-
does not provide a mask then all fields will be
2567-
overwritten.
2564+
will be overwritten if it's in the mask. If the user
2565+
doesn't provide a mask then all fields are overwritten.
25682566
25692567
This corresponds to the ``update_mask`` field
25702568
on the ``request`` instance; if ``request`` is provided, this
@@ -2585,8 +2583,8 @@ def sample_update_custom_target_type():
25852583
25862584
A CustomTargetType defines a type of custom target
25872585
that can be referenced in a Target in order to
2588-
facilitate deploying to a runtime that does not have
2589-
a 1P integration with Cloud Deploy.
2586+
facilitate deploying to other systems besides the
2587+
supported runtimes.
25902588
25912589
"""
25922590
# Create or coerce a protobuf request object.
@@ -4762,9 +4760,8 @@ def sample_update_automation():
47624760
overwritten in the ``Automation`` resource by the
47634761
update. The fields specified in the update_mask are
47644762
relative to the resource, not the full request. A field
4765-
will be overwritten if it is in the mask. If the user
4766-
does not provide a mask then all fields will be
4767-
overwritten.
4763+
will be overwritten if it's in the mask. If the user
4764+
doesn't provide a mask then all fields are overwritten.
47684765
47694766
This corresponds to the ``update_mask`` field
47704767
on the ``request`` instance; if ``request`` is provided, this

packages/google-cloud-deploy/google/cloud/deploy_v1/services/cloud_deploy/transports/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3397,8 +3397,8 @@ def __call__(
33973397
33983398
A ``CustomTargetType`` defines a type of custom target
33993399
that can be referenced in a ``Target`` in order to
3400-
facilitate deploying to a runtime that does not have a
3401-
1P integration with Cloud Deploy.
3400+
facilitate deploying to other systems besides the
3401+
supported runtimes.
34023402
34033403
"""
34043404

0 commit comments

Comments
 (0)