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 (#41)
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 8274c18 commit c218e2e
Show file tree
Hide file tree
Showing 29 changed files with 3,480 additions and 3,604 deletions.
1 change: 0 additions & 1 deletion docs/channel_v1/cloud_channel_service.rst
Expand Up @@ -5,7 +5,6 @@ CloudChannelService
:members:
:inherited-members:


.. automodule:: google.cloud.channel_v1.services.cloud_channel_service.pagers
:members:
:inherited-members:
108 changes: 54 additions & 54 deletions google/cloud/channel/__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.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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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",
Expand All @@ -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",
)
19 changes: 10 additions & 9 deletions google/cloud/channel_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.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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -111,8 +112,8 @@
from .types.subscriber_event import EntitlementEvent
from .types.subscriber_event import SubscriberEvent


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

0 comments on commit c218e2e

Please sign in to comment.