Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OremGLG/java-docs-samples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: GoogleCloudPlatform/java-docs-samples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 16 commits
  • 60 files changed
  • 15 contributors

Commits on May 7, 2025

  1. Configuration menu
    Copy the full SHA
    f8206cc View commit details
    Browse the repository at this point in the history

Commits on May 8, 2025

  1. feat(modelarmor): Added code samples for delete, get and list model a…

    …rmor templates (GoogleCloudPlatform#10070)
    
    * Added code samples for delete, get and list model armor templates
    
    * Added create template code snippet
    
    * feat(modelarmor): refactor code
    
    * feat(modelarmor): refactor code
    
    * address-review-comments
    
    * update-exception
    
    * remove-unused-annotation
    
    * sync-requireenvvar-function-usage
    
    * remove-require-env-location-condition
    
    * address-review-comment
    
    Ref: GoogleCloudPlatform#10069 (comment)
    
    * resolve-merge-conflicts
    
    * resolve-merge-conflicts
    rudrakhsha-crest authored May 8, 2025
    Configuration menu
    Copy the full SHA
    414e26b View commit details
    Browse the repository at this point in the history

Commits on May 12, 2025

  1. Configuration menu
    Copy the full SHA
    4b4e6cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa7bbc9 View commit details
    Browse the repository at this point in the history
  3. feat(modelarmor): Added code samples to update model armor templates (G…

    …oogleCloudPlatform#10069)
    
    * Added code samples to update model armor templates
    
    * address-review-comments
    
    * sync-requireenvvar-function
    
    * remove-require-env-location-condition
    
    * address-review-comment
    
    * fix-lint-post-merge-conflicts
    
    ---------
    
    Co-authored-by: Harsh Nasit 
    Co-authored-by: harshnasitcrest <[email protected]>
    3 people authored May 12, 2025
    Configuration menu
    Copy the full SHA
    b0eca89 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2025

  1. feat(modelarmor): Added quickstart modelarmor code snippets (GoogleCl…

    …oudPlatform#10062)
    
    * feat(modelarmor): Added quickstart modelarmor code snippets
    
    * feat(modelarmor): Added modelarmor quickstart code snippets
    
    * feat(modelarmor): quickstart modelarmor
    
    * feat(modelarmor): quickstart modelarmor
    
    * feat(modelarmor): resolve review comments
    
    * feat(modelarmor): quickstart cleanup
    
    * remove-annotation
    
    * address-review-comments
    
    * update-license-multiline-comment
    
    * update-exception
    
    * remove-require-env-location-condition
    
    ---------
    
    Co-authored-by: harshnasitcrest <[email protected]>
    Co-authored-by: Harsh Nasit 
    3 people authored May 13, 2025
    Configuration menu
    Copy the full SHA
    26355bd View commit details
    Browse the repository at this point in the history
  2. feat(modelarmor): Added code samples for screening user prompt, model…

    … response and a PDF file (GoogleCloudPlatform#10065)
    
    * feat(modelarmor): Added sanitization code snippets
    
    * feat(modelarmor): Added the sanitization and PDF screening snippets
    
    * feat(modelarmor): refactor code
    
    * address-review-comments
    
    * Update sanitization methods to return response objects and update tests
    
    * increased-test-coverage
    
    * add-basic-sdp-test
    
    * add-advanced-sdp-test
    
    * revert-commented-code
    
    * added-sdp-template-cleanup-in-tests
    
    * updated-rai-tests-to-match-all-filters
    
    ---------
    
    Co-authored-by: Harsh Nasit 
    tirthrajsinh-zala-crest and harshnasitcrest authored May 13, 2025
    Configuration menu
    Copy the full SHA
    e383a54 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2025

  1. Configuration menu
    Copy the full SHA
    2dfeea4 View commit details
    Browse the repository at this point in the history
  2. feat(iam): add utility class for ServiceAccount test (GoogleCloudPlat…

    …form#10058)
    
    * feat(iam): add utility class for ServiceAccount test
    
    * fix typo
    
    * feat(iam): refactor ServiceAccountTests.java
    
    Stop reusing resources from other tests.
    Use Util functions to set up and tear down resources.
    
    * make await functions match
    
    * add await for key disabling
    
    * use UUID instead of time for naming
    
    * remove unused env var
    
    * use Util functions in QuickstartTests
    
    * use try/finally blocks to ensure clean up
    
    * use coreMatchers.not to invert Matcher logic
    
    * split tests by sample so they are in their own files
    
    * rename test functions after splitting them to avoid redundancy
    
    * unify tests format and practices
    
    Change assertions to test sample instead of api calls
    Use google assertThat
    Flush System.out
    
    * fix testRenameServiceAccount
    
    * fix testListServiceAccounts
    
    * add waiting time for assertions after enable/disable operations
    
    * Undo changes to quickstartTest
    
    * fix lint issue quickstartTest
    
    * Ignore test until issue is resolved
    
    GoogleCloudPlatform#10082
    alarconesparza authored May 15, 2025
    Configuration menu
    Copy the full SHA
    add7429 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2025

  1. chore(deps): bump io.github.bonigarcia:webdrivermanager (GoogleCloudP…

    …latform#10091)
    
    Bumps [io.github.bonigarcia:webdrivermanager](https://github.com/bonigarcia/webdrivermanager) from 5.6.3 to 6.1.0.
    - [Release notes](https://github.com/bonigarcia/webdrivermanager/releases)
    - [Changelog](https://github.com/bonigarcia/webdrivermanager/blob/master/CHANGELOG.md)
    - [Commits](bonigarcia/webdrivermanager@webdrivermanager-5.6.3...webdrivermanager-6.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: io.github.bonigarcia:webdrivermanager
      dependency-version: 6.1.0
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] 
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 23, 2025
    Configuration menu
    Copy the full SHA
    51f6042 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2025

  1. Configuration menu
    Copy the full SHA
    3689f44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6afe6d View commit details
    Browse the repository at this point in the history

Commits on May 30, 2025

  1. feat: Update model name to gemini-embedding-001 (GoogleCloudPlatform#…

    …10098)
    
    * feat: Update model name to gemini-embedding-001
    
    * Update to process one text per API call.
    
    * fix lints
    Feiyang1 authored May 30, 2025
    Configuration menu
    Copy the full SHA
    69cd787 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2025

  1. chore: add back region tags for sample browser (GoogleCloudPlatform#1…

    …0101)
    
    * chore: add back region tags for sample browser
    
    * fix: address linting error with empty space requried
    iennae authored Jun 10, 2025
    Configuration menu
    Copy the full SHA
    21982fc View commit details
    Browse the repository at this point in the history
  2. feat(modelarmor): Added floor settings snippets (GoogleCloudPlatform#…

    …10066)
    
    * feat(modelarmor): Added modelarmor floorsettings snippets
    
    * address-review-comments
    
    * fix-lint
    
    * address-review-comment
    
    * fix-tests-post-merge-conflicts
    
    * fix-tests
    
    * make-update-template-metadata-consistent-with-python-snippet
    
    * update-metadata-in-create-snippets
    
    * update-libraries-bom-version
    
    * fix-tests
    
    * fix-lints
    
    * Remove folder and org floor settings snips
    
    * Update floor setting snips with empty filters (Empty RAI block is required)
    
    * Remove all floor setting tests
    tirthrajsinh-zala-crest authored Jun 10, 2025
    Configuration menu
    Copy the full SHA
    2e68e03 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2025

  1. fix(retail): add region tag for Java - Update SearchSimpleQuery.java (G…

    …oogleCloudPlatform#10102)
    
    * Update SearchSimpleQuery.java
    
    Added region tag.
    
    * Update SearchSimpleQuery.java
    
    Edited typo  in line.
    
    * correct indentation
    
    * Fix region tag location
    
    F
    
    ---------
    
    Co-authored-by: Katie McLaughlin 
    Co-authored-by: Eric Schmidt 
    3 people authored Jun 12, 2025
    Configuration menu
    Copy the full SHA
    33bd13a View commit details
    Browse the repository at this point in the history
Loading