@@ -101,13 +101,14 @@ func Provider() terraform.ResourceProvider {
101
101
AccessContextManagerCustomEndpointEntryKey : AccessContextManagerCustomEndpointEntry ,
102
102
AppEngineCustomEndpointEntryKey : AppEngineCustomEndpointEntry ,
103
103
BinaryAuthorizationCustomEndpointEntryKey : BinaryAuthorizationCustomEndpointEntry ,
104
- ComputeCustomEndpointEntryKey : ComputeCustomEndpointEntry ,
105
104
CloudBuildCustomEndpointEntryKey : CloudBuildCustomEndpointEntry ,
106
105
CloudSchedulerCustomEndpointEntryKey : CloudSchedulerCustomEndpointEntry ,
106
+ ComputeCustomEndpointEntryKey : ComputeCustomEndpointEntry ,
107
107
DnsCustomEndpointEntryKey : DnsCustomEndpointEntry ,
108
108
FilestoreCustomEndpointEntryKey : FilestoreCustomEndpointEntry ,
109
109
FirestoreCustomEndpointEntryKey : FirestoreCustomEndpointEntry ,
110
110
KmsCustomEndpointEntryKey : KmsCustomEndpointEntry ,
111
+ LoggingCustomEndpointEntryKey : LoggingCustomEndpointEntry ,
111
112
MonitoringCustomEndpointEntryKey : MonitoringCustomEndpointEntry ,
112
113
PubsubCustomEndpointEntryKey : PubsubCustomEndpointEntry ,
113
114
RedisCustomEndpointEntryKey : RedisCustomEndpointEntry ,
@@ -129,7 +130,6 @@ func Provider() terraform.ResourceProvider {
129
130
DataflowCustomEndpointEntryKey : DataflowCustomEndpointEntry ,
130
131
DnsBetaCustomEndpointEntryKey : DnsBetaCustomEndpointEntry ,
131
132
IamCredentialsCustomEndpointEntryKey : IamCredentialsCustomEndpointEntry ,
132
- LoggingCustomEndpointEntryKey : LoggingCustomEndpointEntry ,
133
133
ResourceManagerV2Beta1CustomEndpointEntryKey : ResourceManagerV2Beta1CustomEndpointEntry ,
134
134
RuntimeconfigCustomEndpointEntryKey : RuntimeconfigCustomEndpointEntry ,
135
135
IAMCustomEndpointEntryKey : IAMCustomEndpointEntry ,
@@ -212,13 +212,15 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
212
212
GeneratedAccessContextManagerResourcesMap ,
213
213
GeneratedAppEngineResourcesMap ,
214
214
GeneratedBinaryAuthorizationResourcesMap ,
215
- GeneratedComputeResourcesMap ,
216
215
GeneratedCloudBuildResourcesMap ,
217
216
GeneratedCloudSchedulerResourcesMap ,
217
+ GeneratedComputeResourcesMap ,
218
218
GeneratedDnsResourcesMap ,
219
219
GeneratedFilestoreResourcesMap ,
220
220
GeneratedFirestoreResourcesMap ,
221
221
GeneratedKmsResourcesMap ,
222
+ GeneratedLoggingResourcesMap ,
223
+ GeneratedMonitoringResourcesMap ,
222
224
GeneratedPubsubResourcesMap ,
223
225
GeneratedRedisResourcesMap ,
224
226
GeneratedResourceManagerResourcesMap ,
@@ -227,7 +229,6 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
227
229
GeneratedSqlResourcesMap ,
228
230
GeneratedStorageResourcesMap ,
229
231
GeneratedTpuResourcesMap ,
230
- GeneratedMonitoringResourcesMap ,
231
232
map [string ]* schema.Resource {
232
233
"google_app_engine_application" : resourceAppEngineApplication (),
233
234
"google_bigquery_dataset" : resourceBigQueryDataset (),
@@ -287,7 +288,6 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
287
288
"google_folder_organization_policy" : resourceGoogleFolderOrganizationPolicy (),
288
289
"google_logging_billing_account_sink" : resourceLoggingBillingAccountSink (),
289
290
"google_logging_billing_account_exclusion" : ResourceLoggingExclusion (BillingAccountLoggingExclusionSchema , NewBillingAccountLoggingExclusionUpdater , billingAccountLoggingExclusionIdParseFunc ),
290
- "google_logging_metric" : resourceLoggingMetric (),
291
291
"google_logging_organization_sink" : resourceLoggingOrganizationSink (),
292
292
"google_logging_organization_exclusion" : ResourceLoggingExclusion (OrganizationLoggingExclusionSchema , NewOrganizationLoggingExclusionUpdater , organizationLoggingExclusionIdParseFunc ),
293
293
"google_logging_folder_sink" : resourceLoggingFolderSink (),
@@ -379,17 +379,18 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
379
379
}
380
380
config .BatchingConfig = batchCfg
381
381
382
+ // Generated products
382
383
config .AccessContextManagerBasePath = d .Get (AccessContextManagerCustomEndpointEntryKey ).(string )
383
- config .CloudSchedulerBasePath = d .Get (CloudSchedulerCustomEndpointEntryKey ).(string )
384
- config .FirestoreBasePath = d .Get (FirestoreCustomEndpointEntryKey ).(string )
385
-
386
384
config .AppEngineBasePath = d .Get (AppEngineCustomEndpointEntryKey ).(string )
387
385
config .BinaryAuthorizationBasePath = d .Get (BinaryAuthorizationCustomEndpointEntryKey ).(string )
388
- config .ComputeBasePath = d .Get (ComputeCustomEndpointEntryKey ).(string )
389
386
config .CloudBuildBasePath = d .Get (CloudBuildCustomEndpointEntryKey ).(string )
387
+ config .CloudSchedulerBasePath = d .Get (CloudSchedulerCustomEndpointEntryKey ).(string )
388
+ config .ComputeBasePath = d .Get (ComputeCustomEndpointEntryKey ).(string )
390
389
config .DnsBasePath = d .Get (DnsCustomEndpointEntryKey ).(string )
391
390
config .FilestoreBasePath = d .Get (FilestoreCustomEndpointEntryKey ).(string )
391
+ config .FirestoreBasePath = d .Get (FirestoreCustomEndpointEntryKey ).(string )
392
392
config .KmsBasePath = d .Get (KmsCustomEndpointEntryKey ).(string )
393
+ config .LoggingBasePath = d .Get (LoggingCustomEndpointEntryKey ).(string )
393
394
config .MonitoringBasePath = d .Get (MonitoringCustomEndpointEntryKey ).(string )
394
395
config .PubsubBasePath = d .Get (PubsubCustomEndpointEntryKey ).(string )
395
396
config .RedisBasePath = d .Get (RedisCustomEndpointEntryKey ).(string )
@@ -400,6 +401,8 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
400
401
config .StorageBasePath = d .Get (StorageCustomEndpointEntryKey ).(string )
401
402
config .TpuBasePath = d .Get (TpuCustomEndpointEntryKey ).(string )
402
403
404
+ // Handwritten Products / Versioned / Atypical Entries
405
+
403
406
config .CloudBillingBasePath = d .Get (CloudBillingCustomEndpointEntryKey ).(string )
404
407
config .ComposerBasePath = d .Get (ComposerCustomEndpointEntryKey ).(string )
405
408
config .ComputeBetaBasePath = d .Get (ComputeBetaCustomEndpointEntryKey ).(string )
@@ -410,7 +413,6 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
410
413
config .DataflowBasePath = d .Get (DataflowCustomEndpointEntryKey ).(string )
411
414
config .DnsBetaBasePath = d .Get (DnsBetaCustomEndpointEntryKey ).(string )
412
415
config .IamCredentialsBasePath = d .Get (IamCredentialsCustomEndpointEntryKey ).(string )
413
- config .LoggingBasePath = d .Get (LoggingCustomEndpointEntryKey ).(string )
414
416
config .ResourceManagerV2Beta1BasePath = d .Get (ResourceManagerV2Beta1CustomEndpointEntryKey ).(string )
415
417
config .RuntimeconfigBasePath = d .Get (RuntimeconfigCustomEndpointEntryKey ).(string )
416
418
config .IAMBasePath = d .Get (IAMCustomEndpointEntryKey ).(string )
@@ -438,13 +440,14 @@ func ConfigureBasePaths(c *Config) {
438
440
c .AccessContextManagerBasePath = AccessContextManagerDefaultBasePath
439
441
c .AppEngineBasePath = AppEngineDefaultBasePath
440
442
c .BinaryAuthorizationBasePath = BinaryAuthorizationDefaultBasePath
441
- c .ComputeBasePath = ComputeDefaultBasePath
442
443
c .CloudBuildBasePath = CloudBuildDefaultBasePath
443
444
c .CloudSchedulerBasePath = CloudSchedulerDefaultBasePath
445
+ c .ComputeBasePath = ComputeDefaultBasePath
444
446
c .DnsBasePath = DnsDefaultBasePath
445
447
c .FilestoreBasePath = FilestoreDefaultBasePath
446
448
c .FirestoreBasePath = FirestoreDefaultBasePath
447
449
c .KmsBasePath = KmsDefaultBasePath
450
+ c .LoggingBasePath = LoggingDefaultBasePath
448
451
c .MonitoringBasePath = MonitoringDefaultBasePath
449
452
c .PubsubBasePath = PubsubDefaultBasePath
450
453
c .RedisBasePath = RedisDefaultBasePath
@@ -465,7 +468,6 @@ func ConfigureBasePaths(c *Config) {
465
468
c .DataflowBasePath = DataflowDefaultBasePath
466
469
c .DnsBetaBasePath = DnsBetaDefaultBasePath
467
470
c .IamCredentialsBasePath = IamCredentialsDefaultBasePath
468
- c .LoggingBasePath = LoggingDefaultBasePath
469
471
c .ResourceManagerV2Beta1BasePath = ResourceManagerV2Beta1DefaultBasePath
470
472
c .RuntimeconfigBasePath = RuntimeconfigDefaultBasePath
471
473
c .IAMBasePath = IAMDefaultBasePath
0 commit comments