Skip to content

Don't include wo_version fields in the API payload #23899

@melinath

Description

@melinath

What kind of contribution is this issue about?

Other (specify in details)

Details

Currently we generate code that adds wo_version fields to the API payload and "read" them from the response; however, they are client-side only. We should detect this (by checking the ClientSide property of the field) and not do that.

References

expander: https://github.com/hashicorp/terraform-provider-google-beta/blob/a2185fda430f7133ba94832666e0cced55def85c/google-beta/services/monitoring/resource_monitoring_uptime_check_config.go#L1643

flattener: https://github.com/hashicorp/terraform-provider-google-beta/blob/a2185fda430f7133ba94832666e0cced55def85c/google-beta/services/monitoring/resource_monitoring_uptime_check_config.go#L1096-L1097

This would potentially be resolved by / go towards resolving #19246

Metadata

Metadata

Assignees

No one assigned

    Labels

    mmv1-generatorProvider-wide changes to resource templates or other generator changestechnical-debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions