Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update resource_apphub_service and resource_apphub_service params description #20806

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
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