-- import "github.com/autom8ter/gcloud"
type GCP struct {
Options []option.ClientOption `validate:"required"`
}
GCP is the configuration used to return gcp clients and services. Use Init() to validate GCP before using it.
func NewGCP(options ...option.ClientOption) *GCP
func (g *GCP) Blogger(ctx context.Context) (*blogger.Service, error)
func (g *GCP) Calendar(ctx context.Context) (*healthcare.Service, error)
func (g *GCP) ClassRoom(ctx context.Context) (*class.Service, error)
func (g *GCP) Container(ctx context.Context) (*container.Service, error)
func (g *GCP) Content(ctx context.Context) (*content.APIService, error)
func (g *GCP) CustomSearch(ctx context.Context) (*customsearch.Service, error)
func (g *GCP) DBAdmin(ctx context.Context) (*database.DatabaseAdminClient, error)
func (g *GCP) Docs(ctx context.Context) (*docs.Service, error)
func (g *GCP) Domains(ctx context.Context) (*plusdomains.Service, error)
func (g *GCP) Firestore(ctx context.Context, project string) (*firestore.Client, error)
func (g *GCP) HTTP(ctx context.Context, scopes []string) (*http.Client, error)
func (g *GCP) HealthCare(ctx context.Context) (*healthcare.Service, error)
func (g *GCP) IAM(ctx context.Context) (*iam.Service, error)
func (g *GCP) IOT(ctx context.Context) (*iot.DeviceManagerClient, error)
func (g *GCP) ImageAnnotator(ctx context.Context) (*vision.ImageAnnotatorClient, error)
func (g *GCP) ImageProductSearch(ctx context.Context) (*vision.ProductSearchClient, error)
func (g *GCP) Init() error
func (g *GCP) Jobs(ctx context.Context) (*jobs.Service, error)
func (g *GCP) KMS(ctx context.Context) (*kms.KeyManagementClient, error)
func (g *GCP) Kube(inCluster bool) (*kubernetes.Clientset, error)
func (g *GCP) Language(ctx context.Context) (*language.Client, error)
func (g *GCP) OSLogin(ctx context.Context) (*oslogin.Service, error)
func (g *GCP) People(ctx context.Context) (*people.Service, error)
func (g *GCP) Photos(cli *http.Client) (*photos.Service, error)
func (g *GCP) Prediction(cli *http.Client) (*prediction.Service, error)
func (g *GCP) PubSub(ctx context.Context, project string) (*pubsub.Client, error)
func (g *GCP) Redis(ctx context.Context) (*redis.Service, error)
func (g *GCP) RuntimeGCP(ctx context.Context) (*run.Service, error)
func (g *GCP) Sheets(ctx context.Context) (*sheets.Service, error)
func (g *GCP) Slides(ctx context.Context) (*slides.Service, error)
func (g *GCP) Spanner(ctx context.Context, database string) (*spanner.Client, error)
func (g *GCP) Speech(ctx context.Context) (*speech.Client, error)
func (g *GCP) Storage(ctx context.Context) (*storage.Client, error)
func (g *GCP) Tasks(ctx context.Context) (*tasks.Service, error)
func (g *GCP) Text2Speech(ctx context.Context) (*texttospeech.Client, error)
func (g *GCP) Translate(ctx context.Context) (*translate.Client, error)
func (g *GCP) VideoIntelligence(ctx context.Context) (*videointelligence.Client, error)
func (g *GCP) YoutTube(ctx context.Context) (*youtube.Service, error)