Skip to content

Commit

Permalink
feat(osconfig): start generating apiv1alpha (#4119)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss authored May 19, 2021
1 parent bfcc549 commit 8ad471f
Show file tree
Hide file tree
Showing 6 changed files with 1,622 additions and 0 deletions.
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,15 @@
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/osconfig/apiv1alpha": {
"distribution_name": "cloud.google.com/go/osconfig/apiv1alpha",
"description": "OS Config API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/osconfig/apiv1alpha",
"release_level": "alpha",
"library_type": ""
},
"cloud.google.com/go/osconfig/apiv1beta": {
"distribution_name": "cloud.google.com/go/osconfig/apiv1beta",
"description": "Cloud OS Config API",
Expand Down
8 changes: 8 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,14 @@ var microgenGapicConfigs = []*microgenConfig{
apiServiceConfigPath: "google/cloud/osconfig/v1/osconfig_v1.yaml",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/cloud/osconfig/v1alpha",
pkg: "osconfig",
importPath: "cloud.google.com/go/osconfig/apiv1alpha",
gRPCServiceConfigPath: "google/cloud/osconfig/v1alpha/osconfig_grpc_service_config.json",
apiServiceConfigPath: "google/cloud/osconfig/v1alpha/osconfig_v1alpha.yaml",
releaseLevel: "alpha",
},
{
inputDirectoryPath: "google/cloud/osconfig/v1beta",
pkg: "osconfig",
Expand Down
117 changes: 117 additions & 0 deletions osconfig/apiv1alpha/doc.go

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

78 changes: 78 additions & 0 deletions osconfig/apiv1alpha/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.osconfig.v1alpha",
"libraryPackage": "cloud.google.com/go/osconfig/apiv1alpha",
"services": {
"OsConfigZonalService": {
"clients": {
"grpc": {
"libraryClient": "OsConfigZonalClient",
"rpcs": {
"CreateOSPolicyAssignment": {
"methods": [
"CreateOSPolicyAssignment"
]
},
"DeleteOSPolicyAssignment": {
"methods": [
"DeleteOSPolicyAssignment"
]
},
"GetInstanceOSPoliciesCompliance": {
"methods": [
"GetInstanceOSPoliciesCompliance"
]
},
"GetInventory": {
"methods": [
"GetInventory"
]
},
"GetOSPolicyAssignment": {
"methods": [
"GetOSPolicyAssignment"
]
},
"GetVulnerabilityReport": {
"methods": [
"GetVulnerabilityReport"
]
},
"ListInstanceOSPoliciesCompliances": {
"methods": [
"ListInstanceOSPoliciesCompliances"
]
},
"ListInventories": {
"methods": [
"ListInventories"
]
},
"ListOSPolicyAssignmentRevisions": {
"methods": [
"ListOSPolicyAssignmentRevisions"
]
},
"ListOSPolicyAssignments": {
"methods": [
"ListOSPolicyAssignments"
]
},
"ListVulnerabilityReports": {
"methods": [
"ListVulnerabilityReports"
]
},
"UpdateOSPolicyAssignment": {
"methods": [
"UpdateOSPolicyAssignment"
]
}
}
}
}
}
}
}
Loading

0 comments on commit 8ad471f

Please sign in to comment.