The Google Cloud SDK is not used for Rust; you use rustup and cargo instead. Install the Rust toolchain and build your project with these commands:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
cargo build
To build documentation, use mdbook as shown in the Rust book repository:
cargo install mdbook --locked --version 0.5.1
mdbook build
To run tests for the book content:
cd packages/trpl
mdbook test --library-path packages/trpl/target/debug/deps