...

Package cloudchannel

import "google.golang.org/api/cloudchannel/v1"
Overview
Index

Overview ▾

Package cloudchannel provides access to the Cloud Channel API.

For product documentation, see: https://cloud.google.com/channel

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/cloudchannel/v1"
...
ctx := context.Background()
cloudchannelService, err := cloudchannel.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use google.golang.org/api/option.WithScopes:

cloudchannelService, err := cloudchannel.NewService(ctx, option.WithScopes(cloudchannel.AppsReportsUsageReadonlyScope))

To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:

cloudchannelService, err := cloudchannel.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
cloudchannelService, err := cloudchannel.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.golang.org/api/option.ClientOption for details on options.

Index ▾

Constants
type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerRepricingConfig, error)
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Header() http.Header
type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Header() http.Header
type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerRepricingConfig, error)
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall
type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse, error)
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Filter(filter string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) PageSize(pageSize int64) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) PageToken(pageToken string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse) error) error
type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerRepricingConfig, error)
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall
    func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Header() http.Header
type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService
    func NewAccountsChannelPartnerLinksChannelPartnerRepricingConfigsService(s *Service) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService
    func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Create(parent string, googlecloudchannelv1channelpartnerrepricingconfig *GoogleCloudChannelV1ChannelPartnerRepricingConfig) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall
    func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Delete(name string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall
    func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Get(name string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall
    func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) List(parent string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall
    func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Patch(name string, googlecloudchannelv1channelpartnerrepricingconfig *GoogleCloudChannelV1ChannelPartnerRepricingConfig) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall
type AccountsChannelPartnerLinksCreateCall
    func (c *AccountsChannelPartnerLinksCreateCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCreateCall
    func (c *AccountsChannelPartnerLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerLink, error)
    func (c *AccountsChannelPartnerLinksCreateCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCreateCall
    func (c *AccountsChannelPartnerLinksCreateCall) Header() http.Header
type AccountsChannelPartnerLinksCustomersCreateCall
    func (c *AccountsChannelPartnerLinksCustomersCreateCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersCreateCall
    func (c *AccountsChannelPartnerLinksCustomersCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsChannelPartnerLinksCustomersCreateCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersCreateCall
    func (c *AccountsChannelPartnerLinksCustomersCreateCall) Header() http.Header
type AccountsChannelPartnerLinksCustomersDeleteCall
    func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersDeleteCall
    func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersDeleteCall
    func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Header() http.Header
type AccountsChannelPartnerLinksCustomersGetCall
    func (c *AccountsChannelPartnerLinksCustomersGetCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersGetCall
    func (c *AccountsChannelPartnerLinksCustomersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsChannelPartnerLinksCustomersGetCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersGetCall
    func (c *AccountsChannelPartnerLinksCustomersGetCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksCustomersGetCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksCustomersGetCall
type AccountsChannelPartnerLinksCustomersImportCall
    func (c *AccountsChannelPartnerLinksCustomersImportCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersImportCall
    func (c *AccountsChannelPartnerLinksCustomersImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsChannelPartnerLinksCustomersImportCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersImportCall
    func (c *AccountsChannelPartnerLinksCustomersImportCall) Header() http.Header
type AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListCustomersResponse, error)
    func (c *AccountsChannelPartnerLinksCustomersListCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) Filter(filter string) *AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksCustomersListCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) PageSize(pageSize int64) *AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) PageToken(pageToken string) *AccountsChannelPartnerLinksCustomersListCall
    func (c *AccountsChannelPartnerLinksCustomersListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListCustomersResponse) error) error
type AccountsChannelPartnerLinksCustomersPatchCall
    func (c *AccountsChannelPartnerLinksCustomersPatchCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersPatchCall
    func (c *AccountsChannelPartnerLinksCustomersPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsChannelPartnerLinksCustomersPatchCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersPatchCall
    func (c *AccountsChannelPartnerLinksCustomersPatchCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksCustomersPatchCall) UpdateMask(updateMask string) *AccountsChannelPartnerLinksCustomersPatchCall
type AccountsChannelPartnerLinksCustomersService
    func NewAccountsChannelPartnerLinksCustomersService(s *Service) *AccountsChannelPartnerLinksCustomersService
    func (r *AccountsChannelPartnerLinksCustomersService) Create(parent string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsChannelPartnerLinksCustomersCreateCall
    func (r *AccountsChannelPartnerLinksCustomersService) Delete(name string) *AccountsChannelPartnerLinksCustomersDeleteCall
    func (r *AccountsChannelPartnerLinksCustomersService) Get(name string) *AccountsChannelPartnerLinksCustomersGetCall
    func (r *AccountsChannelPartnerLinksCustomersService) Import(parent string, googlecloudchannelv1importcustomerrequest *GoogleCloudChannelV1ImportCustomerRequest) *AccountsChannelPartnerLinksCustomersImportCall
    func (r *AccountsChannelPartnerLinksCustomersService) List(parent string) *AccountsChannelPartnerLinksCustomersListCall
    func (r *AccountsChannelPartnerLinksCustomersService) Patch(name string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsChannelPartnerLinksCustomersPatchCall
type AccountsChannelPartnerLinksGetCall
    func (c *AccountsChannelPartnerLinksGetCall) Context(ctx context.Context) *AccountsChannelPartnerLinksGetCall
    func (c *AccountsChannelPartnerLinksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerLink, error)
    func (c *AccountsChannelPartnerLinksGetCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksGetCall
    func (c *AccountsChannelPartnerLinksGetCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksGetCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksGetCall
    func (c *AccountsChannelPartnerLinksGetCall) View(view string) *AccountsChannelPartnerLinksGetCall
type AccountsChannelPartnerLinksListCall
    func (c *AccountsChannelPartnerLinksListCall) Context(ctx context.Context) *AccountsChannelPartnerLinksListCall
    func (c *AccountsChannelPartnerLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListChannelPartnerLinksResponse, error)
    func (c *AccountsChannelPartnerLinksListCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksListCall
    func (c *AccountsChannelPartnerLinksListCall) Header() http.Header
    func (c *AccountsChannelPartnerLinksListCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksListCall
    func (c *AccountsChannelPartnerLinksListCall) PageSize(pageSize int64) *AccountsChannelPartnerLinksListCall
    func (c *AccountsChannelPartnerLinksListCall) PageToken(pageToken string) *AccountsChannelPartnerLinksListCall
    func (c *AccountsChannelPartnerLinksListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListChannelPartnerLinksResponse) error) error
    func (c *AccountsChannelPartnerLinksListCall) View(view string) *AccountsChannelPartnerLinksListCall
type AccountsChannelPartnerLinksPatchCall
    func (c *AccountsChannelPartnerLinksPatchCall) Context(ctx context.Context) *AccountsChannelPartnerLinksPatchCall
    func (c *AccountsChannelPartnerLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerLink, error)
    func (c *AccountsChannelPartnerLinksPatchCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksPatchCall
    func (c *AccountsChannelPartnerLinksPatchCall) Header() http.Header
type AccountsChannelPartnerLinksService
    func NewAccountsChannelPartnerLinksService(s *Service) *AccountsChannelPartnerLinksService
    func (r *AccountsChannelPartnerLinksService) Create(parent string, googlecloudchannelv1channelpartnerlink *GoogleCloudChannelV1ChannelPartnerLink) *AccountsChannelPartnerLinksCreateCall
    func (r *AccountsChannelPartnerLinksService) Get(name string) *AccountsChannelPartnerLinksGetCall
    func (r *AccountsChannelPartnerLinksService) List(parent string) *AccountsChannelPartnerLinksListCall
    func (r *AccountsChannelPartnerLinksService) Patch(name string, googlecloudchannelv1updatechannelpartnerlinkrequest *GoogleCloudChannelV1UpdateChannelPartnerLinkRequest) *AccountsChannelPartnerLinksPatchCall
type AccountsCheckCloudIdentityAccountsExistCall
    func (c *AccountsCheckCloudIdentityAccountsExistCall) Context(ctx context.Context) *AccountsCheckCloudIdentityAccountsExistCall
    func (c *AccountsCheckCloudIdentityAccountsExistCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse, error)
    func (c *AccountsCheckCloudIdentityAccountsExistCall) Fields(s ...googleapi.Field) *AccountsCheckCloudIdentityAccountsExistCall
    func (c *AccountsCheckCloudIdentityAccountsExistCall) Header() http.Header
type AccountsCustomersCreateCall
    func (c *AccountsCustomersCreateCall) Context(ctx context.Context) *AccountsCustomersCreateCall
    func (c *AccountsCustomersCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsCustomersCreateCall) Fields(s ...googleapi.Field) *AccountsCustomersCreateCall
    func (c *AccountsCustomersCreateCall) Header() http.Header
type AccountsCustomersCustomerRepricingConfigsCreateCall
    func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsCreateCall
    func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CustomerRepricingConfig, error)
    func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsCreateCall
    func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Header() http.Header
type AccountsCustomersCustomerRepricingConfigsDeleteCall
    func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsDeleteCall
    func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsDeleteCall
    func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Header() http.Header
type AccountsCustomersCustomerRepricingConfigsGetCall
    func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsGetCall
    func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CustomerRepricingConfig, error)
    func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsGetCall
    func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Header() http.Header
    func (c *AccountsCustomersCustomerRepricingConfigsGetCall) IfNoneMatch(entityTag string) *AccountsCustomersCustomerRepricingConfigsGetCall
type AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListCustomerRepricingConfigsResponse, error)
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) Filter(filter string) *AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) Header() http.Header
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) IfNoneMatch(entityTag string) *AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) PageSize(pageSize int64) *AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) PageToken(pageToken string) *AccountsCustomersCustomerRepricingConfigsListCall
    func (c *AccountsCustomersCustomerRepricingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListCustomerRepricingConfigsResponse) error) error
type AccountsCustomersCustomerRepricingConfigsPatchCall
    func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsPatchCall
    func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CustomerRepricingConfig, error)
    func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsPatchCall
    func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Header() http.Header
type AccountsCustomersCustomerRepricingConfigsService
    func NewAccountsCustomersCustomerRepricingConfigsService(s *Service) *AccountsCustomersCustomerRepricingConfigsService
    func (r *AccountsCustomersCustomerRepricingConfigsService) Create(parent string, googlecloudchannelv1customerrepricingconfig *GoogleCloudChannelV1CustomerRepricingConfig) *AccountsCustomersCustomerRepricingConfigsCreateCall
    func (r *AccountsCustomersCustomerRepricingConfigsService) Delete(name string) *AccountsCustomersCustomerRepricingConfigsDeleteCall
    func (r *AccountsCustomersCustomerRepricingConfigsService) Get(name string) *AccountsCustomersCustomerRepricingConfigsGetCall
    func (r *AccountsCustomersCustomerRepricingConfigsService) List(parent string) *AccountsCustomersCustomerRepricingConfigsListCall
    func (r *AccountsCustomersCustomerRepricingConfigsService) Patch(name string, googlecloudchannelv1customerrepricingconfig *GoogleCloudChannelV1CustomerRepricingConfig) *AccountsCustomersCustomerRepricingConfigsPatchCall
type AccountsCustomersDeleteCall
    func (c *AccountsCustomersDeleteCall) Context(ctx context.Context) *AccountsCustomersDeleteCall
    func (c *AccountsCustomersDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *AccountsCustomersDeleteCall) Fields(s ...googleapi.Field) *AccountsCustomersDeleteCall
    func (c *AccountsCustomersDeleteCall) Header() http.Header
type AccountsCustomersEntitlementsActivateCall
    func (c *AccountsCustomersEntitlementsActivateCall) Context(ctx context.Context) *AccountsCustomersEntitlementsActivateCall
    func (c *AccountsCustomersEntitlementsActivateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsActivateCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsActivateCall
    func (c *AccountsCustomersEntitlementsActivateCall) Header() http.Header
type AccountsCustomersEntitlementsCancelCall
    func (c *AccountsCustomersEntitlementsCancelCall) Context(ctx context.Context) *AccountsCustomersEntitlementsCancelCall
    func (c *AccountsCustomersEntitlementsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsCancelCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsCancelCall
    func (c *AccountsCustomersEntitlementsCancelCall) Header() http.Header
type AccountsCustomersEntitlementsChangeOfferCall
    func (c *AccountsCustomersEntitlementsChangeOfferCall) Context(ctx context.Context) *AccountsCustomersEntitlementsChangeOfferCall
    func (c *AccountsCustomersEntitlementsChangeOfferCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsChangeOfferCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsChangeOfferCall
    func (c *AccountsCustomersEntitlementsChangeOfferCall) Header() http.Header
type AccountsCustomersEntitlementsChangeParametersCall
    func (c *AccountsCustomersEntitlementsChangeParametersCall) Context(ctx context.Context) *AccountsCustomersEntitlementsChangeParametersCall
    func (c *AccountsCustomersEntitlementsChangeParametersCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsChangeParametersCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsChangeParametersCall
    func (c *AccountsCustomersEntitlementsChangeParametersCall) Header() http.Header
type AccountsCustomersEntitlementsChangeRenewalSettingsCall
    func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Context(ctx context.Context) *AccountsCustomersEntitlementsChangeRenewalSettingsCall
    func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsChangeRenewalSettingsCall
    func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Header() http.Header
type AccountsCustomersEntitlementsCreateCall
    func (c *AccountsCustomersEntitlementsCreateCall) Context(ctx context.Context) *AccountsCustomersEntitlementsCreateCall
    func (c *AccountsCustomersEntitlementsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsCreateCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsCreateCall
    func (c *AccountsCustomersEntitlementsCreateCall) Header() http.Header
type AccountsCustomersEntitlementsGetCall
    func (c *AccountsCustomersEntitlementsGetCall) Context(ctx context.Context) *AccountsCustomersEntitlementsGetCall
    func (c *AccountsCustomersEntitlementsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Entitlement, error)
    func (c *AccountsCustomersEntitlementsGetCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsGetCall
    func (c *AccountsCustomersEntitlementsGetCall) Header() http.Header
    func (c *AccountsCustomersEntitlementsGetCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsGetCall
type AccountsCustomersEntitlementsListCall
    func (c *AccountsCustomersEntitlementsListCall) Context(ctx context.Context) *AccountsCustomersEntitlementsListCall
    func (c *AccountsCustomersEntitlementsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListEntitlementsResponse, error)
    func (c *AccountsCustomersEntitlementsListCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsListCall
    func (c *AccountsCustomersEntitlementsListCall) Header() http.Header
    func (c *AccountsCustomersEntitlementsListCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsListCall
    func (c *AccountsCustomersEntitlementsListCall) PageSize(pageSize int64) *AccountsCustomersEntitlementsListCall
    func (c *AccountsCustomersEntitlementsListCall) PageToken(pageToken string) *AccountsCustomersEntitlementsListCall
    func (c *AccountsCustomersEntitlementsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListEntitlementsResponse) error) error
type AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Context(ctx context.Context) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListEntitlementChangesResponse, error)
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Filter(filter string) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Header() http.Header
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) PageSize(pageSize int64) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) PageToken(pageToken string) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListEntitlementChangesResponse) error) error
type AccountsCustomersEntitlementsLookupOfferCall
    func (c *AccountsCustomersEntitlementsLookupOfferCall) Context(ctx context.Context) *AccountsCustomersEntitlementsLookupOfferCall
    func (c *AccountsCustomersEntitlementsLookupOfferCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Offer, error)
    func (c *AccountsCustomersEntitlementsLookupOfferCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsLookupOfferCall
    func (c *AccountsCustomersEntitlementsLookupOfferCall) Header() http.Header
    func (c *AccountsCustomersEntitlementsLookupOfferCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsLookupOfferCall
type AccountsCustomersEntitlementsService
    func NewAccountsCustomersEntitlementsService(s *Service) *AccountsCustomersEntitlementsService
    func (r *AccountsCustomersEntitlementsService) Activate(name string, googlecloudchannelv1activateentitlementrequest *GoogleCloudChannelV1ActivateEntitlementRequest) *AccountsCustomersEntitlementsActivateCall
    func (r *AccountsCustomersEntitlementsService) Cancel(name string, googlecloudchannelv1cancelentitlementrequest *GoogleCloudChannelV1CancelEntitlementRequest) *AccountsCustomersEntitlementsCancelCall
    func (r *AccountsCustomersEntitlementsService) ChangeOffer(name string, googlecloudchannelv1changeofferrequest *GoogleCloudChannelV1ChangeOfferRequest) *AccountsCustomersEntitlementsChangeOfferCall
    func (r *AccountsCustomersEntitlementsService) ChangeParameters(name string, googlecloudchannelv1changeparametersrequest *GoogleCloudChannelV1ChangeParametersRequest) *AccountsCustomersEntitlementsChangeParametersCall
    func (r *AccountsCustomersEntitlementsService) ChangeRenewalSettings(name string, googlecloudchannelv1changerenewalsettingsrequest *GoogleCloudChannelV1ChangeRenewalSettingsRequest) *AccountsCustomersEntitlementsChangeRenewalSettingsCall
    func (r *AccountsCustomersEntitlementsService) Create(parent string, googlecloudchannelv1createentitlementrequest *GoogleCloudChannelV1CreateEntitlementRequest) *AccountsCustomersEntitlementsCreateCall
    func (r *AccountsCustomersEntitlementsService) Get(name string) *AccountsCustomersEntitlementsGetCall
    func (r *AccountsCustomersEntitlementsService) List(parent string) *AccountsCustomersEntitlementsListCall
    func (r *AccountsCustomersEntitlementsService) ListEntitlementChanges(parent string) *AccountsCustomersEntitlementsListEntitlementChangesCall
    func (r *AccountsCustomersEntitlementsService) LookupOffer(entitlement string) *AccountsCustomersEntitlementsLookupOfferCall
    func (r *AccountsCustomersEntitlementsService) StartPaidService(name string, googlecloudchannelv1startpaidservicerequest *GoogleCloudChannelV1StartPaidServiceRequest) *AccountsCustomersEntitlementsStartPaidServiceCall
    func (r *AccountsCustomersEntitlementsService) Suspend(name string, googlecloudchannelv1suspendentitlementrequest *GoogleCloudChannelV1SuspendEntitlementRequest) *AccountsCustomersEntitlementsSuspendCall
type AccountsCustomersEntitlementsStartPaidServiceCall
    func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Context(ctx context.Context) *AccountsCustomersEntitlementsStartPaidServiceCall
    func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsStartPaidServiceCall
    func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Header() http.Header
type AccountsCustomersEntitlementsSuspendCall
    func (c *AccountsCustomersEntitlementsSuspendCall) Context(ctx context.Context) *AccountsCustomersEntitlementsSuspendCall
    func (c *AccountsCustomersEntitlementsSuspendCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersEntitlementsSuspendCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsSuspendCall
    func (c *AccountsCustomersEntitlementsSuspendCall) Header() http.Header
type AccountsCustomersGetCall
    func (c *AccountsCustomersGetCall) Context(ctx context.Context) *AccountsCustomersGetCall
    func (c *AccountsCustomersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsCustomersGetCall) Fields(s ...googleapi.Field) *AccountsCustomersGetCall
    func (c *AccountsCustomersGetCall) Header() http.Header
    func (c *AccountsCustomersGetCall) IfNoneMatch(entityTag string) *AccountsCustomersGetCall
type AccountsCustomersImportCall
    func (c *AccountsCustomersImportCall) Context(ctx context.Context) *AccountsCustomersImportCall
    func (c *AccountsCustomersImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsCustomersImportCall) Fields(s ...googleapi.Field) *AccountsCustomersImportCall
    func (c *AccountsCustomersImportCall) Header() http.Header
type AccountsCustomersListCall
    func (c *AccountsCustomersListCall) Context(ctx context.Context) *AccountsCustomersListCall
    func (c *AccountsCustomersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListCustomersResponse, error)
    func (c *AccountsCustomersListCall) Fields(s ...googleapi.Field) *AccountsCustomersListCall
    func (c *AccountsCustomersListCall) Filter(filter string) *AccountsCustomersListCall
    func (c *AccountsCustomersListCall) Header() http.Header
    func (c *AccountsCustomersListCall) IfNoneMatch(entityTag string) *AccountsCustomersListCall
    func (c *AccountsCustomersListCall) PageSize(pageSize int64) *AccountsCustomersListCall
    func (c *AccountsCustomersListCall) PageToken(pageToken string) *AccountsCustomersListCall
    func (c *AccountsCustomersListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListCustomersResponse) error) error
type AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseBillingAccount(changeOfferPurchaseBillingAccount string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseEntitlement(changeOfferPurchaseEntitlement string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseNewSku(changeOfferPurchaseNewSku string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) Context(ctx context.Context) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseBillingAccount(createEntitlementPurchaseBillingAccount string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseSku(createEntitlementPurchaseSku string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListPurchasableOffersResponse, error)
    func (c *AccountsCustomersListPurchasableOffersCall) Fields(s ...googleapi.Field) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) Header() http.Header
    func (c *AccountsCustomersListPurchasableOffersCall) IfNoneMatch(entityTag string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) LanguageCode(languageCode string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) PageSize(pageSize int64) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) PageToken(pageToken string) *AccountsCustomersListPurchasableOffersCall
    func (c *AccountsCustomersListPurchasableOffersCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListPurchasableOffersResponse) error) error
type AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) ChangeOfferPurchaseChangeType(changeOfferPurchaseChangeType string) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) ChangeOfferPurchaseEntitlement(changeOfferPurchaseEntitlement string) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) Context(ctx context.Context) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) CreateEntitlementPurchaseProduct(createEntitlementPurchaseProduct string) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListPurchasableSkusResponse, error)
    func (c *AccountsCustomersListPurchasableSkusCall) Fields(s ...googleapi.Field) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) Header() http.Header
    func (c *AccountsCustomersListPurchasableSkusCall) IfNoneMatch(entityTag string) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) LanguageCode(languageCode string) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) PageSize(pageSize int64) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) PageToken(pageToken string) *AccountsCustomersListPurchasableSkusCall
    func (c *AccountsCustomersListPurchasableSkusCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListPurchasableSkusResponse) error) error
type AccountsCustomersPatchCall
    func (c *AccountsCustomersPatchCall) Context(ctx context.Context) *AccountsCustomersPatchCall
    func (c *AccountsCustomersPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)
    func (c *AccountsCustomersPatchCall) Fields(s ...googleapi.Field) *AccountsCustomersPatchCall
    func (c *AccountsCustomersPatchCall) Header() http.Header
    func (c *AccountsCustomersPatchCall) UpdateMask(updateMask string) *AccountsCustomersPatchCall
type AccountsCustomersProvisionCloudIdentityCall
    func (c *AccountsCustomersProvisionCloudIdentityCall) Context(ctx context.Context) *AccountsCustomersProvisionCloudIdentityCall
    func (c *AccountsCustomersProvisionCloudIdentityCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersProvisionCloudIdentityCall) Fields(s ...googleapi.Field) *AccountsCustomersProvisionCloudIdentityCall
    func (c *AccountsCustomersProvisionCloudIdentityCall) Header() http.Header
type AccountsCustomersQueryEligibleBillingAccountsCall
    func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Context(ctx context.Context) *AccountsCustomersQueryEligibleBillingAccountsCall
    func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1QueryEligibleBillingAccountsResponse, error)
    func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Fields(s ...googleapi.Field) *AccountsCustomersQueryEligibleBillingAccountsCall
    func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Header() http.Header
    func (c *AccountsCustomersQueryEligibleBillingAccountsCall) IfNoneMatch(entityTag string) *AccountsCustomersQueryEligibleBillingAccountsCall
    func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Skus(skus ...string) *AccountsCustomersQueryEligibleBillingAccountsCall
type AccountsCustomersService
    func NewAccountsCustomersService(s *Service) *AccountsCustomersService
    func (r *AccountsCustomersService) Create(parent string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsCustomersCreateCall
    func (r *AccountsCustomersService) Delete(name string) *AccountsCustomersDeleteCall
    func (r *AccountsCustomersService) Get(name string) *AccountsCustomersGetCall
    func (r *AccountsCustomersService) Import(parent string, googlecloudchannelv1importcustomerrequest *GoogleCloudChannelV1ImportCustomerRequest) *AccountsCustomersImportCall
    func (r *AccountsCustomersService) List(parent string) *AccountsCustomersListCall
    func (r *AccountsCustomersService) ListPurchasableOffers(customer string) *AccountsCustomersListPurchasableOffersCall
    func (r *AccountsCustomersService) ListPurchasableSkus(customer string) *AccountsCustomersListPurchasableSkusCall
    func (r *AccountsCustomersService) Patch(name string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsCustomersPatchCall
    func (r *AccountsCustomersService) ProvisionCloudIdentity(customer string, googlecloudchannelv1provisioncloudidentityrequest *GoogleCloudChannelV1ProvisionCloudIdentityRequest) *AccountsCustomersProvisionCloudIdentityCall
    func (r *AccountsCustomersService) QueryEligibleBillingAccounts(customer string) *AccountsCustomersQueryEligibleBillingAccountsCall
    func (r *AccountsCustomersService) TransferEntitlements(parent string, googlecloudchannelv1transferentitlementsrequest *GoogleCloudChannelV1TransferEntitlementsRequest) *AccountsCustomersTransferEntitlementsCall
    func (r *AccountsCustomersService) TransferEntitlementsToGoogle(parent string, googlecloudchannelv1transferentitlementstogooglerequest *GoogleCloudChannelV1TransferEntitlementsToGoogleRequest) *AccountsCustomersTransferEntitlementsToGoogleCall
type AccountsCustomersTransferEntitlementsCall
    func (c *AccountsCustomersTransferEntitlementsCall) Context(ctx context.Context) *AccountsCustomersTransferEntitlementsCall
    func (c *AccountsCustomersTransferEntitlementsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersTransferEntitlementsCall) Fields(s ...googleapi.Field) *AccountsCustomersTransferEntitlementsCall
    func (c *AccountsCustomersTransferEntitlementsCall) Header() http.Header
type AccountsCustomersTransferEntitlementsToGoogleCall
    func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Context(ctx context.Context) *AccountsCustomersTransferEntitlementsToGoogleCall
    func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Fields(s ...googleapi.Field) *AccountsCustomersTransferEntitlementsToGoogleCall
    func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Header() http.Header
type AccountsListSubscribersCall
    func (c *AccountsListSubscribersCall) Context(ctx context.Context) *AccountsListSubscribersCall
    func (c *AccountsListSubscribersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSubscribersResponse, error)
    func (c *AccountsListSubscribersCall) Fields(s ...googleapi.Field) *AccountsListSubscribersCall
    func (c *AccountsListSubscribersCall) Header() http.Header
    func (c *AccountsListSubscribersCall) IfNoneMatch(entityTag string) *AccountsListSubscribersCall
    func (c *AccountsListSubscribersCall) PageSize(pageSize int64) *AccountsListSubscribersCall
    func (c *AccountsListSubscribersCall) PageToken(pageToken string) *AccountsListSubscribersCall
    func (c *AccountsListSubscribersCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSubscribersResponse) error) error
type AccountsListTransferableOffersCall
    func (c *AccountsListTransferableOffersCall) Context(ctx context.Context) *AccountsListTransferableOffersCall
    func (c *AccountsListTransferableOffersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListTransferableOffersResponse, error)
    func (c *AccountsListTransferableOffersCall) Fields(s ...googleapi.Field) *AccountsListTransferableOffersCall
    func (c *AccountsListTransferableOffersCall) Header() http.Header
    func (c *AccountsListTransferableOffersCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListTransferableOffersResponse) error) error
type AccountsListTransferableSkusCall
    func (c *AccountsListTransferableSkusCall) Context(ctx context.Context) *AccountsListTransferableSkusCall
    func (c *AccountsListTransferableSkusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListTransferableSkusResponse, error)
    func (c *AccountsListTransferableSkusCall) Fields(s ...googleapi.Field) *AccountsListTransferableSkusCall
    func (c *AccountsListTransferableSkusCall) Header() http.Header
    func (c *AccountsListTransferableSkusCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListTransferableSkusResponse) error) error
type AccountsOffersListCall
    func (c *AccountsOffersListCall) Context(ctx context.Context) *AccountsOffersListCall
    func (c *AccountsOffersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListOffersResponse, error)
    func (c *AccountsOffersListCall) Fields(s ...googleapi.Field) *AccountsOffersListCall
    func (c *AccountsOffersListCall) Filter(filter string) *AccountsOffersListCall
    func (c *AccountsOffersListCall) Header() http.Header
    func (c *AccountsOffersListCall) IfNoneMatch(entityTag string) *AccountsOffersListCall
    func (c *AccountsOffersListCall) LanguageCode(languageCode string) *AccountsOffersListCall
    func (c *AccountsOffersListCall) PageSize(pageSize int64) *AccountsOffersListCall
    func (c *AccountsOffersListCall) PageToken(pageToken string) *AccountsOffersListCall
    func (c *AccountsOffersListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListOffersResponse) error) error
    func (c *AccountsOffersListCall) ShowFutureOffers(showFutureOffers bool) *AccountsOffersListCall
type AccountsOffersService
    func NewAccountsOffersService(s *Service) *AccountsOffersService
    func (r *AccountsOffersService) List(parent string) *AccountsOffersListCall
type AccountsRegisterCall
    func (c *AccountsRegisterCall) Context(ctx context.Context) *AccountsRegisterCall
    func (c *AccountsRegisterCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1RegisterSubscriberResponse, error)
    func (c *AccountsRegisterCall) Fields(s ...googleapi.Field) *AccountsRegisterCall
    func (c *AccountsRegisterCall) Header() http.Header
type AccountsReportJobsFetchReportResultsCall
    func (c *AccountsReportJobsFetchReportResultsCall) Context(ctx context.Context) *AccountsReportJobsFetchReportResultsCall
    func (c *AccountsReportJobsFetchReportResultsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1FetchReportResultsResponse, error)
    func (c *AccountsReportJobsFetchReportResultsCall) Fields(s ...googleapi.Field) *AccountsReportJobsFetchReportResultsCall
    func (c *AccountsReportJobsFetchReportResultsCall) Header() http.Header
    func (c *AccountsReportJobsFetchReportResultsCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1FetchReportResultsResponse) error) error
type AccountsReportJobsService
    func NewAccountsReportJobsService(s *Service) *AccountsReportJobsService
    func (r *AccountsReportJobsService) FetchReportResults(reportJob string, googlecloudchannelv1fetchreportresultsrequest *GoogleCloudChannelV1FetchReportResultsRequest) *AccountsReportJobsFetchReportResultsCall
type AccountsReportsListCall
    func (c *AccountsReportsListCall) Context(ctx context.Context) *AccountsReportsListCall
    func (c *AccountsReportsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListReportsResponse, error)
    func (c *AccountsReportsListCall) Fields(s ...googleapi.Field) *AccountsReportsListCall
    func (c *AccountsReportsListCall) Header() http.Header
    func (c *AccountsReportsListCall) IfNoneMatch(entityTag string) *AccountsReportsListCall
    func (c *AccountsReportsListCall) LanguageCode(languageCode string) *AccountsReportsListCall
    func (c *AccountsReportsListCall) PageSize(pageSize int64) *AccountsReportsListCall
    func (c *AccountsReportsListCall) PageToken(pageToken string) *AccountsReportsListCall
    func (c *AccountsReportsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListReportsResponse) error) error
type AccountsReportsRunCall
    func (c *AccountsReportsRunCall) Context(ctx context.Context) *AccountsReportsRunCall
    func (c *AccountsReportsRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *AccountsReportsRunCall) Fields(s ...googleapi.Field) *AccountsReportsRunCall
    func (c *AccountsReportsRunCall) Header() http.Header
type AccountsReportsService
    func NewAccountsReportsService(s *Service) *AccountsReportsService
    func (r *AccountsReportsService) List(parent string) *AccountsReportsListCall
    func (r *AccountsReportsService) Run(nameid string, googlecloudchannelv1runreportjobrequest *GoogleCloudChannelV1RunReportJobRequest) *AccountsReportsRunCall
type AccountsService
    func NewAccountsService(s *Service) *AccountsService
    func (r *AccountsService) CheckCloudIdentityAccountsExist(parent string, googlecloudchannelv1checkcloudidentityaccountsexistrequest *GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest) *AccountsCheckCloudIdentityAccountsExistCall
    func (r *AccountsService) ListSubscribers(account string) *AccountsListSubscribersCall
    func (r *AccountsService) ListTransferableOffers(parent string, googlecloudchannelv1listtransferableoffersrequest *GoogleCloudChannelV1ListTransferableOffersRequest) *AccountsListTransferableOffersCall
    func (r *AccountsService) ListTransferableSkus(parent string, googlecloudchannelv1listtransferableskusrequest *GoogleCloudChannelV1ListTransferableSkusRequest) *AccountsListTransferableSkusCall
    func (r *AccountsService) Register(account string, googlecloudchannelv1registersubscriberrequest *GoogleCloudChannelV1RegisterSubscriberRequest) *AccountsRegisterCall
    func (r *AccountsService) Unregister(account string, googlecloudchannelv1unregistersubscriberrequest *GoogleCloudChannelV1UnregisterSubscriberRequest) *AccountsUnregisterCall
type AccountsSkuGroupsBillableSkusListCall
    func (c *AccountsSkuGroupsBillableSkusListCall) Context(ctx context.Context) *AccountsSkuGroupsBillableSkusListCall
    func (c *AccountsSkuGroupsBillableSkusListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSkuGroupBillableSkusResponse, error)
    func (c *AccountsSkuGroupsBillableSkusListCall) Fields(s ...googleapi.Field) *AccountsSkuGroupsBillableSkusListCall
    func (c *AccountsSkuGroupsBillableSkusListCall) Header() http.Header
    func (c *AccountsSkuGroupsBillableSkusListCall) IfNoneMatch(entityTag string) *AccountsSkuGroupsBillableSkusListCall
    func (c *AccountsSkuGroupsBillableSkusListCall) PageSize(pageSize int64) *AccountsSkuGroupsBillableSkusListCall
    func (c *AccountsSkuGroupsBillableSkusListCall) PageToken(pageToken string) *AccountsSkuGroupsBillableSkusListCall
    func (c *AccountsSkuGroupsBillableSkusListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSkuGroupBillableSkusResponse) error) error
type AccountsSkuGroupsBillableSkusService
    func NewAccountsSkuGroupsBillableSkusService(s *Service) *AccountsSkuGroupsBillableSkusService
    func (r *AccountsSkuGroupsBillableSkusService) List(parent string) *AccountsSkuGroupsBillableSkusListCall
type AccountsSkuGroupsListCall
    func (c *AccountsSkuGroupsListCall) Context(ctx context.Context) *AccountsSkuGroupsListCall
    func (c *AccountsSkuGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSkuGroupsResponse, error)
    func (c *AccountsSkuGroupsListCall) Fields(s ...googleapi.Field) *AccountsSkuGroupsListCall
    func (c *AccountsSkuGroupsListCall) Header() http.Header
    func (c *AccountsSkuGroupsListCall) IfNoneMatch(entityTag string) *AccountsSkuGroupsListCall
    func (c *AccountsSkuGroupsListCall) PageSize(pageSize int64) *AccountsSkuGroupsListCall
    func (c *AccountsSkuGroupsListCall) PageToken(pageToken string) *AccountsSkuGroupsListCall
    func (c *AccountsSkuGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSkuGroupsResponse) error) error
type AccountsSkuGroupsService
    func NewAccountsSkuGroupsService(s *Service) *AccountsSkuGroupsService
    func (r *AccountsSkuGroupsService) List(parent string) *AccountsSkuGroupsListCall
type AccountsUnregisterCall
    func (c *AccountsUnregisterCall) Context(ctx context.Context) *AccountsUnregisterCall
    func (c *AccountsUnregisterCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1UnregisterSubscriberResponse, error)
    func (c *AccountsUnregisterCall) Fields(s ...googleapi.Field) *AccountsUnregisterCall
    func (c *AccountsUnregisterCall) Header() http.Header
type GoogleCloudChannelV1ActivateEntitlementRequest
    func (s *GoogleCloudChannelV1ActivateEntitlementRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1AdminUser
    func (s *GoogleCloudChannelV1AdminUser) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1AssociationInfo
    func (s *GoogleCloudChannelV1AssociationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1BillableSku
    func (s *GoogleCloudChannelV1BillableSku) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1BillingAccount
    func (s *GoogleCloudChannelV1BillingAccount) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1BillingAccountPurchaseInfo
    func (s *GoogleCloudChannelV1BillingAccountPurchaseInfo) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CancelEntitlementRequest
    func (s *GoogleCloudChannelV1CancelEntitlementRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ChangeOfferRequest
    func (s *GoogleCloudChannelV1ChangeOfferRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ChangeParametersRequest
    func (s *GoogleCloudChannelV1ChangeParametersRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ChangeRenewalSettingsRequest
    func (s *GoogleCloudChannelV1ChangeRenewalSettingsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ChannelPartnerLink
    func (s *GoogleCloudChannelV1ChannelPartnerLink) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ChannelPartnerRepricingConfig
    func (s *GoogleCloudChannelV1ChannelPartnerRepricingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest
    func (s *GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse
    func (s *GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CloudIdentityCustomerAccount
    func (s *GoogleCloudChannelV1CloudIdentityCustomerAccount) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CloudIdentityInfo
    func (s *GoogleCloudChannelV1CloudIdentityInfo) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Column
    func (s *GoogleCloudChannelV1Column) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CommitmentSettings
    func (s *GoogleCloudChannelV1CommitmentSettings) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ConditionalOverride
    func (s *GoogleCloudChannelV1ConditionalOverride) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Constraints
    func (s *GoogleCloudChannelV1Constraints) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ContactInfo
    func (s *GoogleCloudChannelV1ContactInfo) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CreateEntitlementRequest
    func (s *GoogleCloudChannelV1CreateEntitlementRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Customer
    func (s *GoogleCloudChannelV1Customer) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CustomerConstraints
    func (s *GoogleCloudChannelV1CustomerConstraints) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CustomerEvent
    func (s *GoogleCloudChannelV1CustomerEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1CustomerRepricingConfig
    func (s *GoogleCloudChannelV1CustomerRepricingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1DateRange
    func (s *GoogleCloudChannelV1DateRange) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1EduData
    func (s *GoogleCloudChannelV1EduData) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Entitlement
    func (s *GoogleCloudChannelV1Entitlement) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1EntitlementChange
    func (s *GoogleCloudChannelV1EntitlementChange) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1EntitlementEvent
    func (s *GoogleCloudChannelV1EntitlementEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1FetchReportResultsRequest
    func (s *GoogleCloudChannelV1FetchReportResultsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1FetchReportResultsResponse
    func (s *GoogleCloudChannelV1FetchReportResultsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ImportCustomerRequest
    func (s *GoogleCloudChannelV1ImportCustomerRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListChannelPartnerLinksResponse
    func (s *GoogleCloudChannelV1ListChannelPartnerLinksResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse
    func (s *GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListCustomerRepricingConfigsResponse
    func (s *GoogleCloudChannelV1ListCustomerRepricingConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListCustomersResponse
    func (s *GoogleCloudChannelV1ListCustomersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListEntitlementChangesResponse
    func (s *GoogleCloudChannelV1ListEntitlementChangesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListEntitlementsResponse
    func (s *GoogleCloudChannelV1ListEntitlementsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListOffersResponse
    func (s *GoogleCloudChannelV1ListOffersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListProductsResponse
    func (s *GoogleCloudChannelV1ListProductsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListPurchasableOffersResponse
    func (s *GoogleCloudChannelV1ListPurchasableOffersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListPurchasableSkusResponse
    func (s *GoogleCloudChannelV1ListPurchasableSkusResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListReportsResponse
    func (s *GoogleCloudChannelV1ListReportsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
    func (s *GoogleCloudChannelV1ListSkuGroupBillableSkusResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListSkuGroupsResponse
    func (s *GoogleCloudChannelV1ListSkuGroupsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListSkusResponse
    func (s *GoogleCloudChannelV1ListSkusResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListSubscribersResponse
    func (s *GoogleCloudChannelV1ListSubscribersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListTransferableOffersRequest
    func (s *GoogleCloudChannelV1ListTransferableOffersRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListTransferableOffersResponse
    func (s *GoogleCloudChannelV1ListTransferableOffersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListTransferableSkusRequest
    func (s *GoogleCloudChannelV1ListTransferableSkusRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ListTransferableSkusResponse
    func (s *GoogleCloudChannelV1ListTransferableSkusResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1MarketingInfo
    func (s *GoogleCloudChannelV1MarketingInfo) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Media
    func (s *GoogleCloudChannelV1Media) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Offer
    func (s *GoogleCloudChannelV1Offer) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1OperationMetadata
    func (s *GoogleCloudChannelV1OperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Parameter
    func (s *GoogleCloudChannelV1Parameter) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ParameterDefinition
    func (s *GoogleCloudChannelV1ParameterDefinition) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1PercentageAdjustment
    func (s *GoogleCloudChannelV1PercentageAdjustment) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Period
    func (s *GoogleCloudChannelV1Period) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Plan
    func (s *GoogleCloudChannelV1Plan) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Price
    func (s *GoogleCloudChannelV1Price) MarshalJSON() ([]byte, error)
    func (s *GoogleCloudChannelV1Price) UnmarshalJSON(data []byte) error
type GoogleCloudChannelV1PriceByResource
    func (s *GoogleCloudChannelV1PriceByResource) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1PricePhase
    func (s *GoogleCloudChannelV1PricePhase) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1PriceTier
    func (s *GoogleCloudChannelV1PriceTier) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Product
    func (s *GoogleCloudChannelV1Product) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ProvisionCloudIdentityRequest
    func (s *GoogleCloudChannelV1ProvisionCloudIdentityRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ProvisionedService
    func (s *GoogleCloudChannelV1ProvisionedService) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1PurchasableOffer
    func (s *GoogleCloudChannelV1PurchasableOffer) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1PurchasableSku
    func (s *GoogleCloudChannelV1PurchasableSku) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1QueryEligibleBillingAccountsResponse
    func (s *GoogleCloudChannelV1QueryEligibleBillingAccountsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RegisterSubscriberRequest
    func (s *GoogleCloudChannelV1RegisterSubscriberRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RegisterSubscriberResponse
    func (s *GoogleCloudChannelV1RegisterSubscriberResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RenewalSettings
    func (s *GoogleCloudChannelV1RenewalSettings) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Report
    func (s *GoogleCloudChannelV1Report) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ReportJob
    func (s *GoogleCloudChannelV1ReportJob) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ReportResultsMetadata
    func (s *GoogleCloudChannelV1ReportResultsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ReportStatus
    func (s *GoogleCloudChannelV1ReportStatus) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1ReportValue
    func (s *GoogleCloudChannelV1ReportValue) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RepricingAdjustment
    func (s *GoogleCloudChannelV1RepricingAdjustment) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RepricingCondition
    func (s *GoogleCloudChannelV1RepricingCondition) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RepricingConfig
    func (s *GoogleCloudChannelV1RepricingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity
type GoogleCloudChannelV1RepricingConfigEntitlementGranularity
    func (s *GoogleCloudChannelV1RepricingConfigEntitlementGranularity) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Row
    func (s *GoogleCloudChannelV1Row) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RunReportJobRequest
    func (s *GoogleCloudChannelV1RunReportJobRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1RunReportJobResponse
    func (s *GoogleCloudChannelV1RunReportJobResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Sku
    func (s *GoogleCloudChannelV1Sku) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1SkuGroup
    func (s *GoogleCloudChannelV1SkuGroup) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1SkuGroupCondition
    func (s *GoogleCloudChannelV1SkuGroupCondition) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1SkuPurchaseGroup
    func (s *GoogleCloudChannelV1SkuPurchaseGroup) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1StartPaidServiceRequest
    func (s *GoogleCloudChannelV1StartPaidServiceRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1SubscriberEvent
    func (s *GoogleCloudChannelV1SubscriberEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1SuspendEntitlementRequest
    func (s *GoogleCloudChannelV1SuspendEntitlementRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TransferEligibility
    func (s *GoogleCloudChannelV1TransferEligibility) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TransferEntitlementsRequest
    func (s *GoogleCloudChannelV1TransferEntitlementsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TransferEntitlementsResponse
    func (s *GoogleCloudChannelV1TransferEntitlementsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TransferEntitlementsToGoogleRequest
    func (s *GoogleCloudChannelV1TransferEntitlementsToGoogleRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TransferableOffer
    func (s *GoogleCloudChannelV1TransferableOffer) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TransferableSku
    func (s *GoogleCloudChannelV1TransferableSku) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1TrialSettings
    func (s *GoogleCloudChannelV1TrialSettings) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1UnregisterSubscriberRequest
    func (s *GoogleCloudChannelV1UnregisterSubscriberRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1UnregisterSubscriberResponse
    func (s *GoogleCloudChannelV1UnregisterSubscriberResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1UpdateChannelPartnerLinkRequest
    func (s *GoogleCloudChannelV1UpdateChannelPartnerLinkRequest) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1Value
    func (s *GoogleCloudChannelV1Value) MarshalJSON() ([]byte, error)
    func (s *GoogleCloudChannelV1Value) UnmarshalJSON(data []byte) error
type GoogleCloudChannelV1alpha1AssociationInfo
    func (s *GoogleCloudChannelV1alpha1AssociationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1ChannelPartnerEvent
    func (s *GoogleCloudChannelV1alpha1ChannelPartnerEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1Column
    func (s *GoogleCloudChannelV1alpha1Column) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1CommitmentSettings
    func (s *GoogleCloudChannelV1alpha1CommitmentSettings) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1CustomerEvent
    func (s *GoogleCloudChannelV1alpha1CustomerEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1DateRange
    func (s *GoogleCloudChannelV1alpha1DateRange) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1Entitlement
    func (s *GoogleCloudChannelV1alpha1Entitlement) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1EntitlementEvent
    func (s *GoogleCloudChannelV1alpha1EntitlementEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1OperationMetadata
    func (s *GoogleCloudChannelV1alpha1OperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1Parameter
    func (s *GoogleCloudChannelV1alpha1Parameter) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1Period
    func (s *GoogleCloudChannelV1alpha1Period) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1ProvisionedService
    func (s *GoogleCloudChannelV1alpha1ProvisionedService) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1RenewalSettings
    func (s *GoogleCloudChannelV1alpha1RenewalSettings) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1Report
    func (s *GoogleCloudChannelV1alpha1Report) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1ReportJob
    func (s *GoogleCloudChannelV1alpha1ReportJob) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1ReportResultsMetadata
    func (s *GoogleCloudChannelV1alpha1ReportResultsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1ReportStatus
    func (s *GoogleCloudChannelV1alpha1ReportStatus) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1RunReportJobResponse
    func (s *GoogleCloudChannelV1alpha1RunReportJobResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1SubscriberEvent
    func (s *GoogleCloudChannelV1alpha1SubscriberEvent) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1TransferEntitlementsResponse
    func (s *GoogleCloudChannelV1alpha1TransferEntitlementsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1TrialSettings
    func (s *GoogleCloudChannelV1alpha1TrialSettings) MarshalJSON() ([]byte, error)
type GoogleCloudChannelV1alpha1Value
    func (s *GoogleCloudChannelV1alpha1Value) MarshalJSON() ([]byte, error)
    func (s *GoogleCloudChannelV1alpha1Value) UnmarshalJSON(data []byte) error
type GoogleLongrunningCancelOperationRequest
type GoogleLongrunningListOperationsResponse
    func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)
type GoogleLongrunningOperation
    func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty
type GoogleRpcStatus
    func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)
type GoogleTypeDate
    func (s *GoogleTypeDate) MarshalJSON() ([]byte, error)
type GoogleTypeDateTime
    func (s *GoogleTypeDateTime) MarshalJSON() ([]byte, error)
type GoogleTypeDecimal
    func (s *GoogleTypeDecimal) MarshalJSON() ([]byte, error)
type GoogleTypeMoney
    func (s *GoogleTypeMoney) MarshalJSON() ([]byte, error)
type GoogleTypePostalAddress
    func (s *GoogleTypePostalAddress) MarshalJSON() ([]byte, error)
type GoogleTypeTimeZone
    func (s *GoogleTypeTimeZone) MarshalJSON() ([]byte, error)
type OperationsCancelCall
    func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall
    func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall
    func (c *OperationsCancelCall) Header() http.Header
type OperationsDeleteCall
    func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall
    func (c *OperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
    func (c *OperationsDeleteCall) Fields(s ...googleapi.Field) *OperationsDeleteCall
    func (c *OperationsDeleteCall) Header() http.Header
type OperationsGetCall
    func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall
    func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
    func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall
    func (c *OperationsGetCall) Header() http.Header
    func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall
type OperationsListCall
    func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall
    func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
    func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall
    func (c *OperationsListCall) Filter(filter string) *OperationsListCall
    func (c *OperationsListCall) Header() http.Header
    func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall
    func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall
    func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall
    func (c *OperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
type OperationsService
    func NewOperationsService(s *Service) *OperationsService
    func (r *OperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *OperationsCancelCall
    func (r *OperationsService) Delete(name string) *OperationsDeleteCall
    func (r *OperationsService) Get(name string) *OperationsGetCall
    func (r *OperationsService) List(name string) *OperationsListCall
type ProductsListCall
    func (c *ProductsListCall) Account(account string) *ProductsListCall
    func (c *ProductsListCall) Context(ctx context.Context) *ProductsListCall
    func (c *ProductsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListProductsResponse, error)
    func (c *ProductsListCall) Fields(s ...googleapi.Field) *ProductsListCall
    func (c *ProductsListCall) Header() http.Header
    func (c *ProductsListCall) IfNoneMatch(entityTag string) *ProductsListCall
    func (c *ProductsListCall) LanguageCode(languageCode string) *ProductsListCall
    func (c *ProductsListCall) PageSize(pageSize int64) *ProductsListCall
    func (c *ProductsListCall) PageToken(pageToken string) *ProductsListCall
    func (c *ProductsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListProductsResponse) error) error
type ProductsService
    func NewProductsService(s *Service) *ProductsService
    func (r *ProductsService) List() *ProductsListCall
type ProductsSkusListCall
    func (c *ProductsSkusListCall) Account(account string) *ProductsSkusListCall
    func (c *ProductsSkusListCall) Context(ctx context.Context) *ProductsSkusListCall
    func (c *ProductsSkusListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSkusResponse, error)
    func (c *ProductsSkusListCall) Fields(s ...googleapi.Field) *ProductsSkusListCall
    func (c *ProductsSkusListCall) Header() http.Header
    func (c *ProductsSkusListCall) IfNoneMatch(entityTag string) *ProductsSkusListCall
    func (c *ProductsSkusListCall) LanguageCode(languageCode string) *ProductsSkusListCall
    func (c *ProductsSkusListCall) PageSize(pageSize int64) *ProductsSkusListCall
    func (c *ProductsSkusListCall) PageToken(pageToken string) *ProductsSkusListCall
    func (c *ProductsSkusListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSkusResponse) error) error
type ProductsSkusService
    func NewProductsSkusService(s *Service) *ProductsSkusService
    func (r *ProductsSkusService) List(parent string) *ProductsSkusListCall
type Service
    func New(client *http.Client) (*Service, error)
    func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

Package files

cloudchannel-gen.go

Constants

OAuth2 scopes used by this API.

const (
    // Manage users on your domain
    AppsOrderScope = "https://www.googleapis.com/auth/apps.order"

    // View usage reports for your G Suite domain
    AppsReportsUsageReadonlyScope = "https://www.googleapis.com/auth/apps.reports.usage.readonly"
)

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Context

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Do

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerRepricingConfig, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.channelPartnerRepricingConfigs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ChannelPartnerRepricingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Fields

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Header

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Context

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Do

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.channelPartnerRepricingConfigs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Fields

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Header

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Context

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Do

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerRepricingConfig, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.channelPartnerRepricingConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ChannelPartnerRepricingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Fields

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Header

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) IfNoneMatch

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Context

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Do

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.channelPartnerRepricingConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Fields

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Filter

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Filter(filter string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

Filter sets the optional parameter "filter": A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs] results (channel_partner_link only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set `parent=accounts/{account_id}/channelPartnerLinks/-`. Example: `channel_partner_link = accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link = accounts/account_id/channelPartnerLinks/c2`.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Header

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) IfNoneMatch

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) PageSize

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) PageSize(pageSize int64) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

PageSize sets the optional parameter "pageSize": The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) PageToken

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) PageToken(pageToken string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results beyond the first page. Obtained through ListChannelPartnerRepricingConfigsResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerRepricingConfigs call.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Pages

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Context

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Context(ctx context.Context) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Do

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerRepricingConfig, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.channelPartnerRepricingConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ChannelPartnerRepricingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Fields

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Header

func (c *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService

type AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService struct {
    // contains filtered or unexported fields
}

func NewAccountsChannelPartnerLinksChannelPartnerRepricingConfigsService

func NewAccountsChannelPartnerLinksChannelPartnerRepricingConfigsService(s *Service) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Create

func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Create(parent string, googlecloudchannelv1channelpartnerrepricingconfig *GoogleCloudChannelV1ChannelPartnerRepricingConfig) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsCreateCall

Create: Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any ChannelPartner or RepricingConfig.EntitlementGranularity.entitlement, for any RepricingConfig.effective_invoice_month. * The contained ChannelPartnerRepricingConfig.repricing_config value must be different from the value used in the current config for a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Delete

func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Delete(name string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsDeleteCall

Delete: Deletes the given ChannelPartnerRepricingConfig permanently. You can only delete configs if their RepricingConfig.effective_invoice_month is set to a date after the current month. Possible error codes: * PERMISSION_DENIED: The account making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * FAILED_PRECONDITION: The ChannelPartnerRepricingConfig is active or in the past. * NOT_FOUND: No ChannelPartnerRepricingConfig found for the name in the request.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Get

func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Get(name string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsGetCall

Get: Gets information about how a Distributor modifies their bill before sending it to a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The ChannelPartnerRepricingConfig was not found. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the ChannelPartnerRepricingConfig resource, otherwise returns an error.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) List

func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) List(parent string) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsListCall

List: Lists information about how a Reseller modifies their bill before sending it to a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the ChannelPartnerRepricingConfig resources. The data for each resource is displayed in the ascending order of: * Channel Partner ID * RepricingConfig.effective_invoice_month * ChannelPartnerRepricingConfig.update_time If unsuccessful, returns an error.

func (*AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Patch

func (r *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService) Patch(name string, googlecloudchannelv1channelpartnerrepricingconfig *GoogleCloudChannelV1ChannelPartnerRepricingConfig) *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsPatchCall

Patch: Updates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. This method overwrites the existing CustomerRepricingConfig. You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateChannelPartnerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month. When updating a config in the future: * This config must already exist. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error.

type AccountsChannelPartnerLinksCreateCall

type AccountsChannelPartnerLinksCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCreateCall) Context

func (c *AccountsChannelPartnerLinksCreateCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCreateCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCreateCall) Do

func (c *AccountsChannelPartnerLinksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerLink, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ChannelPartnerLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCreateCall) Fields

func (c *AccountsChannelPartnerLinksCreateCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCreateCall) Header

func (c *AccountsChannelPartnerLinksCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksCustomersCreateCall

type AccountsChannelPartnerLinksCustomersCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCustomersCreateCall) Context

func (c *AccountsChannelPartnerLinksCustomersCreateCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersCreateCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCustomersCreateCall) Do

func (c *AccountsChannelPartnerLinksCustomersCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.customers.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCustomersCreateCall) Fields

func (c *AccountsChannelPartnerLinksCustomersCreateCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCustomersCreateCall) Header

func (c *AccountsChannelPartnerLinksCustomersCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksCustomersDeleteCall

type AccountsChannelPartnerLinksCustomersDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCustomersDeleteCall) Context

func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersDeleteCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCustomersDeleteCall) Do

func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.customers.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCustomersDeleteCall) Fields

func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCustomersDeleteCall) Header

func (c *AccountsChannelPartnerLinksCustomersDeleteCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksCustomersGetCall

type AccountsChannelPartnerLinksCustomersGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCustomersGetCall) Context

func (c *AccountsChannelPartnerLinksCustomersGetCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersGetCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCustomersGetCall) Do

func (c *AccountsChannelPartnerLinksCustomersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.customers.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCustomersGetCall) Fields

func (c *AccountsChannelPartnerLinksCustomersGetCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCustomersGetCall) Header

func (c *AccountsChannelPartnerLinksCustomersGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksCustomersGetCall) IfNoneMatch

func (c *AccountsChannelPartnerLinksCustomersGetCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksCustomersGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsChannelPartnerLinksCustomersImportCall

type AccountsChannelPartnerLinksCustomersImportCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCustomersImportCall) Context

func (c *AccountsChannelPartnerLinksCustomersImportCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersImportCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCustomersImportCall) Do

func (c *AccountsChannelPartnerLinksCustomersImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.customers.import" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCustomersImportCall) Fields

func (c *AccountsChannelPartnerLinksCustomersImportCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersImportCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCustomersImportCall) Header

func (c *AccountsChannelPartnerLinksCustomersImportCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksCustomersListCall

type AccountsChannelPartnerLinksCustomersListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCustomersListCall) Context

func (c *AccountsChannelPartnerLinksCustomersListCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersListCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCustomersListCall) Do

func (c *AccountsChannelPartnerLinksCustomersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListCustomersResponse, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.customers.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListCustomersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCustomersListCall) Fields

func (c *AccountsChannelPartnerLinksCustomersListCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCustomersListCall) Filter

func (c *AccountsChannelPartnerLinksCustomersListCall) Filter(filter string) *AccountsChannelPartnerLinksCustomersListCall

Filter sets the optional parameter "filter": Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.

func (*AccountsChannelPartnerLinksCustomersListCall) Header

func (c *AccountsChannelPartnerLinksCustomersListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksCustomersListCall) IfNoneMatch

func (c *AccountsChannelPartnerLinksCustomersListCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksCustomersListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsChannelPartnerLinksCustomersListCall) PageSize

func (c *AccountsChannelPartnerLinksCustomersListCall) PageSize(pageSize int64) *AccountsChannelPartnerLinksCustomersListCall

PageSize sets the optional parameter "pageSize": The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50.

func (*AccountsChannelPartnerLinksCustomersListCall) PageToken

func (c *AccountsChannelPartnerLinksCustomersListCall) PageToken(pageToken string) *AccountsChannelPartnerLinksCustomersListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results other than the first page. Obtained through ListCustomersResponse.next_page_token of the previous CloudChannelService.ListCustomers call.

func (*AccountsChannelPartnerLinksCustomersListCall) Pages

func (c *AccountsChannelPartnerLinksCustomersListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListCustomersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsChannelPartnerLinksCustomersPatchCall

type AccountsChannelPartnerLinksCustomersPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksCustomersPatchCall) Context

func (c *AccountsChannelPartnerLinksCustomersPatchCall) Context(ctx context.Context) *AccountsChannelPartnerLinksCustomersPatchCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksCustomersPatchCall) Do

func (c *AccountsChannelPartnerLinksCustomersPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.customers.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksCustomersPatchCall) Fields

func (c *AccountsChannelPartnerLinksCustomersPatchCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksCustomersPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksCustomersPatchCall) Header

func (c *AccountsChannelPartnerLinksCustomersPatchCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksCustomersPatchCall) UpdateMask

func (c *AccountsChannelPartnerLinksCustomersPatchCall) UpdateMask(updateMask string) *AccountsChannelPartnerLinksCustomersPatchCall

UpdateMask sets the optional parameter "updateMask": The update mask that applies to the resource.

type AccountsChannelPartnerLinksCustomersService

type AccountsChannelPartnerLinksCustomersService struct {
    // contains filtered or unexported fields
}

func NewAccountsChannelPartnerLinksCustomersService

func NewAccountsChannelPartnerLinksCustomersService(s *Service) *AccountsChannelPartnerLinksCustomersService

func (*AccountsChannelPartnerLinksCustomersService) Create

func (r *AccountsChannelPartnerLinksCustomersService) Create(parent string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsChannelPartnerLinksCustomersCreateCall

Create: Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: * The reseller account making the request is different from the reseller account in the API request. * You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer resource.

func (*AccountsChannelPartnerLinksCustomersService) Delete

func (r *AccountsChannelPartnerLinksCustomersService) Delete(name string) *AccountsChannelPartnerLinksCustomersDeleteCall

Delete: Deletes the given Customer permanently. Possible error codes: * PERMISSION_DENIED: The account making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * FAILED_PRECONDITION: The customer has existing entitlements. * NOT_FOUND: No Customer resource found for the name in the request.

- name: The resource name of the customer to delete.

func (*AccountsChannelPartnerLinksCustomersService) Get

func (r *AccountsChannelPartnerLinksCustomersService) Get(name string) *AccountsChannelPartnerLinksCustomersGetCall

Get: Returns the requested Customer resource. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't exist. Usually the result of an invalid name parameter. Return value: The Customer resource.

func (*AccountsChannelPartnerLinksCustomersService) Import

func (r *AccountsChannelPartnerLinksCustomersService) Import(parent string, googlecloudchannelv1importcustomerrequest *GoogleCloudChannelV1ImportCustomerRequest) *AccountsChannelPartnerLinksCustomersImportCall

Import: Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: * The reseller account making the request is different from the reseller account in the API request. * You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.

func (*AccountsChannelPartnerLinksCustomersService) List

func (r *AccountsChannelPartnerLinksCustomersService) List(parent string) *AccountsChannelPartnerLinksCustomersListCall

List: List Customers. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of Customers, or an empty list if there are no customers.

func (*AccountsChannelPartnerLinksCustomersService) Patch

func (r *AccountsChannelPartnerLinksCustomersService) Patch(name string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsChannelPartnerLinksCustomersPatchCall

Patch: Updates an existing Customer resource for the reseller or distributor. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: No Customer resource found for the name in the request. Return value: The updated Customer resource.

type AccountsChannelPartnerLinksGetCall

type AccountsChannelPartnerLinksGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksGetCall) Context

func (c *AccountsChannelPartnerLinksGetCall) Context(ctx context.Context) *AccountsChannelPartnerLinksGetCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksGetCall) Do

func (c *AccountsChannelPartnerLinksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerLink, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ChannelPartnerLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksGetCall) Fields

func (c *AccountsChannelPartnerLinksGetCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksGetCall) Header

func (c *AccountsChannelPartnerLinksGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksGetCall) IfNoneMatch

func (c *AccountsChannelPartnerLinksGetCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsChannelPartnerLinksGetCall) View

func (c *AccountsChannelPartnerLinksGetCall) View(view string) *AccountsChannelPartnerLinksGetCall

View sets the optional parameter "view": The level of granularity the ChannelPartnerLink will display.

Possible values:

"UNSPECIFIED" - The default / unset value. The API will default to the

BASIC view.

"BASIC" - Includes all fields except the

ChannelPartnerLink.channel_partner_cloud_identity_info.

"FULL" - Includes all fields.

type AccountsChannelPartnerLinksListCall

type AccountsChannelPartnerLinksListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksListCall) Context

func (c *AccountsChannelPartnerLinksListCall) Context(ctx context.Context) *AccountsChannelPartnerLinksListCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksListCall) Do

func (c *AccountsChannelPartnerLinksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListChannelPartnerLinksResponse, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListChannelPartnerLinksResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksListCall) Fields

func (c *AccountsChannelPartnerLinksListCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksListCall) Header

func (c *AccountsChannelPartnerLinksListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsChannelPartnerLinksListCall) IfNoneMatch

func (c *AccountsChannelPartnerLinksListCall) IfNoneMatch(entityTag string) *AccountsChannelPartnerLinksListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsChannelPartnerLinksListCall) PageSize

func (c *AccountsChannelPartnerLinksListCall) PageSize(pageSize int64) *AccountsChannelPartnerLinksListCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.

func (*AccountsChannelPartnerLinksListCall) PageToken

func (c *AccountsChannelPartnerLinksListCall) PageToken(pageToken string) *AccountsChannelPartnerLinksListCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

func (*AccountsChannelPartnerLinksListCall) Pages

func (c *AccountsChannelPartnerLinksListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListChannelPartnerLinksResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsChannelPartnerLinksListCall) View

func (c *AccountsChannelPartnerLinksListCall) View(view string) *AccountsChannelPartnerLinksListCall

View sets the optional parameter "view": The level of granularity the ChannelPartnerLink will display.

Possible values:

"UNSPECIFIED" - The default / unset value. The API will default to the

BASIC view.

"BASIC" - Includes all fields except the

ChannelPartnerLink.channel_partner_cloud_identity_info.

"FULL" - Includes all fields.

type AccountsChannelPartnerLinksPatchCall

type AccountsChannelPartnerLinksPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsChannelPartnerLinksPatchCall) Context

func (c *AccountsChannelPartnerLinksPatchCall) Context(ctx context.Context) *AccountsChannelPartnerLinksPatchCall

Context sets the context to be used in this call's Do method.

func (*AccountsChannelPartnerLinksPatchCall) Do

func (c *AccountsChannelPartnerLinksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ChannelPartnerLink, error)

Do executes the "cloudchannel.accounts.channelPartnerLinks.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ChannelPartnerLink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsChannelPartnerLinksPatchCall) Fields

func (c *AccountsChannelPartnerLinksPatchCall) Fields(s ...googleapi.Field) *AccountsChannelPartnerLinksPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsChannelPartnerLinksPatchCall) Header

func (c *AccountsChannelPartnerLinksPatchCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsChannelPartnerLinksService

type AccountsChannelPartnerLinksService struct {
    ChannelPartnerRepricingConfigs *AccountsChannelPartnerLinksChannelPartnerRepricingConfigsService

    Customers *AccountsChannelPartnerLinksCustomersService
    // contains filtered or unexported fields
}

func NewAccountsChannelPartnerLinksService

func NewAccountsChannelPartnerLinksService(s *Service) *AccountsChannelPartnerLinksService

func (*AccountsChannelPartnerLinksService) Create

func (r *AccountsChannelPartnerLinksService) Create(parent string, googlecloudchannelv1channelpartnerlink *GoogleCloudChannelV1ChannelPartnerLink) *AccountsChannelPartnerLinksCreateCall

Create: Initiates a channel partner link between a distributor and a reseller, or between resellers in an n-tier reseller channel. Invited partners need to follow the invite_link_uri provided in the response to accept. After accepting the invitation, a link is set up between the two parties. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. * NOT_FOUND: No Cloud Identity customer exists for provided domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The new ChannelPartnerLink resource.

func (*AccountsChannelPartnerLinksService) Get

func (r *AccountsChannelPartnerLinksService) Get(name string) *AccountsChannelPartnerLinksGetCall

Get: Returns the requested ChannelPartnerLink resource. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: ChannelPartnerLink resource not found because of an invalid channel partner link name. Return value: The ChannelPartnerLink resource.

func (*AccountsChannelPartnerLinksService) List

func (r *AccountsChannelPartnerLinksService) List(parent string) *AccountsChannelPartnerLinksListCall

List: List ChannelPartnerLinks belonging to a distributor. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: The list of the distributor account's ChannelPartnerLink resources.

func (*AccountsChannelPartnerLinksService) Patch

func (r *AccountsChannelPartnerLinksService) Patch(name string, googlecloudchannelv1updatechannelpartnerlinkrequest *GoogleCloudChannelV1UpdateChannelPartnerLinkRequest) *AccountsChannelPartnerLinksPatchCall

Patch: Updates a channel partner link. Distributors call this method to change a link's status. For example, to suspend a partner link. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Link state cannot change from invited to active or suspended. * Cannot send reseller_cloud_identity_id, invite_url, or name in update mask. * NOT_FOUND: ChannelPartnerLink resource not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The updated ChannelPartnerLink resource.

type AccountsCheckCloudIdentityAccountsExistCall

type AccountsCheckCloudIdentityAccountsExistCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCheckCloudIdentityAccountsExistCall) Context

func (c *AccountsCheckCloudIdentityAccountsExistCall) Context(ctx context.Context) *AccountsCheckCloudIdentityAccountsExistCall

Context sets the context to be used in this call's Do method.

func (*AccountsCheckCloudIdentityAccountsExistCall) Do

func (c *AccountsCheckCloudIdentityAccountsExistCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse, error)

Do executes the "cloudchannel.accounts.checkCloudIdentityAccountsExist" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse.ServerResponse.H eader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCheckCloudIdentityAccountsExistCall) Fields

func (c *AccountsCheckCloudIdentityAccountsExistCall) Fields(s ...googleapi.Field) *AccountsCheckCloudIdentityAccountsExistCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCheckCloudIdentityAccountsExistCall) Header

func (c *AccountsCheckCloudIdentityAccountsExistCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersCreateCall

type AccountsCustomersCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersCreateCall) Context

func (c *AccountsCustomersCreateCall) Context(ctx context.Context) *AccountsCustomersCreateCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersCreateCall) Do

func (c *AccountsCustomersCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.customers.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersCreateCall) Fields

func (c *AccountsCustomersCreateCall) Fields(s ...googleapi.Field) *AccountsCustomersCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersCreateCall) Header

func (c *AccountsCustomersCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersCustomerRepricingConfigsCreateCall

type AccountsCustomersCustomerRepricingConfigsCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersCustomerRepricingConfigsCreateCall) Context

func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsCreateCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersCustomerRepricingConfigsCreateCall) Do

func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CustomerRepricingConfig, error)

Do executes the "cloudchannel.accounts.customers.customerRepricingConfigs.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1CustomerRepricingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersCustomerRepricingConfigsCreateCall) Fields

func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersCustomerRepricingConfigsCreateCall) Header

func (c *AccountsCustomersCustomerRepricingConfigsCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersCustomerRepricingConfigsDeleteCall

type AccountsCustomersCustomerRepricingConfigsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersCustomerRepricingConfigsDeleteCall) Context

func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsDeleteCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersCustomerRepricingConfigsDeleteCall) Do

func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudchannel.accounts.customers.customerRepricingConfigs.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersCustomerRepricingConfigsDeleteCall) Fields

func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersCustomerRepricingConfigsDeleteCall) Header

func (c *AccountsCustomersCustomerRepricingConfigsDeleteCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersCustomerRepricingConfigsGetCall

type AccountsCustomersCustomerRepricingConfigsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersCustomerRepricingConfigsGetCall) Context

func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsGetCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersCustomerRepricingConfigsGetCall) Do

func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CustomerRepricingConfig, error)

Do executes the "cloudchannel.accounts.customers.customerRepricingConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1CustomerRepricingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersCustomerRepricingConfigsGetCall) Fields

func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersCustomerRepricingConfigsGetCall) Header

func (c *AccountsCustomersCustomerRepricingConfigsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersCustomerRepricingConfigsGetCall) IfNoneMatch

func (c *AccountsCustomersCustomerRepricingConfigsGetCall) IfNoneMatch(entityTag string) *AccountsCustomersCustomerRepricingConfigsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsCustomersCustomerRepricingConfigsListCall

type AccountsCustomersCustomerRepricingConfigsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersCustomerRepricingConfigsListCall) Context

func (c *AccountsCustomersCustomerRepricingConfigsListCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsListCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersCustomerRepricingConfigsListCall) Do

func (c *AccountsCustomersCustomerRepricingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListCustomerRepricingConfigsResponse, error)

Do executes the "cloudchannel.accounts.customers.customerRepricingConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListCustomerRepricingConfigsResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersCustomerRepricingConfigsListCall) Fields

func (c *AccountsCustomersCustomerRepricingConfigsListCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersCustomerRepricingConfigsListCall) Filter

func (c *AccountsCustomersCustomerRepricingConfigsListCall) Filter(filter string) *AccountsCustomersCustomerRepricingConfigsListCall

Filter sets the optional parameter "filter": A filter for [CloudChannelService.ListCustomerRepricingConfigs] results (customer only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set `parent=accounts/{account_id}/customers/-`. Example: customer = accounts/account_id/customers/c1 OR customer = accounts/account_id/customers/c2.

func (*AccountsCustomersCustomerRepricingConfigsListCall) Header

func (c *AccountsCustomersCustomerRepricingConfigsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersCustomerRepricingConfigsListCall) IfNoneMatch

func (c *AccountsCustomersCustomerRepricingConfigsListCall) IfNoneMatch(entityTag string) *AccountsCustomersCustomerRepricingConfigsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersCustomerRepricingConfigsListCall) PageSize

func (c *AccountsCustomersCustomerRepricingConfigsListCall) PageSize(pageSize int64) *AccountsCustomersCustomerRepricingConfigsListCall

PageSize sets the optional parameter "pageSize": The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100.

func (*AccountsCustomersCustomerRepricingConfigsListCall) PageToken

func (c *AccountsCustomersCustomerRepricingConfigsListCall) PageToken(pageToken string) *AccountsCustomersCustomerRepricingConfigsListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results beyond the first page. Obtained through ListCustomerRepricingConfigsResponse.next_page_token of the previous CloudChannelService.ListCustomerRepricingConfigs call.

func (*AccountsCustomersCustomerRepricingConfigsListCall) Pages

func (c *AccountsCustomersCustomerRepricingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListCustomerRepricingConfigsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsCustomersCustomerRepricingConfigsPatchCall

type AccountsCustomersCustomerRepricingConfigsPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersCustomerRepricingConfigsPatchCall) Context

func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Context(ctx context.Context) *AccountsCustomersCustomerRepricingConfigsPatchCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersCustomerRepricingConfigsPatchCall) Do

func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1CustomerRepricingConfig, error)

Do executes the "cloudchannel.accounts.customers.customerRepricingConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1CustomerRepricingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersCustomerRepricingConfigsPatchCall) Fields

func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Fields(s ...googleapi.Field) *AccountsCustomersCustomerRepricingConfigsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersCustomerRepricingConfigsPatchCall) Header

func (c *AccountsCustomersCustomerRepricingConfigsPatchCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersCustomerRepricingConfigsService

type AccountsCustomersCustomerRepricingConfigsService struct {
    // contains filtered or unexported fields
}

func NewAccountsCustomersCustomerRepricingConfigsService

func NewAccountsCustomersCustomerRepricingConfigsService(s *Service) *AccountsCustomersCustomerRepricingConfigsService

func (*AccountsCustomersCustomerRepricingConfigsService) Create

func (r *AccountsCustomersCustomerRepricingConfigsService) Create(parent string, googlecloudchannelv1customerrepricingconfig *GoogleCloudChannelV1CustomerRepricingConfig) *AccountsCustomersCustomerRepricingConfigsCreateCall

Create: Creates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any RepricingConfig.EntitlementGranularity.entitlement, for any RepricingConfig.effective_invoice_month. * The contained CustomerRepricingConfig.repricing_config value must be different from the value used in the current config for a RepricingConfig.EntitlementGranularity.entitlement. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an error.

func (*AccountsCustomersCustomerRepricingConfigsService) Delete

func (r *AccountsCustomersCustomerRepricingConfigsService) Delete(name string) *AccountsCustomersCustomerRepricingConfigsDeleteCall

Delete: Deletes the given CustomerRepricingConfig permanently. You can only delete configs if their RepricingConfig.effective_invoice_month is set to a date after the current month. Possible error codes: * PERMISSION_DENIED: The account making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * FAILED_PRECONDITION: The CustomerRepricingConfig is active or in the past. * NOT_FOUND: No CustomerRepricingConfig found for the name in the request.

func (*AccountsCustomersCustomerRepricingConfigsService) Get

func (r *AccountsCustomersCustomerRepricingConfigsService) Get(name string) *AccountsCustomersCustomerRepricingConfigsGetCall

Get: Gets information about how a Reseller modifies their bill before sending it to a Customer. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The CustomerRepricingConfig was not found. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the CustomerRepricingConfig resource, otherwise returns an error.

func (*AccountsCustomersCustomerRepricingConfigsService) List

func (r *AccountsCustomersCustomerRepricingConfigsService) List(parent string) *AccountsCustomersCustomerRepricingConfigsListCall

List: Lists information about how a Reseller modifies their bill before sending it to a Customer. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the CustomerRepricingConfig resources. The data for each resource is displayed in the ascending order of: * Customer ID * RepricingConfig.EntitlementGranularity.entitlement * RepricingConfig.effective_invoice_month * CustomerRepricingConfig.update_time If unsuccessful, returns an error.

func (*AccountsCustomersCustomerRepricingConfigsService) Patch

func (r *AccountsCustomersCustomerRepricingConfigsService) Patch(name string, googlecloudchannelv1customerrepricingconfig *GoogleCloudChannelV1CustomerRepricingConfig) *AccountsCustomersCustomerRepricingConfigsPatchCall

Patch: Updates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. This method overwrites the existing CustomerRepricingConfig. You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateCustomerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month. When updating a config in the future: * This config must already exist. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an error.

type AccountsCustomersDeleteCall

type AccountsCustomersDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersDeleteCall) Context

func (c *AccountsCustomersDeleteCall) Context(ctx context.Context) *AccountsCustomersDeleteCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersDeleteCall) Do

func (c *AccountsCustomersDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudchannel.accounts.customers.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersDeleteCall) Fields

func (c *AccountsCustomersDeleteCall) Fields(s ...googleapi.Field) *AccountsCustomersDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersDeleteCall) Header

func (c *AccountsCustomersDeleteCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsActivateCall

type AccountsCustomersEntitlementsActivateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsActivateCall) Context

func (c *AccountsCustomersEntitlementsActivateCall) Context(ctx context.Context) *AccountsCustomersEntitlementsActivateCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsActivateCall) Do

func (c *AccountsCustomersEntitlementsActivateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.activate" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsActivateCall) Fields

func (c *AccountsCustomersEntitlementsActivateCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsActivateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsActivateCall) Header

func (c *AccountsCustomersEntitlementsActivateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsCancelCall

type AccountsCustomersEntitlementsCancelCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsCancelCall) Context

func (c *AccountsCustomersEntitlementsCancelCall) Context(ctx context.Context) *AccountsCustomersEntitlementsCancelCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsCancelCall) Do

func (c *AccountsCustomersEntitlementsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsCancelCall) Fields

func (c *AccountsCustomersEntitlementsCancelCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsCancelCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsCancelCall) Header

func (c *AccountsCustomersEntitlementsCancelCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsChangeOfferCall

type AccountsCustomersEntitlementsChangeOfferCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsChangeOfferCall) Context

func (c *AccountsCustomersEntitlementsChangeOfferCall) Context(ctx context.Context) *AccountsCustomersEntitlementsChangeOfferCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsChangeOfferCall) Do

func (c *AccountsCustomersEntitlementsChangeOfferCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.changeOffer" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsChangeOfferCall) Fields

func (c *AccountsCustomersEntitlementsChangeOfferCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsChangeOfferCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsChangeOfferCall) Header

func (c *AccountsCustomersEntitlementsChangeOfferCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsChangeParametersCall

type AccountsCustomersEntitlementsChangeParametersCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsChangeParametersCall) Context

func (c *AccountsCustomersEntitlementsChangeParametersCall) Context(ctx context.Context) *AccountsCustomersEntitlementsChangeParametersCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsChangeParametersCall) Do

func (c *AccountsCustomersEntitlementsChangeParametersCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.changeParameters" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsChangeParametersCall) Fields

func (c *AccountsCustomersEntitlementsChangeParametersCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsChangeParametersCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsChangeParametersCall) Header

func (c *AccountsCustomersEntitlementsChangeParametersCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsChangeRenewalSettingsCall

type AccountsCustomersEntitlementsChangeRenewalSettingsCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsChangeRenewalSettingsCall) Context

func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Context(ctx context.Context) *AccountsCustomersEntitlementsChangeRenewalSettingsCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsChangeRenewalSettingsCall) Do

func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.changeRenewalSettings" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsChangeRenewalSettingsCall) Fields

func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsChangeRenewalSettingsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsChangeRenewalSettingsCall) Header

func (c *AccountsCustomersEntitlementsChangeRenewalSettingsCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsCreateCall

type AccountsCustomersEntitlementsCreateCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsCreateCall) Context

func (c *AccountsCustomersEntitlementsCreateCall) Context(ctx context.Context) *AccountsCustomersEntitlementsCreateCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsCreateCall) Do

func (c *AccountsCustomersEntitlementsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsCreateCall) Fields

func (c *AccountsCustomersEntitlementsCreateCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsCreateCall) Header

func (c *AccountsCustomersEntitlementsCreateCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsGetCall

type AccountsCustomersEntitlementsGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsGetCall) Context

func (c *AccountsCustomersEntitlementsGetCall) Context(ctx context.Context) *AccountsCustomersEntitlementsGetCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsGetCall) Do

func (c *AccountsCustomersEntitlementsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Entitlement, error)

Do executes the "cloudchannel.accounts.customers.entitlements.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Entitlement.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsGetCall) Fields

func (c *AccountsCustomersEntitlementsGetCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsGetCall) Header

func (c *AccountsCustomersEntitlementsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersEntitlementsGetCall) IfNoneMatch

func (c *AccountsCustomersEntitlementsGetCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsCustomersEntitlementsListCall

type AccountsCustomersEntitlementsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsListCall) Context

func (c *AccountsCustomersEntitlementsListCall) Context(ctx context.Context) *AccountsCustomersEntitlementsListCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsListCall) Do

func (c *AccountsCustomersEntitlementsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListEntitlementsResponse, error)

Do executes the "cloudchannel.accounts.customers.entitlements.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListEntitlementsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsListCall) Fields

func (c *AccountsCustomersEntitlementsListCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsListCall) Header

func (c *AccountsCustomersEntitlementsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersEntitlementsListCall) IfNoneMatch

func (c *AccountsCustomersEntitlementsListCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersEntitlementsListCall) PageSize

func (c *AccountsCustomersEntitlementsListCall) PageSize(pageSize int64) *AccountsCustomersEntitlementsListCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, return at most 50 entitlements. The maximum value is 100; the server will coerce values above 100.

func (*AccountsCustomersEntitlementsListCall) PageToken

func (c *AccountsCustomersEntitlementsListCall) PageToken(pageToken string) *AccountsCustomersEntitlementsListCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page. Obtained using ListEntitlementsResponse.next_page_token of the previous CloudChannelService.ListEntitlements call.

func (*AccountsCustomersEntitlementsListCall) Pages

func (c *AccountsCustomersEntitlementsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListEntitlementsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsCustomersEntitlementsListEntitlementChangesCall

type AccountsCustomersEntitlementsListEntitlementChangesCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) Context

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Context(ctx context.Context) *AccountsCustomersEntitlementsListEntitlementChangesCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) Do

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListEntitlementChangesResponse, error)

Do executes the "cloudchannel.accounts.customers.entitlements.listEntitlementChanges" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListEntitlementChangesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) Fields

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsListEntitlementChangesCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) Filter

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Filter(filter string) *AccountsCustomersEntitlementsListEntitlementChangesCall

Filter sets the optional parameter "filter": Filters applied to the list results.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) Header

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) IfNoneMatch

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsListEntitlementChangesCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) PageSize

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) PageSize(pageSize int64) *AccountsCustomersEntitlementsListEntitlementChangesCall

PageSize sets the optional parameter "pageSize": The maximum number of entitlement changes to return. The service may return fewer than this value. If unspecified, returns at most 10 entitlement changes. The maximum value is 50; the server will coerce values above 50.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) PageToken

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) PageToken(pageToken string) *AccountsCustomersEntitlementsListEntitlementChangesCall

PageToken sets the optional parameter "pageToken": A page token, received from a previous CloudChannelService.ListEntitlementChanges call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CloudChannelService.ListEntitlementChanges must match the call that provided the page token.

func (*AccountsCustomersEntitlementsListEntitlementChangesCall) Pages

func (c *AccountsCustomersEntitlementsListEntitlementChangesCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListEntitlementChangesResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsCustomersEntitlementsLookupOfferCall

type AccountsCustomersEntitlementsLookupOfferCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsLookupOfferCall) Context

func (c *AccountsCustomersEntitlementsLookupOfferCall) Context(ctx context.Context) *AccountsCustomersEntitlementsLookupOfferCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsLookupOfferCall) Do

func (c *AccountsCustomersEntitlementsLookupOfferCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Offer, error)

Do executes the "cloudchannel.accounts.customers.entitlements.lookupOffer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Offer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsLookupOfferCall) Fields

func (c *AccountsCustomersEntitlementsLookupOfferCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsLookupOfferCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsLookupOfferCall) Header

func (c *AccountsCustomersEntitlementsLookupOfferCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersEntitlementsLookupOfferCall) IfNoneMatch

func (c *AccountsCustomersEntitlementsLookupOfferCall) IfNoneMatch(entityTag string) *AccountsCustomersEntitlementsLookupOfferCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsCustomersEntitlementsService

type AccountsCustomersEntitlementsService struct {
    // contains filtered or unexported fields
}

func NewAccountsCustomersEntitlementsService

func NewAccountsCustomersEntitlementsService(s *Service) *AccountsCustomersEntitlementsService

func (*AccountsCustomersEntitlementsService) Activate

func (r *AccountsCustomersEntitlementsService) Activate(name string, googlecloudchannelv1activateentitlementrequest *GoogleCloudChannelV1ActivateEntitlementRequest) *AccountsCustomersEntitlementsActivateCall

Activate: Activates a previously suspended entitlement. Entitlements suspended for pending ToS acceptance can't be activated using this method. An entitlement activation is a long-running operation and it updates the state of the customer entitlement. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement resource not found. * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and entitlements that have accepted the TOS. * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) Cancel

func (r *AccountsCustomersEntitlementsService) Cancel(name string, googlecloudchannelv1cancelentitlementrequest *GoogleCloudChannelV1CancelEntitlementRequest) *AccountsCustomersEntitlementsCancelCall

Cancel: Cancels a previously fulfilled entitlement. An entitlement cancellation is a long-running operation. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud entitlement's Cloud Billing subaccount. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement resource not found. * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or entitlements for Google Cloud's development platform. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) ChangeOffer

func (r *AccountsCustomersEntitlementsService) ChangeOffer(name string, googlecloudchannelv1changeofferrequest *GoogleCloudChannelV1ChangeOfferRequest) *AccountsCustomersEntitlementsChangeOfferCall

ChangeOffer: Updates the Offer for an existing customer entitlement. An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Offer or Entitlement resource not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) ChangeParameters

func (r *AccountsCustomersEntitlementsService) ChangeParameters(name string, googlecloudchannelv1changeparametersrequest *GoogleCloudChannelV1ChangeParametersRequest) *AccountsCustomersEntitlementsChangeParametersCall

ChangeParameters: Change parameters of the entitlement. An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the number of seats being changed is greater than the allowed number of max seats, or decreasing seats for a commitment based plan. * NOT_FOUND: Entitlement resource not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) ChangeRenewalSettings

func (r *AccountsCustomersEntitlementsService) ChangeRenewalSettings(name string, googlecloudchannelv1changerenewalsettingsrequest *GoogleCloudChannelV1ChangeRenewalSettingsRequest) *AccountsCustomersEntitlementsChangeRenewalSettingsCall

ChangeRenewalSettings: Updates the renewal settings for an existing customer entitlement. An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement resource not found. * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't enable or disable renewals for non-commitment plans. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) Create

func (r *AccountsCustomersEntitlementsService) Create(parent string, googlecloudchannelv1createentitlementrequest *GoogleCloudChannelV1CreateEntitlementRequest) *AccountsCustomersEntitlementsCreateCall

Create: Creates an entitlement for a customer. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There is already a customer entitlement for a SKU from the same product family. * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support for further troubleshooting. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: * The SKU was already purchased for the customer. * The customer's primary email already exists. Retry after changing the customer's primary contact email. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or Drive. * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) Get

func (r *AccountsCustomersEntitlementsService) Get(name string) *AccountsCustomersEntitlementsGetCall

Get: Returns the requested Entitlement resource. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer entitlement was not found. Return value: The requested Entitlement resource.

func (*AccountsCustomersEntitlementsService) List

func (r *AccountsCustomersEntitlementsService) List(parent string) *AccountsCustomersEntitlementsListCall

List: Lists Entitlements belonging to a customer. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: A list of the customer's Entitlements.

func (*AccountsCustomersEntitlementsService) ListEntitlementChanges

func (r *AccountsCustomersEntitlementsService) ListEntitlementChanges(parent string) *AccountsCustomersEntitlementsListEntitlementChangesCall

ListEntitlementChanges: List entitlement history. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different. * INVALID_ARGUMENT: Missing or invalid required fields in the request. * NOT_FOUND: The parent resource doesn't exist. Usually the result of an invalid name parameter. * INTERNAL: Any non-user error related to a technical issue in the backend. In this case, contact CloudChannel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. In this case, contact Cloud Channel support. Return value: List of EntitlementChanges.

func (*AccountsCustomersEntitlementsService) LookupOffer

func (r *AccountsCustomersEntitlementsService) LookupOffer(entitlement string) *AccountsCustomersEntitlementsLookupOfferCall

LookupOffer: Returns the requested Offer resource. Possible error codes: * PERMISSION_DENIED: The entitlement doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement or offer was not found. Return value: The Offer resource.

func (*AccountsCustomersEntitlementsService) StartPaidService

func (r *AccountsCustomersEntitlementsService) StartPaidService(name string, googlecloudchannelv1startpaidservicerequest *GoogleCloudChannelV1StartPaidServiceRequest) *AccountsCustomersEntitlementsStartPaidServiceCall

StartPaidService: Starts paid service for a trial entitlement. Starts paid service for a trial entitlement immediately. This method is only applicable if a plan is set up for a trial entitlement but has some trial days remaining. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement resource not found. * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersEntitlementsService) Suspend

func (r *AccountsCustomersEntitlementsService) Suspend(name string, googlecloudchannelv1suspendentitlementrequest *GoogleCloudChannelV1SuspendEntitlementRequest) *AccountsCustomersEntitlementsSuspendCall

Suspend: Suspends a previously fulfilled entitlement. An entitlement suspension is a long-running operation. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement resource not found. * NOT_ACTIVE: Entitlement is not active. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

type AccountsCustomersEntitlementsStartPaidServiceCall

type AccountsCustomersEntitlementsStartPaidServiceCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsStartPaidServiceCall) Context

func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Context(ctx context.Context) *AccountsCustomersEntitlementsStartPaidServiceCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsStartPaidServiceCall) Do

func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.startPaidService" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsStartPaidServiceCall) Fields

func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsStartPaidServiceCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsStartPaidServiceCall) Header

func (c *AccountsCustomersEntitlementsStartPaidServiceCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersEntitlementsSuspendCall

type AccountsCustomersEntitlementsSuspendCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersEntitlementsSuspendCall) Context

func (c *AccountsCustomersEntitlementsSuspendCall) Context(ctx context.Context) *AccountsCustomersEntitlementsSuspendCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersEntitlementsSuspendCall) Do

func (c *AccountsCustomersEntitlementsSuspendCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.entitlements.suspend" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersEntitlementsSuspendCall) Fields

func (c *AccountsCustomersEntitlementsSuspendCall) Fields(s ...googleapi.Field) *AccountsCustomersEntitlementsSuspendCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersEntitlementsSuspendCall) Header

func (c *AccountsCustomersEntitlementsSuspendCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersGetCall

type AccountsCustomersGetCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersGetCall) Context

func (c *AccountsCustomersGetCall) Context(ctx context.Context) *AccountsCustomersGetCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersGetCall) Do

func (c *AccountsCustomersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.customers.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersGetCall) Fields

func (c *AccountsCustomersGetCall) Fields(s ...googleapi.Field) *AccountsCustomersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersGetCall) Header

func (c *AccountsCustomersGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersGetCall) IfNoneMatch

func (c *AccountsCustomersGetCall) IfNoneMatch(entityTag string) *AccountsCustomersGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type AccountsCustomersImportCall

type AccountsCustomersImportCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersImportCall) Context

func (c *AccountsCustomersImportCall) Context(ctx context.Context) *AccountsCustomersImportCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersImportCall) Do

func (c *AccountsCustomersImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.customers.import" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersImportCall) Fields

func (c *AccountsCustomersImportCall) Fields(s ...googleapi.Field) *AccountsCustomersImportCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersImportCall) Header

func (c *AccountsCustomersImportCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersListCall

type AccountsCustomersListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersListCall) Context

func (c *AccountsCustomersListCall) Context(ctx context.Context) *AccountsCustomersListCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersListCall) Do

func (c *AccountsCustomersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListCustomersResponse, error)

Do executes the "cloudchannel.accounts.customers.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListCustomersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersListCall) Fields

func (c *AccountsCustomersListCall) Fields(s ...googleapi.Field) *AccountsCustomersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersListCall) Filter

func (c *AccountsCustomersListCall) Filter(filter string) *AccountsCustomersListCall

Filter sets the optional parameter "filter": Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.

func (*AccountsCustomersListCall) Header

func (c *AccountsCustomersListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersListCall) IfNoneMatch

func (c *AccountsCustomersListCall) IfNoneMatch(entityTag string) *AccountsCustomersListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersListCall) PageSize

func (c *AccountsCustomersListCall) PageSize(pageSize int64) *AccountsCustomersListCall

PageSize sets the optional parameter "pageSize": The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50.

func (*AccountsCustomersListCall) PageToken

func (c *AccountsCustomersListCall) PageToken(pageToken string) *AccountsCustomersListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results other than the first page. Obtained through ListCustomersResponse.next_page_token of the previous CloudChannelService.ListCustomers call.

func (*AccountsCustomersListCall) Pages

func (c *AccountsCustomersListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListCustomersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsCustomersListPurchasableOffersCall

type AccountsCustomersListPurchasableOffersCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseBillingAccount

func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseBillingAccount(changeOfferPurchaseBillingAccount string) *AccountsCustomersListPurchasableOffersCall

ChangeOfferPurchaseBillingAccount sets the optional parameter "changeOfferPurchase.billingAccount": Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

func (*AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseEntitlement

func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseEntitlement(changeOfferPurchaseEntitlement string) *AccountsCustomersListPurchasableOffersCall

ChangeOfferPurchaseEntitlement sets the optional parameter "changeOfferPurchase.entitlement": Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

func (*AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseNewSku

func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseNewSku(changeOfferPurchaseNewSku string) *AccountsCustomersListPurchasableOffersCall

ChangeOfferPurchaseNewSku sets the optional parameter "changeOfferPurchase.newSku": Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}

func (*AccountsCustomersListPurchasableOffersCall) Context

func (c *AccountsCustomersListPurchasableOffersCall) Context(ctx context.Context) *AccountsCustomersListPurchasableOffersCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseBillingAccount

func (c *AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseBillingAccount(createEntitlementPurchaseBillingAccount string) *AccountsCustomersListPurchasableOffersCall

CreateEntitlementPurchaseBillingAccount sets the optional parameter "createEntitlementPurchase.billingAccount": Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

func (*AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseSku

func (c *AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseSku(createEntitlementPurchaseSku string) *AccountsCustomersListPurchasableOffersCall

CreateEntitlementPurchaseSku sets the optional parameter "createEntitlementPurchase.sku": Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.

func (*AccountsCustomersListPurchasableOffersCall) Do

func (c *AccountsCustomersListPurchasableOffersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListPurchasableOffersResponse, error)

Do executes the "cloudchannel.accounts.customers.listPurchasableOffers" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListPurchasableOffersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersListPurchasableOffersCall) Fields

func (c *AccountsCustomersListPurchasableOffersCall) Fields(s ...googleapi.Field) *AccountsCustomersListPurchasableOffersCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersListPurchasableOffersCall) Header

func (c *AccountsCustomersListPurchasableOffersCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersListPurchasableOffersCall) IfNoneMatch

func (c *AccountsCustomersListPurchasableOffersCall) IfNoneMatch(entityTag string) *AccountsCustomersListPurchasableOffersCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersListPurchasableOffersCall) LanguageCode

func (c *AccountsCustomersListPurchasableOffersCall) LanguageCode(languageCode string) *AccountsCustomersListPurchasableOffersCall

LanguageCode sets the optional parameter "languageCode": The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

func (*AccountsCustomersListPurchasableOffersCall) PageSize

func (c *AccountsCustomersListPurchasableOffersCall) PageSize(pageSize int64) *AccountsCustomersListPurchasableOffersCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. The maximum value is 1000; the server will coerce values above 1000.

func (*AccountsCustomersListPurchasableOffersCall) PageToken

func (c *AccountsCustomersListPurchasableOffersCall) PageToken(pageToken string) *AccountsCustomersListPurchasableOffersCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page.

func (*AccountsCustomersListPurchasableOffersCall) Pages

func (c *AccountsCustomersListPurchasableOffersCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListPurchasableOffersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsCustomersListPurchasableSkusCall

type AccountsCustomersListPurchasableSkusCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersListPurchasableSkusCall) ChangeOfferPurchaseChangeType

func (c *AccountsCustomersListPurchasableSkusCall) ChangeOfferPurchaseChangeType(changeOfferPurchaseChangeType string) *AccountsCustomersListPurchasableSkusCall

ChangeOfferPurchaseChangeType sets the optional parameter "changeOfferPurchase.changeType": Required. Change Type for the entitlement.

Possible values:

"CHANGE_TYPE_UNSPECIFIED" - Not used.
"UPGRADE" - SKU is an upgrade on the current entitlement.
"DOWNGRADE" - SKU is a downgrade on the current entitlement.

func (*AccountsCustomersListPurchasableSkusCall) ChangeOfferPurchaseEntitlement

func (c *AccountsCustomersListPurchasableSkusCall) ChangeOfferPurchaseEntitlement(changeOfferPurchaseEntitlement string) *AccountsCustomersListPurchasableSkusCall

ChangeOfferPurchaseEntitlement sets the optional parameter "changeOfferPurchase.entitlement": Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

func (*AccountsCustomersListPurchasableSkusCall) Context

func (c *AccountsCustomersListPurchasableSkusCall) Context(ctx context.Context) *AccountsCustomersListPurchasableSkusCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersListPurchasableSkusCall) CreateEntitlementPurchaseProduct

func (c *AccountsCustomersListPurchasableSkusCall) CreateEntitlementPurchaseProduct(createEntitlementPurchaseProduct string) *AccountsCustomersListPurchasableSkusCall

CreateEntitlementPurchaseProduct sets the optional parameter "createEntitlementPurchase.product": Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

func (*AccountsCustomersListPurchasableSkusCall) Do

func (c *AccountsCustomersListPurchasableSkusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListPurchasableSkusResponse, error)

Do executes the "cloudchannel.accounts.customers.listPurchasableSkus" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListPurchasableSkusResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersListPurchasableSkusCall) Fields

func (c *AccountsCustomersListPurchasableSkusCall) Fields(s ...googleapi.Field) *AccountsCustomersListPurchasableSkusCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersListPurchasableSkusCall) Header

func (c *AccountsCustomersListPurchasableSkusCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersListPurchasableSkusCall) IfNoneMatch

func (c *AccountsCustomersListPurchasableSkusCall) IfNoneMatch(entityTag string) *AccountsCustomersListPurchasableSkusCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersListPurchasableSkusCall) LanguageCode

func (c *AccountsCustomersListPurchasableSkusCall) LanguageCode(languageCode string) *AccountsCustomersListPurchasableSkusCall

LanguageCode sets the optional parameter "languageCode": The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

func (*AccountsCustomersListPurchasableSkusCall) PageSize

func (c *AccountsCustomersListPurchasableSkusCall) PageSize(pageSize int64) *AccountsCustomersListPurchasableSkusCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

func (*AccountsCustomersListPurchasableSkusCall) PageToken

func (c *AccountsCustomersListPurchasableSkusCall) PageToken(pageToken string) *AccountsCustomersListPurchasableSkusCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page.

func (*AccountsCustomersListPurchasableSkusCall) Pages

func (c *AccountsCustomersListPurchasableSkusCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListPurchasableSkusResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsCustomersPatchCall

type AccountsCustomersPatchCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersPatchCall) Context

func (c *AccountsCustomersPatchCall) Context(ctx context.Context) *AccountsCustomersPatchCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersPatchCall) Do

func (c *AccountsCustomersPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1Customer, error)

Do executes the "cloudchannel.accounts.customers.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1Customer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersPatchCall) Fields

func (c *AccountsCustomersPatchCall) Fields(s ...googleapi.Field) *AccountsCustomersPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersPatchCall) Header

func (c *AccountsCustomersPatchCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersPatchCall) UpdateMask

func (c *AccountsCustomersPatchCall) UpdateMask(updateMask string) *AccountsCustomersPatchCall

UpdateMask sets the optional parameter "updateMask": The update mask that applies to the resource.

type AccountsCustomersProvisionCloudIdentityCall

type AccountsCustomersProvisionCloudIdentityCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersProvisionCloudIdentityCall) Context

func (c *AccountsCustomersProvisionCloudIdentityCall) Context(ctx context.Context) *AccountsCustomersProvisionCloudIdentityCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersProvisionCloudIdentityCall) Do

func (c *AccountsCustomersProvisionCloudIdentityCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.provisionCloudIdentity" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersProvisionCloudIdentityCall) Fields

func (c *AccountsCustomersProvisionCloudIdentityCall) Fields(s ...googleapi.Field) *AccountsCustomersProvisionCloudIdentityCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersProvisionCloudIdentityCall) Header

func (c *AccountsCustomersProvisionCloudIdentityCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersQueryEligibleBillingAccountsCall

type AccountsCustomersQueryEligibleBillingAccountsCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersQueryEligibleBillingAccountsCall) Context

func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Context(ctx context.Context) *AccountsCustomersQueryEligibleBillingAccountsCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersQueryEligibleBillingAccountsCall) Do

func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1QueryEligibleBillingAccountsResponse, error)

Do executes the "cloudchannel.accounts.customers.queryEligibleBillingAccounts" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1QueryEligibleBillingAccountsResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersQueryEligibleBillingAccountsCall) Fields

func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Fields(s ...googleapi.Field) *AccountsCustomersQueryEligibleBillingAccountsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersQueryEligibleBillingAccountsCall) Header

func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsCustomersQueryEligibleBillingAccountsCall) IfNoneMatch

func (c *AccountsCustomersQueryEligibleBillingAccountsCall) IfNoneMatch(entityTag string) *AccountsCustomersQueryEligibleBillingAccountsCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsCustomersQueryEligibleBillingAccountsCall) Skus

func (c *AccountsCustomersQueryEligibleBillingAccountsCall) Skus(skus ...string) *AccountsCustomersQueryEligibleBillingAccountsCall

Skus sets the optional parameter "skus": Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.

type AccountsCustomersService

type AccountsCustomersService struct {
    CustomerRepricingConfigs *AccountsCustomersCustomerRepricingConfigsService

    Entitlements *AccountsCustomersEntitlementsService
    // contains filtered or unexported fields
}

func NewAccountsCustomersService

func NewAccountsCustomersService(s *Service) *AccountsCustomersService

func (*AccountsCustomersService) Create

func (r *AccountsCustomersService) Create(parent string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsCustomersCreateCall

Create: Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: * The reseller account making the request is different from the reseller account in the API request. * You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer resource.

func (*AccountsCustomersService) Delete

func (r *AccountsCustomersService) Delete(name string) *AccountsCustomersDeleteCall

Delete: Deletes the given Customer permanently. Possible error codes: * PERMISSION_DENIED: The account making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * FAILED_PRECONDITION: The customer has existing entitlements. * NOT_FOUND: No Customer resource found for the name in the request.

- name: The resource name of the customer to delete.

func (*AccountsCustomersService) Get

func (r *AccountsCustomersService) Get(name string) *AccountsCustomersGetCall

Get: Returns the requested Customer resource. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't exist. Usually the result of an invalid name parameter. Return value: The Customer resource.

func (*AccountsCustomersService) Import

func (r *AccountsCustomersService) Import(parent string, googlecloudchannelv1importcustomerrequest *GoogleCloudChannelV1ImportCustomerRequest) *AccountsCustomersImportCall

Import: Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: * The reseller account making the request is different from the reseller account in the API request. * You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.

func (*AccountsCustomersService) List

func (r *AccountsCustomersService) List(parent string) *AccountsCustomersListCall

List: List Customers. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of Customers, or an empty list if there are no customers.

func (*AccountsCustomersService) ListPurchasableOffers

func (r *AccountsCustomersService) ListPurchasableOffers(customer string) *AccountsCustomersListPurchasableOffersCall

ListPurchasableOffers: Lists the following: * Offers that you can purchase for a customer. * Offers that you can change for an entitlement. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid.

func (*AccountsCustomersService) ListPurchasableSkus

func (r *AccountsCustomersService) ListPurchasableSkus(customer string) *AccountsCustomersListPurchasableSkusCall

ListPurchasableSkus: Lists the following: * SKUs that you can purchase for a customer * SKUs that you can upgrade or downgrade for an entitlement. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid.

func (*AccountsCustomersService) Patch

func (r *AccountsCustomersService) Patch(name string, googlecloudchannelv1customer *GoogleCloudChannelV1Customer) *AccountsCustomersPatchCall

Patch: Updates an existing Customer resource for the reseller or distributor. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: No Customer resource found for the name in the request. Return value: The updated Customer resource.

func (*AccountsCustomersService) ProvisionCloudIdentity

func (r *AccountsCustomersService) ProvisionCloudIdentity(customer string, googlecloudchannelv1provisioncloudidentityrequest *GoogleCloudChannelV1ProvisionCloudIdentityRequest) *AccountsCustomersProvisionCloudIdentityCall

ProvisionCloudIdentity: Creates a Cloud Identity for the given customer using the customer's information, or the information provided here. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * You are not authorized to provision cloud identity id. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.

func (*AccountsCustomersService) QueryEligibleBillingAccounts

func (r *AccountsCustomersService) QueryEligibleBillingAccounts(customer string) *AccountsCustomersQueryEligibleBillingAccountsCall

QueryEligibleBillingAccounts: Lists the billing accounts that are eligible to purchase particular SKUs for a given customer. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: Based on the provided list of SKUs, returns a list of SKU groups that must be purchased using the same billing account and the billing accounts eligible to purchase each SKU group.

func (*AccountsCustomersService) TransferEntitlements

func (r *AccountsCustomersService) TransferEntitlements(parent string, googlecloudchannelv1transferentitlementsrequest *GoogleCloudChannelV1TransferEntitlementsRequest) *AccountsCustomersTransferEntitlementsCall

TransferEntitlements: Transfers customer entitlements to new reseller. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: The SKU was already transferred for the customer. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * Specify all transferring entitlements. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

func (*AccountsCustomersService) TransferEntitlementsToGoogle

func (r *AccountsCustomersService) TransferEntitlementsToGoogle(parent string, googlecloudchannelv1transferentitlementstogooglerequest *GoogleCloudChannelV1TransferEntitlementsToGoogleRequest) *AccountsCustomersTransferEntitlementsToGoogleCall

TransferEntitlementsToGoogle: Transfers customer entitlements from their current reseller to Google. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: The SKU was already transferred for the customer. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The Operation metadata will contain an instance of OperationMetadata.

type AccountsCustomersTransferEntitlementsCall

type AccountsCustomersTransferEntitlementsCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersTransferEntitlementsCall) Context

func (c *AccountsCustomersTransferEntitlementsCall) Context(ctx context.Context) *AccountsCustomersTransferEntitlementsCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersTransferEntitlementsCall) Do

func (c *AccountsCustomersTransferEntitlementsCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.transferEntitlements" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersTransferEntitlementsCall) Fields

func (c *AccountsCustomersTransferEntitlementsCall) Fields(s ...googleapi.Field) *AccountsCustomersTransferEntitlementsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersTransferEntitlementsCall) Header

func (c *AccountsCustomersTransferEntitlementsCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsCustomersTransferEntitlementsToGoogleCall

type AccountsCustomersTransferEntitlementsToGoogleCall struct {
    // contains filtered or unexported fields
}

func (*AccountsCustomersTransferEntitlementsToGoogleCall) Context

func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Context(ctx context.Context) *AccountsCustomersTransferEntitlementsToGoogleCall

Context sets the context to be used in this call's Do method.

func (*AccountsCustomersTransferEntitlementsToGoogleCall) Do

func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.customers.transferEntitlementsToGoogle" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsCustomersTransferEntitlementsToGoogleCall) Fields

func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Fields(s ...googleapi.Field) *AccountsCustomersTransferEntitlementsToGoogleCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsCustomersTransferEntitlementsToGoogleCall) Header

func (c *AccountsCustomersTransferEntitlementsToGoogleCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsListSubscribersCall

type AccountsListSubscribersCall struct {
    // contains filtered or unexported fields
}

func (*AccountsListSubscribersCall) Context

func (c *AccountsListSubscribersCall) Context(ctx context.Context) *AccountsListSubscribersCall

Context sets the context to be used in this call's Do method.

func (*AccountsListSubscribersCall) Do

func (c *AccountsListSubscribersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSubscribersResponse, error)

Do executes the "cloudchannel.accounts.listSubscribers" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListSubscribersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsListSubscribersCall) Fields

func (c *AccountsListSubscribersCall) Fields(s ...googleapi.Field) *AccountsListSubscribersCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsListSubscribersCall) Header

func (c *AccountsListSubscribersCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsListSubscribersCall) IfNoneMatch

func (c *AccountsListSubscribersCall) IfNoneMatch(entityTag string) *AccountsListSubscribersCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsListSubscribersCall) PageSize

func (c *AccountsListSubscribersCall) PageSize(pageSize int64) *AccountsListSubscribersCall

PageSize sets the optional parameter "pageSize": The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000.

func (*AccountsListSubscribersCall) PageToken

func (c *AccountsListSubscribersCall) PageToken(pageToken string) *AccountsListSubscribersCall

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscribers` must match the call that provided the page token.

func (*AccountsListSubscribersCall) Pages

func (c *AccountsListSubscribersCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSubscribersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsListTransferableOffersCall

type AccountsListTransferableOffersCall struct {
    // contains filtered or unexported fields
}

func (*AccountsListTransferableOffersCall) Context

func (c *AccountsListTransferableOffersCall) Context(ctx context.Context) *AccountsListTransferableOffersCall

Context sets the context to be used in this call's Do method.

func (*AccountsListTransferableOffersCall) Do

func (c *AccountsListTransferableOffersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListTransferableOffersResponse, error)

Do executes the "cloudchannel.accounts.listTransferableOffers" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListTransferableOffersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsListTransferableOffersCall) Fields

func (c *AccountsListTransferableOffersCall) Fields(s ...googleapi.Field) *AccountsListTransferableOffersCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsListTransferableOffersCall) Header

func (c *AccountsListTransferableOffersCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsListTransferableOffersCall) Pages

func (c *AccountsListTransferableOffersCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListTransferableOffersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsListTransferableSkusCall

type AccountsListTransferableSkusCall struct {
    // contains filtered or unexported fields
}

func (*AccountsListTransferableSkusCall) Context

func (c *AccountsListTransferableSkusCall) Context(ctx context.Context) *AccountsListTransferableSkusCall

Context sets the context to be used in this call's Do method.

func (*AccountsListTransferableSkusCall) Do

func (c *AccountsListTransferableSkusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListTransferableSkusResponse, error)

Do executes the "cloudchannel.accounts.listTransferableSkus" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListTransferableSkusResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsListTransferableSkusCall) Fields

func (c *AccountsListTransferableSkusCall) Fields(s ...googleapi.Field) *AccountsListTransferableSkusCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsListTransferableSkusCall) Header

func (c *AccountsListTransferableSkusCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsListTransferableSkusCall) Pages

func (c *AccountsListTransferableSkusCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListTransferableSkusResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsOffersListCall

type AccountsOffersListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsOffersListCall) Context

func (c *AccountsOffersListCall) Context(ctx context.Context) *AccountsOffersListCall

Context sets the context to be used in this call's Do method.

func (*AccountsOffersListCall) Do

func (c *AccountsOffersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListOffersResponse, error)

Do executes the "cloudchannel.accounts.offers.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListOffersResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsOffersListCall) Fields

func (c *AccountsOffersListCall) Fields(s ...googleapi.Field) *AccountsOffersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsOffersListCall) Filter

func (c *AccountsOffersListCall) Filter(filter string) *AccountsOffersListCall

Filter sets the optional parameter "filter": The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1

func (*AccountsOffersListCall) Header

func (c *AccountsOffersListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsOffersListCall) IfNoneMatch

func (c *AccountsOffersListCall) IfNoneMatch(entityTag string) *AccountsOffersListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsOffersListCall) LanguageCode

func (c *AccountsOffersListCall) LanguageCode(languageCode string) *AccountsOffersListCall

LanguageCode sets the optional parameter "languageCode": The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

func (*AccountsOffersListCall) PageSize

func (c *AccountsOffersListCall) PageSize(pageSize int64) *AccountsOffersListCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.

func (*AccountsOffersListCall) PageToken

func (c *AccountsOffersListCall) PageToken(pageToken string) *AccountsOffersListCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page.

func (*AccountsOffersListCall) Pages

func (c *AccountsOffersListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListOffersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsOffersListCall) ShowFutureOffers

func (c *AccountsOffersListCall) ShowFutureOffers(showFutureOffers bool) *AccountsOffersListCall

ShowFutureOffers sets the optional parameter "showFutureOffers": A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.

type AccountsOffersService

type AccountsOffersService struct {
    // contains filtered or unexported fields
}

func NewAccountsOffersService

func NewAccountsOffersService(s *Service) *AccountsOffersService

func (*AccountsOffersService) List

func (r *AccountsOffersService) List(parent string) *AccountsOffersListCall

List: Lists the Offers the reseller can sell. Possible error codes: * INVALID_ARGUMENT: Required request parameters are missing or invalid.

type AccountsRegisterCall

type AccountsRegisterCall struct {
    // contains filtered or unexported fields
}

func (*AccountsRegisterCall) Context

func (c *AccountsRegisterCall) Context(ctx context.Context) *AccountsRegisterCall

Context sets the context to be used in this call's Do method.

func (*AccountsRegisterCall) Do

func (c *AccountsRegisterCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1RegisterSubscriberResponse, error)

Do executes the "cloudchannel.accounts.register" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1RegisterSubscriberResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsRegisterCall) Fields

func (c *AccountsRegisterCall) Fields(s ...googleapi.Field) *AccountsRegisterCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsRegisterCall) Header

func (c *AccountsRegisterCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsReportJobsFetchReportResultsCall

type AccountsReportJobsFetchReportResultsCall struct {
    // contains filtered or unexported fields
}

func (*AccountsReportJobsFetchReportResultsCall) Context

func (c *AccountsReportJobsFetchReportResultsCall) Context(ctx context.Context) *AccountsReportJobsFetchReportResultsCall

Context sets the context to be used in this call's Do method.

func (*AccountsReportJobsFetchReportResultsCall) Do

func (c *AccountsReportJobsFetchReportResultsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1FetchReportResultsResponse, error)

Do executes the "cloudchannel.accounts.reportJobs.fetchReportResults" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1FetchReportResultsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsReportJobsFetchReportResultsCall) Fields

func (c *AccountsReportJobsFetchReportResultsCall) Fields(s ...googleapi.Field) *AccountsReportJobsFetchReportResultsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsReportJobsFetchReportResultsCall) Header

func (c *AccountsReportJobsFetchReportResultsCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsReportJobsFetchReportResultsCall) Pages

func (c *AccountsReportJobsFetchReportResultsCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1FetchReportResultsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsReportJobsService

type AccountsReportJobsService struct {
    // contains filtered or unexported fields
}

func NewAccountsReportJobsService

func NewAccountsReportJobsService(s *Service) *AccountsReportJobsService

func (*AccountsReportJobsService) FetchReportResults

func (r *AccountsReportJobsService) FetchReportResults(reportJob string, googlecloudchannelv1fetchreportresultsrequest *GoogleCloudChannelV1FetchReportResultsRequest) *AccountsReportJobsFetchReportResultsCall

FetchReportResults: Retrieves data generated by CloudChannelReportsService.RunReportJob. Deprecated: Please use Export Channel Services data to BigQuery (https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.

type AccountsReportsListCall

type AccountsReportsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsReportsListCall) Context

func (c *AccountsReportsListCall) Context(ctx context.Context) *AccountsReportsListCall

Context sets the context to be used in this call's Do method.

func (*AccountsReportsListCall) Do

func (c *AccountsReportsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListReportsResponse, error)

Do executes the "cloudchannel.accounts.reports.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListReportsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsReportsListCall) Fields

func (c *AccountsReportsListCall) Fields(s ...googleapi.Field) *AccountsReportsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsReportsListCall) Header

func (c *AccountsReportsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsReportsListCall) IfNoneMatch

func (c *AccountsReportsListCall) IfNoneMatch(entityTag string) *AccountsReportsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsReportsListCall) LanguageCode

func (c *AccountsReportsListCall) LanguageCode(languageCode string) *AccountsReportsListCall

LanguageCode sets the optional parameter "languageCode": The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it. Default is "en-US".

func (*AccountsReportsListCall) PageSize

func (c *AccountsReportsListCall) PageSize(pageSize int64) *AccountsReportsListCall

PageSize sets the optional parameter "pageSize": Requested page size of the report. The server might return fewer results than requested. If unspecified, returns 20 reports. The maximum value is 100.

func (*AccountsReportsListCall) PageToken

func (c *AccountsReportsListCall) PageToken(pageToken string) *AccountsReportsListCall

PageToken sets the optional parameter "pageToken": A token that specifies a page of results beyond the first page. Obtained through ListReportsResponse.next_page_token of the previous CloudChannelReportsService.ListReports call.

func (*AccountsReportsListCall) Pages

func (c *AccountsReportsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListReportsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsReportsRunCall

type AccountsReportsRunCall struct {
    // contains filtered or unexported fields
}

func (*AccountsReportsRunCall) Context

func (c *AccountsReportsRunCall) Context(ctx context.Context) *AccountsReportsRunCall

Context sets the context to be used in this call's Do method.

func (*AccountsReportsRunCall) Do

func (c *AccountsReportsRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.accounts.reports.run" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsReportsRunCall) Fields

func (c *AccountsReportsRunCall) Fields(s ...googleapi.Field) *AccountsReportsRunCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsReportsRunCall) Header

func (c *AccountsReportsRunCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type AccountsReportsService

type AccountsReportsService struct {
    // contains filtered or unexported fields
}

func NewAccountsReportsService

func NewAccountsReportsService(s *Service) *AccountsReportsService

func (*AccountsReportsService) List

func (r *AccountsReportsService) List(parent string) *AccountsReportsListCall

List: Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result. Deprecated: Please use Export Channel Services data to BigQuery (https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.

func (*AccountsReportsService) Run

func (r *AccountsReportsService) Run(nameid string, googlecloudchannelv1runreportjobrequest *GoogleCloudChannelV1RunReportJobRequest) *AccountsReportsRunCall

Run: Begins generation of data for a given report. The report identifier is a UID (for example, `613bf59q`). Possible error codes: * PERMISSION_DENIED: The user doesn't have access to this report. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The report identifier was not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata. To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job. Deprecated: Please use Export Channel Services data to BigQuery (https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) instead.

type AccountsService

type AccountsService struct {
    ChannelPartnerLinks *AccountsChannelPartnerLinksService

    Customers *AccountsCustomersService

    Offers *AccountsOffersService

    ReportJobs *AccountsReportJobsService

    Reports *AccountsReportsService

    SkuGroups *AccountsSkuGroupsService
    // contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

func (*AccountsService) CheckCloudIdentityAccountsExist

func (r *AccountsService) CheckCloudIdentityAccountsExist(parent string, googlecloudchannelv1checkcloudidentityaccountsexistrequest *GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest) *AccountsCheckCloudIdentityAccountsExistCall

CheckCloudIdentityAccountsExist: Confirms the existence of Cloud Identity accounts based on the domain and if the Cloud Identity accounts are owned by the reseller. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INVALID_VALUE: Invalid domain value in the request. Return value: A list of CloudIdentityCustomerAccount resources for the domain (may be empty) Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if no CloudIdentityCustomerAccount resources match the domain.

func (*AccountsService) ListSubscribers

func (r *AccountsService) ListSubscribers(account string) *AccountsListSubscribersCall

ListSubscribers: Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: A list of service email addresses.

- account: Resource name of the account.

func (*AccountsService) ListTransferableOffers

func (r *AccountsService) ListTransferableOffers(parent string, googlecloudchannelv1listtransferableoffersrequest *GoogleCloudChannelV1ListTransferableOffersRequest) *AccountsListTransferableOffersCall

ListTransferableOffers: List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.

- parent: The resource name of the reseller's account.

func (*AccountsService) ListTransferableSkus

func (r *AccountsService) ListTransferableSkus(parent string, googlecloudchannelv1listtransferableskusrequest *GoogleCloudChannelV1ListTransferableSkusRequest) *AccountsListTransferableSkusCall

ListTransferableSkus: List TransferableSkus of a customer based on the Cloud Identity ID or Customer Name in the request. Use this method to list the entitlements information of an unowned customer. You should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The supplied auth token is invalid. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: A list of the customer's TransferableSku.

func (*AccountsService) Register

func (r *AccountsService) Register(account string, googlecloudchannelv1registersubscriberrequest *GoogleCloudChannelV1RegisterSubscriberRequest) *AccountsRegisterCall

Register: Registers a service account with subscriber privileges on the Cloud Pub/Sub topic for this Channel Services account. After you create a subscriber, you get the events through SubscriberEvent Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name with the registered service email address.

- account: Resource name of the account.

func (*AccountsService) Unregister

func (r *AccountsService) Unregister(account string, googlecloudchannelv1unregistersubscriberrequest *GoogleCloudChannelV1UnregisterSubscriberRequest) *AccountsUnregisterCall

Unregister: Unregisters a service account with subscriber privileges on the Cloud Pub/Sub topic created for this Channel Services account. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts. Possible error codes: * PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The topic resource doesn't exist. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.

- account: Resource name of the account.

type AccountsSkuGroupsBillableSkusListCall

type AccountsSkuGroupsBillableSkusListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsSkuGroupsBillableSkusListCall) Context

func (c *AccountsSkuGroupsBillableSkusListCall) Context(ctx context.Context) *AccountsSkuGroupsBillableSkusListCall

Context sets the context to be used in this call's Do method.

func (*AccountsSkuGroupsBillableSkusListCall) Do

func (c *AccountsSkuGroupsBillableSkusListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSkuGroupBillableSkusResponse, error)

Do executes the "cloudchannel.accounts.skuGroups.billableSkus.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListSkuGroupBillableSkusResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsSkuGroupsBillableSkusListCall) Fields

func (c *AccountsSkuGroupsBillableSkusListCall) Fields(s ...googleapi.Field) *AccountsSkuGroupsBillableSkusListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsSkuGroupsBillableSkusListCall) Header

func (c *AccountsSkuGroupsBillableSkusListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsSkuGroupsBillableSkusListCall) IfNoneMatch

func (c *AccountsSkuGroupsBillableSkusListCall) IfNoneMatch(entityTag string) *AccountsSkuGroupsBillableSkusListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsSkuGroupsBillableSkusListCall) PageSize

func (c *AccountsSkuGroupsBillableSkusListCall) PageSize(pageSize int64) *AccountsSkuGroupsBillableSkusListCall

PageSize sets the optional parameter "pageSize": The maximum number of SKUs to return. The service may return fewer than this value. If unspecified, returns a maximum of 100000 SKUs. The maximum value is 100000; values above 100000 will be coerced to 100000.

func (*AccountsSkuGroupsBillableSkusListCall) PageToken

func (c *AccountsSkuGroupsBillableSkusListCall) PageToken(pageToken string) *AccountsSkuGroupsBillableSkusListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkus.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call.

func (*AccountsSkuGroupsBillableSkusListCall) Pages

func (c *AccountsSkuGroupsBillableSkusListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSkuGroupBillableSkusResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsSkuGroupsBillableSkusService

type AccountsSkuGroupsBillableSkusService struct {
    // contains filtered or unexported fields
}

func NewAccountsSkuGroupsBillableSkusService

func NewAccountsSkuGroupsBillableSkusService(s *Service) *AccountsSkuGroupsBillableSkusService

func (*AccountsSkuGroupsBillableSkusService) List

func (r *AccountsSkuGroupsBillableSkusService) List(parent string) *AccountsSkuGroupsBillableSkusListCall

List: Lists the Billable SKUs in a given SKU group. Possible error codes: PERMISSION_DENIED: If the account making the request and the account being queried for are different, or the account doesn't exist. INVALID_ARGUMENT: Missing or invalid required parameters in the request. INTERNAL: Any non-user error related to technical issue in the backend. In this case, contact cloud channel support. Return Value: If successful, the BillableSku resources. The data for each resource is displayed in the ascending order of: * BillableSku.service_display_name * BillableSku.sku_display_name If unsuccessful, returns an error.

type AccountsSkuGroupsListCall

type AccountsSkuGroupsListCall struct {
    // contains filtered or unexported fields
}

func (*AccountsSkuGroupsListCall) Context

func (c *AccountsSkuGroupsListCall) Context(ctx context.Context) *AccountsSkuGroupsListCall

Context sets the context to be used in this call's Do method.

func (*AccountsSkuGroupsListCall) Do

func (c *AccountsSkuGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSkuGroupsResponse, error)

Do executes the "cloudchannel.accounts.skuGroups.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListSkuGroupsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsSkuGroupsListCall) Fields

func (c *AccountsSkuGroupsListCall) Fields(s ...googleapi.Field) *AccountsSkuGroupsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsSkuGroupsListCall) Header

func (c *AccountsSkuGroupsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*AccountsSkuGroupsListCall) IfNoneMatch

func (c *AccountsSkuGroupsListCall) IfNoneMatch(entityTag string) *AccountsSkuGroupsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*AccountsSkuGroupsListCall) PageSize

func (c *AccountsSkuGroupsListCall) PageSize(pageSize int64) *AccountsSkuGroupsListCall

PageSize sets the optional parameter "pageSize": The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*AccountsSkuGroupsListCall) PageToken

func (c *AccountsSkuGroupsListCall) PageToken(pageToken string) *AccountsSkuGroupsListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results beyond the first page. Obtained through ListSkuGroups.next_page_token of the previous CloudChannelService.ListSkuGroups call.

func (*AccountsSkuGroupsListCall) Pages

func (c *AccountsSkuGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSkuGroupsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsSkuGroupsService

type AccountsSkuGroupsService struct {
    BillableSkus *AccountsSkuGroupsBillableSkusService
    // contains filtered or unexported fields
}

func NewAccountsSkuGroupsService

func NewAccountsSkuGroupsService(s *Service) *AccountsSkuGroupsService

func (*AccountsSkuGroupsService) List

func (r *AccountsSkuGroupsService) List(parent string) *AccountsSkuGroupsListCall

List: Lists the Rebilling supported SKU groups the account is authorized to sell. Reference: https://cloud.google.com/skus/sku-groups Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different, or the account doesn't exist. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the SkuGroup resources. The data for each resource is displayed in the alphabetical order of SKU group display name. The data for each resource is displayed in the ascending order of SkuGroup.display_name If unsuccessful, returns an error.

type AccountsUnregisterCall

type AccountsUnregisterCall struct {
    // contains filtered or unexported fields
}

func (*AccountsUnregisterCall) Context

func (c *AccountsUnregisterCall) Context(ctx context.Context) *AccountsUnregisterCall

Context sets the context to be used in this call's Do method.

func (*AccountsUnregisterCall) Do

func (c *AccountsUnregisterCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1UnregisterSubscriberResponse, error)

Do executes the "cloudchannel.accounts.unregister" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1UnregisterSubscriberResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AccountsUnregisterCall) Fields

func (c *AccountsUnregisterCall) Fields(s ...googleapi.Field) *AccountsUnregisterCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*AccountsUnregisterCall) Header

func (c *AccountsUnregisterCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type GoogleCloudChannelV1ActivateEntitlementRequest

GoogleCloudChannelV1ActivateEntitlementRequest: Request message for CloudChannelService.ActivateEntitlement.

type GoogleCloudChannelV1ActivateEntitlementRequest struct {
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RequestId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RequestId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ActivateEntitlementRequest) MarshalJSON

func (s *GoogleCloudChannelV1ActivateEntitlementRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1AdminUser

GoogleCloudChannelV1AdminUser: Information needed to create an Admin User for Google Workspace.

type GoogleCloudChannelV1AdminUser struct {
    // Email: Primary email of the admin user.
    Email string `json:"email,omitempty"`
    // FamilyName: Family name of the admin user.
    FamilyName string `json:"familyName,omitempty"`
    // GivenName: Given name of the admin user.
    GivenName string `json:"givenName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Email") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Email") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1AdminUser) MarshalJSON

func (s *GoogleCloudChannelV1AdminUser) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1AssociationInfo

GoogleCloudChannelV1AssociationInfo: Association links that an entitlement has to other entitlements.

type GoogleCloudChannelV1AssociationInfo struct {
    // BaseEntitlement: The name of the base entitlement, for which this
    // entitlement is an add-on.
    BaseEntitlement string `json:"baseEntitlement,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BaseEntitlement") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BaseEntitlement") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1AssociationInfo) MarshalJSON

func (s *GoogleCloudChannelV1AssociationInfo) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1BillableSku

GoogleCloudChannelV1BillableSku: Represents the Billable SKU information.

type GoogleCloudChannelV1BillableSku struct {
    // Service: Resource name of Service which contains Repricing SKU. Format:
    // services/{service}. Example: "services/B7D9-FDCB-15D8".
    Service string `json:"service,omitempty"`
    // ServiceDisplayName: Unique human readable name for the Service.
    ServiceDisplayName string `json:"serviceDisplayName,omitempty"`
    // Sku: Resource name of Billable SKU. Format: billableSkus/{sku}. Example:
    // billableSkus/6E1B-6634-470F".
    Sku string `json:"sku,omitempty"`
    // SkuDisplayName: Unique human readable name for the SKU.
    SkuDisplayName string `json:"skuDisplayName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Service") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Service") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1BillableSku) MarshalJSON

func (s *GoogleCloudChannelV1BillableSku) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1BillingAccount

GoogleCloudChannelV1BillingAccount: Represents a billing account.

type GoogleCloudChannelV1BillingAccount struct {
    // CreateTime: Output only. The time when this billing account was created.
    CreateTime string `json:"createTime,omitempty"`
    // CurrencyCode: Output only. The 3-letter currency code defined in ISO 4217.
    CurrencyCode string `json:"currencyCode,omitempty"`
    // DisplayName: Display name of the billing account.
    DisplayName string `json:"displayName,omitempty"`
    // Name: Output only. Resource name of the billing account. Format:
    // accounts/{account_id}/billingAccounts/{billing_account_id}.
    Name string `json:"name,omitempty"`
    // RegionCode: Output only. The CLDR region code.
    RegionCode string `json:"regionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CreateTime") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CreateTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1BillingAccount) MarshalJSON

func (s *GoogleCloudChannelV1BillingAccount) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1BillingAccountPurchaseInfo

GoogleCloudChannelV1BillingAccountPurchaseInfo: Represents a billing account that can be used to make a purchase.

type GoogleCloudChannelV1BillingAccountPurchaseInfo struct {
    // BillingAccount: The billing account resource.
    BillingAccount *GoogleCloudChannelV1BillingAccount `json:"billingAccount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BillingAccount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingAccount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1BillingAccountPurchaseInfo) MarshalJSON

func (s *GoogleCloudChannelV1BillingAccountPurchaseInfo) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CancelEntitlementRequest

GoogleCloudChannelV1CancelEntitlementRequest: Request message for CloudChannelService.CancelEntitlement.

type GoogleCloudChannelV1CancelEntitlementRequest struct {
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RequestId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RequestId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CancelEntitlementRequest) MarshalJSON

func (s *GoogleCloudChannelV1CancelEntitlementRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ChangeOfferRequest

GoogleCloudChannelV1ChangeOfferRequest: Request message for CloudChannelService.ChangeOffer.

type GoogleCloudChannelV1ChangeOfferRequest struct {
    // BillingAccount: Optional. The billing account resource name that is used to
    // pay for this entitlement when setting up billing on a trial subscription.
    // This field is only relevant for multi-currency accounts. It should be left
    // empty for single currency accounts.
    BillingAccount string `json:"billingAccount,omitempty"`
    // Offer: Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.
    Offer string `json:"offer,omitempty"`
    // Parameters: Optional. Parameters needed to purchase the Offer. To view the
    // available Parameters refer to the Offer.parameter_definitions from the
    // desired offer.
    Parameters []*GoogleCloudChannelV1Parameter `json:"parameters,omitempty"`
    // PurchaseOrderId: Optional. Purchase order id provided by the reseller.
    PurchaseOrderId string `json:"purchaseOrderId,omitempty"`
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BillingAccount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingAccount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ChangeOfferRequest) MarshalJSON

func (s *GoogleCloudChannelV1ChangeOfferRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ChangeParametersRequest

GoogleCloudChannelV1ChangeParametersRequest: Request message for CloudChannelService.ChangeParametersRequest.

type GoogleCloudChannelV1ChangeParametersRequest struct {
    // Parameters: Required. Entitlement parameters to update. You can only change
    // editable parameters. To view the available Parameters for a request, refer
    // to the Offer.parameter_definitions from the desired offer.
    Parameters []*GoogleCloudChannelV1Parameter `json:"parameters,omitempty"`
    // PurchaseOrderId: Optional. Purchase order ID provided by the reseller.
    PurchaseOrderId string `json:"purchaseOrderId,omitempty"`
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Parameters") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Parameters") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ChangeParametersRequest) MarshalJSON

func (s *GoogleCloudChannelV1ChangeParametersRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ChangeRenewalSettingsRequest

GoogleCloudChannelV1ChangeRenewalSettingsRequest: Request message for CloudChannelService.ChangeRenewalSettings.

type GoogleCloudChannelV1ChangeRenewalSettingsRequest struct {
    // RenewalSettings: Required. New renewal settings.
    RenewalSettings *GoogleCloudChannelV1RenewalSettings `json:"renewalSettings,omitempty"`
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RenewalSettings") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RenewalSettings") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ChangeRenewalSettingsRequest) MarshalJSON

func (s *GoogleCloudChannelV1ChangeRenewalSettingsRequest) MarshalJSON() ([]byte, error)

GoogleCloudChannelV1ChannelPartnerLink: Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.

type GoogleCloudChannelV1ChannelPartnerLink struct {
    // ChannelPartnerCloudIdentityInfo: Output only. Cloud Identity info of the
    // channel partner (IR).
    ChannelPartnerCloudIdentityInfo *GoogleCloudChannelV1CloudIdentityInfo `json:"channelPartnerCloudIdentityInfo,omitempty"`
    // CreateTime: Output only. Timestamp of when the channel partner link is
    // created.
    CreateTime string `json:"createTime,omitempty"`
    // InviteLinkUri: Output only. URI of the web page where partner accepts the
    // link invitation.
    InviteLinkUri string `json:"inviteLinkUri,omitempty"`
    // LinkState: Required. State of the channel partner link.
    //
    // Possible values:
    //   "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED" - Not used.
    //   "INVITED" - An invitation has been sent to the reseller to create a
    // channel partner link.
    //   "ACTIVE" - Status when the reseller is active.
    //   "REVOKED" - Status when the reseller has been revoked by the distributor.
    //   "SUSPENDED" - Status when the reseller is suspended by Google or
    // distributor.
    LinkState string `json:"linkState,omitempty"`
    // Name: Output only. Resource name for the channel partner link, in the format
    // accounts/{account_id}/channelPartnerLinks/{id}.
    Name string `json:"name,omitempty"`
    // PublicId: Output only. Public identifier that a customer must use to
    // generate a transfer token to move to this distributor-reseller combination.
    PublicId string `json:"publicId,omitempty"`
    // ResellerCloudIdentityId: Required. Cloud Identity ID of the linked reseller.
    ResellerCloudIdentityId string `json:"resellerCloudIdentityId,omitempty"`
    // UpdateTime: Output only. Timestamp of when the channel partner link is
    // updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g.
    // "ChannelPartnerCloudIdentityInfo") to unconditionally include in API
    // requests. By default, fields with empty or default values are omitted from
    // API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ChannelPartnerCloudIdentityInfo")
    // to include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ChannelPartnerLink) MarshalJSON

func (s *GoogleCloudChannelV1ChannelPartnerLink) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ChannelPartnerRepricingConfig

GoogleCloudChannelV1ChannelPartnerRepricingConfig: Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).

type GoogleCloudChannelV1ChannelPartnerRepricingConfig struct {
    // Name: Output only. Resource name of the ChannelPartnerRepricingConfig.
    // Format:
    // accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartner
    // RepricingConfigs/{id}.
    Name string `json:"name,omitempty"`
    // RepricingConfig: Required. The configuration for bill modifications made by
    // a reseller before sending it to ChannelPartner.
    RepricingConfig *GoogleCloudChannelV1RepricingConfig `json:"repricingConfig,omitempty"`
    // UpdateTime: Output only. Timestamp of an update to the repricing rule. If
    // `update_time` is after RepricingConfig.effective_invoice_month then it
    // indicates this was set mid-month.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Name") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Name") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ChannelPartnerRepricingConfig) MarshalJSON

func (s *GoogleCloudChannelV1ChannelPartnerRepricingConfig) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest

GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest: Request message for CloudChannelService.CheckCloudIdentityAccountsExist.

type GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest struct {
    // Domain: Required. Domain to fetch for Cloud Identity account customers,
    // including domained and domainless.
    Domain string `json:"domain,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Domain") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Domain") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest) MarshalJSON

func (s *GoogleCloudChannelV1CheckCloudIdentityAccountsExistRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse

GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse: Response message for CloudChannelService.CheckCloudIdentityAccountsExist.

type GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse struct {
    // CloudIdentityAccounts: The Cloud Identity accounts associated with the
    // domain.
    CloudIdentityAccounts []*GoogleCloudChannelV1CloudIdentityCustomerAccount `json:"cloudIdentityAccounts,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "CloudIdentityAccounts") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CloudIdentityAccounts") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse) MarshalJSON

func (s *GoogleCloudChannelV1CheckCloudIdentityAccountsExistResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CloudIdentityCustomerAccount

GoogleCloudChannelV1CloudIdentityCustomerAccount: Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.

type GoogleCloudChannelV1CloudIdentityCustomerAccount struct {
    // CustomerCloudIdentityId: If existing = true, the Cloud Identity ID of the
    // customer.
    CustomerCloudIdentityId string `json:"customerCloudIdentityId,omitempty"`
    // CustomerName: If owned = true, the name of the customer that owns the Cloud
    // Identity account. Customer_name uses the format:
    // accounts/{account_id}/customers/{customer_id}
    CustomerName string `json:"customerName,omitempty"`
    // Existing: Returns true if a Cloud Identity account exists for a specific
    // domain.
    Existing bool `json:"existing,omitempty"`
    // Owned: Returns true if the Cloud Identity account is associated with a
    // customer of the Channel Services partner.
    Owned bool `json:"owned,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CustomerCloudIdentityId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CustomerCloudIdentityId") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CloudIdentityCustomerAccount) MarshalJSON

func (s *GoogleCloudChannelV1CloudIdentityCustomerAccount) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CloudIdentityInfo

GoogleCloudChannelV1CloudIdentityInfo: Cloud Identity information for the Cloud Channel Customer.

type GoogleCloudChannelV1CloudIdentityInfo struct {
    // AdminConsoleUri: Output only. URI of Customer's Admin console dashboard.
    AdminConsoleUri string `json:"adminConsoleUri,omitempty"`
    // AlternateEmail: The alternate email.
    AlternateEmail string `json:"alternateEmail,omitempty"`
    // CustomerType: CustomerType indicates verification type needed for using
    // services.
    //
    // Possible values:
    //   "CUSTOMER_TYPE_UNSPECIFIED" - Not used.
    //   "DOMAIN" - Domain-owning customer which needs domain verification to use
    // services.
    //   "TEAM" - Team customer which needs email verification to use services.
    CustomerType string `json:"customerType,omitempty"`
    // EduData: Edu information about the customer.
    EduData *GoogleCloudChannelV1EduData `json:"eduData,omitempty"`
    // IsDomainVerified: Output only. Whether the domain is verified. This field is
    // not returned for a Customer's cloud_identity_info resource. Partners can use
    // the domains.get() method of the Workspace SDK's Directory API, or listen to
    // the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of
    // their resolve Workspace customers.
    IsDomainVerified bool `json:"isDomainVerified,omitempty"`
    // LanguageCode: Language code.
    LanguageCode string `json:"languageCode,omitempty"`
    // PhoneNumber: Phone number associated with the Cloud Identity.
    PhoneNumber string `json:"phoneNumber,omitempty"`
    // PrimaryDomain: Output only. The primary domain name.
    PrimaryDomain string `json:"primaryDomain,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AdminConsoleUri") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AdminConsoleUri") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CloudIdentityInfo) MarshalJSON

func (s *GoogleCloudChannelV1CloudIdentityInfo) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Column

GoogleCloudChannelV1Column: The definition of a report column. Specifies the data properties in the corresponding position of the report rows.

type GoogleCloudChannelV1Column struct {
    // ColumnId: The unique name of the column (for example, customer_domain,
    // channel_partner, customer_cost). You can use column IDs in
    // RunReportJobRequest.filter. To see all reports and their columns, call
    // CloudChannelReportsService.ListReports.
    ColumnId string `json:"columnId,omitempty"`
    // DataType: The type of the values for this column.
    //
    // Possible values:
    //   "DATA_TYPE_UNSPECIFIED" - Not used.
    //   "STRING" - ReportValues for this column will use string_value.
    //   "INT" - ReportValues for this column will use int_value.
    //   "DECIMAL" - ReportValues for this column will use decimal_value.
    //   "MONEY" - ReportValues for this column will use money_value.
    //   "DATE" - ReportValues for this column will use date_value.
    //   "DATE_TIME" - ReportValues for this column will use date_time_value.
    DataType string `json:"dataType,omitempty"`
    // DisplayName: The column's display name.
    DisplayName string `json:"displayName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ColumnId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ColumnId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Column) MarshalJSON

func (s *GoogleCloudChannelV1Column) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CommitmentSettings

GoogleCloudChannelV1CommitmentSettings: Commitment settings for commitment-based offers.

type GoogleCloudChannelV1CommitmentSettings struct {
    // EndTime: Output only. Commitment end timestamp.
    EndTime string `json:"endTime,omitempty"`
    // RenewalSettings: Optional. Renewal settings applicable for a
    // commitment-based Offer.
    RenewalSettings *GoogleCloudChannelV1RenewalSettings `json:"renewalSettings,omitempty"`
    // StartTime: Output only. Commitment start timestamp.
    StartTime string `json:"startTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EndTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CommitmentSettings) MarshalJSON

func (s *GoogleCloudChannelV1CommitmentSettings) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ConditionalOverride

GoogleCloudChannelV1ConditionalOverride: Specifies the override to conditionally apply.

type GoogleCloudChannelV1ConditionalOverride struct {
    // Adjustment: Required. Information about the applied override's adjustment.
    Adjustment *GoogleCloudChannelV1RepricingAdjustment `json:"adjustment,omitempty"`
    // RebillingBasis: Required. The RebillingBasis to use for the applied
    // override. Shows the relative cost based on your repricing costs.
    //
    // Possible values:
    //   "REBILLING_BASIS_UNSPECIFIED" - Not used.
    //   "COST_AT_LIST" - Use the list cost, also known as the MSRP.
    //   "DIRECT_CUSTOMER_COST" - Pass through all discounts except the Reseller
    // Program Discount. If this is the default cost base and no adjustments are
    // specified, the output cost will be exactly what the customer would see if
    // they viewed the bill in the Google Cloud Console.
    RebillingBasis string `json:"rebillingBasis,omitempty"`
    // RepricingCondition: Required. Specifies the condition which, if met, will
    // apply the override.
    RepricingCondition *GoogleCloudChannelV1RepricingCondition `json:"repricingCondition,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Adjustment") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Adjustment") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ConditionalOverride) MarshalJSON

func (s *GoogleCloudChannelV1ConditionalOverride) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Constraints

GoogleCloudChannelV1Constraints: Represents the constraints for buying the Offer.

type GoogleCloudChannelV1Constraints struct {
    // CustomerConstraints: Represents constraints required to purchase the Offer
    // for a customer.
    CustomerConstraints *GoogleCloudChannelV1CustomerConstraints `json:"customerConstraints,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CustomerConstraints") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CustomerConstraints") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Constraints) MarshalJSON

func (s *GoogleCloudChannelV1Constraints) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ContactInfo

GoogleCloudChannelV1ContactInfo: Contact information for a customer account.

type GoogleCloudChannelV1ContactInfo struct {
    // DisplayName: Output only. The customer account contact's display name,
    // formatted as a combination of the customer's first and last name.
    DisplayName string `json:"displayName,omitempty"`
    // Email: The customer account's contact email. Required for entitlements that
    // create admin.google.com accounts, and serves as the customer's username for
    // those accounts. Use this email to invite Team customers.
    Email string `json:"email,omitempty"`
    // FirstName: The customer account contact's first name. Optional for Team
    // customers.
    FirstName string `json:"firstName,omitempty"`
    // LastName: The customer account contact's last name. Optional for Team
    // customers.
    LastName string `json:"lastName,omitempty"`
    // Phone: The customer account's contact phone number.
    Phone string `json:"phone,omitempty"`
    // Title: Optional. The customer account contact's job title.
    Title string `json:"title,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DisplayName") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DisplayName") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ContactInfo) MarshalJSON

func (s *GoogleCloudChannelV1ContactInfo) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CreateEntitlementRequest

GoogleCloudChannelV1CreateEntitlementRequest: Request message for CloudChannelService.CreateEntitlement

type GoogleCloudChannelV1CreateEntitlementRequest struct {
    // Entitlement: Required. The entitlement to create.
    Entitlement *GoogleCloudChannelV1Entitlement `json:"entitlement,omitempty"`
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlement") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlement") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CreateEntitlementRequest) MarshalJSON

func (s *GoogleCloudChannelV1CreateEntitlementRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Customer

GoogleCloudChannelV1Customer: Entity representing a customer of a reseller or distributor.

type GoogleCloudChannelV1Customer struct {
    // AlternateEmail: Secondary contact email. You need to provide an alternate
    // email to create different domains if a primary contact email already exists.
    // Users will receive a notification with credentials when you create an
    // admin.google.com account. Secondary emails are also recovery email
    // addresses. Alternate emails are optional when you create Team customers.
    AlternateEmail string `json:"alternateEmail,omitempty"`
    // ChannelPartnerId: Cloud Identity ID of the customer's channel partner.
    // Populated only if a channel partner exists for this customer.
    ChannelPartnerId string `json:"channelPartnerId,omitempty"`
    // CloudIdentityId: Output only. The customer's Cloud Identity ID if the
    // customer has a Cloud Identity resource.
    CloudIdentityId string `json:"cloudIdentityId,omitempty"`
    // CloudIdentityInfo: Output only. Cloud Identity information for the customer.
    // Populated only if a Cloud Identity account exists for this customer.
    CloudIdentityInfo *GoogleCloudChannelV1CloudIdentityInfo `json:"cloudIdentityInfo,omitempty"`
    // CorrelationId: Optional. External CRM ID for the customer. Populated only if
    // a CRM ID exists for this customer.
    CorrelationId string `json:"correlationId,omitempty"`
    // CreateTime: Output only. Time when the customer was created.
    CreateTime string `json:"createTime,omitempty"`
    // Domain: Required. The customer's primary domain. Must match the primary
    // contact email's domain.
    Domain string `json:"domain,omitempty"`
    // LanguageCode: Optional. The BCP-47 language code, such as "en-US" or
    // "sr-Latn". For more information, see
    // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
    LanguageCode string `json:"languageCode,omitempty"`
    // Name: Output only. Resource name of the customer. Format:
    // accounts/{account_id}/customers/{customer_id}
    Name string `json:"name,omitempty"`
    // OrgDisplayName: Required. Name of the organization that the customer entity
    // represents.
    OrgDisplayName string `json:"orgDisplayName,omitempty"`
    // OrgPostalAddress: Required. The organization address for the customer. To
    // enforce US laws and embargoes, we require a region, postal code, and address
    // lines. You must provide valid addresses for every customer. To set the
    // customer's language, use the Customer-level language code.
    OrgPostalAddress *GoogleTypePostalAddress `json:"orgPostalAddress,omitempty"`
    // PrimaryContactInfo: Primary contact info.
    PrimaryContactInfo *GoogleCloudChannelV1ContactInfo `json:"primaryContactInfo,omitempty"`
    // UpdateTime: Output only. Time when the customer was updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AlternateEmail") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AlternateEmail") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Customer) MarshalJSON

func (s *GoogleCloudChannelV1Customer) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CustomerConstraints

GoogleCloudChannelV1CustomerConstraints: Represents constraints required to purchase the Offer for a customer.

type GoogleCloudChannelV1CustomerConstraints struct {
    // AllowedCustomerTypes: Allowed Customer Type.
    //
    // Possible values:
    //   "CUSTOMER_TYPE_UNSPECIFIED" - Not used.
    //   "DOMAIN" - Domain-owning customer which needs domain verification to use
    // services.
    //   "TEAM" - Team customer which needs email verification to use services.
    AllowedCustomerTypes []string `json:"allowedCustomerTypes,omitempty"`
    // AllowedRegions: Allowed geographical regions of the customer.
    AllowedRegions []string `json:"allowedRegions,omitempty"`
    // PromotionalOrderTypes: Allowed Promotional Order Type. Present for
    // Promotional offers.
    //
    // Possible values:
    //   "PROMOTIONAL_TYPE_UNSPECIFIED" - Not used.
    //   "NEW_UPGRADE" - Order used for new customers, trial conversions and
    // upgrades.
    //   "TRANSFER" - All orders for transferring an existing customer.
    //   "PROMOTION_SWITCH" - Orders for modifying an existing customer's promotion
    // on the same SKU.
    PromotionalOrderTypes []string `json:"promotionalOrderTypes,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllowedCustomerTypes") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllowedCustomerTypes") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CustomerConstraints) MarshalJSON

func (s *GoogleCloudChannelV1CustomerConstraints) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CustomerEvent

GoogleCloudChannelV1CustomerEvent: Represents Pub/Sub message content describing customer update.

type GoogleCloudChannelV1CustomerEvent struct {
    // Customer: Resource name of the customer. Format:
    // accounts/{account_id}/customers/{customer_id}
    Customer string `json:"customer,omitempty"`
    // EventType: Type of event which happened on the customer.
    //
    // Possible values:
    //   "TYPE_UNSPECIFIED" - Not used.
    //   "PRIMARY_DOMAIN_CHANGED" - Primary domain for customer was changed.
    //   "PRIMARY_DOMAIN_VERIFIED" - Primary domain of the customer has been
    // verified.
    EventType string `json:"eventType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Customer") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Customer") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CustomerEvent) MarshalJSON

func (s *GoogleCloudChannelV1CustomerEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1CustomerRepricingConfig

GoogleCloudChannelV1CustomerRepricingConfig: Configuration for how a reseller will reprice a Customer.

type GoogleCloudChannelV1CustomerRepricingConfig struct {
    // Name: Output only. Resource name of the CustomerRepricingConfig. Format:
    // accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
    Name string `json:"name,omitempty"`
    // RepricingConfig: Required. The configuration for bill modifications made by
    // a reseller before sending it to customers.
    RepricingConfig *GoogleCloudChannelV1RepricingConfig `json:"repricingConfig,omitempty"`
    // UpdateTime: Output only. Timestamp of an update to the repricing rule. If
    // `update_time` is after RepricingConfig.effective_invoice_month then it
    // indicates this was set mid-month.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Name") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Name") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1CustomerRepricingConfig) MarshalJSON

func (s *GoogleCloudChannelV1CustomerRepricingConfig) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1DateRange

GoogleCloudChannelV1DateRange: A representation of usage or invoice date ranges.

type GoogleCloudChannelV1DateRange struct {
    // InvoiceEndDate: The latest invoice date (inclusive). If this value is not
    // the last day of a month, this will move it forward to the last day of the
    // given month.
    InvoiceEndDate *GoogleTypeDate `json:"invoiceEndDate,omitempty"`
    // InvoiceStartDate: The earliest invoice date (inclusive). If this value is
    // not the first day of a month, this will move it back to the first day of the
    // given month.
    InvoiceStartDate *GoogleTypeDate `json:"invoiceStartDate,omitempty"`
    // UsageEndDateTime: The latest usage date time (exclusive). If you use time
    // groupings (daily, weekly, etc), each group uses midnight to midnight
    // (Pacific time). The usage end date is rounded down to include all usage from
    // the specified date. We recommend that clients pass `usage_start_date_time`
    // in Pacific time.
    UsageEndDateTime *GoogleTypeDateTime `json:"usageEndDateTime,omitempty"`
    // UsageStartDateTime: The earliest usage date time (inclusive). If you use
    // time groupings (daily, weekly, etc), each group uses midnight to midnight
    // (Pacific time). The usage start date is rounded down to include all usage
    // from the specified date. We recommend that clients pass
    // `usage_start_date_time` in Pacific time.
    UsageStartDateTime *GoogleTypeDateTime `json:"usageStartDateTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "InvoiceEndDate") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "InvoiceEndDate") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1DateRange) MarshalJSON

func (s *GoogleCloudChannelV1DateRange) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1EduData

GoogleCloudChannelV1EduData: Required Edu Attributes

type GoogleCloudChannelV1EduData struct {
    // InstituteSize: Size of the institute.
    //
    // Possible values:
    //   "INSTITUTE_SIZE_UNSPECIFIED" - Not used.
    //   "SIZE_1_100" - 1 - 100
    //   "SIZE_101_500" - 101 - 500
    //   "SIZE_501_1000" - 501 - 1,000
    //   "SIZE_1001_2000" - 1,001 - 2,000
    //   "SIZE_2001_5000" - 2,001 - 5,000
    //   "SIZE_5001_10000" - 5,001 - 10,000
    //   "SIZE_10001_OR_MORE" - 10,001 +
    InstituteSize string `json:"instituteSize,omitempty"`
    // InstituteType: Designated institute type of customer.
    //
    // Possible values:
    //   "INSTITUTE_TYPE_UNSPECIFIED" - Not used.
    //   "K12" - Elementary/Secondary Schools & Districts
    //   "UNIVERSITY" - Higher Education Universities & Colleges
    InstituteType string `json:"instituteType,omitempty"`
    // Website: Web address for the edu customer's institution.
    Website string `json:"website,omitempty"`
    // ForceSendFields is a list of field names (e.g. "InstituteSize") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "InstituteSize") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1EduData) MarshalJSON

func (s *GoogleCloudChannelV1EduData) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Entitlement

GoogleCloudChannelV1Entitlement: An entitlement is a representation of a customer's ability to use a service.

type GoogleCloudChannelV1Entitlement struct {
    // AssociationInfo: Association information to other entitlements.
    AssociationInfo *GoogleCloudChannelV1AssociationInfo `json:"associationInfo,omitempty"`
    // BillingAccount: Optional. The billing account resource name that is used to
    // pay for this entitlement.
    BillingAccount string `json:"billingAccount,omitempty"`
    // CommitmentSettings: Commitment settings for a commitment-based Offer.
    // Required for commitment based offers.
    CommitmentSettings *GoogleCloudChannelV1CommitmentSettings `json:"commitmentSettings,omitempty"`
    // CreateTime: Output only. The time at which the entitlement is created.
    CreateTime string `json:"createTime,omitempty"`
    // Name: Output only. Resource name of an entitlement in the form:
    // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
    Name string `json:"name,omitempty"`
    // Offer: Required. The offer resource name for which the entitlement is to be
    // created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    Offer string `json:"offer,omitempty"`
    // Parameters: Extended entitlement parameters. When creating an entitlement,
    // valid parameter names and values are defined in the
    // Offer.parameter_definitions. For Google Workspace, the following Parameters
    // may be accepted as input: - max_units: The maximum assignable units for a
    // flexible offer OR - num_units: The total commitment for commitment-based
    // offers The response may additionally include the following output-only
    // Parameters: - assigned_units: The number of licenses assigned to users. For
    // Google Cloud billing subaccounts, the following Parameter may be accepted as
    // input: - display_name: The display name of the billing subaccount.
    Parameters []*GoogleCloudChannelV1Parameter `json:"parameters,omitempty"`
    // ProvisionedService: Output only. Service provisioning details for the
    // entitlement.
    ProvisionedService *GoogleCloudChannelV1ProvisionedService `json:"provisionedService,omitempty"`
    // ProvisioningState: Output only. Current provisioning state of the
    // entitlement.
    //
    // Possible values:
    //   "PROVISIONING_STATE_UNSPECIFIED" - Not used.
    //   "ACTIVE" - The entitlement is currently active.
    //   "SUSPENDED" - The entitlement is currently suspended.
    ProvisioningState string `json:"provisioningState,omitempty"`
    // PurchaseOrderId: Optional. This purchase order (PO) information is for
    // resellers to use for their company tracking usage. If a purchaseOrderId
    // value is given, it appears in the API responses and shows up in the invoice.
    // The property accepts up to 80 plain text characters. This is only supported
    // for Google Workspace entitlements.
    PurchaseOrderId string `json:"purchaseOrderId,omitempty"`
    // SuspensionReasons: Output only. Enumerable of all current suspension reasons
    // for an entitlement.
    //
    // Possible values:
    //   "SUSPENSION_REASON_UNSPECIFIED" - Not used.
    //   "RESELLER_INITIATED" - Entitlement was manually suspended by the Reseller.
    //   "TRIAL_ENDED" - Trial ended.
    //   "RENEWAL_WITH_TYPE_CANCEL" - Entitlement renewal was canceled.
    //   "PENDING_TOS_ACCEPTANCE" - Entitlement was automatically suspended on
    // creation for pending ToS acceptance on customer.
    //   "OTHER" - Other reasons (internal reasons, abuse, etc.).
    SuspensionReasons []string `json:"suspensionReasons,omitempty"`
    // TrialSettings: Output only. Settings for trial offers.
    TrialSettings *GoogleCloudChannelV1TrialSettings `json:"trialSettings,omitempty"`
    // UpdateTime: Output only. The time at which the entitlement is updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AssociationInfo") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AssociationInfo") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Entitlement) MarshalJSON

func (s *GoogleCloudChannelV1Entitlement) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1EntitlementChange

GoogleCloudChannelV1EntitlementChange: Change event entry for Entitlement order history

type GoogleCloudChannelV1EntitlementChange struct {
    // ActivationReason: The Entitlement's activation reason
    //
    // Possible values:
    //   "ACTIVATION_REASON_UNSPECIFIED" - Not used.
    //   "RESELLER_REVOKED_SUSPENSION" - Reseller reactivated a suspended
    // Entitlement.
    //   "CUSTOMER_ACCEPTED_PENDING_TOS" - Customer accepted pending terms of
    // service.
    //   "RENEWAL_SETTINGS_CHANGED" - Reseller updated the renewal settings on an
    // entitlement that was suspended due to cancellation, and this update
    // reactivated the entitlement.
    //   "OTHER_ACTIVATION_REASON" - Other reasons (Activated temporarily for
    // cancellation, added a payment plan to a trial entitlement, etc.)
    ActivationReason string `json:"activationReason,omitempty"`
    // CancellationReason: Cancellation reason for the Entitlement.
    //
    // Possible values:
    //   "CANCELLATION_REASON_UNSPECIFIED" - Not used.
    //   "SERVICE_TERMINATED" - Reseller triggered a cancellation of the service.
    //   "RELATIONSHIP_ENDED" - Relationship between the reseller and customer has
    // ended due to a transfer.
    //   "PARTIAL_TRANSFER" - Entitlement transferred away from reseller while
    // still keeping other entitlement(s) with the reseller.
    CancellationReason string `json:"cancellationReason,omitempty"`
    // ChangeType: The change action type.
    //
    // Possible values:
    //   "CHANGE_TYPE_UNSPECIFIED" - Not used.
    //   "CREATED" - New Entitlement was created.
    //   "PRICE_PLAN_SWITCHED" - Price plan associated with an Entitlement was
    // changed.
    //   "COMMITMENT_CHANGED" - Number of seats committed for a commitment
    // Entitlement was changed.
    //   "RENEWED" - An annual Entitlement was renewed.
    //   "SUSPENDED" - Entitlement was suspended.
    //   "ACTIVATED" - Entitlement was activated.
    //   "CANCELLED" - Entitlement was cancelled.
    //   "SKU_CHANGED" - Entitlement was upgraded or downgraded for ex. from Google
    // Workspace Business Standard to Google Workspace Business Plus.
    //   "RENEWAL_SETTING_CHANGED" - The settings for renewal of an Entitlement
    // have changed.
    //   "PAID_SUBSCRIPTION_STARTED" - Use for Google Workspace subscription.
    // Either a trial was converted to a paid subscription or a new subscription
    // with no trial is created.
    //   "LICENSE_CAP_CHANGED" - License cap was changed for the entitlement.
    //   "SUSPENSION_DETAILS_CHANGED" - The suspension details have changed (but it
    // is still suspended).
    //   "TRIAL_END_DATE_EXTENDED" - The trial end date was extended.
    //   "TRIAL_STARTED" - Entitlement started trial.
    ChangeType string `json:"changeType,omitempty"`
    // CreateTime: The submitted time of the change.
    CreateTime string `json:"createTime,omitempty"`
    // Entitlement: Required. Resource name of an entitlement in the form:
    // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    Entitlement string `json:"entitlement,omitempty"`
    // Offer: Required. Resource name of the Offer at the time of change. Takes the
    // form: accounts/{account_id}/offers/{offer_id}.
    Offer string `json:"offer,omitempty"`
    // Operator: Human-readable identifier that shows what operator made a change.
    // When the operator_type is RESELLER, this is the user's email address. For
    // all other operator types, this is empty.
    Operator string `json:"operator,omitempty"`
    // OperatorType: Operator type responsible for the change.
    //
    // Possible values:
    //   "OPERATOR_TYPE_UNSPECIFIED" - Not used.
    //   "CUSTOMER_SERVICE_REPRESENTATIVE" - Customer service representative.
    //   "SYSTEM" - System auto job.
    //   "CUSTOMER" - Customer user.
    //   "RESELLER" - Reseller user.
    OperatorType string `json:"operatorType,omitempty"`
    // OtherChangeReason: e.g. purchase_number change reason, entered by CRS.
    OtherChangeReason string `json:"otherChangeReason,omitempty"`
    // Parameters: Extended parameters, such as: purchase_order_number,
    // gcp_details; internal_correlation_id, long_running_operation_id, order_id;
    // etc.
    Parameters []*GoogleCloudChannelV1Parameter `json:"parameters,omitempty"`
    // ProvisionedService: Service provisioned for an Entitlement.
    ProvisionedService *GoogleCloudChannelV1ProvisionedService `json:"provisionedService,omitempty"`
    // SuspensionReason: Suspension reason for the Entitlement.
    //
    // Possible values:
    //   "SUSPENSION_REASON_UNSPECIFIED" - Not used.
    //   "RESELLER_INITIATED" - Entitlement was manually suspended by the Reseller.
    //   "TRIAL_ENDED" - Trial ended.
    //   "RENEWAL_WITH_TYPE_CANCEL" - Entitlement renewal was canceled.
    //   "PENDING_TOS_ACCEPTANCE" - Entitlement was automatically suspended on
    // creation for pending ToS acceptance on customer.
    //   "OTHER" - Other reasons (internal reasons, abuse, etc.).
    SuspensionReason string `json:"suspensionReason,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ActivationReason") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ActivationReason") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1EntitlementChange) MarshalJSON

func (s *GoogleCloudChannelV1EntitlementChange) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1EntitlementEvent

GoogleCloudChannelV1EntitlementEvent: Represents Pub/Sub message content describing entitlement update.

type GoogleCloudChannelV1EntitlementEvent struct {
    // Entitlement: Resource name of an entitlement of the form:
    // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    Entitlement string `json:"entitlement,omitempty"`
    // EventType: Type of event which happened on the entitlement.
    //
    // Possible values:
    //   "TYPE_UNSPECIFIED" - Not used.
    //   "CREATED" - A new entitlement was created.
    //   "PRICE_PLAN_SWITCHED" - The offer type associated with an entitlement was
    // changed. This is not triggered if an entitlement converts from a commit
    // offer to a flexible offer as part of a renewal.
    //   "COMMITMENT_CHANGED" - Annual commitment for a commit plan was changed.
    //   "RENEWED" - An annual entitlement was renewed.
    //   "SUSPENDED" - Entitlement was suspended.
    //   "ACTIVATED" - Entitlement was unsuspended.
    //   "CANCELLED" - Entitlement was cancelled.
    //   "SKU_CHANGED" - Entitlement was upgraded or downgraded (e.g. from Google
    // Workspace Business Standard to Google Workspace Business Plus).
    //   "RENEWAL_SETTING_CHANGED" - The renewal settings of an entitlement has
    // changed.
    //   "PAID_SERVICE_STARTED" - Paid service has started on trial entitlement.
    //   "LICENSE_ASSIGNMENT_CHANGED" - License was assigned to or revoked from a
    // user.
    //   "LICENSE_CAP_CHANGED" - License cap was changed for the entitlement.
    EventType string `json:"eventType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlement") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlement") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1EntitlementEvent) MarshalJSON

func (s *GoogleCloudChannelV1EntitlementEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1FetchReportResultsRequest

GoogleCloudChannelV1FetchReportResultsRequest: Request message for CloudChannelReportsService.FetchReportResults.

type GoogleCloudChannelV1FetchReportResultsRequest struct {
    // PageSize: Optional. Requested page size of the report. The server may return
    // fewer results than requested. If you don't specify a page size, the server
    // uses a sensible default (may change over time). The maximum value is 30,000;
    // the server will change larger values to 30,000.
    PageSize int64 `json:"pageSize,omitempty"`
    // PageToken: Optional. A token that specifies a page of results beyond the
    // first page. Obtained through FetchReportResultsResponse.next_page_token of
    // the previous CloudChannelReportsService.FetchReportResults call.
    PageToken string `json:"pageToken,omitempty"`
    // PartitionKeys: Optional. List of keys specifying which report partitions to
    // return. If empty, returns all partitions.
    PartitionKeys []string `json:"partitionKeys,omitempty"`
    // ForceSendFields is a list of field names (e.g. "PageSize") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "PageSize") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1FetchReportResultsRequest) MarshalJSON

func (s *GoogleCloudChannelV1FetchReportResultsRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1FetchReportResultsResponse

GoogleCloudChannelV1FetchReportResultsResponse: Response message for CloudChannelReportsService.FetchReportResults. Contains a tabular representation of the report results.

type GoogleCloudChannelV1FetchReportResultsResponse struct {
    // NextPageToken: Pass this token to FetchReportResultsRequest.page_token to
    // retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // ReportMetadata: The metadata for the report results (display name, columns,
    // row count, and date ranges).
    ReportMetadata *GoogleCloudChannelV1ReportResultsMetadata `json:"reportMetadata,omitempty"`
    // Rows: The report's lists of values. Each row follows the settings and
    // ordering of the columns from `report_metadata`.
    Rows []*GoogleCloudChannelV1Row `json:"rows,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1FetchReportResultsResponse) MarshalJSON

func (s *GoogleCloudChannelV1FetchReportResultsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ImportCustomerRequest

GoogleCloudChannelV1ImportCustomerRequest: Request message for CloudChannelService.ImportCustomer

type GoogleCloudChannelV1ImportCustomerRequest struct {
    // AuthToken: Optional. The super admin of the resold customer generates this
    // token to authorize a reseller to access their Cloud Identity and purchase
    // entitlements on their behalf. You can omit this token after authorization.
    // See https://support.google.com/a/answer/7643790 for more details.
    AuthToken string `json:"authToken,omitempty"`
    // ChannelPartnerId: Optional. Cloud Identity ID of a channel partner who will
    // be the direct reseller for the customer's order. This field is required for
    // 2-tier transfer scenarios and can be provided via the request Parent binding
    // as well.
    ChannelPartnerId string `json:"channelPartnerId,omitempty"`
    // CloudIdentityId: Required. Customer's Cloud Identity ID
    CloudIdentityId string `json:"cloudIdentityId,omitempty"`
    // Customer: Optional. Specifies the customer that will receive imported Cloud
    // Identity information. Format: accounts/{account_id}/customers/{customer_id}
    Customer string `json:"customer,omitempty"`
    // Domain: Required. Customer domain.
    Domain string `json:"domain,omitempty"`
    // OverwriteIfExists: Required. Choose to overwrite an existing customer if
    // found. This must be set to true if there is an existing customer with a
    // conflicting region code or domain.
    OverwriteIfExists bool `json:"overwriteIfExists,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AuthToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AuthToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ImportCustomerRequest) MarshalJSON

func (s *GoogleCloudChannelV1ImportCustomerRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListChannelPartnerLinksResponse

GoogleCloudChannelV1ListChannelPartnerLinksResponse: Response message for CloudChannelService.ListChannelPartnerLinks.

type GoogleCloudChannelV1ListChannelPartnerLinksResponse struct {
    // ChannelPartnerLinks: The Channel partner links for a reseller.
    ChannelPartnerLinks []*GoogleCloudChannelV1ChannelPartnerLink `json:"channelPartnerLinks,omitempty"`
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListChannelPartnerLinksRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "ChannelPartnerLinks") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ChannelPartnerLinks") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListChannelPartnerLinksResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListChannelPartnerLinksResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse

GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse: Response message for CloudChannelService.ListChannelPartnerRepricingConfigs.

type GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse struct {
    // ChannelPartnerRepricingConfigs: The repricing configs for this channel
    // partner.
    ChannelPartnerRepricingConfigs []*GoogleCloudChannelV1ChannelPartnerRepricingConfig `json:"channelPartnerRepricingConfigs,omitempty"`
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListChannelPartnerRepricingConfigsRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g.
    // "ChannelPartnerRepricingConfigs") to unconditionally include in API
    // requests. By default, fields with empty or default values are omitted from
    // API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ChannelPartnerRepricingConfigs")
    // to include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListCustomerRepricingConfigsResponse

GoogleCloudChannelV1ListCustomerRepricingConfigsResponse: Response message for CloudChannelService.ListCustomerRepricingConfigs.

type GoogleCloudChannelV1ListCustomerRepricingConfigsResponse struct {
    // CustomerRepricingConfigs: The repricing configs for this channel partner.
    CustomerRepricingConfigs []*GoogleCloudChannelV1CustomerRepricingConfig `json:"customerRepricingConfigs,omitempty"`
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListCustomerRepricingConfigsRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "CustomerRepricingConfigs")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CustomerRepricingConfigs") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListCustomerRepricingConfigsResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListCustomerRepricingConfigsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListCustomersResponse

GoogleCloudChannelV1ListCustomersResponse: Response message for CloudChannelService.ListCustomers.

type GoogleCloudChannelV1ListCustomersResponse struct {
    // Customers: The customers belonging to a reseller or distributor.
    Customers []*GoogleCloudChannelV1Customer `json:"customers,omitempty"`
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListCustomersRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Customers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Customers") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListCustomersResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListCustomersResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListEntitlementChangesResponse

GoogleCloudChannelV1ListEntitlementChangesResponse: Response message for CloudChannelService.ListEntitlementChanges

type GoogleCloudChannelV1ListEntitlementChangesResponse struct {
    // EntitlementChanges: The list of entitlement changes.
    EntitlementChanges []*GoogleCloudChannelV1EntitlementChange `json:"entitlementChanges,omitempty"`
    // NextPageToken: A token to list the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "EntitlementChanges") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EntitlementChanges") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListEntitlementChangesResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListEntitlementChangesResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListEntitlementsResponse

GoogleCloudChannelV1ListEntitlementsResponse: Response message for CloudChannelService.ListEntitlements.

type GoogleCloudChannelV1ListEntitlementsResponse struct {
    // Entitlements: The reseller customer's entitlements.
    Entitlements []*GoogleCloudChannelV1Entitlement `json:"entitlements,omitempty"`
    // NextPageToken: A token to list the next page of results. Pass to
    // ListEntitlementsRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Entitlements") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlements") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListEntitlementsResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListEntitlementsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListOffersResponse

GoogleCloudChannelV1ListOffersResponse: Response message for ListOffers.

type GoogleCloudChannelV1ListOffersResponse struct {
    // NextPageToken: A token to retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Offers: The list of Offers requested.
    Offers []*GoogleCloudChannelV1Offer `json:"offers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListOffersResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListOffersResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListProductsResponse

GoogleCloudChannelV1ListProductsResponse: Response message for ListProducts.

type GoogleCloudChannelV1ListProductsResponse struct {
    // NextPageToken: A token to retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Products: List of Products requested.
    Products []*GoogleCloudChannelV1Product `json:"products,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListProductsResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListProductsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListPurchasableOffersResponse

GoogleCloudChannelV1ListPurchasableOffersResponse: Response message for ListPurchasableOffers.

type GoogleCloudChannelV1ListPurchasableOffersResponse struct {
    // NextPageToken: A token to retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // PurchasableOffers: The list of Offers requested.
    PurchasableOffers []*GoogleCloudChannelV1PurchasableOffer `json:"purchasableOffers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListPurchasableOffersResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListPurchasableOffersResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListPurchasableSkusResponse

GoogleCloudChannelV1ListPurchasableSkusResponse: Response message for ListPurchasableSkus.

type GoogleCloudChannelV1ListPurchasableSkusResponse struct {
    // NextPageToken: A token to retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // PurchasableSkus: The list of SKUs requested.
    PurchasableSkus []*GoogleCloudChannelV1PurchasableSku `json:"purchasableSkus,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListPurchasableSkusResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListPurchasableSkusResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListReportsResponse

GoogleCloudChannelV1ListReportsResponse: Response message for CloudChannelReportsService.ListReports.

type GoogleCloudChannelV1ListReportsResponse struct {
    // NextPageToken: Pass this token to FetchReportResultsRequest.page_token to
    // retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Reports: The reports available to the partner.
    Reports []*GoogleCloudChannelV1Report `json:"reports,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListReportsResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListReportsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListSkuGroupBillableSkusResponse

GoogleCloudChannelV1ListSkuGroupBillableSkusResponse: Response message for ListSkuGroupBillableSkus.

type GoogleCloudChannelV1ListSkuGroupBillableSkusResponse struct {
    // BillableSkus: The list of billable SKUs in the requested SKU group.
    BillableSkus []*GoogleCloudChannelV1BillableSku `json:"billableSkus,omitempty"`
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListSkuGroupBillableSkus.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "BillableSkus") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillableSkus") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListSkuGroupBillableSkusResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListSkuGroupBillableSkusResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListSkuGroupsResponse

GoogleCloudChannelV1ListSkuGroupsResponse: Response message for ListSkuGroups.

type GoogleCloudChannelV1ListSkuGroupsResponse struct {
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListSkuGroups.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // SkuGroups: The list of SKU groups requested.
    SkuGroups []*GoogleCloudChannelV1SkuGroup `json:"skuGroups,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListSkuGroupsResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListSkuGroupsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListSkusResponse

GoogleCloudChannelV1ListSkusResponse: Response message for ListSkus.

type GoogleCloudChannelV1ListSkusResponse struct {
    // NextPageToken: A token to retrieve the next page of results.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Skus: The list of SKUs requested.
    Skus []*GoogleCloudChannelV1Sku `json:"skus,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListSkusResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListSkusResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListSubscribersResponse

GoogleCloudChannelV1ListSubscribersResponse: Response Message for ListSubscribers.

type GoogleCloudChannelV1ListSubscribersResponse struct {
    // NextPageToken: A token that can be sent as `page_token` to retrieve the next
    // page. If this field is omitted, there are no subsequent pages.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // ServiceAccounts: List of service accounts which have subscriber access to
    // the topic.
    ServiceAccounts []string `json:"serviceAccounts,omitempty"`
    // Topic: Name of the topic registered with the reseller.
    Topic string `json:"topic,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListSubscribersResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListSubscribersResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListTransferableOffersRequest

GoogleCloudChannelV1ListTransferableOffersRequest: Request message for CloudChannelService.ListTransferableOffers

type GoogleCloudChannelV1ListTransferableOffersRequest struct {
    // BillingAccount: Optional. The Billing Account to look up Offers for. Format:
    // accounts/{account_id}/billingAccounts/{billing_account_id}. This field is
    // only relevant for multi-currency accounts. It should be left empty for
    // single currency accounts.
    BillingAccount string `json:"billingAccount,omitempty"`
    // CloudIdentityId: Customer's Cloud Identity ID
    CloudIdentityId string `json:"cloudIdentityId,omitempty"`
    // CustomerName: A reseller should create a customer and use the resource name
    // of that customer here.
    CustomerName string `json:"customerName,omitempty"`
    // LanguageCode: Optional. The BCP-47 language code. For example, "en-US". The
    // response will localize in the corresponding language code, if specified. The
    // default value is "en-US".
    LanguageCode string `json:"languageCode,omitempty"`
    // PageSize: Requested page size. Server might return fewer results than
    // requested. If unspecified, returns at most 100 offers. The maximum value is
    // 1000; the server will coerce values above 1000.
    PageSize int64 `json:"pageSize,omitempty"`
    // PageToken: A token for a page of results other than the first page. Obtained
    // using ListTransferableOffersResponse.next_page_token of the previous
    // CloudChannelService.ListTransferableOffers call.
    PageToken string `json:"pageToken,omitempty"`
    // Sku: Required. The SKU to look up Offers for.
    Sku string `json:"sku,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BillingAccount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingAccount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListTransferableOffersRequest) MarshalJSON

func (s *GoogleCloudChannelV1ListTransferableOffersRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListTransferableOffersResponse

GoogleCloudChannelV1ListTransferableOffersResponse: Response message for CloudChannelService.ListTransferableOffers.

type GoogleCloudChannelV1ListTransferableOffersResponse struct {
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListTransferableOffersRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // TransferableOffers: Information about Offers for a customer that can be used
    // for transfer.
    TransferableOffers []*GoogleCloudChannelV1TransferableOffer `json:"transferableOffers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListTransferableOffersResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListTransferableOffersResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListTransferableSkusRequest

GoogleCloudChannelV1ListTransferableSkusRequest: Request message for CloudChannelService.ListTransferableSkus

type GoogleCloudChannelV1ListTransferableSkusRequest struct {
    // AuthToken: Optional. The super admin of the resold customer generates this
    // token to authorize a reseller to access their Cloud Identity and purchase
    // entitlements on their behalf. You can omit this token after authorization.
    // See https://support.google.com/a/answer/7643790 for more details.
    AuthToken string `json:"authToken,omitempty"`
    // CloudIdentityId: Customer's Cloud Identity ID
    CloudIdentityId string `json:"cloudIdentityId,omitempty"`
    // CustomerName: A reseller is required to create a customer and use the
    // resource name of the created customer here. Customer_name uses the format:
    // accounts/{account_id}/customers/{customer_id}
    CustomerName string `json:"customerName,omitempty"`
    // LanguageCode: The BCP-47 language code. For example, "en-US". The response
    // will localize in the corresponding language code, if specified. The default
    // value is "en-US". Optional.
    LanguageCode string `json:"languageCode,omitempty"`
    // PageSize: The requested page size. Server might return fewer results than
    // requested. If unspecified, returns at most 100 SKUs. The maximum value is
    // 1000; the server will coerce values above 1000. Optional.
    PageSize int64 `json:"pageSize,omitempty"`
    // PageToken: A token for a page of results other than the first page. Obtained
    // using ListTransferableSkusResponse.next_page_token of the previous
    // CloudChannelService.ListTransferableSkus call. Optional.
    PageToken string `json:"pageToken,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AuthToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AuthToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListTransferableSkusRequest) MarshalJSON

func (s *GoogleCloudChannelV1ListTransferableSkusRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ListTransferableSkusResponse

GoogleCloudChannelV1ListTransferableSkusResponse: Response message for CloudChannelService.ListTransferableSkus.

type GoogleCloudChannelV1ListTransferableSkusResponse struct {
    // NextPageToken: A token to retrieve the next page of results. Pass to
    // ListTransferableSkusRequest.page_token to obtain that page.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // TransferableSkus: Information about existing SKUs for a customer that needs
    // a transfer.
    TransferableSkus []*GoogleCloudChannelV1TransferableSku `json:"transferableSkus,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ListTransferableSkusResponse) MarshalJSON

func (s *GoogleCloudChannelV1ListTransferableSkusResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1MarketingInfo

GoogleCloudChannelV1MarketingInfo: Represents the marketing information for a Product, SKU or Offer.

type GoogleCloudChannelV1MarketingInfo struct {
    // DefaultLogo: Default logo.
    DefaultLogo *GoogleCloudChannelV1Media `json:"defaultLogo,omitempty"`
    // Description: Human readable description. Description can contain HTML.
    Description string `json:"description,omitempty"`
    // DisplayName: Human readable name.
    DisplayName string `json:"displayName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DefaultLogo") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DefaultLogo") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1MarketingInfo) MarshalJSON

func (s *GoogleCloudChannelV1MarketingInfo) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Media

GoogleCloudChannelV1Media: Represents media information.

type GoogleCloudChannelV1Media struct {
    // Content: URL of the media.
    Content string `json:"content,omitempty"`
    // Title: Title of the media.
    Title string `json:"title,omitempty"`
    // Type: Type of the media.
    //
    // Possible values:
    //   "MEDIA_TYPE_UNSPECIFIED" - Not used.
    //   "MEDIA_TYPE_IMAGE" - Type of image.
    Type string `json:"type,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Content") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Content") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Media) MarshalJSON

func (s *GoogleCloudChannelV1Media) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Offer

GoogleCloudChannelV1Offer: Represents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying.

type GoogleCloudChannelV1Offer struct {
    // Constraints: Constraints on transacting the Offer.
    Constraints *GoogleCloudChannelV1Constraints `json:"constraints,omitempty"`
    // DealCode: The deal code of the offer to get a special promotion or discount.
    DealCode string `json:"dealCode,omitempty"`
    // EndTime: Output only. End of the Offer validity time.
    EndTime string `json:"endTime,omitempty"`
    // MarketingInfo: Marketing information for the Offer.
    MarketingInfo *GoogleCloudChannelV1MarketingInfo `json:"marketingInfo,omitempty"`
    // Name: Resource Name of the Offer. Format:
    // accounts/{account_id}/offers/{offer_id}
    Name string `json:"name,omitempty"`
    // ParameterDefinitions: Parameters required to use current Offer to purchase.
    ParameterDefinitions []*GoogleCloudChannelV1ParameterDefinition `json:"parameterDefinitions,omitempty"`
    // Plan: Describes the payment plan for the Offer.
    Plan *GoogleCloudChannelV1Plan `json:"plan,omitempty"`
    // PriceByResources: Price for each monetizable resource type.
    PriceByResources []*GoogleCloudChannelV1PriceByResource `json:"priceByResources,omitempty"`
    // Sku: SKU the offer is associated with.
    Sku *GoogleCloudChannelV1Sku `json:"sku,omitempty"`
    // StartTime: Start of the Offer validity time.
    StartTime string `json:"startTime,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Constraints") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Constraints") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Offer) MarshalJSON

func (s *GoogleCloudChannelV1Offer) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1OperationMetadata

GoogleCloudChannelV1OperationMetadata: Provides contextual information about a google.longrunning.Operation.

type GoogleCloudChannelV1OperationMetadata struct {
    // OperationType: The RPC that initiated this Long Running Operation.
    //
    // Possible values:
    //   "OPERATION_TYPE_UNSPECIFIED" - Not used.
    //   "CREATE_ENTITLEMENT" - Long Running Operation was triggered by
    // CreateEntitlement.
    //   "CHANGE_RENEWAL_SETTINGS" - Long Running Operation was triggered by
    // ChangeRenewalSettings.
    //   "START_PAID_SERVICE" - Long Running Operation was triggered by
    // StartPaidService.
    //   "ACTIVATE_ENTITLEMENT" - Long Running Operation was triggered by
    // ActivateEntitlement.
    //   "SUSPEND_ENTITLEMENT" - Long Running Operation was triggered by
    // SuspendEntitlement.
    //   "CANCEL_ENTITLEMENT" - Long Running Operation was triggered by
    // CancelEntitlement.
    //   "TRANSFER_ENTITLEMENTS" - Long Running Operation was triggered by
    // TransferEntitlements.
    //   "TRANSFER_ENTITLEMENTS_TO_GOOGLE" - Long Running Operation was triggered
    // by TransferEntitlementsToGoogle.
    //   "CHANGE_OFFER" - Long Running Operation was triggered by ChangeOffer.
    //   "CHANGE_PARAMETERS" - Long Running Operation was triggered by
    // ChangeParameters.
    //   "PROVISION_CLOUD_IDENTITY" - Long Running Operation was triggered by
    // ProvisionCloudIdentity.
    OperationType string `json:"operationType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "OperationType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "OperationType") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1OperationMetadata) MarshalJSON

func (s *GoogleCloudChannelV1OperationMetadata) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Parameter

GoogleCloudChannelV1Parameter: Definition for extended entitlement parameters.

type GoogleCloudChannelV1Parameter struct {
    // Editable: Output only. Specifies whether this parameter is allowed to be
    // changed. For example, for a Google Workspace Business Starter entitlement in
    // commitment plan, num_units is editable when entitlement is active.
    Editable bool `json:"editable,omitempty"`
    // Name: Name of the parameter.
    Name string `json:"name,omitempty"`
    // Value: Value of the parameter.
    Value *GoogleCloudChannelV1Value `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Editable") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Editable") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Parameter) MarshalJSON

func (s *GoogleCloudChannelV1Parameter) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ParameterDefinition

GoogleCloudChannelV1ParameterDefinition: Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.

type GoogleCloudChannelV1ParameterDefinition struct {
    // AllowedValues: If not empty, parameter values must be drawn from this list.
    // For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.
    AllowedValues []*GoogleCloudChannelV1Value `json:"allowedValues,omitempty"`
    // MaxValue: Maximum value of the parameter, if applicable. Inclusive. For
    // example, maximum seats when purchasing Google Workspace Business Standard.
    // Applicable to INT64 and DOUBLE parameter types.
    MaxValue *GoogleCloudChannelV1Value `json:"maxValue,omitempty"`
    // MinValue: Minimal value of the parameter, if applicable. Inclusive. For
    // example, minimal commitment when purchasing Anthos is 0.01. Applicable to
    // INT64 and DOUBLE parameter types.
    MinValue *GoogleCloudChannelV1Value `json:"minValue,omitempty"`
    // Name: Name of the parameter.
    Name string `json:"name,omitempty"`
    // Optional: If set to true, parameter is optional to purchase this Offer.
    Optional bool `json:"optional,omitempty"`
    // ParameterType: Data type of the parameter. Minimal value, Maximum value and
    // allowed values will use specified data type here.
    //
    // Possible values:
    //   "PARAMETER_TYPE_UNSPECIFIED" - Not used.
    //   "INT64" - Int64 type.
    //   "STRING" - String type.
    //   "DOUBLE" - Double type.
    //   "BOOLEAN" - Boolean type.
    ParameterType string `json:"parameterType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllowedValues") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllowedValues") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ParameterDefinition) MarshalJSON

func (s *GoogleCloudChannelV1ParameterDefinition) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1PercentageAdjustment

GoogleCloudChannelV1PercentageAdjustment: An adjustment that applies a flat markup or markdown to an entire bill.

type GoogleCloudChannelV1PercentageAdjustment struct {
    // Percentage: The percentage of the bill to adjust. For example: Mark down by
    // 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"
    Percentage *GoogleTypeDecimal `json:"percentage,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Percentage") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Percentage") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1PercentageAdjustment) MarshalJSON

func (s *GoogleCloudChannelV1PercentageAdjustment) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Period

GoogleCloudChannelV1Period: Represents period in days/months/years.

type GoogleCloudChannelV1Period struct {
    // Duration: Total duration of Period Type defined.
    Duration int64 `json:"duration,omitempty"`
    // PeriodType: Period Type.
    //
    // Possible values:
    //   "PERIOD_TYPE_UNSPECIFIED" - Not used.
    //   "DAY" - Day.
    //   "MONTH" - Month.
    //   "YEAR" - Year.
    PeriodType string `json:"periodType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Duration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Duration") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Period) MarshalJSON

func (s *GoogleCloudChannelV1Period) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Plan

GoogleCloudChannelV1Plan: The payment plan for the Offer. Describes how to make a payment.

type GoogleCloudChannelV1Plan struct {
    // BillingAccount: Reseller Billing account to charge after an offer
    // transaction. Only present for Google Cloud offers.
    BillingAccount string `json:"billingAccount,omitempty"`
    // PaymentCycle: Describes how frequently the reseller will be billed, such as
    // once per month.
    PaymentCycle *GoogleCloudChannelV1Period `json:"paymentCycle,omitempty"`
    // PaymentPlan: Describes how a reseller will be billed.
    //
    // Possible values:
    //   "PAYMENT_PLAN_UNSPECIFIED" - Not used.
    //   "COMMITMENT" - Commitment.
    //   "FLEXIBLE" - No commitment.
    //   "FREE" - Free.
    //   "TRIAL" - Trial.
    //   "OFFLINE" - Price and ordering not available through API.
    PaymentPlan string `json:"paymentPlan,omitempty"`
    // PaymentType: Specifies when the payment needs to happen.
    //
    // Possible values:
    //   "PAYMENT_TYPE_UNSPECIFIED" - Not used.
    //   "PREPAY" - Prepay. Amount has to be paid before service is rendered.
    //   "POSTPAY" - Postpay. Reseller is charged at the end of the Payment cycle.
    PaymentType string `json:"paymentType,omitempty"`
    // TrialPeriod: Present for Offers with a trial period. For trial-only Offers,
    // a paid service needs to start before the trial period ends for continued
    // service. For Regular Offers with a trial period, the regular pricing goes
    // into effect when trial period ends, or if paid service is started before the
    // end of the trial period.
    TrialPeriod *GoogleCloudChannelV1Period `json:"trialPeriod,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BillingAccount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingAccount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Plan) MarshalJSON

func (s *GoogleCloudChannelV1Plan) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Price

GoogleCloudChannelV1Price: Represents the price of the Offer.

type GoogleCloudChannelV1Price struct {
    // BasePrice: Base price.
    BasePrice *GoogleTypeMoney `json:"basePrice,omitempty"`
    // Discount: Discount percentage, represented as decimal. For example, a 20%
    // discount will be represent as 0.2.
    Discount float64 `json:"discount,omitempty"`
    // EffectivePrice: Effective Price after applying the discounts.
    EffectivePrice *GoogleTypeMoney `json:"effectivePrice,omitempty"`
    // ExternalPriceUri: Link to external price list, such as link to Google Voice
    // rate card.
    ExternalPriceUri string `json:"externalPriceUri,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePrice") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePrice") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Price) MarshalJSON

func (s *GoogleCloudChannelV1Price) MarshalJSON() ([]byte, error)

func (*GoogleCloudChannelV1Price) UnmarshalJSON

func (s *GoogleCloudChannelV1Price) UnmarshalJSON(data []byte) error

type GoogleCloudChannelV1PriceByResource

GoogleCloudChannelV1PriceByResource: Represents price by resource type.

type GoogleCloudChannelV1PriceByResource struct {
    // Price: Price of the Offer. Present if there are no price phases.
    Price *GoogleCloudChannelV1Price `json:"price,omitempty"`
    // PricePhases: Specifies the price by time range.
    PricePhases []*GoogleCloudChannelV1PricePhase `json:"pricePhases,omitempty"`
    // ResourceType: Resource Type. Example: SEAT
    //
    // Possible values:
    //   "RESOURCE_TYPE_UNSPECIFIED" - Not used.
    //   "SEAT" - Seat.
    //   "MAU" - Monthly active user.
    //   "GB" - GB (used for storage SKUs).
    //   "LICENSED_USER" - Active licensed users(for Voice SKUs).
    //   "MINUTES" - Voice usage.
    //   "IAAS_USAGE" - For IaaS SKUs like Google Cloud, monetization is based on
    // usage accrued on your billing account irrespective of the type of
    // monetizable resource. This enum represents an aggregated resource/container
    // for all usage SKUs on a billing account. Currently, only applicable to
    // Google Cloud.
    //   "SUBSCRIPTION" - For Google Cloud subscriptions like Anthos or SAP.
    ResourceType string `json:"resourceType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Price") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Price") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1PriceByResource) MarshalJSON

func (s *GoogleCloudChannelV1PriceByResource) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1PricePhase

GoogleCloudChannelV1PricePhase: Specifies the price by the duration of months. For example, a 20% discount for the first six months, then a 10% discount starting on the seventh month.

type GoogleCloudChannelV1PricePhase struct {
    // FirstPeriod: Defines first period for the phase.
    FirstPeriod int64 `json:"firstPeriod,omitempty"`
    // LastPeriod: Defines first period for the phase.
    LastPeriod int64 `json:"lastPeriod,omitempty"`
    // PeriodType: Defines the phase period type.
    //
    // Possible values:
    //   "PERIOD_TYPE_UNSPECIFIED" - Not used.
    //   "DAY" - Day.
    //   "MONTH" - Month.
    //   "YEAR" - Year.
    PeriodType string `json:"periodType,omitempty"`
    // Price: Price of the phase. Present if there are no price tiers.
    Price *GoogleCloudChannelV1Price `json:"price,omitempty"`
    // PriceTiers: Price by the resource tiers.
    PriceTiers []*GoogleCloudChannelV1PriceTier `json:"priceTiers,omitempty"`
    // ForceSendFields is a list of field names (e.g. "FirstPeriod") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FirstPeriod") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1PricePhase) MarshalJSON

func (s *GoogleCloudChannelV1PricePhase) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1PriceTier

GoogleCloudChannelV1PriceTier: Defines price at resource tier level. For example, an offer with following definition : * Tier 1: Provide 25% discount for all seats between 1 and 25. * Tier 2: Provide 10% discount for all seats between 26 and 100. * Tier 3: Provide flat 15% discount for all seats above 100. Each of these tiers is represented as a PriceTier.

type GoogleCloudChannelV1PriceTier struct {
    // FirstResource: First resource for which the tier price applies.
    FirstResource int64 `json:"firstResource,omitempty"`
    // LastResource: Last resource for which the tier price applies.
    LastResource int64 `json:"lastResource,omitempty"`
    // Price: Price of the tier.
    Price *GoogleCloudChannelV1Price `json:"price,omitempty"`
    // ForceSendFields is a list of field names (e.g. "FirstResource") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FirstResource") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1PriceTier) MarshalJSON

func (s *GoogleCloudChannelV1PriceTier) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Product

GoogleCloudChannelV1Product: A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc.

type GoogleCloudChannelV1Product struct {
    // MarketingInfo: Marketing information for the product.
    MarketingInfo *GoogleCloudChannelV1MarketingInfo `json:"marketingInfo,omitempty"`
    // Name: Resource Name of the Product. Format: products/{product_id}
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "MarketingInfo") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "MarketingInfo") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Product) MarshalJSON

func (s *GoogleCloudChannelV1Product) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ProvisionCloudIdentityRequest

GoogleCloudChannelV1ProvisionCloudIdentityRequest: Request message for CloudChannelService.ProvisionCloudIdentity

type GoogleCloudChannelV1ProvisionCloudIdentityRequest struct {
    // CloudIdentityInfo: CloudIdentity-specific customer information.
    CloudIdentityInfo *GoogleCloudChannelV1CloudIdentityInfo `json:"cloudIdentityInfo,omitempty"`
    // User: Admin user information.
    User *GoogleCloudChannelV1AdminUser `json:"user,omitempty"`
    // ValidateOnly: Validate the request and preview the review, but do not post
    // it.
    ValidateOnly bool `json:"validateOnly,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CloudIdentityInfo") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CloudIdentityInfo") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ProvisionCloudIdentityRequest) MarshalJSON

func (s *GoogleCloudChannelV1ProvisionCloudIdentityRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ProvisionedService

GoogleCloudChannelV1ProvisionedService: Service provisioned for an entitlement.

type GoogleCloudChannelV1ProvisionedService struct {
    // ProductId: Output only. The product pertaining to the provisioning resource
    // as specified in the Offer.
    ProductId string `json:"productId,omitempty"`
    // ProvisioningId: Output only. Provisioning ID of the entitlement. For Google
    // Workspace, this is the underlying Subscription ID. For Google Cloud, this is
    // the Billing Account ID of the billing subaccount.
    ProvisioningId string `json:"provisioningId,omitempty"`
    // SkuId: Output only. The SKU pertaining to the provisioning resource as
    // specified in the Offer.
    SkuId string `json:"skuId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ProductId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ProductId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ProvisionedService) MarshalJSON

func (s *GoogleCloudChannelV1ProvisionedService) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1PurchasableOffer

GoogleCloudChannelV1PurchasableOffer: Offer that you can purchase for a customer. This is used in the ListPurchasableOffer API response.

type GoogleCloudChannelV1PurchasableOffer struct {
    // Offer: Offer.
    Offer *GoogleCloudChannelV1Offer `json:"offer,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Offer") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Offer") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1PurchasableOffer) MarshalJSON

func (s *GoogleCloudChannelV1PurchasableOffer) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1PurchasableSku

GoogleCloudChannelV1PurchasableSku: SKU that you can purchase. This is used in ListPurchasableSku API response.

type GoogleCloudChannelV1PurchasableSku struct {
    // Sku: SKU
    Sku *GoogleCloudChannelV1Sku `json:"sku,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Sku") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Sku") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1PurchasableSku) MarshalJSON

func (s *GoogleCloudChannelV1PurchasableSku) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1QueryEligibleBillingAccountsResponse

GoogleCloudChannelV1QueryEligibleBillingAccountsResponse: Response message for QueryEligibleBillingAccounts.

type GoogleCloudChannelV1QueryEligibleBillingAccountsResponse struct {
    // SkuPurchaseGroups: List of SKU purchase groups where each group represents a
    // set of SKUs that must be purchased using the same billing account. Each SKU
    // from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one
    // SKU group.
    SkuPurchaseGroups []*GoogleCloudChannelV1SkuPurchaseGroup `json:"skuPurchaseGroups,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "SkuPurchaseGroups") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SkuPurchaseGroups") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1QueryEligibleBillingAccountsResponse) MarshalJSON

func (s *GoogleCloudChannelV1QueryEligibleBillingAccountsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RegisterSubscriberRequest

GoogleCloudChannelV1RegisterSubscriberRequest: Request Message for RegisterSubscriber.

type GoogleCloudChannelV1RegisterSubscriberRequest struct {
    // ServiceAccount: Required. Service account that provides subscriber access to
    // the registered topic.
    ServiceAccount string `json:"serviceAccount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ServiceAccount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ServiceAccount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RegisterSubscriberRequest) MarshalJSON

func (s *GoogleCloudChannelV1RegisterSubscriberRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RegisterSubscriberResponse

GoogleCloudChannelV1RegisterSubscriberResponse: Response Message for RegisterSubscriber.

type GoogleCloudChannelV1RegisterSubscriberResponse struct {
    // Topic: Name of the topic the subscriber will listen to.
    Topic string `json:"topic,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Topic") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Topic") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RegisterSubscriberResponse) MarshalJSON

func (s *GoogleCloudChannelV1RegisterSubscriberResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RenewalSettings

GoogleCloudChannelV1RenewalSettings: Renewal settings for renewable Offers.

type GoogleCloudChannelV1RenewalSettings struct {
    // EnableRenewal: If false, the plan will be completed at the end date.
    EnableRenewal bool `json:"enableRenewal,omitempty"`
    // PaymentCycle: Describes how frequently the reseller will be billed, such as
    // once per month.
    PaymentCycle *GoogleCloudChannelV1Period `json:"paymentCycle,omitempty"`
    // PaymentPlan: Describes how a reseller will be billed.
    //
    // Possible values:
    //   "PAYMENT_PLAN_UNSPECIFIED" - Not used.
    //   "COMMITMENT" - Commitment.
    //   "FLEXIBLE" - No commitment.
    //   "FREE" - Free.
    //   "TRIAL" - Trial.
    //   "OFFLINE" - Price and ordering not available through API.
    PaymentPlan string `json:"paymentPlan,omitempty"`
    // ResizeUnitCount: If true and enable_renewal = true, the unit (for example
    // seats or licenses) will be set to the number of active units at renewal
    // time.
    ResizeUnitCount bool `json:"resizeUnitCount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EnableRenewal") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EnableRenewal") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RenewalSettings) MarshalJSON

func (s *GoogleCloudChannelV1RenewalSettings) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Report

GoogleCloudChannelV1Report: The ID and description of a report that was used to generate report data. For example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.

type GoogleCloudChannelV1Report struct {
    // Columns: The list of columns included in the report. This defines the schema
    // of the report results.
    Columns []*GoogleCloudChannelV1Column `json:"columns,omitempty"`
    // Description: A description of other aspects of the report, such as the
    // products it supports.
    Description string `json:"description,omitempty"`
    // DisplayName: A human-readable name for this report.
    DisplayName string `json:"displayName,omitempty"`
    // Name: Required. The report's resource name. Specifies the account and report
    // used to generate report data. The report_id identifier is a UID (for
    // example, `613bf59q`). Name uses the format:
    // accounts/{account_id}/reports/{report_id}
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Columns") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Columns") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Report) MarshalJSON

func (s *GoogleCloudChannelV1Report) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ReportJob

GoogleCloudChannelV1ReportJob: The result of a RunReportJob operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.

type GoogleCloudChannelV1ReportJob struct {
    // Name: Required. The resource name of a report job. Name uses the format:
    // `accounts/{account_id}/reportJobs/{report_job_id}`
    Name string `json:"name,omitempty"`
    // ReportStatus: The current status of report generation.
    ReportStatus *GoogleCloudChannelV1ReportStatus `json:"reportStatus,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Name") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Name") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ReportJob) MarshalJSON

func (s *GoogleCloudChannelV1ReportJob) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ReportResultsMetadata

GoogleCloudChannelV1ReportResultsMetadata: The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.

type GoogleCloudChannelV1ReportResultsMetadata struct {
    // DateRange: The date range of reported usage.
    DateRange *GoogleCloudChannelV1DateRange `json:"dateRange,omitempty"`
    // PrecedingDateRange: The usage dates immediately preceding `date_range` with
    // the same duration. Use this to calculate trending usage and costs. This is
    // only populated if you request trending data. For example, if `date_range` is
    // July 1-15, `preceding_date_range` will be June 16-30.
    PrecedingDateRange *GoogleCloudChannelV1DateRange `json:"precedingDateRange,omitempty"`
    // Report: Details of the completed report.
    Report *GoogleCloudChannelV1Report `json:"report,omitempty"`
    // RowCount: The total number of rows of data in the final report.
    RowCount int64 `json:"rowCount,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "DateRange") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DateRange") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ReportResultsMetadata) MarshalJSON

func (s *GoogleCloudChannelV1ReportResultsMetadata) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ReportStatus

GoogleCloudChannelV1ReportStatus: Status of a report generation process.

type GoogleCloudChannelV1ReportStatus struct {
    // EndTime: The report generation's completion time.
    EndTime string `json:"endTime,omitempty"`
    // StartTime: The report generation's start time.
    StartTime string `json:"startTime,omitempty"`
    // State: The current state of the report generation process.
    //
    // Possible values:
    //   "STATE_UNSPECIFIED" - Not used.
    //   "STARTED" - Report processing started.
    //   "WRITING" - Data generated from the report is being staged.
    //   "AVAILABLE" - Report data is available for access.
    //   "FAILED" - Report failed.
    State string `json:"state,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EndTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ReportStatus) MarshalJSON

func (s *GoogleCloudChannelV1ReportStatus) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1ReportValue

GoogleCloudChannelV1ReportValue: A single report value.

type GoogleCloudChannelV1ReportValue struct {
    // DateTimeValue: A value of type `google.type.DateTime` (year, month, day,
    // hour, minute, second, and UTC offset or timezone.)
    DateTimeValue *GoogleTypeDateTime `json:"dateTimeValue,omitempty"`
    // DateValue: A value of type `google.type.Date` (year, month, day).
    DateValue *GoogleTypeDate `json:"dateValue,omitempty"`
    // DecimalValue: A value of type `google.type.Decimal`, representing
    // non-integer numeric values.
    DecimalValue *GoogleTypeDecimal `json:"decimalValue,omitempty"`
    // IntValue: A value of type `int`.
    IntValue int64 `json:"intValue,omitempty,string"`
    // MoneyValue: A value of type `google.type.Money` (currency code, whole units,
    // decimal units).
    MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"`
    // StringValue: A value of type `string`.
    StringValue string `json:"stringValue,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DateTimeValue") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DateTimeValue") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1ReportValue) MarshalJSON

func (s *GoogleCloudChannelV1ReportValue) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RepricingAdjustment

GoogleCloudChannelV1RepricingAdjustment: A type that represents the various adjustments you can apply to a bill.

type GoogleCloudChannelV1RepricingAdjustment struct {
    // PercentageAdjustment: Flat markup or markdown on an entire bill.
    PercentageAdjustment *GoogleCloudChannelV1PercentageAdjustment `json:"percentageAdjustment,omitempty"`
    // ForceSendFields is a list of field names (e.g. "PercentageAdjustment") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "PercentageAdjustment") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RepricingAdjustment) MarshalJSON

func (s *GoogleCloudChannelV1RepricingAdjustment) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RepricingCondition

GoogleCloudChannelV1RepricingCondition: Represents the various repricing conditions you can use for a conditional override.

type GoogleCloudChannelV1RepricingCondition struct {
    // SkuGroupCondition: SKU Group condition for override.
    SkuGroupCondition *GoogleCloudChannelV1SkuGroupCondition `json:"skuGroupCondition,omitempty"`
    // ForceSendFields is a list of field names (e.g. "SkuGroupCondition") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SkuGroupCondition") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RepricingCondition) MarshalJSON

func (s *GoogleCloudChannelV1RepricingCondition) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RepricingConfig

GoogleCloudChannelV1RepricingConfig: Configuration for repricing a Google bill over a period of time.

type GoogleCloudChannelV1RepricingConfig struct {
    // Adjustment: Required. Information about the adjustment.
    Adjustment *GoogleCloudChannelV1RepricingAdjustment `json:"adjustment,omitempty"`
    // ChannelPartnerGranularity: Applies the repricing configuration at the
    // channel partner level. Only ChannelPartnerRepricingConfig supports this
    // value. Deprecated: This is no longer supported. Use
    // RepricingConfig.entitlement_granularity instead.
    ChannelPartnerGranularity *GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity `json:"channelPartnerGranularity,omitempty"`
    // ConditionalOverrides: The conditional overrides to apply for this
    // configuration. If you list multiple overrides, only the first valid override
    // is used. If you don't list any overrides, the API uses the normal adjustment
    // and rebilling basis.
    ConditionalOverrides []*GoogleCloudChannelV1ConditionalOverride `json:"conditionalOverrides,omitempty"`
    // EffectiveInvoiceMonth: Required. The YearMonth when these adjustments
    // activate. The Day field needs to be "0" since we only accept YearMonth
    // repricing boundaries.
    EffectiveInvoiceMonth *GoogleTypeDate `json:"effectiveInvoiceMonth,omitempty"`
    // EntitlementGranularity: Applies the repricing configuration at the
    // entitlement level. Note: If a ChannelPartnerRepricingConfig using
    // RepricingConfig.EntitlementGranularity becomes effective, then no existing
    // or future RepricingConfig.ChannelPartnerGranularity will apply to the
    // RepricingConfig.EntitlementGranularity.entitlement. This is the recommended
    // value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig.
    EntitlementGranularity *GoogleCloudChannelV1RepricingConfigEntitlementGranularity `json:"entitlementGranularity,omitempty"`
    // RebillingBasis: Required. The RebillingBasis to use for this bill. Specifies
    // the relative cost based on repricing costs you will apply.
    //
    // Possible values:
    //   "REBILLING_BASIS_UNSPECIFIED" - Not used.
    //   "COST_AT_LIST" - Use the list cost, also known as the MSRP.
    //   "DIRECT_CUSTOMER_COST" - Pass through all discounts except the Reseller
    // Program Discount. If this is the default cost base and no adjustments are
    // specified, the output cost will be exactly what the customer would see if
    // they viewed the bill in the Google Cloud Console.
    RebillingBasis string `json:"rebillingBasis,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Adjustment") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Adjustment") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RepricingConfig) MarshalJSON

func (s *GoogleCloudChannelV1RepricingConfig) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity

GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity: Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use RepricingConfig.EntitlementGranularity instead.

type GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity struct {
}

type GoogleCloudChannelV1RepricingConfigEntitlementGranularity

GoogleCloudChannelV1RepricingConfigEntitlementGranularity: Applies the repricing configuration at the entitlement level.

type GoogleCloudChannelV1RepricingConfigEntitlementGranularity struct {
    // Entitlement: Resource name of the entitlement. Format:
    // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    Entitlement string `json:"entitlement,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlement") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlement") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RepricingConfigEntitlementGranularity) MarshalJSON

func (s *GoogleCloudChannelV1RepricingConfigEntitlementGranularity) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Row

GoogleCloudChannelV1Row: A row of report values.

type GoogleCloudChannelV1Row struct {
    // PartitionKey: The key for the partition this row belongs to. This field is
    // empty if the report is not partitioned.
    PartitionKey string `json:"partitionKey,omitempty"`
    // Values: The list of values in the row.
    Values []*GoogleCloudChannelV1ReportValue `json:"values,omitempty"`
    // ForceSendFields is a list of field names (e.g. "PartitionKey") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "PartitionKey") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Row) MarshalJSON

func (s *GoogleCloudChannelV1Row) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RunReportJobRequest

GoogleCloudChannelV1RunReportJobRequest: Request message for CloudChannelReportsService.RunReportJob.

type GoogleCloudChannelV1RunReportJobRequest struct {
    // DateRange: Optional. The range of usage or invoice dates to include in the
    // result.
    DateRange *GoogleCloudChannelV1DateRange `json:"dateRange,omitempty"`
    // Filter: Optional. A structured string that defines conditions on dimension
    // columns to restrict the report output. Filters support logical operators
    // (AND, OR, NOT) and conditional operators (=, !=, <, >, <=, and >=) using
    // `column_id` as keys. For example:
    // `(customer:"accounts/C123abc/customers/S456def" OR
    // customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year
    // >= 2022`
    Filter string `json:"filter,omitempty"`
    // LanguageCode: Optional. The BCP-47 language code, such as "en-US". If
    // specified, the response is localized to the corresponding language code if
    // the original data sources support it. Default is "en-US".
    LanguageCode string `json:"languageCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DateRange") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DateRange") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RunReportJobRequest) MarshalJSON

func (s *GoogleCloudChannelV1RunReportJobRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1RunReportJobResponse

GoogleCloudChannelV1RunReportJobResponse: Response message for CloudChannelReportsService.RunReportJob.

type GoogleCloudChannelV1RunReportJobResponse struct {
    // ReportJob: Pass `report_job.name` to FetchReportResultsRequest.report_job to
    // retrieve the report's results.
    ReportJob *GoogleCloudChannelV1ReportJob `json:"reportJob,omitempty"`
    // ReportMetadata: The metadata for the report's results (display name,
    // columns, row count, and date range). If you view this before the operation
    // finishes, you may see incomplete data.
    ReportMetadata *GoogleCloudChannelV1ReportResultsMetadata `json:"reportMetadata,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ReportJob") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ReportJob") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1RunReportJobResponse) MarshalJSON

func (s *GoogleCloudChannelV1RunReportJobResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Sku

GoogleCloudChannelV1Sku: Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs.

type GoogleCloudChannelV1Sku struct {
    // MarketingInfo: Marketing information for the SKU.
    MarketingInfo *GoogleCloudChannelV1MarketingInfo `json:"marketingInfo,omitempty"`
    // Name: Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id}
    Name string `json:"name,omitempty"`
    // Product: Product the SKU is associated with.
    Product *GoogleCloudChannelV1Product `json:"product,omitempty"`
    // ForceSendFields is a list of field names (e.g. "MarketingInfo") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "MarketingInfo") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Sku) MarshalJSON

func (s *GoogleCloudChannelV1Sku) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1SkuGroup

GoogleCloudChannelV1SkuGroup: Represents the SKU group information.

type GoogleCloudChannelV1SkuGroup struct {
    // DisplayName: Unique human readable identifier for the SKU group.
    DisplayName string `json:"displayName,omitempty"`
    // Name: Resource name of SKU group. Format:
    // accounts/{account}/skuGroups/{sku_group}. Example:
    // "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DisplayName") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DisplayName") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1SkuGroup) MarshalJSON

func (s *GoogleCloudChannelV1SkuGroup) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1SkuGroupCondition

GoogleCloudChannelV1SkuGroupCondition: A condition that applies the override if a line item SKU is found in the SKU group.

type GoogleCloudChannelV1SkuGroupCondition struct {
    // SkuGroup: Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
    // Resource name of SKU group. Format:
    // accounts/{account}/skuGroups/{sku_group}. Example:
    // "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
    SkuGroup string `json:"skuGroup,omitempty"`
    // ForceSendFields is a list of field names (e.g. "SkuGroup") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SkuGroup") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1SkuGroupCondition) MarshalJSON

func (s *GoogleCloudChannelV1SkuGroupCondition) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1SkuPurchaseGroup

GoogleCloudChannelV1SkuPurchaseGroup: Represents a set of SKUs that must be purchased using the same billing account.

type GoogleCloudChannelV1SkuPurchaseGroup struct {
    // BillingAccountPurchaseInfos: List of billing accounts that are eligible to
    // purhcase these SKUs.
    BillingAccountPurchaseInfos []*GoogleCloudChannelV1BillingAccountPurchaseInfo `json:"billingAccountPurchaseInfos,omitempty"`
    // Skus: Resource names of the SKUs included in this group. Format:
    // products/{product_id}/skus/{sku_id}.
    Skus []string `json:"skus,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "BillingAccountPurchaseInfos") to unconditionally include in API requests.
    // By default, fields with empty or default values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
    // for more details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingAccountPurchaseInfos") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1SkuPurchaseGroup) MarshalJSON

func (s *GoogleCloudChannelV1SkuPurchaseGroup) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1StartPaidServiceRequest

GoogleCloudChannelV1StartPaidServiceRequest: Request message for CloudChannelService.StartPaidService.

type GoogleCloudChannelV1StartPaidServiceRequest struct {
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RequestId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RequestId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1StartPaidServiceRequest) MarshalJSON

func (s *GoogleCloudChannelV1StartPaidServiceRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1SubscriberEvent

GoogleCloudChannelV1SubscriberEvent: Represents information which resellers will get as part of notification from Pub/Sub.

type GoogleCloudChannelV1SubscriberEvent struct {
    // CustomerEvent: Customer event sent as part of Pub/Sub event to partners.
    CustomerEvent *GoogleCloudChannelV1CustomerEvent `json:"customerEvent,omitempty"`
    // EntitlementEvent: Entitlement event sent as part of Pub/Sub event to
    // partners.
    EntitlementEvent *GoogleCloudChannelV1EntitlementEvent `json:"entitlementEvent,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CustomerEvent") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CustomerEvent") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1SubscriberEvent) MarshalJSON

func (s *GoogleCloudChannelV1SubscriberEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1SuspendEntitlementRequest

GoogleCloudChannelV1SuspendEntitlementRequest: Request message for CloudChannelService.SuspendEntitlement.

type GoogleCloudChannelV1SuspendEntitlementRequest struct {
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RequestId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RequestId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1SuspendEntitlementRequest) MarshalJSON

func (s *GoogleCloudChannelV1SuspendEntitlementRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TransferEligibility

GoogleCloudChannelV1TransferEligibility: Specifies transfer eligibility of a SKU.

type GoogleCloudChannelV1TransferEligibility struct {
    // Description: Localized description if reseller is not eligible to transfer
    // the SKU.
    Description string `json:"description,omitempty"`
    // IneligibilityReason: Specified the reason for ineligibility.
    //
    // Possible values:
    //   "REASON_UNSPECIFIED" - Not used.
    //   "PENDING_TOS_ACCEPTANCE" - Reseller needs to accept TOS before
    // transferring the SKU.
    //   "SKU_NOT_ELIGIBLE" - Reseller not eligible to sell the SKU.
    //   "SKU_SUSPENDED" - SKU subscription is suspended
    //   "CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU" - The reseller is not authorized
    // to transact on this Product. See
    // https://support.google.com/channelservices/answer/9759265
    IneligibilityReason string `json:"ineligibilityReason,omitempty"`
    // IsEligible: Whether reseller is eligible to transfer the SKU.
    IsEligible bool `json:"isEligible,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Description") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Description") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TransferEligibility) MarshalJSON

func (s *GoogleCloudChannelV1TransferEligibility) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TransferEntitlementsRequest

GoogleCloudChannelV1TransferEntitlementsRequest: Request message for CloudChannelService.TransferEntitlements.

type GoogleCloudChannelV1TransferEntitlementsRequest struct {
    // AuthToken: The super admin of the resold customer generates this token to
    // authorize a reseller to access their Cloud Identity and purchase
    // entitlements on their behalf. You can omit this token after authorization.
    // See https://support.google.com/a/answer/7643790 for more details.
    AuthToken string `json:"authToken,omitempty"`
    // Entitlements: Required. The new entitlements to create or transfer.
    Entitlements []*GoogleCloudChannelV1Entitlement `json:"entitlements,omitempty"`
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AuthToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AuthToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TransferEntitlementsRequest) MarshalJSON

func (s *GoogleCloudChannelV1TransferEntitlementsRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TransferEntitlementsResponse

GoogleCloudChannelV1TransferEntitlementsResponse: Response message for CloudChannelService.TransferEntitlements. This is put in the response field of google.longrunning.Operation.

type GoogleCloudChannelV1TransferEntitlementsResponse struct {
    // Entitlements: The transferred entitlements.
    Entitlements []*GoogleCloudChannelV1Entitlement `json:"entitlements,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlements") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlements") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TransferEntitlementsResponse) MarshalJSON

func (s *GoogleCloudChannelV1TransferEntitlementsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TransferEntitlementsToGoogleRequest

GoogleCloudChannelV1TransferEntitlementsToGoogleRequest: Request message for CloudChannelService.TransferEntitlementsToGoogle.

type GoogleCloudChannelV1TransferEntitlementsToGoogleRequest struct {
    // Entitlements: Required. The entitlements to transfer to Google.
    Entitlements []*GoogleCloudChannelV1Entitlement `json:"entitlements,omitempty"`
    // RequestId: Optional. You can specify an optional unique request ID, and if
    // you need to retry your request, the server will know to ignore the request
    // if it's complete. For example, you make an initial request and the request
    // times out. If you make the request again with the same request ID, the
    // server can check if it received the original operation with the same request
    // ID. If it did, it will ignore the second request. The request ID must be a
    // valid UUID (https://tools.ietf.org/html/rfc4122) with the exception that
    // zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
    RequestId string `json:"requestId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlements") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlements") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TransferEntitlementsToGoogleRequest) MarshalJSON

func (s *GoogleCloudChannelV1TransferEntitlementsToGoogleRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TransferableOffer

GoogleCloudChannelV1TransferableOffer: TransferableOffer represents an Offer that can be used in Transfer. Read-only.

type GoogleCloudChannelV1TransferableOffer struct {
    // Offer: Offer with parameter constraints updated to allow the Transfer.
    Offer *GoogleCloudChannelV1Offer `json:"offer,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Offer") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Offer") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TransferableOffer) MarshalJSON

func (s *GoogleCloudChannelV1TransferableOffer) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TransferableSku

GoogleCloudChannelV1TransferableSku: TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only.

type GoogleCloudChannelV1TransferableSku struct {
    // LegacySku: Optional. The customer to transfer has an entitlement with the
    // populated legacy SKU.
    LegacySku *GoogleCloudChannelV1Sku `json:"legacySku,omitempty"`
    // Sku: The SKU pertaining to the provisioning resource as specified in the
    // Offer.
    Sku *GoogleCloudChannelV1Sku `json:"sku,omitempty"`
    // TransferEligibility: Describes the transfer eligibility of a SKU.
    TransferEligibility *GoogleCloudChannelV1TransferEligibility `json:"transferEligibility,omitempty"`
    // ForceSendFields is a list of field names (e.g. "LegacySku") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "LegacySku") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TransferableSku) MarshalJSON

func (s *GoogleCloudChannelV1TransferableSku) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1TrialSettings

GoogleCloudChannelV1TrialSettings: Settings for trial offers.

type GoogleCloudChannelV1TrialSettings struct {
    // EndTime: Date when the trial ends. The value is in milliseconds using the
    // UNIX Epoch format. See an example Epoch converter
    // (https://www.epochconverter.com).
    EndTime string `json:"endTime,omitempty"`
    // Trial: Determines if the entitlement is in a trial or not: * `true` - The
    // entitlement is in trial. * `false` - The entitlement is not in trial.
    Trial bool `json:"trial,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EndTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1TrialSettings) MarshalJSON

func (s *GoogleCloudChannelV1TrialSettings) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1UnregisterSubscriberRequest

GoogleCloudChannelV1UnregisterSubscriberRequest: Request Message for UnregisterSubscriber.

type GoogleCloudChannelV1UnregisterSubscriberRequest struct {
    // ServiceAccount: Required. Service account to unregister from subscriber
    // access to the topic.
    ServiceAccount string `json:"serviceAccount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ServiceAccount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ServiceAccount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1UnregisterSubscriberRequest) MarshalJSON

func (s *GoogleCloudChannelV1UnregisterSubscriberRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1UnregisterSubscriberResponse

GoogleCloudChannelV1UnregisterSubscriberResponse: Response Message for UnregisterSubscriber.

type GoogleCloudChannelV1UnregisterSubscriberResponse struct {
    // Topic: Name of the topic the service account subscriber access was removed
    // from.
    Topic string `json:"topic,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Topic") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Topic") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1UnregisterSubscriberResponse) MarshalJSON

func (s *GoogleCloudChannelV1UnregisterSubscriberResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1UpdateChannelPartnerLinkRequest

GoogleCloudChannelV1UpdateChannelPartnerLinkRequest: Request message for CloudChannelService.UpdateChannelPartnerLink

type GoogleCloudChannelV1UpdateChannelPartnerLinkRequest struct {
    // ChannelPartnerLink: Required. The channel partner link to update. Only
    // channel_partner_link.link_state is allowed for updates.
    ChannelPartnerLink *GoogleCloudChannelV1ChannelPartnerLink `json:"channelPartnerLink,omitempty"`
    // UpdateMask: Required. The update mask that applies to the resource. The only
    // allowable value for an update mask is channel_partner_link.link_state.
    UpdateMask string `json:"updateMask,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ChannelPartnerLink") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ChannelPartnerLink") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1UpdateChannelPartnerLinkRequest) MarshalJSON

func (s *GoogleCloudChannelV1UpdateChannelPartnerLinkRequest) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1Value

GoogleCloudChannelV1Value: Data type and value of a parameter.

type GoogleCloudChannelV1Value struct {
    // BoolValue: Represents a boolean value.
    BoolValue bool `json:"boolValue,omitempty"`
    // DoubleValue: Represents a double value.
    DoubleValue float64 `json:"doubleValue,omitempty"`
    // Int64Value: Represents an int64 value.
    Int64Value int64 `json:"int64Value,omitempty,string"`
    // ProtoValue: Represents an 'Any' proto value.
    ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
    // StringValue: Represents a string value.
    StringValue string `json:"stringValue,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BoolValue") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BoolValue") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1Value) MarshalJSON

func (s *GoogleCloudChannelV1Value) MarshalJSON() ([]byte, error)

func (*GoogleCloudChannelV1Value) UnmarshalJSON

func (s *GoogleCloudChannelV1Value) UnmarshalJSON(data []byte) error

type GoogleCloudChannelV1alpha1AssociationInfo

GoogleCloudChannelV1alpha1AssociationInfo: Association links that an entitlement has to other entitlements.

type GoogleCloudChannelV1alpha1AssociationInfo struct {
    // BaseEntitlement: The name of the base entitlement, for which this
    // entitlement is an add-on.
    BaseEntitlement string `json:"baseEntitlement,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BaseEntitlement") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BaseEntitlement") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1AssociationInfo) MarshalJSON

func (s *GoogleCloudChannelV1alpha1AssociationInfo) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1ChannelPartnerEvent

GoogleCloudChannelV1alpha1ChannelPartnerEvent: Represents Pub/Sub messages about updates to a Channel Partner. You can retrieve updated values through the ChannelPartnerLinks API.

type GoogleCloudChannelV1alpha1ChannelPartnerEvent struct {
    // ChannelPartner: Resource name for the Channel Partner Link. Channel_partner
    // uses the format:
    // accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
    ChannelPartner string `json:"channelPartner,omitempty"`
    // EventType: Type of event performed on the Channel Partner.
    //
    // Possible values:
    //   "TYPE_UNSPECIFIED" - Default value. Does not display if there are no
    // errors.
    //   "LINK_STATE_CHANGED" - The Channel Partner link state changed.
    //   "PARTNER_ADVANTAGE_INFO_CHANGED" - The Channel Partner's Partner Advantage
    // information changed. This can entail the Channel Partner's authorization to
    // sell a product in a particular region.
    EventType string `json:"eventType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ChannelPartner") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ChannelPartner") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1ChannelPartnerEvent) MarshalJSON

func (s *GoogleCloudChannelV1alpha1ChannelPartnerEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1Column

GoogleCloudChannelV1alpha1Column: The definition of a report column. Specifies the data properties in the corresponding position of the report rows.

type GoogleCloudChannelV1alpha1Column struct {
    // ColumnId: The unique name of the column (for example, customer_domain,
    // channel_partner, customer_cost). You can use column IDs in
    // RunReportJobRequest.filter. To see all reports and their columns, call
    // CloudChannelReportsService.ListReports.
    ColumnId string `json:"columnId,omitempty"`
    // DataType: The type of the values for this column.
    //
    // Possible values:
    //   "DATA_TYPE_UNSPECIFIED" - Not used.
    //   "STRING" - ReportValues for this column will use string_value.
    //   "INT" - ReportValues for this column will use int_value.
    //   "DECIMAL" - ReportValues for this column will use decimal_value.
    //   "MONEY" - ReportValues for this column will use money_value.
    //   "DATE" - ReportValues for this column will use date_value.
    //   "DATE_TIME" - ReportValues for this column will use date_time_value.
    DataType string `json:"dataType,omitempty"`
    // DisplayName: The column's display name.
    DisplayName string `json:"displayName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ColumnId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ColumnId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1Column) MarshalJSON

func (s *GoogleCloudChannelV1alpha1Column) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1CommitmentSettings

GoogleCloudChannelV1alpha1CommitmentSettings: Commitment settings for commitment-based offers.

type GoogleCloudChannelV1alpha1CommitmentSettings struct {
    // EndTime: Output only. Commitment end timestamp.
    EndTime string `json:"endTime,omitempty"`
    // RenewalSettings: Optional. Renewal settings applicable for a
    // commitment-based Offer.
    RenewalSettings *GoogleCloudChannelV1alpha1RenewalSettings `json:"renewalSettings,omitempty"`
    // StartTime: Output only. Commitment start timestamp.
    StartTime string `json:"startTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EndTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1CommitmentSettings) MarshalJSON

func (s *GoogleCloudChannelV1alpha1CommitmentSettings) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1CustomerEvent

GoogleCloudChannelV1alpha1CustomerEvent: Represents Pub/Sub message content describing customer update.

type GoogleCloudChannelV1alpha1CustomerEvent struct {
    // Customer: Resource name of the customer. Format:
    // accounts/{account_id}/customers/{customer_id}
    Customer string `json:"customer,omitempty"`
    // EventType: Type of event which happened on the customer.
    //
    // Possible values:
    //   "TYPE_UNSPECIFIED" - Not used.
    //   "PRIMARY_DOMAIN_CHANGED" - Primary domain for customer was changed.
    //   "PRIMARY_DOMAIN_VERIFIED" - Primary domain of the customer has been
    // verified.
    EventType string `json:"eventType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Customer") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Customer") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1CustomerEvent) MarshalJSON

func (s *GoogleCloudChannelV1alpha1CustomerEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1DateRange

GoogleCloudChannelV1alpha1DateRange: A representation of usage or invoice date ranges.

type GoogleCloudChannelV1alpha1DateRange struct {
    // InvoiceEndDate: The latest invoice date (inclusive). If this value is not
    // the last day of a month, this will move it forward to the last day of the
    // given month.
    InvoiceEndDate *GoogleTypeDate `json:"invoiceEndDate,omitempty"`
    // InvoiceStartDate: The earliest invoice date (inclusive). If this value is
    // not the first day of a month, this will move it back to the first day of the
    // given month.
    InvoiceStartDate *GoogleTypeDate `json:"invoiceStartDate,omitempty"`
    // UsageEndDateTime: The latest usage date time (exclusive). If you use time
    // groupings (daily, weekly, etc), each group uses midnight to midnight
    // (Pacific time). The usage end date is rounded down to include all usage from
    // the specified date. We recommend that clients pass `usage_start_date_time`
    // in Pacific time.
    UsageEndDateTime *GoogleTypeDateTime `json:"usageEndDateTime,omitempty"`
    // UsageStartDateTime: The earliest usage date time (inclusive). If you use
    // time groupings (daily, weekly, etc), each group uses midnight to midnight
    // (Pacific time). The usage start date is rounded down to include all usage
    // from the specified date. We recommend that clients pass
    // `usage_start_date_time` in Pacific time.
    UsageStartDateTime *GoogleTypeDateTime `json:"usageStartDateTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "InvoiceEndDate") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "InvoiceEndDate") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1DateRange) MarshalJSON

func (s *GoogleCloudChannelV1alpha1DateRange) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1Entitlement

GoogleCloudChannelV1alpha1Entitlement: An entitlement is a representation of a customer's ability to use a service.

type GoogleCloudChannelV1alpha1Entitlement struct {
    // AssignedUnits: The current number of users that are assigned a license for
    // the product defined in provisioned_service.skuId. Read-only. Deprecated: Use
    // `parameters` instead.
    AssignedUnits int64 `json:"assignedUnits,omitempty"`
    // AssociationInfo: Association information to other entitlements.
    AssociationInfo *GoogleCloudChannelV1alpha1AssociationInfo `json:"associationInfo,omitempty"`
    // BillingAccount: Optional. The billing account resource name that is used to
    // pay for this entitlement.
    BillingAccount string `json:"billingAccount,omitempty"`
    // ChannelPartnerId: Cloud Identity ID of a channel partner who will be the
    // direct reseller for the customer's order. This field is generally used in
    // 2-tier ordering, where the order is placed by a top-level distributor on
    // behalf of their channel partner or reseller. Required for distributors.
    // Deprecated: `channel_partner_id` has been moved to the Customer.
    ChannelPartnerId string `json:"channelPartnerId,omitempty"`
    // CommitmentSettings: Commitment settings for a commitment-based Offer.
    // Required for commitment based offers.
    CommitmentSettings *GoogleCloudChannelV1alpha1CommitmentSettings `json:"commitmentSettings,omitempty"`
    // CreateTime: Output only. The time at which the entitlement is created.
    CreateTime string `json:"createTime,omitempty"`
    // MaxUnits: Maximum number of units for a non commitment-based Offer, such as
    // Flexible, Trial or Free entitlements. For commitment-based entitlements,
    // this is a read-only field, which only the internal support team can update.
    // Deprecated: Use `parameters` instead.
    MaxUnits int64 `json:"maxUnits,omitempty"`
    // Name: Output only. Resource name of an entitlement in the form:
    // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
    Name string `json:"name,omitempty"`
    // NumUnits: Number of units for a commitment-based Offer. For example, for
    // seat-based Offers, this would be the number of seats; for license-based
    // Offers, this would be the number of licenses. Required for creating
    // commitment-based Offers. Deprecated: Use `parameters` instead.
    NumUnits int64 `json:"numUnits,omitempty"`
    // Offer: Required. The offer resource name for which the entitlement is to be
    // created. Takes the form: accounts/{account_id}/offers/{offer_id}.
    Offer string `json:"offer,omitempty"`
    // Parameters: Extended entitlement parameters. When creating an entitlement,
    // valid parameter names and values are defined in the
    // Offer.parameter_definitions. For Google Workspace, the following Parameters
    // may be accepted as input: - max_units: The maximum assignable units for a
    // flexible offer OR - num_units: The total commitment for commitment-based
    // offers The response may additionally include the following output-only
    // Parameters: - assigned_units: The number of licenses assigned to users. For
    // Google Cloud billing subaccounts, the following Parameter may be accepted as
    // input: - display_name: The display name of the billing subaccount.
    Parameters []*GoogleCloudChannelV1alpha1Parameter `json:"parameters,omitempty"`
    // ProvisionedService: Output only. Service provisioning details for the
    // entitlement.
    ProvisionedService *GoogleCloudChannelV1alpha1ProvisionedService `json:"provisionedService,omitempty"`
    // ProvisioningState: Output only. Current provisioning state of the
    // entitlement.
    //
    // Possible values:
    //   "PROVISIONING_STATE_UNSPECIFIED" - Not used.
    //   "ACTIVE" - The entitlement is currently active.
    //   "CANCELED" - The entitlement was canceled. After an entitlement is
    // `CANCELED`, its status will not change. Deprecated: Canceled entitlements
    // will no longer be visible.
    //   "COMPLETE" - The entitlement reached end of term and was not renewed.
    // After an entitlement is `COMPLETE`, its status will not change. Deprecated:
    // This is represented as ProvisioningState=SUSPENDED and suspensionReason in
    // (TRIAL_ENDED, RENEWAL_WITH_TYPE_CANCEL)
    //   "PENDING" - The entitlement is pending. Deprecated: This is represented as
    // ProvisioningState=SUSPENDED and suspensionReason=PENDING_TOS_ACCEPTANCE
    //   "SUSPENDED" - The entitlement is currently suspended.
    ProvisioningState string `json:"provisioningState,omitempty"`
    // PurchaseOrderId: Optional. This purchase order (PO) information is for
    // resellers to use for their company tracking usage. If a purchaseOrderId
    // value is given, it appears in the API responses and shows up in the invoice.
    // The property accepts up to 80 plain text characters. This is only supported
    // for Google Workspace entitlements.
    PurchaseOrderId string `json:"purchaseOrderId,omitempty"`
    // SuspensionReasons: Output only. Enumerable of all current suspension reasons
    // for an entitlement.
    //
    // Possible values:
    //   "SUSPENSION_REASON_UNSPECIFIED" - Not used.
    //   "RESELLER_INITIATED" - Entitlement was manually suspended by the Reseller.
    //   "TRIAL_ENDED" - Trial ended.
    //   "RENEWAL_WITH_TYPE_CANCEL" - Entitlement renewal was canceled.
    //   "PENDING_TOS_ACCEPTANCE" - Entitlement was automatically suspended on
    // creation for pending ToS acceptance on customer.
    //   "OTHER" - Other reasons (internal reasons, abuse, etc.).
    SuspensionReasons []string `json:"suspensionReasons,omitempty"`
    // TrialSettings: Output only. Settings for trial offers.
    TrialSettings *GoogleCloudChannelV1alpha1TrialSettings `json:"trialSettings,omitempty"`
    // UpdateTime: Output only. The time at which the entitlement is updated.
    UpdateTime string `json:"updateTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AssignedUnits") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AssignedUnits") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1Entitlement) MarshalJSON

func (s *GoogleCloudChannelV1alpha1Entitlement) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1EntitlementEvent

GoogleCloudChannelV1alpha1EntitlementEvent: Represents Pub/Sub message content describing entitlement update.

type GoogleCloudChannelV1alpha1EntitlementEvent struct {
    // Entitlement: Resource name of an entitlement of the form:
    // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
    Entitlement string `json:"entitlement,omitempty"`
    // EventType: Type of event which happened on the entitlement.
    //
    // Possible values:
    //   "TYPE_UNSPECIFIED" - Not used.
    //   "CREATED" - A new entitlement was created.
    //   "PRICE_PLAN_SWITCHED" - The offer type associated with an entitlement was
    // changed. This is not triggered if an entitlement converts from a commit
    // offer to a flexible offer as part of a renewal.
    //   "COMMITMENT_CHANGED" - Annual commitment for a commit plan was changed.
    //   "RENEWED" - An annual entitlement was renewed.
    //   "SUSPENDED" - Entitlement was suspended.
    //   "ACTIVATED" - Entitlement was unsuspended.
    //   "CANCELLED" - Entitlement was cancelled.
    //   "SKU_CHANGED" - Entitlement was upgraded or downgraded (e.g. from Google
    // Workspace Business Standard to Google Workspace Business Plus).
    //   "RENEWAL_SETTING_CHANGED" - The renewal settings of an entitlement has
    // changed.
    //   "PAID_SERVICE_STARTED" - Paid service has started on trial entitlement.
    //   "LICENSE_ASSIGNMENT_CHANGED" - License was assigned to or revoked from a
    // user.
    //   "LICENSE_CAP_CHANGED" - License cap was changed for the entitlement.
    EventType string `json:"eventType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlement") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlement") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1EntitlementEvent) MarshalJSON

func (s *GoogleCloudChannelV1alpha1EntitlementEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1OperationMetadata

GoogleCloudChannelV1alpha1OperationMetadata: Provides contextual information about a google.longrunning.Operation.

type GoogleCloudChannelV1alpha1OperationMetadata struct {
    // OperationType: The RPC that initiated this Long Running Operation.
    //
    // Possible values:
    //   "OPERATION_TYPE_UNSPECIFIED" - Not used.
    //   "CREATE_ENTITLEMENT" - Long Running Operation was triggered by
    // CreateEntitlement.
    //   "CHANGE_QUANTITY" - Long Running Operation was triggered by
    // ChangeQuantity.
    //   "CHANGE_RENEWAL_SETTINGS" - Long Running Operation was triggered by
    // ChangeRenewalSettings.
    //   "CHANGE_PLAN" - Long Running Operation was triggered by ChangePlan.
    //   "START_PAID_SERVICE" - Long Running Operation was triggered by
    // StartPaidService.
    //   "CHANGE_SKU" - Long Running Operation was triggered by ChangeSku.
    //   "ACTIVATE_ENTITLEMENT" - Long Running Operation was triggered by
    // ActivateEntitlement.
    //   "SUSPEND_ENTITLEMENT" - Long Running Operation was triggered by
    // SuspendEntitlement.
    //   "CANCEL_ENTITLEMENT" - Long Running Operation was triggered by
    // CancelEntitlement.
    //   "TRANSFER_ENTITLEMENTS" - Long Running Operation was triggered by
    // TransferEntitlements.
    //   "TRANSFER_ENTITLEMENTS_TO_GOOGLE" - Long Running Operation was triggered
    // by TransferEntitlementsToGoogle.
    //   "CHANGE_OFFER" - Long Running Operation was triggered by ChangeOffer.
    //   "CHANGE_PARAMETERS" - Long Running Operation was triggered by
    // ChangeParameters.
    //   "PROVISION_CLOUD_IDENTITY" - Long Running Operation was triggered by
    // ProvisionCloudIdentity.
    OperationType string `json:"operationType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "OperationType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "OperationType") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1OperationMetadata) MarshalJSON

func (s *GoogleCloudChannelV1alpha1OperationMetadata) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1Parameter

GoogleCloudChannelV1alpha1Parameter: Definition for extended entitlement parameters.

type GoogleCloudChannelV1alpha1Parameter struct {
    // Editable: Output only. Specifies whether this parameter is allowed to be
    // changed. For example, for a Google Workspace Business Starter entitlement in
    // commitment plan, num_units is editable when entitlement is active.
    Editable bool `json:"editable,omitempty"`
    // Name: Name of the parameter.
    Name string `json:"name,omitempty"`
    // Value: Value of the parameter.
    Value *GoogleCloudChannelV1alpha1Value `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Editable") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Editable") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1Parameter) MarshalJSON

func (s *GoogleCloudChannelV1alpha1Parameter) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1Period

GoogleCloudChannelV1alpha1Period: Represents period in days/months/years.

type GoogleCloudChannelV1alpha1Period struct {
    // Duration: Total duration of Period Type defined.
    Duration int64 `json:"duration,omitempty"`
    // PeriodType: Period Type.
    //
    // Possible values:
    //   "PERIOD_TYPE_UNSPECIFIED" - Not used.
    //   "DAY" - Day.
    //   "MONTH" - Month.
    //   "YEAR" - Year.
    PeriodType string `json:"periodType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Duration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Duration") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1Period) MarshalJSON

func (s *GoogleCloudChannelV1alpha1Period) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1ProvisionedService

GoogleCloudChannelV1alpha1ProvisionedService: Service provisioned for an entitlement.

type GoogleCloudChannelV1alpha1ProvisionedService struct {
    // ProductId: Output only. The product pertaining to the provisioning resource
    // as specified in the Offer.
    ProductId string `json:"productId,omitempty"`
    // ProvisioningId: Output only. Provisioning ID of the entitlement. For Google
    // Workspace, this is the underlying Subscription ID. For Google Cloud, this is
    // the Billing Account ID of the billing subaccount.
    ProvisioningId string `json:"provisioningId,omitempty"`
    // SkuId: Output only. The SKU pertaining to the provisioning resource as
    // specified in the Offer.
    SkuId string `json:"skuId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ProductId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ProductId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1ProvisionedService) MarshalJSON

func (s *GoogleCloudChannelV1alpha1ProvisionedService) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1RenewalSettings

GoogleCloudChannelV1alpha1RenewalSettings: Renewal settings for renewable Offers.

type GoogleCloudChannelV1alpha1RenewalSettings struct {
    // DisableCommitment: If true, disables commitment-based offer on renewal and
    // switches to flexible or pay as you go. Deprecated: Use `payment_plan`
    // instead.
    DisableCommitment bool `json:"disableCommitment,omitempty"`
    // EnableRenewal: If false, the plan will be completed at the end date.
    EnableRenewal bool `json:"enableRenewal,omitempty"`
    // PaymentCycle: Describes how frequently the reseller will be billed, such as
    // once per month.
    PaymentCycle *GoogleCloudChannelV1alpha1Period `json:"paymentCycle,omitempty"`
    // PaymentOption: Set if enable_renewal=true. Deprecated: Use `payment_cycle`
    // instead.
    //
    // Possible values:
    //   "PAYMENT_OPTION_UNSPECIFIED" - Not used.
    //   "ANNUAL" - Paid in yearly installments.
    //   "MONTHLY" - Paid in monthly installments.
    PaymentOption string `json:"paymentOption,omitempty"`
    // PaymentPlan: Describes how a reseller will be billed.
    //
    // Possible values:
    //   "PAYMENT_PLAN_UNSPECIFIED" - Not used.
    //   "COMMITMENT" - Commitment.
    //   "FLEXIBLE" - No commitment.
    //   "FREE" - Free.
    //   "TRIAL" - Trial.
    //   "OFFLINE" - Price and ordering not available through API.
    PaymentPlan string `json:"paymentPlan,omitempty"`
    // ResizeUnitCount: If true and enable_renewal = true, the unit (for example
    // seats or licenses) will be set to the number of active units at renewal
    // time.
    ResizeUnitCount bool `json:"resizeUnitCount,omitempty"`
    // ScheduledRenewalOffer: Output only. The offer resource name that the
    // entitlement will renew on at the end date. Takes the form:
    // accounts/{account_id}/offers/{offer_id}.
    ScheduledRenewalOffer string `json:"scheduledRenewalOffer,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DisableCommitment") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DisableCommitment") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1RenewalSettings) MarshalJSON

func (s *GoogleCloudChannelV1alpha1RenewalSettings) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1Report

GoogleCloudChannelV1alpha1Report: The ID and description of a report that was used to generate report data. For example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.

type GoogleCloudChannelV1alpha1Report struct {
    // Columns: The list of columns included in the report. This defines the schema
    // of the report results.
    Columns []*GoogleCloudChannelV1alpha1Column `json:"columns,omitempty"`
    // Description: A description of other aspects of the report, such as the
    // products it supports.
    Description string `json:"description,omitempty"`
    // DisplayName: A human-readable name for this report.
    DisplayName string `json:"displayName,omitempty"`
    // Name: Required. The report's resource name. Specifies the account and report
    // used to generate report data. The report_id identifier is a UID (for
    // example, `613bf59q`). Name uses the format:
    // accounts/{account_id}/reports/{report_id}
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Columns") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Columns") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1Report) MarshalJSON

func (s *GoogleCloudChannelV1alpha1Report) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1ReportJob

GoogleCloudChannelV1alpha1ReportJob: The result of a RunReportJob operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.

type GoogleCloudChannelV1alpha1ReportJob struct {
    // Name: Required. The resource name of a report job. Name uses the format:
    // `accounts/{account_id}/reportJobs/{report_job_id}`
    Name string `json:"name,omitempty"`
    // ReportStatus: The current status of report generation.
    ReportStatus *GoogleCloudChannelV1alpha1ReportStatus `json:"reportStatus,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Name") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Name") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1ReportJob) MarshalJSON

func (s *GoogleCloudChannelV1alpha1ReportJob) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1ReportResultsMetadata

GoogleCloudChannelV1alpha1ReportResultsMetadata: The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.

type GoogleCloudChannelV1alpha1ReportResultsMetadata struct {
    // DateRange: The date range of reported usage.
    DateRange *GoogleCloudChannelV1alpha1DateRange `json:"dateRange,omitempty"`
    // PrecedingDateRange: The usage dates immediately preceding `date_range` with
    // the same duration. Use this to calculate trending usage and costs. This is
    // only populated if you request trending data. For example, if `date_range` is
    // July 1-15, `preceding_date_range` will be June 16-30.
    PrecedingDateRange *GoogleCloudChannelV1alpha1DateRange `json:"precedingDateRange,omitempty"`
    // Report: Details of the completed report.
    Report *GoogleCloudChannelV1alpha1Report `json:"report,omitempty"`
    // RowCount: The total number of rows of data in the final report.
    RowCount int64 `json:"rowCount,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "DateRange") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DateRange") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1ReportResultsMetadata) MarshalJSON

func (s *GoogleCloudChannelV1alpha1ReportResultsMetadata) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1ReportStatus

GoogleCloudChannelV1alpha1ReportStatus: Status of a report generation process.

type GoogleCloudChannelV1alpha1ReportStatus struct {
    // EndTime: The report generation's completion time.
    EndTime string `json:"endTime,omitempty"`
    // StartTime: The report generation's start time.
    StartTime string `json:"startTime,omitempty"`
    // State: The current state of the report generation process.
    //
    // Possible values:
    //   "STATE_UNSPECIFIED" - Not used.
    //   "STARTED" - Report processing started.
    //   "WRITING" - Data generated from the report is being staged.
    //   "AVAILABLE" - Report data is available for access.
    //   "FAILED" - Report failed.
    State string `json:"state,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EndTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1ReportStatus) MarshalJSON

func (s *GoogleCloudChannelV1alpha1ReportStatus) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1RunReportJobResponse

GoogleCloudChannelV1alpha1RunReportJobResponse: Response message for CloudChannelReportsService.RunReportJob.

type GoogleCloudChannelV1alpha1RunReportJobResponse struct {
    // ReportJob: Pass `report_job.name` to FetchReportResultsRequest.report_job to
    // retrieve the report's results.
    ReportJob *GoogleCloudChannelV1alpha1ReportJob `json:"reportJob,omitempty"`
    // ReportMetadata: The metadata for the report's results (display name,
    // columns, row count, and date range). If you view this before the operation
    // finishes, you may see incomplete data.
    ReportMetadata *GoogleCloudChannelV1alpha1ReportResultsMetadata `json:"reportMetadata,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ReportJob") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ReportJob") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1RunReportJobResponse) MarshalJSON

func (s *GoogleCloudChannelV1alpha1RunReportJobResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1SubscriberEvent

GoogleCloudChannelV1alpha1SubscriberEvent: Represents information which resellers will get as part of notification from Pub/Sub.

type GoogleCloudChannelV1alpha1SubscriberEvent struct {
    // ChannelPartnerEvent: Channel Partner event sent as part of Pub/Sub event to
    // partners.
    ChannelPartnerEvent *GoogleCloudChannelV1alpha1ChannelPartnerEvent `json:"channelPartnerEvent,omitempty"`
    // CustomerEvent: Customer event sent as part of Pub/Sub event to partners.
    CustomerEvent *GoogleCloudChannelV1alpha1CustomerEvent `json:"customerEvent,omitempty"`
    // EntitlementEvent: Entitlement event sent as part of Pub/Sub event to
    // partners.
    EntitlementEvent *GoogleCloudChannelV1alpha1EntitlementEvent `json:"entitlementEvent,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ChannelPartnerEvent") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ChannelPartnerEvent") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1SubscriberEvent) MarshalJSON

func (s *GoogleCloudChannelV1alpha1SubscriberEvent) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1TransferEntitlementsResponse

GoogleCloudChannelV1alpha1TransferEntitlementsResponse: Response message for CloudChannelService.TransferEntitlements. This is put in the response field of google.longrunning.Operation.

type GoogleCloudChannelV1alpha1TransferEntitlementsResponse struct {
    // Entitlements: The transferred entitlements.
    Entitlements []*GoogleCloudChannelV1alpha1Entitlement `json:"entitlements,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Entitlements") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Entitlements") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1TransferEntitlementsResponse) MarshalJSON

func (s *GoogleCloudChannelV1alpha1TransferEntitlementsResponse) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1TrialSettings

GoogleCloudChannelV1alpha1TrialSettings: Settings for trial offers.

type GoogleCloudChannelV1alpha1TrialSettings struct {
    // EndTime: Date when the trial ends. The value is in milliseconds using the
    // UNIX Epoch format. See an example Epoch converter
    // (https://www.epochconverter.com).
    EndTime string `json:"endTime,omitempty"`
    // Trial: Determines if the entitlement is in a trial or not: * `true` - The
    // entitlement is in trial. * `false` - The entitlement is not in trial.
    Trial bool `json:"trial,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EndTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1TrialSettings) MarshalJSON

func (s *GoogleCloudChannelV1alpha1TrialSettings) MarshalJSON() ([]byte, error)

type GoogleCloudChannelV1alpha1Value

GoogleCloudChannelV1alpha1Value: Data type and value of a parameter.

type GoogleCloudChannelV1alpha1Value struct {
    // BoolValue: Represents a boolean value.
    BoolValue bool `json:"boolValue,omitempty"`
    // DoubleValue: Represents a double value.
    DoubleValue float64 `json:"doubleValue,omitempty"`
    // Int64Value: Represents an int64 value.
    Int64Value int64 `json:"int64Value,omitempty,string"`
    // ProtoValue: Represents an 'Any' proto value.
    ProtoValue googleapi.RawMessage `json:"protoValue,omitempty"`
    // StringValue: Represents a string value.
    StringValue string `json:"stringValue,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BoolValue") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BoolValue") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleCloudChannelV1alpha1Value) MarshalJSON

func (s *GoogleCloudChannelV1alpha1Value) MarshalJSON() ([]byte, error)

func (*GoogleCloudChannelV1alpha1Value) UnmarshalJSON

func (s *GoogleCloudChannelV1alpha1Value) UnmarshalJSON(data []byte) error

type GoogleLongrunningCancelOperationRequest

GoogleLongrunningCancelOperationRequest: The request message for Operations.CancelOperation.

type GoogleLongrunningCancelOperationRequest struct {
}

type GoogleLongrunningListOperationsResponse

GoogleLongrunningListOperationsResponse: The response message for Operations.ListOperations.

type GoogleLongrunningListOperationsResponse struct {
    // NextPageToken: The standard List next-page token.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Operations: A list of operations that matches the specified filter in the
    // request.
    Operations []*GoogleLongrunningOperation `json:"operations,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleLongrunningListOperationsResponse) MarshalJSON

func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)

type GoogleLongrunningOperation

GoogleLongrunningOperation: This resource represents a long-running operation that is the result of a network API call.

type GoogleLongrunningOperation struct {
    // Done: If the value is `false`, it means the operation is still in progress.
    // If `true`, the operation is completed, and either `error` or `response` is
    // available.
    Done bool `json:"done,omitempty"`
    // Error: The error result of the operation in case of failure or cancellation.
    Error *GoogleRpcStatus `json:"error,omitempty"`
    // Metadata: Service-specific metadata associated with the operation. It
    // typically contains progress information and common metadata such as create
    // time. Some services might not provide such metadata. Any method that returns
    // a long-running operation should document the metadata type, if any.
    Metadata googleapi.RawMessage `json:"metadata,omitempty"`
    // Name: The server-assigned name, which is only unique within the same service
    // that originally returns it. If you use the default HTTP mapping, the `name`
    // should be a resource name ending with `operations/{unique_id}`.
    Name string `json:"name,omitempty"`
    // Response: The normal, successful response of the operation. If the original
    // method returns no data on success, such as `Delete`, the response is
    // `google.protobuf.Empty`. If the original method is standard
    // `Get`/`Create`/`Update`, the response should be the resource. For other
    // methods, the response should have the type `XxxResponse`, where `Xxx` is the
    // original method name. For example, if the original method name is
    // `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
    Response googleapi.RawMessage `json:"response,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Done") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Done") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleLongrunningOperation) MarshalJSON

func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)

type GoogleProtobufEmpty

GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type GoogleProtobufEmpty struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type GoogleRpcStatus

GoogleRpcStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

type GoogleRpcStatus struct {
    // Code: The status code, which should be an enum value of google.rpc.Code.
    Code int64 `json:"code,omitempty"`
    // Details: A list of messages that carry the error details. There is a common
    // set of message types for APIs to use.
    Details []googleapi.RawMessage `json:"details,omitempty"`
    // Message: A developer-facing error message, which should be in English. Any
    // user-facing error message should be localized and sent in the
    // google.rpc.Status.details field, or localized by the client.
    Message string `json:"message,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Code") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Code") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleRpcStatus) MarshalJSON

func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)

type GoogleTypeDate

GoogleTypeDate: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

type GoogleTypeDate struct {
    // Day: Day of a month. Must be from 1 to 31 and valid for the year and month,
    // or 0 to specify a year by itself or a year and month where the day isn't
    // significant.
    Day int64 `json:"day,omitempty"`
    // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year without
    // a month and day.
    Month int64 `json:"month,omitempty"`
    // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a date
    // without a year.
    Year int64 `json:"year,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Day") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Day") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleTypeDate) MarshalJSON

func (s *GoogleTypeDate) MarshalJSON() ([]byte, error)

type GoogleTypeDateTime

GoogleTypeDateTime: Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.

type GoogleTypeDateTime struct {
    // Day: Optional. Day of month. Must be from 1 to 31 and valid for the year and
    // month, or 0 if specifying a datetime without a day.
    Day int64 `json:"day,omitempty"`
    // Hours: Optional. Hours of day in 24 hour format. Should be from 0 to 23,
    // defaults to 0 (midnight). An API may choose to allow the value "24:00:00"
    // for scenarios like business closing time.
    Hours int64 `json:"hours,omitempty"`
    // Minutes: Optional. Minutes of hour of day. Must be from 0 to 59, defaults to
    // 0.
    Minutes int64 `json:"minutes,omitempty"`
    // Month: Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
    // datetime without a month.
    Month int64 `json:"month,omitempty"`
    // Nanos: Optional. Fractions of seconds in nanoseconds. Must be from 0 to
    // 999,999,999, defaults to 0.
    Nanos int64 `json:"nanos,omitempty"`
    // Seconds: Optional. Seconds of minutes of the time. Must normally be from 0
    // to 59, defaults to 0. An API may allow the value 60 if it allows
    // leap-seconds.
    Seconds int64 `json:"seconds,omitempty"`
    // TimeZone: Time zone.
    TimeZone *GoogleTypeTimeZone `json:"timeZone,omitempty"`
    // UtcOffset: UTC offset. Must be whole seconds, between -18 hours and +18
    // hours. For example, a UTC offset of -4:00 would be represented as { seconds:
    // -14400 }.
    UtcOffset string `json:"utcOffset,omitempty"`
    // Year: Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
    // datetime without a year.
    Year int64 `json:"year,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Day") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Day") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleTypeDateTime) MarshalJSON

func (s *GoogleTypeDateTime) MarshalJSON() ([]byte, error)

type GoogleTypeDecimal

GoogleTypeDecimal: A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html

type GoogleTypeDecimal struct {
    // Value: The decimal value, as a string. The string representation consists of
    // an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence
    // of zero or more decimal digits ("the integer"), optionally followed by a
    // fraction, optionally followed by an exponent. An empty string **should** be
    // interpreted as `0`. The fraction consists of a decimal point followed by
    // zero or more decimal digits. The string must contain at least one digit in
    // either the integer or the fraction. The number formed by the sign, the
    // integer and the fraction is referred to as the significand. The exponent
    // consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one
    // or more decimal digits. Services **should** normalize decimal values before
    // storing them by: - Removing an explicitly-provided `+` sign (`+2.5` ->
    // `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). -
    // Coercing the exponent character to upper-case, with explicit sign (`2.5e8`
    // -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` ->
    // `2.5`). Services **may** perform additional normalization based on its own
    // needs and the internal decimal implementation selected, such as shifting the
    // decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
    // Additionally, services **may** preserve trailing zeroes in the fraction to
    // indicate increased precision, but are not required to do so. Note that only
    // the `.` character is supported to divide the integer and the fraction; `,`
    // **should not** be supported regardless of locale. Additionally, thousand
    // separators **should not** be supported. If a service does support them,
    // values **must** be normalized. The ENBF grammar is: DecimalString = '' |
    // [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' |
    // [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' |
    // '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should**
    // clearly document the range of supported values, the maximum supported
    // precision (total number of digits), and, if applicable, the scale (number of
    // digits after the decimal point), as well as how it behaves when receiving
    // out-of-bounds values. Services **may** choose to accept values passed as
    // input even when the value has a higher precision or scale than the service
    // supports, and **should** round the value to fit the supported scale.
    // Alternatively, the service **may** error with `400 Bad Request`
    // (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
    // error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service
    // receives a value outside of the supported range.
    Value string `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Value") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Value") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleTypeDecimal) MarshalJSON

func (s *GoogleTypeDecimal) MarshalJSON() ([]byte, error)

type GoogleTypeMoney

GoogleTypeMoney: Represents an amount of money with its currency type.

type GoogleTypeMoney struct {
    // CurrencyCode: The three-letter currency code defined in ISO 4217.
    CurrencyCode string `json:"currencyCode,omitempty"`
    // Nanos: Number of nano (10^-9) units of the amount. The value must be between
    // -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos`
    // must be positive or zero. If `units` is zero, `nanos` can be positive, zero,
    // or negative. If `units` is negative, `nanos` must be negative or zero. For
    // example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
    Nanos int64 `json:"nanos,omitempty"`
    // Units: The whole units of the amount. For example if `currencyCode` is
    // "USD", then 1 unit is one US dollar.
    Units int64 `json:"units,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "CurrencyCode") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CurrencyCode") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleTypeMoney) MarshalJSON

func (s *GoogleTypeMoney) MarshalJSON() ([]byte, error)

type GoogleTypePostalAddress

GoogleTypePostalAddress: Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478

type GoogleTypePostalAddress struct {
    // AddressLines: Unstructured address lines describing the lower levels of an
    // address. Because values in address_lines do not have type information and
    // may sometimes contain multiple values in a single field (e.g. "Austin, TX"),
    // it is important that the line order is clear. The order of address lines
    // should be "envelope order" for the country/region of the address. In places
    // where this can vary (e.g. Japan), address_language is used to make it
    // explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for
    // small-to-large). This way, the most specific line of an address can be
    // selected based on the language. The minimum permitted structural
    // representation of an address consists of a region_code with all remaining
    // information placed in the address_lines. It would be possible to format such
    // an address very approximately without geocoding, but no semantic reasoning
    // could be made about any of the address components until it was at least
    // partially resolved. Creating an address only containing a region_code and
    // address_lines, and then geocoding is the recommended way to handle
    // completely unstructured addresses (as opposed to guessing which parts of the
    // address should be localities or administrative areas).
    AddressLines []string `json:"addressLines,omitempty"`
    // AdministrativeArea: Optional. Highest administrative subdivision which is
    // used for postal addresses of a country or region. For example, this can be a
    // state, a province, an oblast, or a prefecture. Specifically, for Spain this
    // is the province and not the autonomous community (e.g. "Barcelona" and not
    // "Catalonia"). Many countries don't use an administrative area in postal
    // addresses. E.g. in Switzerland this should be left unpopulated.
    AdministrativeArea string `json:"administrativeArea,omitempty"`
    // LanguageCode: Optional. BCP-47 language code of the contents of this address
    // (if known). This is often the UI language of the input form or is expected
    // to match one of the languages used in the address' country/region, or their
    // transliterated equivalents. This can affect formatting in certain countries,
    // but is not critical to the correctness of the data and will never affect any
    // validation or other non-formatting related operations. If this value is not
    // known, it should be omitted (rather than specifying a possibly incorrect
    // default). Examples: "zh-Hant", "ja", "ja-Latn", "en".
    LanguageCode string `json:"languageCode,omitempty"`
    // Locality: Optional. Generally refers to the city/town portion of the
    // address. Examples: US city, IT comune, UK post town. In regions of the world
    // where localities are not well defined or do not fit into this structure
    // well, leave locality empty and use address_lines.
    Locality string `json:"locality,omitempty"`
    // Organization: Optional. The name of the organization at the address.
    Organization string `json:"organization,omitempty"`
    // PostalCode: Optional. Postal code of the address. Not all countries use or
    // require postal codes to be present, but where they are used, they may
    // trigger additional validation with other parts of the address (e.g.
    // state/zip validation in the U.S.A.).
    PostalCode string `json:"postalCode,omitempty"`
    // Recipients: Optional. The recipient at the address. This field may, under
    // certain circumstances, contain multiline information. For example, it might
    // contain "care of" information.
    Recipients []string `json:"recipients,omitempty"`
    // RegionCode: Required. CLDR region code of the country/region of the address.
    // This is never inferred and it is up to the user to ensure the value is
    // correct. See https://cldr.unicode.org/ and
    // https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
    // for details. Example: "CH" for Switzerland.
    RegionCode string `json:"regionCode,omitempty"`
    // Revision: The schema revision of the `PostalAddress`. This must be set to 0,
    // which is the latest revision. All new revisions **must** be backward
    // compatible with old revisions.
    Revision int64 `json:"revision,omitempty"`
    // SortingCode: Optional. Additional, country-specific, sorting code. This is
    // not used in most regions. Where it is used, the value is either a string
    // like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a
    // number alone, representing the "sector code" (Jamaica), "delivery area
    // indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
    SortingCode string `json:"sortingCode,omitempty"`
    // Sublocality: Optional. Sublocality of the address. For example, this can be
    // neighborhoods, boroughs, districts.
    Sublocality string `json:"sublocality,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AddressLines") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AddressLines") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleTypePostalAddress) MarshalJSON

func (s *GoogleTypePostalAddress) MarshalJSON() ([]byte, error)

type GoogleTypeTimeZone

GoogleTypeTimeZone: Represents a time zone from the IANA Time Zone Database (https://www.iana.org/time-zones).

type GoogleTypeTimeZone struct {
    // Id: IANA Time Zone Database time zone, e.g. "America/New_York".
    Id string `json:"id,omitempty"`
    // Version: Optional. IANA Time Zone Database version number, e.g. "2019a".
    Version string `json:"version,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Id") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Id") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GoogleTypeTimeZone) MarshalJSON

func (s *GoogleTypeTimeZone) MarshalJSON() ([]byte, error)

type OperationsCancelCall

type OperationsCancelCall struct {
    // contains filtered or unexported fields
}

func (*OperationsCancelCall) Context

func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall

Context sets the context to be used in this call's Do method.

func (*OperationsCancelCall) Do

func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudchannel.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsCancelCall) Fields

func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*OperationsCancelCall) Header

func (c *OperationsCancelCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type OperationsDeleteCall

type OperationsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*OperationsDeleteCall) Context

func (c *OperationsDeleteCall) Context(ctx context.Context) *OperationsDeleteCall

Context sets the context to be used in this call's Do method.

func (*OperationsDeleteCall) Do

func (c *OperationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)

Do executes the "cloudchannel.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsDeleteCall) Fields

func (c *OperationsDeleteCall) Fields(s ...googleapi.Field) *OperationsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*OperationsDeleteCall) Header

func (c *OperationsDeleteCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type OperationsGetCall

type OperationsGetCall struct {
    // contains filtered or unexported fields
}

func (*OperationsGetCall) Context

func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall

Context sets the context to be used in this call's Do method.

func (*OperationsGetCall) Do

func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)

Do executes the "cloudchannel.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsGetCall) Fields

func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*OperationsGetCall) Header

func (c *OperationsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*OperationsGetCall) IfNoneMatch

func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type OperationsListCall

type OperationsListCall struct {
    // contains filtered or unexported fields
}

func (*OperationsListCall) Context

func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall

Context sets the context to be used in this call's Do method.

func (*OperationsListCall) Do

func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)

Do executes the "cloudchannel.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*OperationsListCall) Fields

func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*OperationsListCall) Filter

func (c *OperationsListCall) Filter(filter string) *OperationsListCall

Filter sets the optional parameter "filter": The standard list filter.

func (*OperationsListCall) Header

func (c *OperationsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*OperationsListCall) IfNoneMatch

func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*OperationsListCall) PageSize

func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*OperationsListCall) PageToken

func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*OperationsListCall) Pages

func (c *OperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type OperationsService

type OperationsService struct {
    // contains filtered or unexported fields
}

func NewOperationsService

func NewOperationsService(s *Service) *OperationsService

func (*OperationsService) Cancel

func (r *OperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *OperationsCancelCall

Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*OperationsService) Delete

func (r *OperationsService) Delete(name string) *OperationsDeleteCall

Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*OperationsService) Get

func (r *OperationsService) Get(name string) *OperationsGetCall

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*OperationsService) List

func (r *OperationsService) List(name string) *OperationsListCall

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProductsListCall

type ProductsListCall struct {
    // contains filtered or unexported fields
}

func (*ProductsListCall) Account

func (c *ProductsListCall) Account(account string) *ProductsListCall

Account sets the optional parameter "account": Required. The resource name of the reseller account. Format: accounts/{account_id}.

func (*ProductsListCall) Context

func (c *ProductsListCall) Context(ctx context.Context) *ProductsListCall

Context sets the context to be used in this call's Do method.

func (*ProductsListCall) Do

func (c *ProductsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListProductsResponse, error)

Do executes the "cloudchannel.products.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListProductsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProductsListCall) Fields

func (c *ProductsListCall) Fields(s ...googleapi.Field) *ProductsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProductsListCall) Header

func (c *ProductsListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProductsListCall) IfNoneMatch

func (c *ProductsListCall) IfNoneMatch(entityTag string) *ProductsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProductsListCall) LanguageCode

func (c *ProductsListCall) LanguageCode(languageCode string) *ProductsListCall

LanguageCode sets the optional parameter "languageCode": The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

func (*ProductsListCall) PageSize

func (c *ProductsListCall) PageSize(pageSize int64) *ProductsListCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Products. The maximum value is 1000; the server will coerce values above 1000.

func (*ProductsListCall) PageToken

func (c *ProductsListCall) PageToken(pageToken string) *ProductsListCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page.

func (*ProductsListCall) Pages

func (c *ProductsListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListProductsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProductsService

type ProductsService struct {
    Skus *ProductsSkusService
    // contains filtered or unexported fields
}

func NewProductsService

func NewProductsService(s *Service) *ProductsService

func (*ProductsService) List

func (r *ProductsService) List() *ProductsListCall

List: Lists the Products the reseller is authorized to sell. Possible error codes: * INVALID_ARGUMENT: Required request parameters are missing or invalid.

type ProductsSkusListCall

type ProductsSkusListCall struct {
    // contains filtered or unexported fields
}

func (*ProductsSkusListCall) Account

func (c *ProductsSkusListCall) Account(account string) *ProductsSkusListCall

Account sets the optional parameter "account": Required. Resource name of the reseller. Format: accounts/{account_id}.

func (*ProductsSkusListCall) Context

func (c *ProductsSkusListCall) Context(ctx context.Context) *ProductsSkusListCall

Context sets the context to be used in this call's Do method.

func (*ProductsSkusListCall) Do

func (c *ProductsSkusListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudChannelV1ListSkusResponse, error)

Do executes the "cloudchannel.products.skus.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudChannelV1ListSkusResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProductsSkusListCall) Fields

func (c *ProductsSkusListCall) Fields(s ...googleapi.Field) *ProductsSkusListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProductsSkusListCall) Header

func (c *ProductsSkusListCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProductsSkusListCall) IfNoneMatch

func (c *ProductsSkusListCall) IfNoneMatch(entityTag string) *ProductsSkusListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProductsSkusListCall) LanguageCode

func (c *ProductsSkusListCall) LanguageCode(languageCode string) *ProductsSkusListCall

LanguageCode sets the optional parameter "languageCode": The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

func (*ProductsSkusListCall) PageSize

func (c *ProductsSkusListCall) PageSize(pageSize int64) *ProductsSkusListCall

PageSize sets the optional parameter "pageSize": Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

func (*ProductsSkusListCall) PageToken

func (c *ProductsSkusListCall) PageToken(pageToken string) *ProductsSkusListCall

PageToken sets the optional parameter "pageToken": A token for a page of results other than the first page. Optional.

func (*ProductsSkusListCall) Pages

func (c *ProductsSkusListCall) Pages(ctx context.Context, f func(*GoogleCloudChannelV1ListSkusResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProductsSkusService

type ProductsSkusService struct {
    // contains filtered or unexported fields
}

func NewProductsSkusService

func NewProductsSkusService(s *Service) *ProductsSkusService

func (*ProductsSkusService) List

func (r *ProductsSkusService) List(parent string) *ProductsSkusListCall

List: Lists the SKUs for a product the reseller is authorized to sell. Possible error codes: * INVALID_ARGUMENT: Required request parameters are missing or invalid.

type Service

type Service struct {
    BasePath  string // API endpoint base URL
    UserAgent string // optional additional User-Agent fragment

    Accounts *AccountsService

    Operations *OperationsService

    Products *ProductsService
    // contains filtered or unexported fields
}

func New

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.