Skip to content

docs: add advanced usage section for Parameterized Secure Views in cl…#2860

Merged
duwenxin99 merged 4 commits intogoogleapis:mainfrom
MohammadrezaPourreza:add_psv_params_to_cloudgda_docs
Mar 26, 2026
Merged

docs: add advanced usage section for Parameterized Secure Views in cl…#2860
duwenxin99 merged 4 commits intogoogleapis:mainfrom
MohammadrezaPourreza:add_psv_params_to_cloudgda_docs

Conversation

@MohammadrezaPourreza
Copy link
Copy Markdown
Contributor

@MohammadrezaPourreza MohammadrezaPourreza commented Mar 26, 2026

Adds an Advanced Usage section to the cloud-gemini-data-analytics-query tool documentation covering Parameterized Secure Views (PSV).

PSV provides Row-Level Access Control (RLAC) by requiring mandatory parameters at query time, preventing callers from accessing underlying base tables directly. This section explains how PSV works conceptually and provides ready-to-use YAML configuration examples for both PostgreSQL and MySQL engines, including the correct parameterizedSecureViewParameters structure.

  • Make sure you reviewed
    CONTRIBUTING.md
  • Make sure to open an issue as a
    bug/issue
    before writing your code! That way we can discuss the change, evaluate
    designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Make sure to add ! if this involve a breaking change

🛠️ Fixes #<issue_number_goes_here>

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds an 'Advanced Usage' section to the cloud-gda-query tool documentation, detailing Parameterized Secure Views (PSV) for Row-Level Access Control. It includes a conceptual overview and a YAML configuration example for CloudSQL PostgreSQL. I have no feedback to provide.

Copy link
Copy Markdown
Contributor

@wangauone wangauone left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Cloudflare Preview Ready!

🔎 View Preview: https://pr-2860.toolbox-docs-6xc.pages.dev

(Note: Subsequent pushes to this PR will automatically update the preview at this same URL)

@github-actions
Copy link
Copy Markdown
Contributor

@duwenxin99 duwenxin99 merged commit a8cc6a1 into googleapis:main Mar 26, 2026
19 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 26, 2026
…ws in cl… (#2860)

Adds an Advanced Usage section to the cloud-gemini-data-analytics-query
tool documentation covering Parameterized Secure Views (PSV).

PSV provides Row-Level Access Control (RLAC) by requiring mandatory
parameters at query time, preventing callers from accessing underlying
base tables directly. This section explains how PSV works conceptually
and provides ready-to-use YAML configuration examples for both
PostgreSQL and MySQL engines, including the correct
parameterizedSecureViewParameters structure.

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #<issue_number_goes_here> a8cc6a1
github-actions bot pushed a commit that referenced this pull request Mar 26, 2026
…ws in cl… (#2860)

Adds an Advanced Usage section to the cloud-gemini-data-analytics-query
tool documentation covering Parameterized Secure Views (PSV).

PSV provides Row-Level Access Control (RLAC) by requiring mandatory
parameters at query time, preventing callers from accessing underlying
base tables directly. This section explains how PSV works conceptually
and provides ready-to-use YAML configuration examples for both
PostgreSQL and MySQL engines, including the correct
parameterizedSecureViewParameters structure.

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #<issue_number_goes_here> a8cc6a1
github-actions bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Mar 26, 2026
…ws in cl… (googleapis#2860)

Adds an Advanced Usage section to the cloud-gemini-data-analytics-query
tool documentation covering Parameterized Secure Views (PSV).

PSV provides Row-Level Access Control (RLAC) by requiring mandatory
parameters at query time, preventing callers from accessing underlying
base tables directly. This section explains how PSV works conceptually
and provides ready-to-use YAML configuration examples for both
PostgreSQL and MySQL engines, including the correct
parameterizedSecureViewParameters structure.

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #<issue_number_goes_here> a8cc6a1
github-actions bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Mar 26, 2026
…ws in cl… (googleapis#2860)

Adds an Advanced Usage section to the cloud-gemini-data-analytics-query
tool documentation covering Parameterized Secure Views (PSV).

PSV provides Row-Level Access Control (RLAC) by requiring mandatory
parameters at query time, preventing callers from accessing underlying
base tables directly. This section explains how PSV works conceptually
and provides ready-to-use YAML configuration examples for both
PostgreSQL and MySQL engines, including the correct
parameterizedSecureViewParameters structure.

- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #<issue_number_goes_here> a8cc6a1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants