- release_tracks: [GA, ALPHA]

  help_text:
    brief: Describe an OS policy assignment operation
    description: |
      Describe an OS policy assignment
      ## EXAMPLES

      To describe an operation with`operation-id` for an OS policy assignment `my-assignment` in
      location `us-central1-a`, run:

        $ {command} operation-id --location=us-central1-a --os-policy-assignment=my-assignment

      You can also describe an operation by passing the full operation name:

        $ {command} projects/my-project/locations/us-central1-a/osPolicyAssignments/my-assignment/operations/operation-id

  request:
    collection: osconfig.projects.locations.osPolicyAssignments.operations
    ALPHA:
      api_version: v1alpha
    GA:
      api_version: v1

  arguments:
    resource:
      help_text: OS policy assignment data to describe.
      spec: !REF googlecloudsdk.command_lib.compute.os_config.resources:os_policy_assignment_operation
