Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#28)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] committed May 14, 2021
1 parent c1789ac commit cf6f145
Show file tree
Hide file tree
Showing 22 changed files with 817 additions and 623 deletions.
1 change: 0 additions & 1 deletion docs/managedidentities_v1/managed_identities_service.rst
Expand Up @@ -5,7 +5,6 @@ ManagedIdentitiesService
:members:
:inherited-members:


.. automodule:: google.cloud.managedidentities_v1.services.managed_identities_service.pagers
:members:
:inherited-members:
16 changes: 8 additions & 8 deletions google/cloud/managedidentities/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,12 +14,13 @@
# limitations under the License.
#

from google.cloud.managedidentities_v1.services.managed_identities_service.async_client import (
ManagedIdentitiesServiceAsyncClient,
)
from google.cloud.managedidentities_v1.services.managed_identities_service.client import (
ManagedIdentitiesServiceClient,
)
from google.cloud.managedidentities_v1.services.managed_identities_service.async_client import (
ManagedIdentitiesServiceAsyncClient,
)

from google.cloud.managedidentities_v1.types.managed_identities_service import (
AttachTrustRequest,
)
Expand Down Expand Up @@ -64,21 +64,21 @@
from google.cloud.managedidentities_v1.types.resource import Trust

__all__ = (
"ManagedIdentitiesServiceClient",
"ManagedIdentitiesServiceAsyncClient",
"AttachTrustRequest",
"CreateMicrosoftAdDomainRequest",
"DeleteDomainRequest",
"DetachTrustRequest",
"Domain",
"GetDomainRequest",
"ListDomainsRequest",
"ListDomainsResponse",
"ManagedIdentitiesServiceAsyncClient",
"ManagedIdentitiesServiceClient",
"OpMetadata",
"ReconfigureTrustRequest",
"ResetAdminPasswordRequest",
"ResetAdminPasswordResponse",
"Trust",
"UpdateDomainRequest",
"ValidateTrustRequest",
"Domain",
"Trust",
)
7 changes: 4 additions & 3 deletions google/cloud/managedidentities_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,6 +15,8 @@
#

from .services.managed_identities_service import ManagedIdentitiesServiceClient
from .services.managed_identities_service import ManagedIdentitiesServiceAsyncClient

from .types.managed_identities_service import AttachTrustRequest
from .types.managed_identities_service import CreateMicrosoftAdDomainRequest
from .types.managed_identities_service import DeleteDomainRequest
Expand All @@ -32,8 +33,8 @@
from .types.resource import Domain
from .types.resource import Trust


__all__ = (
"ManagedIdentitiesServiceAsyncClient",
"AttachTrustRequest",
"CreateMicrosoftAdDomainRequest",
"DeleteDomainRequest",
Expand All @@ -42,12 +43,12 @@
"GetDomainRequest",
"ListDomainsRequest",
"ListDomainsResponse",
"ManagedIdentitiesServiceClient",
"OpMetadata",
"ReconfigureTrustRequest",
"ResetAdminPasswordRequest",
"ResetAdminPasswordResponse",
"Trust",
"UpdateDomainRequest",
"ValidateTrustRequest",
"ManagedIdentitiesServiceClient",
)
123 changes: 123 additions & 0 deletions google/cloud/managedidentities_v1/gapic_metadata.json
@@ -0,0 +1,123 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.managedidentities_v1",
"protoPackage": "google.cloud.managedidentities.v1",
"schema": "1.0",
"services": {
"ManagedIdentitiesService": {
"clients": {
"grpc": {
"libraryClient": "ManagedIdentitiesServiceClient",
"rpcs": {
"AttachTrust": {
"methods": [
"attach_trust"
]
},
"CreateMicrosoftAdDomain": {
"methods": [
"create_microsoft_ad_domain"
]
},
"DeleteDomain": {
"methods": [
"delete_domain"
]
},
"DetachTrust": {
"methods": [
"detach_trust"
]
},
"GetDomain": {
"methods": [
"get_domain"
]
},
"ListDomains": {
"methods": [
"list_domains"
]
},
"ReconfigureTrust": {
"methods": [
"reconfigure_trust"
]
},
"ResetAdminPassword": {
"methods": [
"reset_admin_password"
]
},
"UpdateDomain": {
"methods": [
"update_domain"
]
},
"ValidateTrust": {
"methods": [
"validate_trust"
]
}
}
},
"grpc-async": {
"libraryClient": "ManagedIdentitiesServiceAsyncClient",
"rpcs": {
"AttachTrust": {
"methods": [
"attach_trust"
]
},
"CreateMicrosoftAdDomain": {
"methods": [
"create_microsoft_ad_domain"
]
},
"DeleteDomain": {
"methods": [
"delete_domain"
]
},
"DetachTrust": {
"methods": [
"detach_trust"
]
},
"GetDomain": {
"methods": [
"get_domain"
]
},
"ListDomains": {
"methods": [
"list_domains"
]
},
"ReconfigureTrust": {
"methods": [
"reconfigure_trust"
]
},
"ResetAdminPassword": {
"methods": [
"reset_admin_password"
]
},
"UpdateDomain": {
"methods": [
"update_domain"
]
},
"ValidateTrust": {
"methods": [
"validate_trust"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/managedidentities_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import ManagedIdentitiesServiceClient
from .async_client import ManagedIdentitiesServiceAsyncClient

Expand Down

0 comments on commit cf6f145

Please sign in to comment.