Skip to content

Commit

Permalink
Revert "Add Healthcare beta API and associated resources and iam" (ha…
Browse files Browse the repository at this point in the history
…shicorp#897)

This reverts commit a4370ee.
  • Loading branch information
chrisst authored Jun 26, 2019
1 parent 0ca0e71 commit d9fa731
Show file tree
Hide file tree
Showing 29 changed files with 1 addition and 5,338 deletions.
20 changes: 0 additions & 20 deletions google-beta/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"google.golang.org/api/dns/v1"
dnsBeta "google.golang.org/api/dns/v1beta2"
file "google.golang.org/api/file/v1beta1"
healthcare "google.golang.org/api/healthcare/v1beta1"
"google.golang.org/api/iam/v1"
iamcredentials "google.golang.org/api/iamcredentials/v1"
iap "google.golang.org/api/iap/v1beta1"
Expand Down Expand Up @@ -154,9 +153,6 @@ type Config struct {
IAMBasePath string
clientIAM *iam.Service

HealthcareBasePath string
clientHealthcare *healthcare.Service

IAPBasePath string
clientIAP *iap.Service

Expand Down Expand Up @@ -538,22 +534,6 @@ func (c *Config) LoadAndValidate() error {
c.clientStorageTransfer.UserAgent = userAgent
c.clientStorageTransfer.BasePath = storageTransferClientBasePath

log.Printf("[INFO] Instantiating IAP Client...")
c.clientHealthcare, err = healthcare.NewService(context, option.WithHTTPClient(client))
if err != nil {
return err
}
c.clientHealthcare.UserAgent = userAgent

healthcareClientBasePath := removeBasePathVersion(c.HealthcareBasePath)
log.Printf("[INFO] Instantiating Google Cloud Healthcare client for path %s", healthcareClientBasePath)
c.clientHealthcare, err = healthcare.NewService(context, option.WithHTTPClient(client))
if err != nil {
return err
}
c.clientHealthcare.UserAgent = userAgent
c.clientHealthcare.BasePath = healthcareClientBasePath

return nil
}

Expand Down
235 changes: 0 additions & 235 deletions google-beta/healthcare_utils.go

This file was deleted.

113 changes: 0 additions & 113 deletions google-beta/iam_healthcare_dataset.go

This file was deleted.

Loading

0 comments on commit d9fa731

Please sign in to comment.