Skip to content

Commit 3ce0eda

Browse files
authored
docs: group Security Command Center packages together on cloud.google.com (#13715)
On https://cloud.google.com/python/docs/reference, the Security Command Center _product_ should be listed with the client libraries for all of the _services_ that it provides, including the following: * [modelarmor.googleapis.com](https://cloud.google.com/security-command-center/docs/reference/model-armor/rest) * [securitycenter.googleapis.com](https://cloud.google.com/security-command-center/docs/reference/rest) * [securitycentermanagement.googleapis.com](https://cloud.google.com/security-command-center/docs/reference/security-center-management/rest) * [securityposture.googleapis.com](https://cloud.google.com/security-command-center/docs/reference/securityposture/rest) (no client libraries yet) * [websecurityscanner.googleapis.com](https://cloud.google.com/security-command-center/docs/reference/web-security-scanner/rest) This PR updates the metadata for these services' client libraries so that they all use the same `api_id` and `api_shortname`. According to @tbph, this is the correct way to group all of these client libraries together on https://cloud.google.com/python/docs/reference. This is also consistent with what we do for other products that have multiple client libraries, such as BeyondCorp Enterprise. (For example, compare the metadata for [`google-cloud-beyondcorp-appconnections`](https://github.com/googleapis/google-cloud-python/blob/a37aa650281f4621f323b0ac1237ebddef635fbc/packages/google-cloud-beyondcorp-appconnections/.repo-metadata.json) and [`google-cloud-beyondcorp-appgateways`](https://github.com/googleapis/google-cloud-python/blob/a37aa650281f4621f323b0ac1237ebddef635fbc/packages/google-cloud-beyondcorp-appgateways/.repo-metadata.json).) Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [X] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-cloud-python/issues) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [X] Ensure the tests and linter pass - [X] Code coverage does not decrease (if any source code was changed) - [X] Appropriate docs were updated (if necessary) Fixes #13714
1 parent 4c93aed commit 3ce0eda

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/google-cloud-modelarmor/.repo-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"library_type": "GAPIC_AUTO",
1111
"repo": "googleapis/google-cloud-python",
1212
"distribution_name": "google-cloud-modelarmor",
13-
"api_id": "modelarmor.googleapis.com",
13+
"api_id": "securitycenter.googleapis.com",
1414
"default_version": "v1",
1515
"codeowner_team": "",
16-
"api_shortname": "modelarmor"
16+
"api_shortname": "securitycenter"
1717
}

packages/google-cloud-securitycentermanagement/.repo-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"library_type": "GAPIC_AUTO",
1111
"repo": "googleapis/google-cloud-python",
1212
"distribution_name": "google-cloud-securitycentermanagement",
13-
"api_id": "securitycentermanagement.googleapis.com",
13+
"api_id": "securitycenter.googleapis.com",
1414
"default_version": "v1",
1515
"codeowner_team": "",
16-
"api_shortname": "securitycentermanagement"
16+
"api_shortname": "securitycenter"
1717
}

packages/google-cloud-websecurityscanner/.repo-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"library_type": "GAPIC_AUTO",
1111
"repo": "googleapis/google-cloud-python",
1212
"distribution_name": "google-cloud-websecurityscanner",
13-
"api_id": "websecurityscanner.googleapis.com",
13+
"api_id": "securitycenter.googleapis.com",
1414
"requires_billing": true,
1515
"default_version": "v1",
1616
"codeowner_team": "",
17-
"api_shortname": "websecurityscanner"
17+
"api_shortname": "securitycenter"
1818
}

0 commit comments

Comments
 (0)