Skip to content

Commit 3b288b4

Browse files
authored
feat(resourcesettings): start generating apiv1 (#3854)
1 parent 08617cc commit 3b288b4

File tree

6 files changed

+938
-0
lines changed

6 files changed

+938
-0
lines changed

internal/.repo-metadata-full.json

+8
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,14 @@
799799
"docs_url": "https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv2",
800800
"release_level": "ga"
801801
},
802+
"cloud.google.com/go/resourcesettings/apiv1": {
803+
"distribution_name": "cloud.google.com/go/resourcesettings/apiv1",
804+
"description": "Resource Settings API",
805+
"language": "Go",
806+
"client_library_type": "generated",
807+
"docs_url": "https://pkg.go.dev/cloud.google.com/go/resourcesettings/apiv1",
808+
"release_level": "beta"
809+
},
802810
"cloud.google.com/go/retail/apiv2": {
803811
"distribution_name": "cloud.google.com/go/retail/apiv2",
804812
"description": "Retail API",

internal/gapicgen/generator/config.go

+9
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,15 @@ var microgenGapicConfigs = []*microgenConfig{
10451045
apiServiceConfigPath: "google/cloud/metastore/v1beta/metastore_v1beta.yaml",
10461046
releaseLevel: "beta",
10471047
},
1048+
{
1049+
inputDirectoryPath: "google/cloud/resourcesettings/v1",
1050+
pkg: "resourcesettings",
1051+
importPath: "cloud.google.com/go/resourcesettings/apiv1",
1052+
gRPCServiceConfigPath: "google/cloud/resourcesettings/v1/resourcesettings_grpc_service_config.json",
1053+
apiServiceConfigPath: "google/cloud/resourcesettings/v1/resourcesettings_v1.yaml",
1054+
// GA after 2021/04/23
1055+
releaseLevel: "beta",
1056+
},
10481057

10491058
// Non-Cloud APIs
10501059
{

resourcesettings/apiv1/doc.go

+118
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"schema": "1.0",
3+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
4+
"language": "go",
5+
"protoPackage": "google.cloud.resourcesettings.v1",
6+
"libraryPackage": "cloud.google.com/go/resourcesettings/apiv1",
7+
"services": {
8+
"ResourceSettingsService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "Client",
12+
"rpcs": {
13+
"CreateSettingValue": {
14+
"methods": [
15+
"CreateSettingValue"
16+
]
17+
},
18+
"DeleteSettingValue": {
19+
"methods": [
20+
"DeleteSettingValue"
21+
]
22+
},
23+
"GetSettingValue": {
24+
"methods": [
25+
"GetSettingValue"
26+
]
27+
},
28+
"ListSettings": {
29+
"methods": [
30+
"ListSettings"
31+
]
32+
},
33+
"LookupEffectiveSettingValue": {
34+
"methods": [
35+
"LookupEffectiveSettingValue"
36+
]
37+
},
38+
"SearchSettingValues": {
39+
"methods": [
40+
"SearchSettingValues"
41+
]
42+
},
43+
"UpdateSettingValue": {
44+
"methods": [
45+
"UpdateSettingValue"
46+
]
47+
}
48+
}
49+
}
50+
}
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)