diff --git a/google/services/apphub/resource_apphub_service.go b/google/services/apphub/resource_apphub_service.go index 0b3c3b63c64..5b0a9364c99 100644 --- a/google/services/apphub/resource_apphub_service.go +++ b/google/services/apphub/resource_apphub_service.go @@ -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, @@ -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, @@ -255,12 +262,6 @@ format.`, Computed: true, Description: `Output only. Update time.`, }, - "project": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ForceNew: true, - }, }, UseJSONNumber: true, } diff --git a/google/services/apphub/resource_apphub_workload.go b/google/services/apphub/resource_apphub_workload.go index af1c1198a09..8df424c1cd0 100644 --- a/google/services/apphub/resource_apphub_workload.go +++ b/google/services/apphub/resource_apphub_workload.go @@ -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, @@ -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, @@ -252,12 +259,6 @@ func ResourceApphubWorkload() *schema.Resource { }, }, }, - "project": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ForceNew: true, - }, }, UseJSONNumber: true, }