Skip to content

feat(modelarmor): Added snippets for updating templates #2089

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

harshnasitcrest
Copy link

Added following samples for Model Armor:

  • Update template
  • Update template with labels
  • Update Template with metadata

Note:

  • Please enable the Model Armor API and grant modelarmor.admin IAM permission on the service account/project that is used in this repo.
  • Please ignore the create template files in this PR. Since the relevant PR is open, I've included those files to pass the tests on this PR. Once merged, I'll resolve the conflicts and then merge this PR.

@harshnasitcrest harshnasitcrest requested review from a team as code owners May 28, 2025 14:32
Copy link

snippet-bot bot commented May 28, 2025

Here is the summary of changes.

You are about to add 6 region tags.

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

@product-auto-label product-auto-label bot added api: modelarmor Issues related to the Model Armor API. samples Issues that are directly related to samples. labels May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: modelarmor Issues related to the Model Armor API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant