google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

[config] Allow directly passing force to ConfigClient.delete_deployment()

Open jhollowe opened this issue 9 months ago • 2 comments

Determine this is the right repository

  • [x] I determined this is the correct repository in which to report this feature request.

Summary of the feature request

Just like name, allow passing force into ConfigClient().delete_deployment() instead of requiring a DeleteDeploymentRequest to be made if forcing is required

Desired code experience

file: main.py

   def my_ideal_code():
     ...
     client = ConfigClient(...)
     
     client.delete_deployment(name = "...", force = True)

Expected results

deployment is deleted even if it contains revisions.

API client name and version

google-cloud-config==0.1.17

Use case

Allowing direct passing of force would prevent users from being required to create a Request object if they need to force-delete.

Additional context

No response

jhollowe avatar Apr 24 '25 20:04 jhollowe

Any update on this? It has been 3 months with no movement.

jhollowe avatar Aug 07 '25 15:08 jhollowe

One month later and no updates. Please triage this issue.

jhollowe avatar Sep 16 '25 15:09 jhollowe