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

fix(healthcare): replace deprecated NotificationConfig with FhirNotificationConfig #4377

Merged
merged 4 commits into from
Sep 17, 2024

Conversation

noerog
Copy link
Contributor

@noerog noerog commented Sep 12, 2024

Description

Fixes b/310269530

Checklist

@noerog noerog requested review from a team as code owners September 12, 2024 00:57
@product-auto-label product-auto-label bot added api: healthcare Issues related to the Cloud Healthcare API API. samples Issues that are directly related to samples. labels Sep 12, 2024
PubsubTopic: topicName, // format is "projects/*/locations/*/topics/*"
}

if _, err := storesService.Patch(name, &healthcare.FhirStore{NotificationConfigs: []*healthcare.FhirNotificationConfig{notificationConfig}}).UpdateMask("notificationConfigs").Do(); err != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: initialize the healthcare.FhirStore object and call UpdateMask() outside of this block.

This is difficult to read as written.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

healthcare/fhir_store_patch.go Outdated Show resolved Hide resolved
@telpirion telpirion self-assigned this Sep 12, 2024
@noerog noerog requested review from a team as code owners September 13, 2024 15:25
Copy link

snippet-bot bot commented Sep 13, 2024

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@noerog noerog enabled auto-merge (squash) September 13, 2024 15:29
Copy link
Collaborator

@telpirion telpirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!

@noerog noerog merged commit 1c61bf9 into GoogleCloudPlatform:main Sep 17, 2024
9 checks passed
@noerog noerog deleted the hcapi-notificationconfig branch September 18, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: healthcare Issues related to the Cloud Healthcare API API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants