Skip to content
Permalink
Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#41)
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 committed May 14, 2021
1 parent 8274c18 commit c218e2efeef2f2e4cf1646644a8d4c38be021bdf
Showing with 3,480 additions and 3,604 deletions.
  1. +0 −1 docs/channel_v1/cloud_channel_service.rst
  2. +54 −54 google/cloud/channel/__init__.py
  3. +10 −9 google/cloud/channel_v1/__init__.py
  4. +353 −0 google/cloud/channel_v1/gapic_metadata.json
  5. +0 −1 google/cloud/channel_v1/services/__init__.py
  6. +0 −2 google/cloud/channel_v1/services/cloud_channel_service/__init__.py
  7. +412 −521 google/cloud/channel_v1/services/cloud_channel_service/async_client.py
  8. +444 −544 google/cloud/channel_v1/services/cloud_channel_service/client.py
  9. +11 −13 google/cloud/channel_v1/services/cloud_channel_service/pagers.py
  10. +0 −2 google/cloud/channel_v1/services/cloud_channel_service/transports/__init__.py
  11. +160 −112 google/cloud/channel_v1/services/cloud_channel_service/transports/base.py
  12. +434 −465 google/cloud/channel_v1/services/cloud_channel_service/transports/grpc.py
  13. +441 −466 google/cloud/channel_v1/services/cloud_channel_service/transports/grpc_asyncio.py
  14. +0 −2 google/cloud/channel_v1/types/__init__.py
  15. +7 −17 google/cloud/channel_v1/types/channel_partner_links.py
  16. +24 −36 google/cloud/channel_v1/types/common.py
  17. +18 −39 google/cloud/channel_v1/types/customers.py
  18. +24 −53 google/cloud/channel_v1/types/entitlements.py
  19. +18 −56 google/cloud/channel_v1/types/offers.py
  20. +0 −2 google/cloud/channel_v1/types/operations.py
  21. +6 −16 google/cloud/channel_v1/types/products.py
  22. +382 −510 google/cloud/channel_v1/types/service.py
  23. +4 −7 google/cloud/channel_v1/types/subscriber_event.py
  24. +34 −37 scripts/fixup_channel_v1_keywords.py
  25. +15 −0 tests/__init__.py
  26. +15 −0 tests/unit/__init__.py
  27. +15 −0 tests/unit/gapic/__init__.py
  28. +0 −1 tests/unit/gapic/channel_v1/__init__.py
  29. +599 −638 tests/unit/gapic/channel_v1/test_cloud_channel_service.py
@@ -5,7 +5,6 @@ CloudChannelService
:members:
:inherited-members:


.. automodule:: google.cloud.channel_v1.services.cloud_channel_service.pagers
:members:
:inherited-members:
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

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

from google.cloud.channel_v1.services.cloud_channel_service.async_client import (
CloudChannelServiceAsyncClient,
)
from google.cloud.channel_v1.services.cloud_channel_service.client import (
CloudChannelServiceClient,
)
from google.cloud.channel_v1.services.cloud_channel_service.async_client import (
CloudChannelServiceAsyncClient,
)

from google.cloud.channel_v1.types.channel_partner_links import ChannelPartnerLink
from google.cloud.channel_v1.types.channel_partner_links import ChannelPartnerLinkState
from google.cloud.channel_v1.types.channel_partner_links import ChannelPartnerLinkView
@@ -36,30 +36,30 @@
from google.cloud.channel_v1.types.entitlements import Parameter
from google.cloud.channel_v1.types.entitlements import ProvisionedService
from google.cloud.channel_v1.types.entitlements import RenewalSettings
from google.cloud.channel_v1.types.entitlements import TransferEligibility
from google.cloud.channel_v1.types.entitlements import TransferableSku
from google.cloud.channel_v1.types.entitlements import TransferEligibility
from google.cloud.channel_v1.types.entitlements import TrialSettings
from google.cloud.channel_v1.types.offers import Constraints
from google.cloud.channel_v1.types.offers import CustomerConstraints
from google.cloud.channel_v1.types.offers import Offer
from google.cloud.channel_v1.types.offers import ParameterDefinition
from google.cloud.channel_v1.types.offers import PaymentPlan
from google.cloud.channel_v1.types.offers import PaymentType
from google.cloud.channel_v1.types.offers import Period
from google.cloud.channel_v1.types.offers import PeriodType
from google.cloud.channel_v1.types.offers import Plan
from google.cloud.channel_v1.types.offers import Price
from google.cloud.channel_v1.types.offers import PriceByResource
from google.cloud.channel_v1.types.offers import PricePhase
from google.cloud.channel_v1.types.offers import PriceTier
from google.cloud.channel_v1.types.offers import PaymentPlan
from google.cloud.channel_v1.types.offers import PaymentType
from google.cloud.channel_v1.types.offers import PeriodType
from google.cloud.channel_v1.types.offers import PromotionalOrderType
from google.cloud.channel_v1.types.offers import ResourceType
from google.cloud.channel_v1.types.operations import OperationMetadata
from google.cloud.channel_v1.types.products import MarketingInfo
from google.cloud.channel_v1.types.products import Media
from google.cloud.channel_v1.types.products import MediaType
from google.cloud.channel_v1.types.products import Product
from google.cloud.channel_v1.types.products import Sku
from google.cloud.channel_v1.types.products import MediaType
from google.cloud.channel_v1.types.service import ActivateEntitlementRequest
from google.cloud.channel_v1.types.service import CancelEntitlementRequest
from google.cloud.channel_v1.types.service import ChangeOfferRequest
@@ -106,10 +106,10 @@
from google.cloud.channel_v1.types.service import RegisterSubscriberResponse
from google.cloud.channel_v1.types.service import StartPaidServiceRequest
from google.cloud.channel_v1.types.service import SuspendEntitlementRequest
from google.cloud.channel_v1.types.service import TransferableOffer
from google.cloud.channel_v1.types.service import TransferEntitlementsRequest
from google.cloud.channel_v1.types.service import TransferEntitlementsResponse
from google.cloud.channel_v1.types.service import TransferEntitlementsToGoogleRequest
from google.cloud.channel_v1.types.service import TransferableOffer
from google.cloud.channel_v1.types.service import UnregisterSubscriberRequest
from google.cloud.channel_v1.types.service import UnregisterSubscriberResponse
from google.cloud.channel_v1.types.service import UpdateChannelPartnerLinkRequest
@@ -119,35 +119,59 @@
from google.cloud.channel_v1.types.subscriber_event import SubscriberEvent

__all__ = (
"ActivateEntitlementRequest",
"CloudChannelServiceClient",
"CloudChannelServiceAsyncClient",
"ChannelPartnerLink",
"ChannelPartnerLinkState",
"ChannelPartnerLinkView",
"AdminUser",
"CloudIdentityInfo",
"EduData",
"Value",
"ContactInfo",
"Customer",
"AssociationInfo",
"CommitmentSettings",
"Entitlement",
"Parameter",
"ProvisionedService",
"RenewalSettings",
"TransferableSku",
"TransferEligibility",
"TrialSettings",
"Constraints",
"CustomerConstraints",
"Offer",
"ParameterDefinition",
"Period",
"Plan",
"Price",
"PriceByResource",
"PricePhase",
"PriceTier",
"PaymentPlan",
"PaymentType",
"PeriodType",
"PromotionalOrderType",
"ResourceType",
"OperationMetadata",
"MarketingInfo",
"Media",
"Product",
"Sku",
"MediaType",
"ActivateEntitlementRequest",
"CancelEntitlementRequest",
"ChangeOfferRequest",
"ChangeParametersRequest",
"ChangeRenewalSettingsRequest",
"ChannelPartnerLink",
"ChannelPartnerLinkState",
"ChannelPartnerLinkView",
"CheckCloudIdentityAccountsExistRequest",
"CheckCloudIdentityAccountsExistResponse",
"CloudChannelServiceAsyncClient",
"CloudChannelServiceClient",
"CloudIdentityCustomerAccount",
"CloudIdentityInfo",
"CommitmentSettings",
"Constraints",
"ContactInfo",
"CreateChannelPartnerLinkRequest",
"CreateCustomerRequest",
"CreateEntitlementRequest",
"Customer",
"CustomerConstraints",
"CustomerEvent",
"DeleteCustomerRequest",
"EduData",
"Entitlement",
"EntitlementEvent",
"GetChannelPartnerLinkRequest",
"GetCustomerRequest",
"GetEntitlementRequest",
@@ -173,46 +197,22 @@
"ListTransferableOffersResponse",
"ListTransferableSkusRequest",
"ListTransferableSkusResponse",
"MarketingInfo",
"Media",
"MediaType",
"Offer",
"OperationMetadata",
"Parameter",
"ParameterDefinition",
"PaymentPlan",
"PaymentType",
"Period",
"PeriodType",
"Plan",
"Price",
"PriceByResource",
"PricePhase",
"PriceTier",
"Product",
"PromotionalOrderType",
"ProvisionCloudIdentityRequest",
"ProvisionedService",
"PurchasableOffer",
"PurchasableSku",
"RegisterSubscriberRequest",
"RegisterSubscriberResponse",
"RenewalSettings",
"ResourceType",
"Sku",
"StartPaidServiceRequest",
"SubscriberEvent",
"SuspendEntitlementRequest",
"TransferEligibility",
"TransferableOffer",
"TransferEntitlementsRequest",
"TransferEntitlementsResponse",
"TransferEntitlementsToGoogleRequest",
"TransferableOffer",
"TransferableSku",
"TrialSettings",
"UnregisterSubscriberRequest",
"UnregisterSubscriberResponse",
"UpdateChannelPartnerLinkRequest",
"UpdateCustomerRequest",
"Value",
"CustomerEvent",
"EntitlementEvent",
"SubscriberEvent",
)
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

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

from .services.cloud_channel_service import CloudChannelServiceClient
from .services.cloud_channel_service import CloudChannelServiceAsyncClient

from .types.channel_partner_links import ChannelPartnerLink
from .types.channel_partner_links import ChannelPartnerLinkState
from .types.channel_partner_links import ChannelPartnerLinkView
@@ -31,30 +32,30 @@
from .types.entitlements import Parameter
from .types.entitlements import ProvisionedService
from .types.entitlements import RenewalSettings
from .types.entitlements import TransferEligibility
from .types.entitlements import TransferableSku
from .types.entitlements import TransferEligibility
from .types.entitlements import TrialSettings
from .types.offers import Constraints
from .types.offers import CustomerConstraints
from .types.offers import Offer
from .types.offers import ParameterDefinition
from .types.offers import PaymentPlan
from .types.offers import PaymentType
from .types.offers import Period
from .types.offers import PeriodType
from .types.offers import Plan
from .types.offers import Price
from .types.offers import PriceByResource
from .types.offers import PricePhase
from .types.offers import PriceTier
from .types.offers import PaymentPlan
from .types.offers import PaymentType
from .types.offers import PeriodType
from .types.offers import PromotionalOrderType
from .types.offers import ResourceType
from .types.operations import OperationMetadata
from .types.products import MarketingInfo
from .types.products import Media
from .types.products import MediaType
from .types.products import Product
from .types.products import Sku
from .types.products import MediaType
from .types.service import ActivateEntitlementRequest
from .types.service import CancelEntitlementRequest
from .types.service import ChangeOfferRequest
@@ -99,10 +100,10 @@
from .types.service import RegisterSubscriberResponse
from .types.service import StartPaidServiceRequest
from .types.service import SuspendEntitlementRequest
from .types.service import TransferableOffer
from .types.service import TransferEntitlementsRequest
from .types.service import TransferEntitlementsResponse
from .types.service import TransferEntitlementsToGoogleRequest
from .types.service import TransferableOffer
from .types.service import UnregisterSubscriberRequest
from .types.service import UnregisterSubscriberResponse
from .types.service import UpdateChannelPartnerLinkRequest
@@ -111,8 +112,8 @@
from .types.subscriber_event import EntitlementEvent
from .types.subscriber_event import SubscriberEvent


__all__ = (
"CloudChannelServiceAsyncClient",
"ActivateEntitlementRequest",
"AdminUser",
"AssociationInfo",
@@ -125,6 +126,7 @@
"ChannelPartnerLinkView",
"CheckCloudIdentityAccountsExistRequest",
"CheckCloudIdentityAccountsExistResponse",
"CloudChannelServiceClient",
"CloudIdentityCustomerAccount",
"CloudIdentityInfo",
"CommitmentSettings",
@@ -207,5 +209,4 @@
"UpdateChannelPartnerLinkRequest",
"UpdateCustomerRequest",
"Value",
"CloudChannelServiceClient",
)
Loading

0 comments on commit c218e2e

Please sign in to comment.