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

Add custom update to update metadata in a separate call #18632

Conversation

modular-magician
Copy link
Collaborator

This pull request make a custom 'updateIndex' method. Since if index.metadata need to update, not other index fields can be also updated as part of the same update call. So we need to make a separate update call for index.metadata.

index_update: fixed pre-update use unsupported nested updatemask "metadata.contentsDeltaUri". Use first layer update mask and update "metadata" field in a separate call.

Derived from GoogleCloudPlatform/magic-modules#11081

)

[upstream:f53dfd68dbce629a86360a7785bc0aa20a78647d]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 1708979 into hashicorp:main Jul 2, 2024
1 check passed
Copy link

github-actions bot commented Aug 5, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant