Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions google/services/apphub/resource_apphub_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func ResourceApphubService() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `Part of 'parent'. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
Description: `Part of 'parent'. ApplicationId of parent AppHub Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
},
"discovered_service": {
Type: schema.TypeString,
Expand All @@ -72,7 +72,14 @@ func ResourceApphubService() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `Part of 'parent'. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
Description: `Part of 'parent'. Location of parent AppHub Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
},
"project": {
Type: schema.TypeString,
Computed: true,
ForceNew: true,
Description: `Part of 'parent'. ProjectId of parent AppHub Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`

},
"service_id": {
Type: schema.TypeString,
Expand Down Expand Up @@ -255,12 +262,6 @@ format.`,
Computed: true,
Description: `Output only. Update time.`,
},
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
},
UseJSONNumber: true,
}
Expand Down
17 changes: 9 additions & 8 deletions google/services/apphub/resource_apphub_workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func ResourceApphubWorkload() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `Part of 'parent'. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
Description: `Part of 'parent'. ApplicationId of parent AppHub Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
},
"discovered_workload": {
Type: schema.TypeString,
Expand All @@ -72,7 +72,14 @@ func ResourceApphubWorkload() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `Part of 'parent'. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
Description: `Part of 'parent'. Location of parent AppHub Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
},
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
Description: `Part of 'parent'. ProjectId of parent AppHub Application.. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}`,
},
"workload_id": {
Type: schema.TypeString,
Expand Down Expand Up @@ -252,12 +259,6 @@ func ResourceApphubWorkload() *schema.Resource {
},
},
},
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
},
UseJSONNumber: true,
}
Expand Down