Skip to content

Commit

Permalink
feat: Add custom instance config operations (googleapis#810)
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: https://github.com/googleapis/googleapis-gen/commit/33e360e7d4bf2479fa79eace85166453cd760b0d
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 163d711 commit f07333f
Show file tree
Hide file tree
Showing 24 changed files with 4,834 additions and 76 deletions.
16 changes: 16 additions & 0 deletions google/cloud/spanner_admin_instance_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,52 @@
from .services.instance_admin import InstanceAdminClient
from .services.instance_admin import InstanceAdminAsyncClient

from .types.common import OperationProgress
from .types.spanner_instance_admin import CreateInstanceConfigMetadata
from .types.spanner_instance_admin import CreateInstanceConfigRequest
from .types.spanner_instance_admin import CreateInstanceMetadata
from .types.spanner_instance_admin import CreateInstanceRequest
from .types.spanner_instance_admin import DeleteInstanceConfigRequest
from .types.spanner_instance_admin import DeleteInstanceRequest
from .types.spanner_instance_admin import GetInstanceConfigRequest
from .types.spanner_instance_admin import GetInstanceRequest
from .types.spanner_instance_admin import Instance
from .types.spanner_instance_admin import InstanceConfig
from .types.spanner_instance_admin import ListInstanceConfigOperationsRequest
from .types.spanner_instance_admin import ListInstanceConfigOperationsResponse
from .types.spanner_instance_admin import ListInstanceConfigsRequest
from .types.spanner_instance_admin import ListInstanceConfigsResponse
from .types.spanner_instance_admin import ListInstancesRequest
from .types.spanner_instance_admin import ListInstancesResponse
from .types.spanner_instance_admin import ReplicaInfo
from .types.spanner_instance_admin import UpdateInstanceConfigMetadata
from .types.spanner_instance_admin import UpdateInstanceConfigRequest
from .types.spanner_instance_admin import UpdateInstanceMetadata
from .types.spanner_instance_admin import UpdateInstanceRequest

__all__ = (
"InstanceAdminAsyncClient",
"CreateInstanceConfigMetadata",
"CreateInstanceConfigRequest",
"CreateInstanceMetadata",
"CreateInstanceRequest",
"DeleteInstanceConfigRequest",
"DeleteInstanceRequest",
"GetInstanceConfigRequest",
"GetInstanceRequest",
"Instance",
"InstanceAdminClient",
"InstanceConfig",
"ListInstanceConfigOperationsRequest",
"ListInstanceConfigOperationsResponse",
"ListInstanceConfigsRequest",
"ListInstanceConfigsResponse",
"ListInstancesRequest",
"ListInstancesResponse",
"OperationProgress",
"ReplicaInfo",
"UpdateInstanceConfigMetadata",
"UpdateInstanceConfigRequest",
"UpdateInstanceMetadata",
"UpdateInstanceRequest",
)
40 changes: 40 additions & 0 deletions google/cloud/spanner_admin_instance_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@
"create_instance"
]
},
"CreateInstanceConfig": {
"methods": [
"create_instance_config"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
]
},
"DeleteInstanceConfig": {
"methods": [
"delete_instance_config"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
Expand All @@ -35,6 +45,11 @@
"get_instance_config"
]
},
"ListInstanceConfigOperations": {
"methods": [
"list_instance_config_operations"
]
},
"ListInstanceConfigs": {
"methods": [
"list_instance_configs"
Expand All @@ -59,6 +74,11 @@
"methods": [
"update_instance"
]
},
"UpdateInstanceConfig": {
"methods": [
"update_instance_config"
]
}
}
},
Expand All @@ -70,11 +90,21 @@
"create_instance"
]
},
"CreateInstanceConfig": {
"methods": [
"create_instance_config"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
]
},
"DeleteInstanceConfig": {
"methods": [
"delete_instance_config"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
Expand All @@ -90,6 +120,11 @@
"get_instance_config"
]
},
"ListInstanceConfigOperations": {
"methods": [
"list_instance_config_operations"
]
},
"ListInstanceConfigs": {
"methods": [
"list_instance_configs"
Expand All @@ -114,6 +149,11 @@
"methods": [
"update_instance"
]
},
"UpdateInstanceConfig": {
"methods": [
"update_instance_config"
]
}
}
}
Expand Down
Loading

0 comments on commit f07333f

Please sign in to comment.