Skip to content

Commit

Permalink
feat: Add custom instance config operations (#1712)
Browse files Browse the repository at this point in the history
* feat: Add custom instance config operations

PiperOrigin-RevId: 474535825

Source-Link: googleapis/googleapis@69c840e

Source-Link: googleapis/googleapis-gen@33e360e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzNlMzYwZTdkNGJmMjQ3OWZhNzllYWNlODUxNjY0NTNjZDc2MGIwZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 16, 2022
1 parent f1ae513 commit 4b7716b
Show file tree
Hide file tree
Showing 10 changed files with 7,526 additions and 1,382 deletions.
42 changes: 42 additions & 0 deletions protos/google/spanner/admin/instance/v1/common.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.spanner.admin.instance.v1;

import "google/protobuf/timestamp.proto";

option csharp_namespace = "Google.Cloud.Spanner.Admin.Instance.V1";
option go_package = "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance";
option java_multiple_files = true;
option java_outer_classname = "CommonProto";
option java_package = "com.google.spanner.admin.instance.v1";
option php_namespace = "Google\\Cloud\\Spanner\\Admin\\Instance\\V1";
option ruby_package = "Google::Cloud::Spanner::Admin::Instance::V1";

// Encapsulates progress related information for a Cloud Spanner long
// running instance operations.
message OperationProgress {
// Percent completion of the operation.
// Values are between 0 and 100 inclusive.
int32 progress_percent = 1;

// Time the request was received.
google.protobuf.Timestamp start_time = 2;

// If set, the time at which this operation failed or was completed
// successfully.
google.protobuf.Timestamp end_time = 3;
}
535 changes: 494 additions & 41 deletions protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto

Large diffs are not rendered by default.

1,159 changes: 1,090 additions & 69 deletions protos/protos.d.ts

Large diffs are not rendered by default.

4,757 changes: 3,637 additions & 1,120 deletions protos/protos.js

Large diffs are not rendered by default.

310 changes: 310 additions & 0 deletions protos/protos.json

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions src/v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"getInstanceConfig"
]
},
"DeleteInstanceConfig": {
"methods": [
"deleteInstanceConfig"
]
},
"GetInstance": {
"methods": [
"getInstance"
Expand All @@ -40,6 +45,16 @@
"testIamPermissions"
]
},
"CreateInstanceConfig": {
"methods": [
"createInstanceConfig"
]
},
"UpdateInstanceConfig": {
"methods": [
"updateInstanceConfig"
]
},
"CreateInstance": {
"methods": [
"createInstance"
Expand All @@ -57,6 +72,13 @@
"listInstanceConfigsAsync"
]
},
"ListInstanceConfigOperations": {
"methods": [
"listInstanceConfigOperations",
"listInstanceConfigOperationsStream",
"listInstanceConfigOperationsAsync"
]
},
"ListInstances": {
"methods": [
"listInstances",
Expand All @@ -74,6 +96,11 @@
"getInstanceConfig"
]
},
"DeleteInstanceConfig": {
"methods": [
"deleteInstanceConfig"
]
},
"GetInstance": {
"methods": [
"getInstance"
Expand All @@ -99,6 +126,16 @@
"testIamPermissions"
]
},
"CreateInstanceConfig": {
"methods": [
"createInstanceConfig"
]
},
"UpdateInstanceConfig": {
"methods": [
"updateInstanceConfig"
]
},
"CreateInstance": {
"methods": [
"createInstance"
Expand All @@ -116,6 +153,13 @@
"listInstanceConfigsAsync"
]
},
"ListInstanceConfigOperations": {
"methods": [
"listInstanceConfigOperations",
"listInstanceConfigOperationsStream",
"listInstanceConfigOperationsAsync"
]
},
"ListInstances": {
"methods": [
"listInstances",
Expand Down
Loading

0 comments on commit 4b7716b

Please sign in to comment.