Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const OpenIDScope + type GoogleCloudPaymentsResellerSubscriptionV1Amount struct + AmountMicros int64 + CurrencyCode string + ForceSendFields []string + NullFields []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1Amount) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest struct + CancelImmediately bool + CancellationReason string + ForceSendFields []string + NullFields []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse struct + ForceSendFields []string + NullFields []string + Subscription *GoogleCloudPaymentsResellerSubscriptionV1Subscription + func (s *GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1Duration struct + Count int64 + ForceSendFields []string + NullFields []string + Unit string + func (s *GoogleCloudPaymentsResellerSubscriptionV1Duration) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest struct + ForceSendFields []string + LineItemEntitlementDetails []*GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails + NullFields []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails struct + ForceSendFields []string + LineItemIndex int64 + NullFields []string + Products []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse struct + ForceSendFields []string + NullFields []string + Subscription *GoogleCloudPaymentsResellerSubscriptionV1Subscription + func (s *GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest struct + Extension *GoogleCloudPaymentsResellerSubscriptionV1Extension + ForceSendFields []string + NullFields []string + RequestId string + func (s *GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse struct + CycleEndTime string + ForceSendFields []string + FreeTrialEndTime string + NullFields []string + RenewalTime string + func (s *GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1Extension struct + Duration *GoogleCloudPaymentsResellerSubscriptionV1Duration + ForceSendFields []string + NullFields []string + PartnerUserToken string + func (s *GoogleCloudPaymentsResellerSubscriptionV1Extension) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest struct + Filter string + ForceSendFields []string + NullFields []string + PageSize int64 + PageToken string + func (s *GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Promotions []*GoogleCloudPaymentsResellerSubscriptionV1Promotion + func (s *GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails struct + BillingCycleCountLimit int64 + ForceSendFields []string + NullFields []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload struct + Campaigns []string + ForceSendFields []string + NullFields []string + Offering string + SalesChannel string + StoreId string + func (s *GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Products []*GoogleCloudPaymentsResellerSubscriptionV1Product + func (s *GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Promotions []*GoogleCloudPaymentsResellerSubscriptionV1Promotion + func (s *GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1Location struct + ForceSendFields []string + NullFields []string + PostalCode string + RegionCode string + func (s *GoogleCloudPaymentsResellerSubscriptionV1Location) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1Product struct + BundleDetails *ProductBundleDetails + FiniteBillingCycleDetails *GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails + ForceSendFields []string + Name string + NullFields []string + PriceConfigs []*GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig + ProductType string + RegionCodes []string + SubscriptionBillingCycleDuration *GoogleCloudPaymentsResellerSubscriptionV1Duration + Titles []*GoogleTypeLocalizedText + func (s *GoogleCloudPaymentsResellerSubscriptionV1Product) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement struct + ForceSendFields []string + NullFields []string + Product string + func (s *GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ProductPayload struct + ForceSendFields []string + GoogleOnePayload *GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload + NullFields []string + YoutubePayload *GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload + func (s *GoogleCloudPaymentsResellerSubscriptionV1ProductPayload) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig struct + Amount *GoogleCloudPaymentsResellerSubscriptionV1Amount + ForceSendFields []string + NullFields []string + RegionCode string + func (s *GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1Promotion struct + ApplicableProducts []string + EndTime string + ForceSendFields []string + FreeTrialDuration *GoogleCloudPaymentsResellerSubscriptionV1Duration + IntroductoryPricingDetails *GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails + Name string + NullFields []string + PromotionType string + RegionCodes []string + StartTime string + Titles []*GoogleTypeLocalizedText + func (s *GoogleCloudPaymentsResellerSubscriptionV1Promotion) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails struct + ForceSendFields []string + IntroductoryPricingSpecs []*GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec + NullFields []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec struct + DiscountAmount *GoogleCloudPaymentsResellerSubscriptionV1Amount + DiscountRatioMicros int64 + ForceSendFields []string + NullFields []string + RecurrenceCount int64 + RegionCode string + func (s *GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1Subscription struct + CancellationDetails *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails + CreateTime string + CycleEndTime string + EndUserEntitled bool + ForceSendFields []string + FreeTrialEndTime string + LineItems []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem + Name string + NullFields []string + PartnerUserToken string + ProcessingState string + Products []string + PromotionSpecs []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec + Promotions []string + RedirectUri string + RenewalTime string + ServiceLocation *GoogleCloudPaymentsResellerSubscriptionV1Location + State string + UpdateTime string + UpgradeDowngradeDetails *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails + func (s *GoogleCloudPaymentsResellerSubscriptionV1Subscription) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails struct + ForceSendFields []string + NullFields []string + Reason string + func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem struct + Amount *GoogleCloudPaymentsResellerSubscriptionV1Amount + BundleDetails *SubscriptionLineItemBundleDetails + Description string + FiniteBillingCycleDetails *GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails + ForceSendFields []string + LineItemFreeTrialEndTime string + LineItemIndex int64 + LineItemPromotionSpecs []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec + NullFields []string + OneTimeRecurrenceDetails *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails + Product string + ProductPayload *GoogleCloudPaymentsResellerSubscriptionV1ProductPayload + RecurrenceType string + State string + func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails struct + ForceSendFields []string + NullFields []string + Product string + UserAccountLinkedTime string + func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails struct + ForceSendFields []string + NullFields []string + ServicePeriod *GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod + func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec struct + ForceSendFields []string + FreeTrialDuration *GoogleCloudPaymentsResellerSubscriptionV1Duration + IntroductoryPricingDetails *GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails + NullFields []string + Promotion string + Type string + func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails struct + BillingCycleSpec string + ForceSendFields []string + NullFields []string + PreviousSubscriptionId string + func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest struct + type GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse struct + ForceSendFields []string + NullFields []string + Subscription *GoogleCloudPaymentsResellerSubscriptionV1Subscription + func (s *GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse) MarshalJSON() ([]byte, error) + type GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload struct + AccessEndTime string + ForceSendFields []string + NullFields []string + PartnerEligibilityIds []string + func (s *GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload) MarshalJSON() ([]byte, error) + type GoogleTypeLocalizedText struct + ForceSendFields []string + LanguageCode string + NullFields []string + Text string + func (s *GoogleTypeLocalizedText) MarshalJSON() ([]byte, error) + type PartnersProductsListCall struct + func (c *PartnersProductsListCall) Context(ctx context.Context) *PartnersProductsListCall + func (c *PartnersProductsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse, error) + func (c *PartnersProductsListCall) Fields(s ...googleapi.Field) *PartnersProductsListCall + func (c *PartnersProductsListCall) Filter(filter string) *PartnersProductsListCall + func (c *PartnersProductsListCall) Header() http.Header + func (c *PartnersProductsListCall) IfNoneMatch(entityTag string) *PartnersProductsListCall + func (c *PartnersProductsListCall) PageSize(pageSize int64) *PartnersProductsListCall + func (c *PartnersProductsListCall) PageToken(pageToken string) *PartnersProductsListCall + func (c *PartnersProductsListCall) Pages(ctx context.Context, ...) error + type PartnersProductsService struct + func NewPartnersProductsService(s *Service) *PartnersProductsService + func (r *PartnersProductsService) List(parent string) *PartnersProductsListCall + type PartnersPromotionsFindEligibleCall struct + func (c *PartnersPromotionsFindEligibleCall) Context(ctx context.Context) *PartnersPromotionsFindEligibleCall + func (c *PartnersPromotionsFindEligibleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse, ...) + func (c *PartnersPromotionsFindEligibleCall) Fields(s ...googleapi.Field) *PartnersPromotionsFindEligibleCall + func (c *PartnersPromotionsFindEligibleCall) Header() http.Header + func (c *PartnersPromotionsFindEligibleCall) Pages(ctx context.Context, ...) error + type PartnersPromotionsListCall struct + func (c *PartnersPromotionsListCall) Context(ctx context.Context) *PartnersPromotionsListCall + func (c *PartnersPromotionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse, error) + func (c *PartnersPromotionsListCall) Fields(s ...googleapi.Field) *PartnersPromotionsListCall + func (c *PartnersPromotionsListCall) Filter(filter string) *PartnersPromotionsListCall + func (c *PartnersPromotionsListCall) Header() http.Header + func (c *PartnersPromotionsListCall) IfNoneMatch(entityTag string) *PartnersPromotionsListCall + func (c *PartnersPromotionsListCall) PageSize(pageSize int64) *PartnersPromotionsListCall + func (c *PartnersPromotionsListCall) PageToken(pageToken string) *PartnersPromotionsListCall + func (c *PartnersPromotionsListCall) Pages(ctx context.Context, ...) error + type PartnersPromotionsService struct + func NewPartnersPromotionsService(s *Service) *PartnersPromotionsService + func (r *PartnersPromotionsService) FindEligible(parent string, ...) *PartnersPromotionsFindEligibleCall + func (r *PartnersPromotionsService) List(parent string) *PartnersPromotionsListCall + type PartnersService struct + Products *PartnersProductsService + Promotions *PartnersPromotionsService + Subscriptions *PartnersSubscriptionsService + func NewPartnersService(s *Service) *PartnersService + type PartnersSubscriptionsCancelCall struct + func (c *PartnersSubscriptionsCancelCall) Context(ctx context.Context) *PartnersSubscriptionsCancelCall + func (c *PartnersSubscriptionsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse, error) + func (c *PartnersSubscriptionsCancelCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsCancelCall + func (c *PartnersSubscriptionsCancelCall) Header() http.Header + type PartnersSubscriptionsCreateCall struct + func (c *PartnersSubscriptionsCreateCall) Context(ctx context.Context) *PartnersSubscriptionsCreateCall + func (c *PartnersSubscriptionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1Subscription, error) + func (c *PartnersSubscriptionsCreateCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsCreateCall + func (c *PartnersSubscriptionsCreateCall) Header() http.Header + func (c *PartnersSubscriptionsCreateCall) SubscriptionId(subscriptionId string) *PartnersSubscriptionsCreateCall + type PartnersSubscriptionsEntitleCall struct + func (c *PartnersSubscriptionsEntitleCall) Context(ctx context.Context) *PartnersSubscriptionsEntitleCall + func (c *PartnersSubscriptionsEntitleCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse, error) + func (c *PartnersSubscriptionsEntitleCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsEntitleCall + func (c *PartnersSubscriptionsEntitleCall) Header() http.Header + type PartnersSubscriptionsExtendCall struct + func (c *PartnersSubscriptionsExtendCall) Context(ctx context.Context) *PartnersSubscriptionsExtendCall + func (c *PartnersSubscriptionsExtendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse, error) + func (c *PartnersSubscriptionsExtendCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsExtendCall + func (c *PartnersSubscriptionsExtendCall) Header() http.Header + type PartnersSubscriptionsGetCall struct + func (c *PartnersSubscriptionsGetCall) Context(ctx context.Context) *PartnersSubscriptionsGetCall + func (c *PartnersSubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1Subscription, error) + func (c *PartnersSubscriptionsGetCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsGetCall + func (c *PartnersSubscriptionsGetCall) Header() http.Header + func (c *PartnersSubscriptionsGetCall) IfNoneMatch(entityTag string) *PartnersSubscriptionsGetCall + type PartnersSubscriptionsProvisionCall struct + func (c *PartnersSubscriptionsProvisionCall) Context(ctx context.Context) *PartnersSubscriptionsProvisionCall + func (c *PartnersSubscriptionsProvisionCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1Subscription, error) + func (c *PartnersSubscriptionsProvisionCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsProvisionCall + func (c *PartnersSubscriptionsProvisionCall) Header() http.Header + func (c *PartnersSubscriptionsProvisionCall) SubscriptionId(subscriptionId string) *PartnersSubscriptionsProvisionCall + type PartnersSubscriptionsService struct + func NewPartnersSubscriptionsService(s *Service) *PartnersSubscriptionsService + func (r *PartnersSubscriptionsService) Cancel(name string, ...) *PartnersSubscriptionsCancelCall + func (r *PartnersSubscriptionsService) Create(parentid string, ...) *PartnersSubscriptionsCreateCall + func (r *PartnersSubscriptionsService) Entitle(name string, ...) *PartnersSubscriptionsEntitleCall + func (r *PartnersSubscriptionsService) Extend(name string, ...) *PartnersSubscriptionsExtendCall + func (r *PartnersSubscriptionsService) Get(name string) *PartnersSubscriptionsGetCall + func (r *PartnersSubscriptionsService) Provision(parentid string, ...) *PartnersSubscriptionsProvisionCall + func (r *PartnersSubscriptionsService) UndoCancel(name string, ...) *PartnersSubscriptionsUndoCancelCall + type PartnersSubscriptionsUndoCancelCall struct + func (c *PartnersSubscriptionsUndoCancelCall) Context(ctx context.Context) *PartnersSubscriptionsUndoCancelCall + func (c *PartnersSubscriptionsUndoCancelCall) Do(opts ...googleapi.CallOption) (*GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse, ...) + func (c *PartnersSubscriptionsUndoCancelCall) Fields(s ...googleapi.Field) *PartnersSubscriptionsUndoCancelCall + func (c *PartnersSubscriptionsUndoCancelCall) Header() http.Header + type ProductBundleDetails struct + BundleElements []*GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement + EntitlementMode string + ForceSendFields []string + NullFields []string + func (s *ProductBundleDetails) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Partners *PartnersService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SubscriptionLineItemBundleDetails struct + BundleElementDetails []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails + ForceSendFields []string + NullFields []string + func (s *SubscriptionLineItemBundleDetails) MarshalJSON() ([]byte, error)