Skip to content

Commit

Permalink
chore: bulk gen (#5147)
Browse files Browse the repository at this point in the history
This commit will be tagged:

ids/v0.1.0
vmmigration/v0.1.0
codyoss authored Nov 15, 2021
1 parent da11b5d commit 24ab00a
Showing 18 changed files with 7,676 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ids/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changes

## v0.1.0

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

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

Go Client Library for Cloud IDS API.

## Install

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

## 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.
164 changes: 164 additions & 0 deletions ids/apiv1/doc.go

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

38 changes: 38 additions & 0 deletions ids/apiv1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.ids.v1",
"libraryPackage": "cloud.google.com/go/ids/apiv1",
"services": {
"IDS": {
"clients": {
"grpc": {
"libraryClient": "Client",
"rpcs": {
"CreateEndpoint": {
"methods": [
"CreateEndpoint"
]
},
"DeleteEndpoint": {
"methods": [
"DeleteEndpoint"
]
},
"GetEndpoint": {
"methods": [
"GetEndpoint"
]
},
"ListEndpoints": {
"methods": [
"ListEndpoints"
]
}
}
}
}
}
}
}
556 changes: 556 additions & 0 deletions ids/apiv1/ids_client.go

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions ids/apiv1/ids_client_example_test.go
30 changes: 30 additions & 0 deletions ids/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module cloud.google.com/go/ids

go 1.17

require (
cloud.google.com/go v0.97.0
github.com/googleapis/gax-go/v2 v2.1.1
google.golang.org/api v0.60.0
google.golang.org/genproto v0.0.0-20211115160612-a5da7257a6f7
google.golang.org/grpc v1.42.0
google.golang.org/protobuf v1.27.1
)

require (
github.com/census-instrumentation/opencensus-proto v0.2.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4 // indirect
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1 // indirect
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021 // indirect
github.com/envoyproxy/protoc-gen-validate v0.1.0 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.6 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420 // indirect
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1 // indirect
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 // indirect
golang.org/x/text v0.3.6 // indirect
google.golang.org/appengine v1.6.7 // indirect
)
571 changes: 571 additions & 0 deletions ids/go.sum

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
@@ -581,7 +581,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/filestore/latest/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/firestore": {
@@ -701,6 +701,15 @@
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/ids/apiv1": {
"distribution_name": "cloud.google.com/go/ids/apiv1",
"description": "Cloud IDS API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/ids/latest/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/iot/apiv1": {
"distribution_name": "cloud.google.com/go/iot/apiv1",
"description": "Cloud IoT API",
@@ -1511,6 +1520,15 @@
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/vmmigration/apiv1": {
"distribution_name": "cloud.google.com/go/vmmigration/apiv1",
"description": "VM Migration API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/vmmigration/latest/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/vpcaccess/apiv1": {
"distribution_name": "cloud.google.com/go/vpcaccess/apiv1",
"description": "Serverless VPC Access API",
18 changes: 18 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
@@ -1318,6 +1318,24 @@ var microgenGapicConfigs = []*microgenConfig{
// GA after 2021/11/08
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/ids/v1",
pkg: "ids",
importPath: "cloud.google.com/go/ids/apiv1",
gRPCServiceConfigPath: "ids_grpc_service_config.json",
apiServiceConfigPath: "ids_v1.yaml",
// GA after 2021/12/15
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/vmmigration/v1",
pkg: "vmmigration",
importPath: "cloud.google.com/go/vmmigration/apiv1",
gRPCServiceConfigPath: "vmmigration_v1_grpc_service_config.json",
apiServiceConfigPath: "vmmigration_v1.yaml",
// GA after 2021/12/15
releaseLevel: "beta",
},

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

## v0.1.0

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

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

Go Client Library for VM Migration API.

## Install

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

## 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.
161 changes: 161 additions & 0 deletions vmmigration/apiv1/doc.go
233 changes: 233 additions & 0 deletions vmmigration/apiv1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.vmmigration.v1",
"libraryPackage": "cloud.google.com/go/vmmigration/apiv1",
"services": {
"VmMigration": {
"clients": {
"grpc": {
"libraryClient": "Client",
"rpcs": {
"AddGroupMigration": {
"methods": [
"AddGroupMigration"
]
},
"CancelCloneJob": {
"methods": [
"CancelCloneJob"
]
},
"CancelCutoverJob": {
"methods": [
"CancelCutoverJob"
]
},
"CreateCloneJob": {
"methods": [
"CreateCloneJob"
]
},
"CreateCutoverJob": {
"methods": [
"CreateCutoverJob"
]
},
"CreateDatacenterConnector": {
"methods": [
"CreateDatacenterConnector"
]
},
"CreateGroup": {
"methods": [
"CreateGroup"
]
},
"CreateMigratingVm": {
"methods": [
"CreateMigratingVm"
]
},
"CreateSource": {
"methods": [
"CreateSource"
]
},
"CreateTargetProject": {
"methods": [
"CreateTargetProject"
]
},
"CreateUtilizationReport": {
"methods": [
"CreateUtilizationReport"
]
},
"DeleteDatacenterConnector": {
"methods": [
"DeleteDatacenterConnector"
]
},
"DeleteGroup": {
"methods": [
"DeleteGroup"
]
},
"DeleteMigratingVm": {
"methods": [
"DeleteMigratingVm"
]
},
"DeleteSource": {
"methods": [
"DeleteSource"
]
},
"DeleteTargetProject": {
"methods": [
"DeleteTargetProject"
]
},
"DeleteUtilizationReport": {
"methods": [
"DeleteUtilizationReport"
]
},
"FetchInventory": {
"methods": [
"FetchInventory"
]
},
"FinalizeMigration": {
"methods": [
"FinalizeMigration"
]
},
"GetCloneJob": {
"methods": [
"GetCloneJob"
]
},
"GetCutoverJob": {
"methods": [
"GetCutoverJob"
]
},
"GetDatacenterConnector": {
"methods": [
"GetDatacenterConnector"
]
},
"GetGroup": {
"methods": [
"GetGroup"
]
},
"GetMigratingVm": {
"methods": [
"GetMigratingVm"
]
},
"GetSource": {
"methods": [
"GetSource"
]
},
"GetTargetProject": {
"methods": [
"GetTargetProject"
]
},
"GetUtilizationReport": {
"methods": [
"GetUtilizationReport"
]
},
"ListCloneJobs": {
"methods": [
"ListCloneJobs"
]
},
"ListCutoverJobs": {
"methods": [
"ListCutoverJobs"
]
},
"ListDatacenterConnectors": {
"methods": [
"ListDatacenterConnectors"
]
},
"ListGroups": {
"methods": [
"ListGroups"
]
},
"ListMigratingVms": {
"methods": [
"ListMigratingVms"
]
},
"ListSources": {
"methods": [
"ListSources"
]
},
"ListTargetProjects": {
"methods": [
"ListTargetProjects"
]
},
"ListUtilizationReports": {
"methods": [
"ListUtilizationReports"
]
},
"PauseMigration": {
"methods": [
"PauseMigration"
]
},
"RemoveGroupMigration": {
"methods": [
"RemoveGroupMigration"
]
},
"ResumeMigration": {
"methods": [
"ResumeMigration"
]
},
"StartMigration": {
"methods": [
"StartMigration"
]
},
"UpdateGroup": {
"methods": [
"UpdateGroup"
]
},
"UpdateMigratingVm": {
"methods": [
"UpdateMigratingVm"
]
},
"UpdateSource": {
"methods": [
"UpdateSource"
]
},
"UpdateTargetProject": {
"methods": [
"UpdateTargetProject"
]
}
}
}
}
}
}
}
4,001 changes: 4,001 additions & 0 deletions vmmigration/apiv1/vm_migration_client.go

Large diffs are not rendered by default.

1,063 changes: 1,063 additions & 0 deletions vmmigration/apiv1/vm_migration_client_example_test.go

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions vmmigration/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module cloud.google.com/go/vmmigration

go 1.17

require (
cloud.google.com/go v0.97.0
github.com/googleapis/gax-go/v2 v2.1.1
google.golang.org/api v0.60.0
google.golang.org/genproto v0.0.0-20211115160612-a5da7257a6f7
google.golang.org/grpc v1.42.0
google.golang.org/protobuf v1.27.1
)

require (
github.com/census-instrumentation/opencensus-proto v0.2.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4 // indirect
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1 // indirect
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021 // indirect
github.com/envoyproxy/protoc-gen-validate v0.1.0 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.6 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420 // indirect
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1 // indirect
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 // indirect
golang.org/x/text v0.3.6 // indirect
google.golang.org/appengine v1.6.7 // indirect
)
571 changes: 571 additions & 0 deletions vmmigration/go.sum

Large diffs are not rendered by default.

0 comments on commit 24ab00a

Please sign in to comment.