NAME
    gcloud network-connectivity service-connection-policies create - create a
        new Service Connection Policy

SYNOPSIS
    gcloud network-connectivity service-connection-policies create
        (SERVICE_CONNECTION_POLICY : --region=REGION) --network=NETWORK
        --service-class=SERVICE_CLASS
        (--subnets=[SUBNETS,...] : --psc-connection-limit=PSC_CONNECTION_LIMIT)
        [--async] [--description=DESCRIPTION] [--labels=KEY=VALUE]
        [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    Create a new Service Connection Policy with the given name.

EXAMPLES
    Create a Service Connection Policy with name my-service-conn-policy for
    network projects/my-project/global/networks/net1 and service class
    my-service-class-ad32fa4b in region us-central1.

        $ gcloud network-connectivity service-connection-policies create \
            my-service-conn-policy \
            --network="projects/my-project/global/networks/net1" \
            --service-class=my-service-class-ad32fa4b --region=us-central1

POSITIONAL ARGUMENTS
     Service connection policy resource - Name of the Service Connection Policy
     to be created. The arguments in this group can be used to specify the
     attributes of this resource. (NOTE) Some attributes are not given
     arguments in this group but can be set in other ways.

     To set the project attribute:
      ◆ provide the argument service_connection_policy on the command line
        with a fully specified name;
      ◆ set the property core/project;
      ◆ provide the argument --project on the command line.

     This must be specified.

       SERVICE_CONNECTION_POLICY
          ID of the service connection policy or fully qualified identifier for
          the service connection policy.

          To set the service_connection_policy attribute:
          ▸ provide the argument service_connection_policy on the command
            line.

          This positional argument must be specified if any of the other
          arguments in this group are specified.

       --region=REGION
          The location Id.

          To set the region attribute:
          ▸ provide the argument service_connection_policy on the command
            line with a fully specified name;
          ▸ provide the argument --region on the command line.

REQUIRED FLAGS
     Network resource - Network that this service connection policy applies to.
     E.g. projects/my-project/global/networks/net1 This represents a Cloud
     resource. (NOTE) Some attributes are not given arguments in this group but
     can be set in other ways.

     To set the project attribute:
      ◆ provide the argument --network on the command line with a fully
        specified name;
      ◆ set the property core/project;
      ◆ provide the argument --project on the command line.

     This must be specified.

       --network=NETWORK
          ID of the network or fully qualified identifier for the network.

          To set the network attribute:
          ▸ provide the argument --network on the command line.

     --service-class=SERVICE_CLASS
        Service class that this policy is created for. E.g.
        my-service-class-ad32fa4b

     This must be specified.

       --subnets=[SUBNETS,...]
          Subnetwork to use for IP address management.

          This flag argument must be specified if any of the other arguments in
          this group are specified.

       --psc-connection-limit=PSC_CONNECTION_LIMIT
          Max number of PSC connections for this policy.

OPTIONAL FLAGS
     --async
        Return immediately, without waiting for the operation in progress to
        complete.

     --description=DESCRIPTION
        Description of the Service Connection Policy to be created.

     --labels=KEY=VALUE
        List of label KEY=VALUE pairs to add.

GCLOUD WIDE FLAGS
    These flags are available to all commands: --access-token-file, --account,
    --billing-project, --configuration, --flags-file, --flatten, --format,
    --help, --impersonate-service-account, --log-http, --project, --quiet,
    --trace-token, --user-output-enabled, --verbosity.

    Run $ gcloud help for details.

API REFERENCE
    This command uses the networkconnectivity/v1 API. The full documentation
    for this API can be found at:
    https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
