You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Normalize name field
* Fix import
* Support previous import id
* Also shorten name in encoder
* Add long form test
* Add upgrade state function
Signed-off-by: Modular Magician <[email protected]>
Description: `Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`,
55
66
},
56
67
"name": {
57
-
Type: schema.TypeString,
58
-
Required: true,
59
-
ForceNew: true,
60
-
Description: `Immutable. The resource name of the 'MonitoredProject'. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: 'locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}'`,
Description: `Immutable. The resource name of the 'MonitoredProject'. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: 'locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}'`,
61
73
},
62
74
"create_time": {
63
75
Type: schema.TypeString,
@@ -118,7 +130,7 @@ func resourceMonitoringMonitoredProjectCreate(d *schema.ResourceData, meta inter
Description: `Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`,
Description: `Immutable. The resource name of the 'MonitoredProject'. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: 'locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}'`,
399
+
},
400
+
"create_time": {
401
+
Type: schema.TypeString,
402
+
Computed: true,
403
+
Description: `Output only. The time when this 'MonitoredProject' was created.`,
0 commit comments