File: //proc/thread-self/root/snap/google-cloud-cli/394/lib/surface/iap/oauth_clients/reset_secret.yaml
release_tracks: [ALPHA, BETA, GA]
command_type: GENERIC
help_text:
  brief: |
    Reset a Cloud IAP OAuth client secret.
  description: |
    *{command}* is used to reset a Cloud IAP OAuth client secret. Note this command cannot be used
    to reset the secret for any other type of OAuth client in your project.
  examples: |
    To reset a Cloud IAP OAuth client secret, run:
        $ {command} NAME
    To reset a Cloud IAP OAuth client secret for a specific brand, run:
        $ {command} NAME --brand=BRAND
request:
  collection: iap.projects.brands.identityAwareProxyClients
  api_version: v1
  method: resetSecret
arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.iap.resources:client
    arg_name: name
    is_positional: true
    help_text: |
      Name of the Cloud IAP OAuth client whose secret will be reset.