Skip to content

Commit

Permalink
Move provider_gen.go to provider.go (hashicorp#1056)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored and rileykarson committed Aug 16, 2019
1 parent 3fbff05 commit 3b44d90
Show file tree
Hide file tree
Showing 29 changed files with 366 additions and 1,061 deletions.
29 changes: 29 additions & 0 deletions google-beta/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,35 @@ type Config struct {
requestBatcherIam *RequestBatcher
}

// Generated product base paths
var AccessContextManagerDefaultBasePath = "https://accesscontextmanager.googleapis.com/v1/"
var AppEngineDefaultBasePath = "https://appengine.googleapis.com/v1/"
var BigqueryDataTransferDefaultBasePath = "https://bigquerydatatransfer.googleapis.com/v1/"
var BinaryAuthorizationDefaultBasePath = "https://binaryauthorization.googleapis.com/v1beta1/"
var CloudBuildDefaultBasePath = "https://cloudbuild.googleapis.com/v1/"
var CloudRunDefaultBasePath = "https://run.googleapis.com/v1alpha1/"
var CloudSchedulerDefaultBasePath = "https://cloudscheduler.googleapis.com/v1/"
var ComputeDefaultBasePath = "https://www.googleapis.com/compute/beta/"
var ContainerAnalysisDefaultBasePath = "https://containeranalysis.googleapis.com/v1beta1/"
var DnsDefaultBasePath = "https://www.googleapis.com/dns/v1beta2/"
var FilestoreDefaultBasePath = "https://file.googleapis.com/v1/"
var FirestoreDefaultBasePath = "https://firestore.googleapis.com/v1/"
var HealthcareDefaultBasePath = "https://healthcare.googleapis.com/v1beta1/"
var KmsDefaultBasePath = "https://cloudkms.googleapis.com/v1/"
var LoggingDefaultBasePath = "https://logging.googleapis.com/v2/"
var MonitoringDefaultBasePath = "https://monitoring.googleapis.com/v3/"
var PubsubDefaultBasePath = "https://pubsub.googleapis.com/v1/"
var RedisDefaultBasePath = "https://redis.googleapis.com/v1beta1/"
var ResourceManagerDefaultBasePath = "https://cloudresourcemanager.googleapis.com/v1/"
var SecurityCenterDefaultBasePath = "https://securitycenter.googleapis.com/v1/"
var SecurityScannerDefaultBasePath = "https://websecurityscanner.googleapis.com/v1beta/"
var SourceRepoDefaultBasePath = "https://sourcerepo.googleapis.com/v1/"
var SpannerDefaultBasePath = "https://spanner.googleapis.com/v1/"
var SqlDefaultBasePath = "https://www.googleapis.com/sql/v1beta4/"
var StorageDefaultBasePath = "https://www.googleapis.com/storage/v1/"
var TpuDefaultBasePath = "https://tpu.googleapis.com/v1/"
var VpcAccessDefaultBasePath = "https://vpcaccess.googleapis.com/v1beta1/"

var defaultClientScopes = []string{
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/cloud-platform",
Expand Down
418 changes: 337 additions & 81 deletions google-beta/provider.go

Large diffs are not rendered by default.

36 changes: 0 additions & 36 deletions google-beta/provider_access_context_manager_gen.go

This file was deleted.

34 changes: 0 additions & 34 deletions google-beta/provider_app_engine_gen.go

This file was deleted.

34 changes: 0 additions & 34 deletions google-beta/provider_bigquery_data_transfer_gen.go

This file was deleted.

35 changes: 0 additions & 35 deletions google-beta/provider_binary_authorization_gen.go

This file was deleted.

34 changes: 0 additions & 34 deletions google-beta/provider_cloud_build_gen.go

This file was deleted.

35 changes: 0 additions & 35 deletions google-beta/provider_cloud_run_gen.go

This file was deleted.

34 changes: 0 additions & 34 deletions google-beta/provider_cloud_scheduler_gen.go

This file was deleted.

75 changes: 0 additions & 75 deletions google-beta/provider_compute_gen.go

This file was deleted.

34 changes: 0 additions & 34 deletions google-beta/provider_container_analysis_gen.go

This file was deleted.

Loading

0 comments on commit 3b44d90

Please sign in to comment.