March 2019
Beginner to intermediate
778 pages
34h 20m
English
Suppose we want to find only the services related to vision. We can do this using filters. As with projections, filters in gcloud can be very expressive. To filter the previously mentioned result to only services related to vision, we can use a simple pattern matcher on the serviceConfig.name property, as follows:
gcloud services list --available --format="json" --filter='serviceConfig.name:vision'
By combining flags such as sorting and filtering, results can be heavily modified to suit specific use cases, meaning much of the heavy lifting of automating tasks can be offloaded to gcloud itself. This allows developers to spend more time solving the problems at hand. In practice, this could be used to do any number of useful things ...
Read now
Unlock full access