Skip to content

Commit

Permalink
feat(optimization): start generating apiv1 (#5765)
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo authored Mar 17, 2022
1 parent 58ee787 commit 2de0229
Show file tree
Hide file tree
Showing 14 changed files with 1,441 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest-submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"networkmanagement": "1.2.0",
"networksecurity": "0.3.0",
"notebooks": "0.3.0",
"optimization": "0.0.0",
"orchestration": "1.2.0",
"orgpolicy": "1.3.0",
"osconfig": "1.5.0",
Expand Down
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,15 @@
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/optimization/apiv1": {
"distribution_name": "cloud.google.com/go/optimization/apiv1",
"description": "Cloud Optimization API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/optimization/latest/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/orchestration/airflow/service/apiv1": {
"distribution_name": "cloud.google.com/go/orchestration/airflow/service/apiv1",
"description": "Cloud Composer API",
Expand Down
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,15 @@ var microgenGapicConfigs = []*microgenConfig{
// GA after 2022/04/04
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/optimization/v1",
pkg: "optimization",
importPath: "cloud.google.com/go/optimization/apiv1",
gRPCServiceConfigPath: "cloudoptimization_grpc_service_config.json",
apiServiceConfigPath: "cloudoptimization_v1.yaml",
// GA after 2022/04/16
releaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
5 changes: 5 additions & 0 deletions optimization/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changes

## v0.1.0

- feat(optimization): start generating clients
40 changes: 40 additions & 0 deletions optimization/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Cloud Optimization API

[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/optimization.svg)](https://pkg.go.dev/cloud.google.com/go/optimization)

Go Client Library for Cloud Optimization API.

## Install

```bash
go get cloud.google.com/go/optimization
```

## Stability

The stability of this module is indicated by SemVer.

However, a `v1+` module may have breaking changes in two scenarios:

* Packages with `alpha` or `beta` in the import path
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature).

## Go Version Support

See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported)
section in the root directory's README.

## Authorization

See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization)
section in the root directory's README.

## Contributing

Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md)
document for details.

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms. See
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md#contributor-code-of-conduct)
for more information.
163 changes: 163 additions & 0 deletions optimization/apiv1/doc.go

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

Loading

0 comments on commit 2de0229

Please sign in to comment.