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

feat: Adding API v2 Bigquery export samples #9291

Closed

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    cf1c00c View commit details
    Browse the repository at this point in the history
  2. add unit test

    rafaelMurata committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    59bfc7a View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. improve readability

    rafaelMurata committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8444a31 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

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

Commits on Apr 30, 2024

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

Commits on May 7, 2024

  1. Update security-command-center/snippets/src/main/java/vtwo/bigquery/C…

    …reateBigQueryExport.java
    
    Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
    rafaelMurata and Sita04 committed May 7, 2024
    Configuration menu
    Copy the full SHA
    471722c View commit details
    Browse the repository at this point in the history
  2. Update security-command-center/snippets/src/main/java/vtwo/bigquery/U…

    …pdateBigQueryExport.java
    
    Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
    rafaelMurata and Sita04 committed May 7, 2024
    Configuration menu
    Copy the full SHA
    3675818 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    0d6f9c9 View commit details
    Browse the repository at this point in the history
  2. feat: Elastic Text-Embedding demo. (GoogleCloudPlatform#9271)

    * feat: Elastic Text-Embedding demo.
    
    * feat: Elastic Text-Embedding demo.
    
    * feat: Elastic Text-Embedding demo.
    
    * feat: Elastic Text-Embedding demo.
    
    * feat: Elastic Text-Embedding demo.
    lee1premium authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    eb3a816 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    888c497 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eced334 View commit details
    Browse the repository at this point in the history
  5. feat: Text-embedding model tuning demo. (GoogleCloudPlatform#9272)

    * feat: Text-embedding model tuning demo.
    
    * feat: Text-embedding model tuning demo.
    
    * feat: Text-embedding model tuning demo.
    
    * feat: Text-embedding model tuning demo.
    
    * feat: Text-embedding model tuning demo.
    
    * feat: Text-embedding model tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    
    * feat: Text-Embedding Model Tuning demo.
    lee1premium authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1ee3f1c View commit details
    Browse the repository at this point in the history
  6. fix(healthcare): don't store DICOM instance before each DICOMweb test (

    …GoogleCloudPlatform#9292)
    
    * fix(healthcare): don't store DICOM instance before each DICOMweb test
    
    * fix lint issues and remove @SuppressWarnings on method name because it's now technically valid
    noerog authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    a97559a View commit details
    Browse the repository at this point in the history
  7. storageinsights: update edit inventory report config sample (GoogleCl…

    …oudPlatform#9283)
    
    * storageinsights: update edit inventory report config sample
    
    * fix lint issues
    
    * lint
    JesseLovelace authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    8dda031 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e660fff View commit details
    Browse the repository at this point in the history
  9. api platform updated version form v1beta to v1 (GoogleCloudPlatform#9289

    )
    
    * api platform updated version form v1beta to v1
    
    * api platform updated version form v1beta to v1
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    393f4f8 View commit details
    Browse the repository at this point in the history
  10. chore: api v2 notifications samples (GoogleCloudPlatform#9276)

    * chore: api v2 notifications samples
    
    * add checkstyle
    
    * add InterruptedException in unit-test
    
    * update license headers
    
    * improve readability
    
    * fix topic error
    rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1896333 View commit details
    Browse the repository at this point in the history
  11. refactor(iam): update service account samples to use GAPIC library (G…

    …oogleCloudPlatform#9288)
    
    * api platform updated version form v1beta to v1
    
    * DeleteServiceAccountKey, DeleteServiceAccountKey, RenameServiceAccount rewrote using a new library
    
    * DeleteServiceAccountKey, DeleteServiceAccountKey, RenameServiceAccount rewrote using a new library
    
    * fixed pr review comments
    
    * fixed lint proposal
    
    * fixed comments and lint proposal
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    925f88d View commit details
    Browse the repository at this point in the history
  12. Unignore SnippetsIT.testSetUsageBucketExportCustomPrefix cause can't …

    …reproduce flaky test, rerun 20 times during 2 days (GoogleCloudPlatform#9301)
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    32ea46c View commit details
    Browse the repository at this point in the history
  13. refactor(iam): update IAM policy samples to use GAPIC library (Google…

    …CloudPlatform#9290)
    
    * AddBinding, AddMember, GetPolicy, Quickstart, RemoveMember, SetPolicy rewrote using a new library
    
    * updated Quickstart tests
    
    * AddBinding, AddMember, GetPolicy, Quickstart, RemoveMember, SetPolicy rewrote using a new library
    
    * fixed pr review comments
    
    * added new dependency to work with project policy, renamed policy classes
    
    * update copyright year of 2024
    
    * fixed comments and lint proposal
    
    * fixed lint proposal
    
    * fixed lint proposal
    
    * update year of license headers
    
    * added leading space in the comment section
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    d526a3b View commit details
    Browse the repository at this point in the history
  14. feat: Adding API v2 IAM samples (GoogleCloudPlatform#9285)

    * initial samples
    
    * chore: iam samples
    
    * improving readability for v2
    
    * new adjustments for pull request
    
    * improving semantics and tags
    
    * add new ByteArrayOutputStream
    rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f461873 View commit details
    Browse the repository at this point in the history
  15. test(vertexai): enable sample tests (GoogleCloudPlatform#9303)

    * test(vertexai): enable sample tests
    
    * update tests
    
    * update image read
    
    * testing with a different image
    
    * update testcases
    
    * update testcases
    Sita04 authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1c2b557 View commit details
    Browse the repository at this point in the history
  16. Gemini 1.5 multimodal snippets (GoogleCloudPlatform#9302)

    * Remove the preview package
    Add a function calling example
    
    * Missing license header
    
    * chore(Checkstyle tweak)
    
    * Add missing region tag
    Fix typo in project ID string
    
    * Use the latest libraries-bom that references the 0.4.0 version of the google-cloud-vertexai SDK
    Use the same example for the token count as in Python and Golang
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (checkstyle and header tweaks)
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (incorporating feedback, fixing region tags, and clarifying comments)
    glaforge authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    dc29841 View commit details
    Browse the repository at this point in the history
  17. Unignore SearchIT.testSearchAllResourcesExample cause problems with t…

    …he dataset are fixed, and the test working (GoogleCloudPlatform#9297)
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    082e16c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    bc36d31 View commit details
    Browse the repository at this point in the history
  19. feat: Adding disable role snippet (GoogleCloudPlatform#9295)

    * Added the disable role snippet
    
    * Refactoring
    
    * Updated header
    
    * PR fix
    
    * Checkstyle fix
    
    * Names reverted
    msilc authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    63d76f5 View commit details
    Browse the repository at this point in the history
  20. chore(vertexai): update to the latest version of the libraries-bom (a…

    …nd thus latest vertexai SDK) (GoogleCloudPlatform#9305)
    
    * Remove the preview package
    Add a function calling example
    
    * Missing license header
    
    * chore(Checkstyle tweak)
    
    * Add missing region tag
    Fix typo in project ID string
    
    * Use the latest libraries-bom that references the 0.4.0 version of the google-cloud-vertexai SDK
    Use the same example for the token count as in Python and Golang
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (checkstyle and header tweaks)
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (incorporating feedback, fixing region tags, and clarifying comments)
    
    * chore(vertexai): Update to the latest version of the libraries-bom
    
    * chore(vertexai): tweak tests
    glaforge authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    3c878b1 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    218984c View commit details
    Browse the repository at this point in the history
  22. Update Gemini model versions (GoogleCloudPlatform#9309)

    * fix: update Gemini model names
    
    * fix: typo
    katiemn authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    79f6310 View commit details
    Browse the repository at this point in the history
  23. feat: Add API v2 finding samples (GoogleCloudPlatform#9284)

    * chore: create findigs/source update state
    
    * improve readability
    
    * improve comments and test state
    
    * new adjustment in comments
    rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    0acb3db View commit details
    Browse the repository at this point in the history
  24. feat: add gemini code sample and test for text-only input (GoogleClou…

    …dPlatform#9310)
    
    * feat: add gemini code sample and test for text-only input
    
    * address feedback
    
    * fix test
    irataxy authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    0c3971d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c60b9a4 View commit details
    Browse the repository at this point in the history
  26. chore(fixit): remove redundant region tags (GoogleCloudPlatform#9315)

    Manually searched docs and confirmed no references remain. Only removed comments, no code changes.
    
    Removed these tags:
    run_broken_service_upgrade
    run_broken_service_problem
    run_broken_service
    run_pubsub_server
    run_pubsub_handler
    run_manual_logging
    run_imageproc_controller
    run_imageproc_handler_setup
    run_imageproc_handler_blur
    run_imageproc_handler_analyze
    
    These tags are referenced in docs at all, so removed both variations:
    run_manual_logging_dep
    cloudrun_manual_logging_dep
    run_manual_logging_jib
    cloudrun_manual_logging_jib
    briandorsey authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    887ab26 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    e20cee3 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    639ba5d View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    0fbc3d7 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    3247638 View commit details
    Browse the repository at this point in the history
  31. chore(cloudrun): Cleanup deprecated sample Cloud Run Filesystem (Goog…

    …leCloudPlatform#9321)
    
    The Cloud Run Filesystem sample app is no longer in use.
    grayside authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    def983d View commit details
    Browse the repository at this point in the history
  32. feat: refactor text-only Gemini prompt (GoogleCloudPlatform#9322)

    * feat: refactor text-only Gemini prompt
    
    * fix line length errors
    
    * update testcase
    
    ---------
    
    Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
    2 people authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    d16f84f View commit details
    Browse the repository at this point in the history
  33. refactor(iam): update service account samples to use GAPIC library (G…

    …oogleCloudPlatform#9293)
    
    * Service accounts snippets rewrote using a new library
    
    * PR fix
    
    * Added GetServiceAccount and GetServiceAccountKey snippets
    
    * PR fix
    
    * test fix
    
    * PR fix
    
    * Moved service accounts snippets to iam/snippets
    
    * Removed unused dependency
    
    * Updated copyright year
    
    * PR fix
    
    * Refactored disable/enable keys snippets
    
    * PR fix
    
    * Test fix
    
    * AccessTests fix
    
    * Imports fix
    
    * stage1_testServiceAccountsList refactoring
    
    * Revert "stage1_testServiceAccountsList refactoring"
    
    This reverts commit 336fa98.
    
    * licence headers update
    
    * fix
    msilc authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    9524771 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    711ee97 View commit details
    Browse the repository at this point in the history
  35. feat(vertexai): support system instruction (GoogleCloudPlatform#9330)

    * Remove the preview package
    Add a function calling example
    
    * Missing license header
    
    * chore(Checkstyle tweak)
    
    * Add missing region tag
    Fix typo in project ID string
    
    * Use the latest libraries-bom that references the 0.4.0 version of the google-cloud-vertexai SDK
    Use the same example for the token count as in Python and Golang
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (checkstyle and header tweaks)
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (incorporating feedback, fixing region tags, and clarifying comments)
    
    * chore(vertexai): Update to the latest version of the libraries-bom
    
    * chore(vertexai): tweak tests
    
    * feat(vertexai): System instruction example
    
    * feat(vertexai): Add region tag for system instruction test
    
    * feat(vertexai): Add region tag for system instruction test (comment nit)
    
    * feat(vertexai): Add region tag for system instruction test (non-predictable output, removing an assert)
    glaforge authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    063db2f View commit details
    Browse the repository at this point in the history
  36. spanner/r2dbc test(s) are failing GoogleCloudPlatform#8978 (GoogleClo…

    …udPlatform#9318)
    
    adds creation of instance and only then creation of database, added after block to close delete instance, db and close all connections
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    70f3df1 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    89c487e View commit details
    Browse the repository at this point in the history
  38. moved files from "update IAM policy samples to use GAPIC library" PR (G…

    …oogleCloudPlatform#9319)
    
    * moved all files from "update IAM policy samples to use GAPIC library" PR to snippets module
    
    * merge with main, create TestPermissionsTest
    
    * remove unused test case
    
    * added license header
    
    * fix lint
    
    * fix lint
    ssvir authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f97340d View commit details
    Browse the repository at this point in the history
  39. chore: comment about how to instantiate logger variable in Cloud Run (G…

    …oogleCloudPlatform#9340)
    
    This App.java is referenced in https://cloud.google.com/run/docs/samples/cloudrun-manual-logging#cloudrun_manual_logging-java. But the document does not explain how to instantiate and configure the logger variable.
    
    https://cloud.google.com/run/docs/logging#run_manual_logging-java has the answer. So let's add the explanation in the source code comment.
    suztomo authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    6501c8b View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    608d980 View commit details
    Browse the repository at this point in the history
  41. feat: Adding API v2 Source samples (GoogleCloudPlatform#9299)

    * add sources samples
    
    * feat: sources samples v2
    
    * improve readability
    
    * improve comments
    
    * adjustments for pull request
    rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    4801c50 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    d0af378 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    cfc22c6 View commit details
    Browse the repository at this point in the history
  44. add region tag for QuestionAnswer.java (GoogleCloudPlatform#9335)

    * add region tag for QuestionAnswer.java
    
    * fix: remove extraneous region tags; update comments
    
    * fix: ensure that region tag includes the last }
    
    ---------
    
    Co-authored-by: Jennifer Davis <sigje@google.com>
    2 people authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    0d06414 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    0c24b56 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    d0b24dd View commit details
    Browse the repository at this point in the history
  47. feat(vertexai): Update to gemini-1.5-flash-001 (GoogleCloudPlatform#9344

    )
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (checkstyle and header tweaks)
    
    * feat(vertexai): Multimodal snippets using Gemini 1.5 (incorporating feedback, fixing region tags, and clarifying comments)
    
    * feat(vertexai): Use gemini-1.5-flash-001 instead of the preview model
    
    * Reset the initial backoff time to its original setting
    glaforge authored and rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    abb262a View commit details
    Browse the repository at this point in the history
  48. add mockito

    rafaelMurata committed May 27, 2024
    Configuration menu
    Copy the full SHA
    e4c9c6a View commit details
    Browse the repository at this point in the history