Skip to content

feat(modelarmor): Added quickstart modelarmor code snippets #10062

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 11 commits into
base: main
Choose a base branch
from

Conversation

tirthrajsinh-zala-crest
Copy link

@tirthrajsinh-zala-crest tirthrajsinh-zala-crest commented Apr 9, 2025

Description

Added quickstart code snippet for creating and using a model armor template.

Checklist

  • I have followed Sample Format Guide
  • pom.xml parent set to latest shared-configuration
  • Appropriate changes to README are included in PR
  • These samples need a new API enabled in testing projects to pass (Model Armor API)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • Tests pass: mvn clean verify required
  • Lint passes: mvn -P lint checkstyle:check required
  • Static Analysis: mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

Copy link

Warning

Gemini encountered an error creating the summary. You can try again by commenting /gemini summary.

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: ml Issues related to the AI Platform Training & Prediction API API. labels Apr 9, 2025
@tirthrajsinh-zala-crest tirthrajsinh-zala-crest marked this pull request as ready for review April 9, 2025 11:39
Copy link

snippet-bot bot commented Apr 9, 2025

Here is the summary of changes.

You are about to add 1 region tag.

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

@Dian2929
Copy link

Dian2929 commented Apr 9, 2025 via email

@telpirion telpirion self-assigned this Apr 9, 2025
@telpirion telpirion added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 11, 2025
@telpirion telpirion marked this pull request as draft April 11, 2025 19:10
Copy link
Contributor

@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.

See internal discussion.

@harshnasitcrest
Copy link

@telpirion Content in this PR has been updated based on GoogleCloudPlatform/python-docs-samples#13305

@tirthrajsinh-zala-crest tirthrajsinh-zala-crest marked this pull request as ready for review April 17, 2025 09:02
@gptSanyam gptSanyam added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Apr 18, 2025
@kokoro-team kokoro-team removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Apr 18, 2025
@product-auto-label product-auto-label bot added api: modelarmor Issues related to the Model Armor API. and removed api: ml Issues related to the AI Platform Training & Prediction API API. labels May 1, 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. do not merge Indicates a pull request not ready for merge, due to either quality or timing. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants