- release_tracks: [ALPHA]

  help_text:
    brief: enable zonal project
    description: Enables a zonal project.
    examples: |
      To enable a project called `test-project` in zone `test-zone` in organization `test-org` and location `us-central1`, run:

      $ {command} test-project --location=us-central1 --zone=test-zone --organization=test-org

  request:
    collection: edgecontainer.organizations.locations.zones.zonalProjects
    api_version: v1alpha
    method: enable

  arguments:
    resource:
      help_text: Zonal Project
      spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:zonalProject
    params:
    - arg_name: organization
      resource_spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:organization
      required: true
      help_text: |
        Organization of the zonal project.
    - arg_name: location
      resource_spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:location
      required: true
      help_text: |
        Location of the zonal project.
    - arg_name: zone
      resource_spec: !REF googlecloudsdk.command_lib.zone_management.project.resources:zone
      is_parent_resource: true
      is_primary_resource: false
      required: true
      help_text: |
        Zone of the zonal project.

  async:
    collection: edgecontainer.organizations.locations.operations
