Skip to content

Commit

Permalink
feat(resourcesettings): start generating apiv1 (#3854)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Mar 23, 2021
1 parent 08617cc commit 3b288b4
Show file tree
Hide file tree
Showing 6 changed files with 938 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/.repo-metadata-full.json
Expand Up @@ -799,6 +799,14 @@
"docs_url": "https://pkg.go.dev/cloud.google.com/go/resourcemanager/apiv2",
"release_level": "ga"
},
"cloud.google.com/go/resourcesettings/apiv1": {
"distribution_name": "cloud.google.com/go/resourcesettings/apiv1",
"description": "Resource Settings API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://pkg.go.dev/cloud.google.com/go/resourcesettings/apiv1",
"release_level": "beta"
},
"cloud.google.com/go/retail/apiv2": {
"distribution_name": "cloud.google.com/go/retail/apiv2",
"description": "Retail API",
Expand Down
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Expand Up @@ -1045,6 +1045,15 @@ var microgenGapicConfigs = []*microgenConfig{
apiServiceConfigPath: "google/cloud/metastore/v1beta/metastore_v1beta.yaml",
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/resourcesettings/v1",
pkg: "resourcesettings",
importPath: "cloud.google.com/go/resourcesettings/apiv1",
gRPCServiceConfigPath: "google/cloud/resourcesettings/v1/resourcesettings_grpc_service_config.json",
apiServiceConfigPath: "google/cloud/resourcesettings/v1/resourcesettings_v1.yaml",
// GA after 2021/04/23
releaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
118 changes: 118 additions & 0 deletions resourcesettings/apiv1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions resourcesettings/apiv1/gapic_metadata.json
@@ -0,0 +1,53 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.resourcesettings.v1",
"libraryPackage": "cloud.google.com/go/resourcesettings/apiv1",
"services": {
"ResourceSettingsService": {
"clients": {
"grpc": {
"libraryClient": "Client",
"rpcs": {
"CreateSettingValue": {
"methods": [
"CreateSettingValue"
]
},
"DeleteSettingValue": {
"methods": [
"DeleteSettingValue"
]
},
"GetSettingValue": {
"methods": [
"GetSettingValue"
]
},
"ListSettings": {
"methods": [
"ListSettings"
]
},
"LookupEffectiveSettingValue": {
"methods": [
"LookupEffectiveSettingValue"
]
},
"SearchSettingValues": {
"methods": [
"SearchSettingValues"
]
},
"UpdateSettingValue": {
"methods": [
"UpdateSettingValue"
]
}
}
}
}
}
}
}

0 comments on commit 3b288b4

Please sign in to comment.