Skip to content

Commit

Permalink
fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targ…
Browse files Browse the repository at this point in the history
…ets (#734)

* feat: enable "rest" transport in Python for services supporting numeric enums

PiperOrigin-RevId: 508143576

Source-Link: googleapis/googleapis@7a702a9

Source-Link: googleapis/googleapis-gen@6ad1279
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmFkMTI3OWMwZTdhYTc4N2FjNmI2NmM5ZmQ0YTIxMDY5MmVkZmZjZCJ9

* 🦉 Updates from OwlBot post-processor

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

* feat: publish the Cloud Bigtable Change Streams

PiperOrigin-RevId: 508465928

Source-Link: googleapis/googleapis@3770af2

Source-Link: googleapis/googleapis-gen@0280f1f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDI4MGYxZjViOTkwZDkwMTNhMWM0YzU1NWRlZjI0MWEzMTI0MjM3NiJ9

* 🦉 Updates from OwlBot post-processor

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

* fix(deps): require google-api-core>=1.34.0,>=2.11.0

* fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets

PiperOrigin-RevId: 510187992

Source-Link: googleapis/googleapis@5edc235

Source-Link: googleapis/googleapis-gen@b0bedb7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjBiZWRiNzJlNDc2NWEzZTBiNjc0YTI4YzUwZWEwZjlhOWIyNmE4OSJ9

* 🦉 Updates from OwlBot post-processor

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

* run generator at main; fix mypy errors

* remove obsolete replacements in owlbot.py

* 🦉 Updates from OwlBot post-processor

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

* 🦉 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>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people committed Feb 17, 2023
1 parent a6cfb02 commit c5116e0
Show file tree
Hide file tree
Showing 27 changed files with 26,340 additions and 458 deletions.
235 changes: 235 additions & 0 deletions google/cloud/bigtable_admin_v2/gapic_metadata.json
Expand Up @@ -226,6 +226,116 @@
]
}
}
},
"rest": {
"libraryClient": "BigtableInstanceAdminClient",
"rpcs": {
"CreateAppProfile": {
"methods": [
"create_app_profile"
]
},
"CreateCluster": {
"methods": [
"create_cluster"
]
},
"CreateInstance": {
"methods": [
"create_instance"
]
},
"DeleteAppProfile": {
"methods": [
"delete_app_profile"
]
},
"DeleteCluster": {
"methods": [
"delete_cluster"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
]
},
"GetAppProfile": {
"methods": [
"get_app_profile"
]
},
"GetCluster": {
"methods": [
"get_cluster"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"GetInstance": {
"methods": [
"get_instance"
]
},
"ListAppProfiles": {
"methods": [
"list_app_profiles"
]
},
"ListClusters": {
"methods": [
"list_clusters"
]
},
"ListHotTablets": {
"methods": [
"list_hot_tablets"
]
},
"ListInstances": {
"methods": [
"list_instances"
]
},
"PartialUpdateCluster": {
"methods": [
"partial_update_cluster"
]
},
"PartialUpdateInstance": {
"methods": [
"partial_update_instance"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateAppProfile": {
"methods": [
"update_app_profile"
]
},
"UpdateCluster": {
"methods": [
"update_cluster"
]
},
"UpdateInstance": {
"methods": [
"update_instance"
]
}
}
}
}
},
Expand Down Expand Up @@ -480,6 +590,131 @@
]
}
}
},
"rest": {
"libraryClient": "BigtableTableAdminClient",
"rpcs": {
"CheckConsistency": {
"methods": [
"check_consistency"
]
},
"CreateBackup": {
"methods": [
"create_backup"
]
},
"CreateTable": {
"methods": [
"create_table"
]
},
"CreateTableFromSnapshot": {
"methods": [
"create_table_from_snapshot"
]
},
"DeleteBackup": {
"methods": [
"delete_backup"
]
},
"DeleteSnapshot": {
"methods": [
"delete_snapshot"
]
},
"DeleteTable": {
"methods": [
"delete_table"
]
},
"DropRowRange": {
"methods": [
"drop_row_range"
]
},
"GenerateConsistencyToken": {
"methods": [
"generate_consistency_token"
]
},
"GetBackup": {
"methods": [
"get_backup"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"GetSnapshot": {
"methods": [
"get_snapshot"
]
},
"GetTable": {
"methods": [
"get_table"
]
},
"ListBackups": {
"methods": [
"list_backups"
]
},
"ListSnapshots": {
"methods": [
"list_snapshots"
]
},
"ListTables": {
"methods": [
"list_tables"
]
},
"ModifyColumnFamilies": {
"methods": [
"modify_column_families"
]
},
"RestoreTable": {
"methods": [
"restore_table"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"SnapshotTable": {
"methods": [
"snapshot_table"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UndeleteTable": {
"methods": [
"undelete_table"
]
},
"UpdateBackup": {
"methods": [
"update_backup"
]
},
"UpdateTable": {
"methods": [
"update_table"
]
}
}
}
}
}
Expand Down
Expand Up @@ -60,6 +60,7 @@
from .transports.base import BigtableInstanceAdminTransport, DEFAULT_CLIENT_INFO
from .transports.grpc import BigtableInstanceAdminGrpcTransport
from .transports.grpc_asyncio import BigtableInstanceAdminGrpcAsyncIOTransport
from .transports.rest import BigtableInstanceAdminRestTransport


class BigtableInstanceAdminClientMeta(type):
Expand All @@ -75,6 +76,7 @@ class BigtableInstanceAdminClientMeta(type):
) # type: Dict[str, Type[BigtableInstanceAdminTransport]]
_transport_registry["grpc"] = BigtableInstanceAdminGrpcTransport
_transport_registry["grpc_asyncio"] = BigtableInstanceAdminGrpcAsyncIOTransport
_transport_registry["rest"] = BigtableInstanceAdminRestTransport

def get_transport_class(
cls,
Expand Down
Expand Up @@ -19,6 +19,8 @@
from .base import BigtableInstanceAdminTransport
from .grpc import BigtableInstanceAdminGrpcTransport
from .grpc_asyncio import BigtableInstanceAdminGrpcAsyncIOTransport
from .rest import BigtableInstanceAdminRestTransport
from .rest import BigtableInstanceAdminRestInterceptor


# Compile a registry of transports.
Expand All @@ -27,9 +29,12 @@
) # type: Dict[str, Type[BigtableInstanceAdminTransport]]
_transport_registry["grpc"] = BigtableInstanceAdminGrpcTransport
_transport_registry["grpc_asyncio"] = BigtableInstanceAdminGrpcAsyncIOTransport
_transport_registry["rest"] = BigtableInstanceAdminRestTransport

__all__ = (
"BigtableInstanceAdminTransport",
"BigtableInstanceAdminGrpcTransport",
"BigtableInstanceAdminGrpcAsyncIOTransport",
"BigtableInstanceAdminRestTransport",
"BigtableInstanceAdminRestInterceptor",
)

0 comments on commit c5116e0

Please sign in to comment.