Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
cloudbuild
✓ cloud.google.com/go/cloudbuild/apiv1
Creates a Cloud Build client.
package main
import (
"context"
"fmt"
cloudbuild "cloud.google.com/go/cloudbuild/apiv1"
"google.golang.org/api/option"
)
func main() {
ctx := context.Background()
client, err := cloudbuild.NewClient(ctx, option.WithCredentialsFile("path/to/key.json"))
if err != nil {
panic(err)
}
defer client.Close()
fmt.Println("Client created")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.30.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.