This page describes how to deploy an API. For detailed information on what happens during the deployment process, see the concepts document API Deployment and Re-deployment.
To deploy your API:
Change directory to the location containing your API's
Invoke the following command:
gcloud service-management deploy openapi.yaml
Wait for a success message, which looks something like the following:
metadata: `@type`: type: type.googleapis.com/google.api.servicemanagement.v1.OperationaMetadata persisted: true resourceNames: - /services/this-api-rocks.example.com startTime: 2016-05-20 11:28:23 PDT steps: - description: update Service Control id: Service Control status: IN_PROGRESS name:operations/services.this-api-rocks.example.com-0
If you are using a domain, but haven't successfully verified your domain ownership, you get the following deployment error:
ERROR: (gcloud.alpha.service-management.deploy) ResponseError: code=403, message=Domain ownership verification required to use service name 'this-api-rocks.example.com' on project 'your project'...