Skip to content

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

Open
@jhollowe

Description

@jhollowe

Determine this is the right repository

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions