Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 17d6db5

Browse files
authored
docs: minor formatting improvements (#2432)
1 parent c561b26 commit 17d6db5

File tree

39 files changed

+1172
-1130
lines changed

39 files changed

+1172
-1130
lines changed

BUILD.bazel

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,44 @@ toolchain_type(
77
visibility = ["//visibility:public"],
88
)
99

10+
pandoc_toolchain(
11+
exec_compatible_with = [
12+
"@platforms//os:linux",
13+
"@platforms//cpu:arm64",
14+
],
15+
platform = "linux_arm_64",
16+
)
17+
1018
pandoc_toolchain(
1119
exec_compatible_with = [
1220
"@platforms//os:linux",
1321
"@platforms//cpu:x86_64",
1422
],
15-
platform = "linux",
23+
platform = "linux_x86_64",
24+
)
25+
26+
pandoc_toolchain(
27+
exec_compatible_with = [
28+
"@platforms//os:osx",
29+
"@platforms//cpu:arm64",
30+
],
31+
platform = "macOS_arm_64",
1632
)
1733

1834
pandoc_toolchain(
1935
exec_compatible_with = [
2036
"@platforms//os:osx",
2137
"@platforms//cpu:x86_64",
2238
],
23-
platform = "macOS",
39+
platform = "macOS_x86_64",
40+
)
41+
42+
pandoc_toolchain(
43+
exec_compatible_with = [
44+
"@platforms//os:windows",
45+
"@platforms//cpu:x86_64",
46+
],
47+
platform = "windows_x86_64",
2448
)
2549

2650
pandoc_binary(

repositories.bzl

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,42 @@ def gapic_generator_python():
3939

4040
_maybe(
4141
http_archive,
42-
name = "pandoc_linux",
42+
name = "pandoc_linux_arm_64",
4343
build_file_content = _PANDOC_BUILD_FILE,
44-
strip_prefix = "pandoc-2.2.1",
45-
url = "https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-linux.tar.gz",
44+
strip_prefix = "pandoc-3.7.0.2",
45+
url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-linux-arm64.tar.gz",
4646
)
4747

4848
_maybe(
4949
http_archive,
50-
name = "pandoc_macOS",
50+
name = "pandoc_linux_x86_64",
5151
build_file_content = _PANDOC_BUILD_FILE,
52-
strip_prefix = "pandoc-2.2.1",
53-
url = "https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-macOS.zip",
52+
strip_prefix = "pandoc-3.7.0.2",
53+
url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-linux-amd64.tar.gz",
54+
)
55+
56+
_maybe(
57+
http_archive,
58+
name = "pandoc_macOS_arm_64",
59+
build_file_content = _PANDOC_BUILD_FILE,
60+
strip_prefix = "pandoc-3.7.0.2",
61+
url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-arm64-macOS.zip",
62+
)
63+
64+
_maybe(
65+
http_archive,
66+
name = "pandoc_macOS_x86_64",
67+
build_file_content = _PANDOC_BUILD_FILE,
68+
strip_prefix = "pandoc-3.7.0.2",
69+
url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-x86_64-macOS.zip",
70+
)
71+
72+
_maybe(
73+
http_archive,
74+
name = "pandoc_windows_x86_64",
75+
build_file_content = _PANDOC_BUILD_FILE,
76+
strip_prefix = "pandoc-3.7.0.2",
77+
url = "https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-windows-x86_64.zip",
5478
)
5579

5680
_rules_gapic_version = "0.5.4"
@@ -70,8 +94,11 @@ def gapic_generator_python():
7094

7195
def gapic_generator_register_toolchains():
7296
native.register_toolchains(
73-
"@gapic_generator_python//:pandoc_toolchain_linux",
74-
"@gapic_generator_python//:pandoc_toolchain_macOS",
97+
"@gapic_generator_python//:pandoc_toolchain_linux_arm_64",
98+
"@gapic_generator_python//:pandoc_toolchain_linux_x86_64",
99+
"@gapic_generator_python//:pandoc_toolchain_macOS_arm_64",
100+
"@gapic_generator_python//:pandoc_toolchain_macOS_x86_64",
101+
"@gapic_generator_python//:pandoc_toolchain_windows_x86_64",
75102
)
76103

77104
def _maybe(repo_rule, name, strip_repo_prefix = "", **kwargs):

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/async_client.py

Lines changed: 135 additions & 137 deletions
Large diffs are not rendered by default.

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/client.py

Lines changed: 135 additions & 137 deletions
Large diffs are not rendered by default.

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/transports/grpc.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -976,16 +976,16 @@ def analyze_org_policy_governed_assets(self) -> Callable[
976976
resources or policies) under a scope. This RPC supports custom
977977
constraints and the following 10 canned constraints:
978978
979-
- storage.uniformBucketLevelAccess
980-
- iam.disableServiceAccountKeyCreation
981-
- iam.allowedPolicyMemberDomains
982-
- compute.vmExternalIpAccess
983-
- appengine.enforceServiceAccountActAsCheck
984-
- gcp.resourceLocations
985-
- compute.trustedImageProjects
986-
- compute.skipDefaultNetworkCreation
987-
- compute.requireOsLogin
988-
- compute.disableNestedVirtualization
979+
- storage.uniformBucketLevelAccess
980+
- iam.disableServiceAccountKeyCreation
981+
- iam.allowedPolicyMemberDomains
982+
- compute.vmExternalIpAccess
983+
- appengine.enforceServiceAccountActAsCheck
984+
- gcp.resourceLocations
985+
- compute.trustedImageProjects
986+
- compute.skipDefaultNetworkCreation
987+
- compute.requireOsLogin
988+
- compute.disableNestedVirtualization
989989
990990
This RPC only returns either resources of types supported by
991991
`searchable asset

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/transports/grpc_asyncio.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -982,16 +982,16 @@ def analyze_org_policy_governed_assets(self) -> Callable[
982982
resources or policies) under a scope. This RPC supports custom
983983
constraints and the following 10 canned constraints:
984984
985-
- storage.uniformBucketLevelAccess
986-
- iam.disableServiceAccountKeyCreation
987-
- iam.allowedPolicyMemberDomains
988-
- compute.vmExternalIpAccess
989-
- appengine.enforceServiceAccountActAsCheck
990-
- gcp.resourceLocations
991-
- compute.trustedImageProjects
992-
- compute.skipDefaultNetworkCreation
993-
- compute.requireOsLogin
994-
- compute.disableNestedVirtualization
985+
- storage.uniformBucketLevelAccess
986+
- iam.disableServiceAccountKeyCreation
987+
- iam.allowedPolicyMemberDomains
988+
- compute.vmExternalIpAccess
989+
- appengine.enforceServiceAccountActAsCheck
990+
- gcp.resourceLocations
991+
- compute.trustedImageProjects
992+
- compute.skipDefaultNetworkCreation
993+
- compute.requireOsLogin
994+
- compute.disableNestedVirtualization
995995
996996
This RPC only returns either resources of types supported by
997997
`searchable asset

0 commit comments

Comments
 (0)