Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const AppsOrderReadonlyScope + const AppsOrderScope + type Address struct + AddressLine1 string + AddressLine2 string + AddressLine3 string + ContactName string + CountryCode string + ForceSendFields []string + Kind string + Locality string + NullFields []string + OrganizationName string + PostalCode string + Region string + func (s *Address) MarshalJSON() ([]byte, error) + type ChangePlanRequest struct + DealCode string + ForceSendFields []string + Kind string + NullFields []string + PlanName string + PurchaseOrderId string + Seats *Seats + func (s *ChangePlanRequest) MarshalJSON() ([]byte, error) + type Customer struct + AlternateEmail string + CustomerDomain string + CustomerDomainVerified bool + CustomerId string + CustomerType string + ForceSendFields []string + Kind string + NullFields []string + PhoneNumber string + PostalAddress *Address + PrimaryAdmin *PrimaryAdmin + ResourceUiUrl string + func (s *Customer) MarshalJSON() ([]byte, error) + type CustomersGetCall struct + func (c *CustomersGetCall) Context(ctx context.Context) *CustomersGetCall + func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*Customer, error) + func (c *CustomersGetCall) Fields(s ...googleapi.Field) *CustomersGetCall + func (c *CustomersGetCall) Header() http.Header + func (c *CustomersGetCall) IfNoneMatch(entityTag string) *CustomersGetCall + type CustomersInsertCall struct + func (c *CustomersInsertCall) Context(ctx context.Context) *CustomersInsertCall + func (c *CustomersInsertCall) CustomerAuthToken(customerAuthToken string) *CustomersInsertCall + func (c *CustomersInsertCall) Do(opts ...googleapi.CallOption) (*Customer, error) + func (c *CustomersInsertCall) Fields(s ...googleapi.Field) *CustomersInsertCall + func (c *CustomersInsertCall) Header() http.Header + type CustomersPatchCall struct + func (c *CustomersPatchCall) Context(ctx context.Context) *CustomersPatchCall + func (c *CustomersPatchCall) Do(opts ...googleapi.CallOption) (*Customer, error) + func (c *CustomersPatchCall) Fields(s ...googleapi.Field) *CustomersPatchCall + func (c *CustomersPatchCall) Header() http.Header + type CustomersService struct + func NewCustomersService(s *Service) *CustomersService + func (r *CustomersService) Get(customerId string) *CustomersGetCall + func (r *CustomersService) Insert(customer *Customer) *CustomersInsertCall + func (r *CustomersService) Patch(customerId string, customer *Customer) *CustomersPatchCall + func (r *CustomersService) Update(customerId string, customer *Customer) *CustomersUpdateCall + type CustomersUpdateCall struct + func (c *CustomersUpdateCall) Context(ctx context.Context) *CustomersUpdateCall + func (c *CustomersUpdateCall) Do(opts ...googleapi.CallOption) (*Customer, error) + func (c *CustomersUpdateCall) Fields(s ...googleapi.Field) *CustomersUpdateCall + func (c *CustomersUpdateCall) Header() http.Header + type PrimaryAdmin struct + ForceSendFields []string + NullFields []string + PrimaryEmail string + func (s *PrimaryAdmin) MarshalJSON() ([]byte, error) + type RenewalSettings struct + ForceSendFields []string + Kind string + NullFields []string + RenewalType string + func (s *RenewalSettings) MarshalJSON() ([]byte, error) + type ResellernotifyGetwatchdetailsCall struct + func (c *ResellernotifyGetwatchdetailsCall) Context(ctx context.Context) *ResellernotifyGetwatchdetailsCall + func (c *ResellernotifyGetwatchdetailsCall) Do(opts ...googleapi.CallOption) (*ResellernotifyGetwatchdetailsResponse, error) + func (c *ResellernotifyGetwatchdetailsCall) Fields(s ...googleapi.Field) *ResellernotifyGetwatchdetailsCall + func (c *ResellernotifyGetwatchdetailsCall) Header() http.Header + func (c *ResellernotifyGetwatchdetailsCall) IfNoneMatch(entityTag string) *ResellernotifyGetwatchdetailsCall + type ResellernotifyGetwatchdetailsResponse struct + ForceSendFields []string + NullFields []string + ServiceAccountEmailAddresses []string + TopicName string + func (s *ResellernotifyGetwatchdetailsResponse) MarshalJSON() ([]byte, error) + type ResellernotifyRegisterCall struct + func (c *ResellernotifyRegisterCall) Context(ctx context.Context) *ResellernotifyRegisterCall + func (c *ResellernotifyRegisterCall) Do(opts ...googleapi.CallOption) (*ResellernotifyResource, error) + func (c *ResellernotifyRegisterCall) Fields(s ...googleapi.Field) *ResellernotifyRegisterCall + func (c *ResellernotifyRegisterCall) Header() http.Header + func (c *ResellernotifyRegisterCall) ServiceAccountEmailAddress(serviceAccountEmailAddress string) *ResellernotifyRegisterCall + type ResellernotifyResource struct + ForceSendFields []string + NullFields []string + TopicName string + func (s *ResellernotifyResource) MarshalJSON() ([]byte, error) + type ResellernotifyService struct + func NewResellernotifyService(s *Service) *ResellernotifyService + func (r *ResellernotifyService) Getwatchdetails() *ResellernotifyGetwatchdetailsCall + func (r *ResellernotifyService) Register() *ResellernotifyRegisterCall + func (r *ResellernotifyService) Unregister() *ResellernotifyUnregisterCall + type ResellernotifyUnregisterCall struct + func (c *ResellernotifyUnregisterCall) Context(ctx context.Context) *ResellernotifyUnregisterCall + func (c *ResellernotifyUnregisterCall) Do(opts ...googleapi.CallOption) (*ResellernotifyResource, error) + func (c *ResellernotifyUnregisterCall) Fields(s ...googleapi.Field) *ResellernotifyUnregisterCall + func (c *ResellernotifyUnregisterCall) Header() http.Header + func (c *ResellernotifyUnregisterCall) ServiceAccountEmailAddress(serviceAccountEmailAddress string) *ResellernotifyUnregisterCall + type Seats struct + ForceSendFields []string + Kind string + LicensedNumberOfSeats int64 + MaximumNumberOfSeats int64 + NullFields []string + NumberOfSeats int64 + func (s *Seats) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Customers *CustomersService + Resellernotify *ResellernotifyService + Subscriptions *SubscriptionsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Subscription struct + BillingMethod string + CreationTime int64 + CustomerDomain string + CustomerId string + DealCode string + ForceSendFields []string + Kind string + NullFields []string + Plan *SubscriptionPlan + PurchaseOrderId string + RenewalSettings *RenewalSettings + ResourceUiUrl string + Seats *Seats + SkuId string + SkuName string + Status string + SubscriptionId string + SuspensionReasons []string + TransferInfo *SubscriptionTransferInfo + TrialSettings *SubscriptionTrialSettings + func (s *Subscription) MarshalJSON() ([]byte, error) + type SubscriptionPlan struct + CommitmentInterval *SubscriptionPlanCommitmentInterval + ForceSendFields []string + IsCommitmentPlan bool + NullFields []string + PlanName string + func (s *SubscriptionPlan) MarshalJSON() ([]byte, error) + type SubscriptionPlanCommitmentInterval struct + EndTime int64 + ForceSendFields []string + NullFields []string + StartTime int64 + func (s *SubscriptionPlanCommitmentInterval) MarshalJSON() ([]byte, error) + type SubscriptionTransferInfo struct + CurrentLegacySkuId string + ForceSendFields []string + MinimumTransferableSeats int64 + NullFields []string + TransferabilityExpirationTime int64 + func (s *SubscriptionTransferInfo) MarshalJSON() ([]byte, error) + type SubscriptionTrialSettings struct + ForceSendFields []string + IsInTrial bool + NullFields []string + TrialEndTime int64 + func (s *SubscriptionTrialSettings) MarshalJSON() ([]byte, error) + type Subscriptions struct + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + Subscriptions []*Subscription + func (s *Subscriptions) MarshalJSON() ([]byte, error) + type SubscriptionsActivateCall struct + func (c *SubscriptionsActivateCall) Context(ctx context.Context) *SubscriptionsActivateCall + func (c *SubscriptionsActivateCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsActivateCall) Fields(s ...googleapi.Field) *SubscriptionsActivateCall + func (c *SubscriptionsActivateCall) Header() http.Header + type SubscriptionsChangePlanCall struct + func (c *SubscriptionsChangePlanCall) Context(ctx context.Context) *SubscriptionsChangePlanCall + func (c *SubscriptionsChangePlanCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsChangePlanCall) Fields(s ...googleapi.Field) *SubscriptionsChangePlanCall + func (c *SubscriptionsChangePlanCall) Header() http.Header + type SubscriptionsChangeRenewalSettingsCall struct + func (c *SubscriptionsChangeRenewalSettingsCall) Context(ctx context.Context) *SubscriptionsChangeRenewalSettingsCall + func (c *SubscriptionsChangeRenewalSettingsCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsChangeRenewalSettingsCall) Fields(s ...googleapi.Field) *SubscriptionsChangeRenewalSettingsCall + func (c *SubscriptionsChangeRenewalSettingsCall) Header() http.Header + type SubscriptionsChangeSeatsCall struct + func (c *SubscriptionsChangeSeatsCall) Context(ctx context.Context) *SubscriptionsChangeSeatsCall + func (c *SubscriptionsChangeSeatsCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsChangeSeatsCall) Fields(s ...googleapi.Field) *SubscriptionsChangeSeatsCall + func (c *SubscriptionsChangeSeatsCall) Header() http.Header + type SubscriptionsDeleteCall struct + func (c *SubscriptionsDeleteCall) Context(ctx context.Context) *SubscriptionsDeleteCall + func (c *SubscriptionsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *SubscriptionsDeleteCall) Fields(s ...googleapi.Field) *SubscriptionsDeleteCall + func (c *SubscriptionsDeleteCall) Header() http.Header + type SubscriptionsGetCall struct + func (c *SubscriptionsGetCall) Context(ctx context.Context) *SubscriptionsGetCall + func (c *SubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsGetCall) Fields(s ...googleapi.Field) *SubscriptionsGetCall + func (c *SubscriptionsGetCall) Header() http.Header + func (c *SubscriptionsGetCall) IfNoneMatch(entityTag string) *SubscriptionsGetCall + type SubscriptionsInsertCall struct + func (c *SubscriptionsInsertCall) Action(action string) *SubscriptionsInsertCall + func (c *SubscriptionsInsertCall) Context(ctx context.Context) *SubscriptionsInsertCall + func (c *SubscriptionsInsertCall) CustomerAuthToken(customerAuthToken string) *SubscriptionsInsertCall + func (c *SubscriptionsInsertCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsInsertCall) Fields(s ...googleapi.Field) *SubscriptionsInsertCall + func (c *SubscriptionsInsertCall) Header() http.Header + func (c *SubscriptionsInsertCall) SourceSkuId(sourceSkuId string) *SubscriptionsInsertCall + type SubscriptionsListCall struct + func (c *SubscriptionsListCall) Context(ctx context.Context) *SubscriptionsListCall + func (c *SubscriptionsListCall) CustomerAuthToken(customerAuthToken string) *SubscriptionsListCall + func (c *SubscriptionsListCall) CustomerId(customerId string) *SubscriptionsListCall + func (c *SubscriptionsListCall) CustomerNamePrefix(customerNamePrefix string) *SubscriptionsListCall + func (c *SubscriptionsListCall) Do(opts ...googleapi.CallOption) (*Subscriptions, error) + func (c *SubscriptionsListCall) Fields(s ...googleapi.Field) *SubscriptionsListCall + func (c *SubscriptionsListCall) Header() http.Header + func (c *SubscriptionsListCall) IfNoneMatch(entityTag string) *SubscriptionsListCall + func (c *SubscriptionsListCall) MaxResults(maxResults int64) *SubscriptionsListCall + func (c *SubscriptionsListCall) PageToken(pageToken string) *SubscriptionsListCall + func (c *SubscriptionsListCall) Pages(ctx context.Context, f func(*Subscriptions) error) error + type SubscriptionsService struct + func NewSubscriptionsService(s *Service) *SubscriptionsService + func (r *SubscriptionsService) Activate(customerId string, subscriptionId string) *SubscriptionsActivateCall + func (r *SubscriptionsService) ChangePlan(customerId string, subscriptionId string, changeplanrequest *ChangePlanRequest) *SubscriptionsChangePlanCall + func (r *SubscriptionsService) ChangeRenewalSettings(customerId string, subscriptionId string, renewalsettings *RenewalSettings) *SubscriptionsChangeRenewalSettingsCall + func (r *SubscriptionsService) ChangeSeats(customerId string, subscriptionId string, seats *Seats) *SubscriptionsChangeSeatsCall + func (r *SubscriptionsService) Delete(customerId string, subscriptionId string, deletionType string) *SubscriptionsDeleteCall + func (r *SubscriptionsService) Get(customerId string, subscriptionId string) *SubscriptionsGetCall + func (r *SubscriptionsService) Insert(customerId string, subscription *Subscription) *SubscriptionsInsertCall + func (r *SubscriptionsService) List() *SubscriptionsListCall + func (r *SubscriptionsService) StartPaidService(customerId string, subscriptionId string) *SubscriptionsStartPaidServiceCall + func (r *SubscriptionsService) Suspend(customerId string, subscriptionId string) *SubscriptionsSuspendCall + type SubscriptionsStartPaidServiceCall struct + func (c *SubscriptionsStartPaidServiceCall) Context(ctx context.Context) *SubscriptionsStartPaidServiceCall + func (c *SubscriptionsStartPaidServiceCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsStartPaidServiceCall) Fields(s ...googleapi.Field) *SubscriptionsStartPaidServiceCall + func (c *SubscriptionsStartPaidServiceCall) Header() http.Header + type SubscriptionsSuspendCall struct + func (c *SubscriptionsSuspendCall) Context(ctx context.Context) *SubscriptionsSuspendCall + func (c *SubscriptionsSuspendCall) Do(opts ...googleapi.CallOption) (*Subscription, error) + func (c *SubscriptionsSuspendCall) Fields(s ...googleapi.Field) *SubscriptionsSuspendCall + func (c *SubscriptionsSuspendCall) Header() http.Header