Documentation ¶
Index ¶
- Variables
- func RegisterCloudChannelServiceServer(s *grpc.Server, srv CloudChannelServiceServer)
- type ActivateEntitlementRequest
- func (*ActivateEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateEntitlementRequest) GetName() string
- func (x *ActivateEntitlementRequest) GetRequestId() string
- func (*ActivateEntitlementRequest) ProtoMessage()
- func (x *ActivateEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateEntitlementRequest) Reset()
- func (x *ActivateEntitlementRequest) String() string
- type AdminUser
- func (*AdminUser) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUser) GetEmail() string
- func (x *AdminUser) GetFamilyName() string
- func (x *AdminUser) GetGivenName() string
- func (*AdminUser) ProtoMessage()
- func (x *AdminUser) ProtoReflect() protoreflect.Message
- func (x *AdminUser) Reset()
- func (x *AdminUser) String() string
- type AssociationInfo
- type CancelEntitlementRequest
- func (*CancelEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelEntitlementRequest) GetName() string
- func (x *CancelEntitlementRequest) GetRequestId() string
- func (*CancelEntitlementRequest) ProtoMessage()
- func (x *CancelEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *CancelEntitlementRequest) Reset()
- func (x *CancelEntitlementRequest) String() string
- type ChangeOfferRequest
- func (*ChangeOfferRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeOfferRequest) GetName() string
- func (x *ChangeOfferRequest) GetOffer() string
- func (x *ChangeOfferRequest) GetParameters() []*Parameter
- func (x *ChangeOfferRequest) GetPurchaseOrderId() string
- func (x *ChangeOfferRequest) GetRequestId() string
- func (*ChangeOfferRequest) ProtoMessage()
- func (x *ChangeOfferRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeOfferRequest) Reset()
- func (x *ChangeOfferRequest) String() string
- type ChangeParametersRequest
- func (*ChangeParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeParametersRequest) GetName() string
- func (x *ChangeParametersRequest) GetParameters() []*Parameter
- func (x *ChangeParametersRequest) GetPurchaseOrderId() string
- func (x *ChangeParametersRequest) GetRequestId() string
- func (*ChangeParametersRequest) ProtoMessage()
- func (x *ChangeParametersRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeParametersRequest) Reset()
- func (x *ChangeParametersRequest) String() string
- type ChangeRenewalSettingsRequest
- func (*ChangeRenewalSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeRenewalSettingsRequest) GetName() string
- func (x *ChangeRenewalSettingsRequest) GetRenewalSettings() *RenewalSettings
- func (x *ChangeRenewalSettingsRequest) GetRequestId() string
- func (*ChangeRenewalSettingsRequest) ProtoMessage()
- func (x *ChangeRenewalSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeRenewalSettingsRequest) Reset()
- func (x *ChangeRenewalSettingsRequest) String() string
- type ChannelPartnerLink
- func (*ChannelPartnerLink) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelPartnerLink) GetChannelPartnerCloudIdentityInfo() *CloudIdentityInfo
- func (x *ChannelPartnerLink) GetCreateTime() *timestamppb.Timestamp
- func (x *ChannelPartnerLink) GetInviteLinkUri() string
- func (x *ChannelPartnerLink) GetLinkState() ChannelPartnerLinkState
- func (x *ChannelPartnerLink) GetName() string
- func (x *ChannelPartnerLink) GetPublicId() string
- func (x *ChannelPartnerLink) GetResellerCloudIdentityId() string
- func (x *ChannelPartnerLink) GetUpdateTime() *timestamppb.Timestamp
- func (*ChannelPartnerLink) ProtoMessage()
- func (x *ChannelPartnerLink) ProtoReflect() protoreflect.Message
- func (x *ChannelPartnerLink) Reset()
- func (x *ChannelPartnerLink) String() string
- type ChannelPartnerLinkState
- func (ChannelPartnerLinkState) Descriptor() protoreflect.EnumDescriptor
- func (x ChannelPartnerLinkState) Enum() *ChannelPartnerLinkState
- func (ChannelPartnerLinkState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChannelPartnerLinkState) Number() protoreflect.EnumNumber
- func (x ChannelPartnerLinkState) String() string
- func (ChannelPartnerLinkState) Type() protoreflect.EnumType
- type ChannelPartnerLinkView
- func (ChannelPartnerLinkView) Descriptor() protoreflect.EnumDescriptor
- func (x ChannelPartnerLinkView) Enum() *ChannelPartnerLinkView
- func (ChannelPartnerLinkView) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChannelPartnerLinkView) Number() protoreflect.EnumNumber
- func (x ChannelPartnerLinkView) String() string
- func (ChannelPartnerLinkView) Type() protoreflect.EnumType
- type CheckCloudIdentityAccountsExistRequest
- func (*CheckCloudIdentityAccountsExistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCloudIdentityAccountsExistRequest) GetDomain() string
- func (x *CheckCloudIdentityAccountsExistRequest) GetParent() string
- func (*CheckCloudIdentityAccountsExistRequest) ProtoMessage()
- func (x *CheckCloudIdentityAccountsExistRequest) ProtoReflect() protoreflect.Message
- func (x *CheckCloudIdentityAccountsExistRequest) Reset()
- func (x *CheckCloudIdentityAccountsExistRequest) String() string
- type CheckCloudIdentityAccountsExistResponse
- func (*CheckCloudIdentityAccountsExistResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCloudIdentityAccountsExistResponse) GetCloudIdentityAccounts() []*CloudIdentityCustomerAccount
- func (*CheckCloudIdentityAccountsExistResponse) ProtoMessage()
- func (x *CheckCloudIdentityAccountsExistResponse) ProtoReflect() protoreflect.Message
- func (x *CheckCloudIdentityAccountsExistResponse) Reset()
- func (x *CheckCloudIdentityAccountsExistResponse) String() string
- type CloudChannelServiceClient
- type CloudChannelServiceServer
- type CloudIdentityCustomerAccount
- func (*CloudIdentityCustomerAccount) Descriptor() ([]byte, []int)deprecated
- func (x *CloudIdentityCustomerAccount) GetCustomerCloudIdentityId() string
- func (x *CloudIdentityCustomerAccount) GetCustomerName() string
- func (x *CloudIdentityCustomerAccount) GetExisting() bool
- func (x *CloudIdentityCustomerAccount) GetOwned() bool
- func (*CloudIdentityCustomerAccount) ProtoMessage()
- func (x *CloudIdentityCustomerAccount) ProtoReflect() protoreflect.Message
- func (x *CloudIdentityCustomerAccount) Reset()
- func (x *CloudIdentityCustomerAccount) String() string
- type CloudIdentityInfo
- func (*CloudIdentityInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CloudIdentityInfo) GetAdminConsoleUri() string
- func (x *CloudIdentityInfo) GetAlternateEmail() string
- func (x *CloudIdentityInfo) GetCustomerType() CloudIdentityInfo_CustomerType
- func (x *CloudIdentityInfo) GetEduData() *EduData
- func (x *CloudIdentityInfo) GetIsDomainVerified() bool
- func (x *CloudIdentityInfo) GetLanguageCode() string
- func (x *CloudIdentityInfo) GetPhoneNumber() string
- func (x *CloudIdentityInfo) GetPrimaryDomain() string
- func (*CloudIdentityInfo) ProtoMessage()
- func (x *CloudIdentityInfo) ProtoReflect() protoreflect.Message
- func (x *CloudIdentityInfo) Reset()
- func (x *CloudIdentityInfo) String() string
- type CloudIdentityInfo_CustomerType
- func (CloudIdentityInfo_CustomerType) Descriptor() protoreflect.EnumDescriptor
- func (x CloudIdentityInfo_CustomerType) Enum() *CloudIdentityInfo_CustomerType
- func (CloudIdentityInfo_CustomerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudIdentityInfo_CustomerType) Number() protoreflect.EnumNumber
- func (x CloudIdentityInfo_CustomerType) String() string
- func (CloudIdentityInfo_CustomerType) Type() protoreflect.EnumType
- type CommitmentSettings
- func (*CommitmentSettings) Descriptor() ([]byte, []int)deprecated
- func (x *CommitmentSettings) GetEndTime() *timestamppb.Timestamp
- func (x *CommitmentSettings) GetRenewalSettings() *RenewalSettings
- func (x *CommitmentSettings) GetStartTime() *timestamppb.Timestamp
- func (*CommitmentSettings) ProtoMessage()
- func (x *CommitmentSettings) ProtoReflect() protoreflect.Message
- func (x *CommitmentSettings) Reset()
- func (x *CommitmentSettings) String() string
- type Constraints
- type ContactInfo
- func (*ContactInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContactInfo) GetDisplayName() string
- func (x *ContactInfo) GetEmail() string
- func (x *ContactInfo) GetFirstName() string
- func (x *ContactInfo) GetLastName() string
- func (x *ContactInfo) GetPhone() string
- func (x *ContactInfo) GetTitle() string
- func (*ContactInfo) ProtoMessage()
- func (x *ContactInfo) ProtoReflect() protoreflect.Message
- func (x *ContactInfo) Reset()
- func (x *ContactInfo) String() string
- type CreateChannelPartnerLinkRequest
- func (*CreateChannelPartnerLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelPartnerLinkRequest) GetChannelPartnerLink() *ChannelPartnerLink
- func (x *CreateChannelPartnerLinkRequest) GetDomain() string
- func (x *CreateChannelPartnerLinkRequest) GetParent() string
- func (*CreateChannelPartnerLinkRequest) ProtoMessage()
- func (x *CreateChannelPartnerLinkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelPartnerLinkRequest) Reset()
- func (x *CreateChannelPartnerLinkRequest) String() string
- type CreateCustomerRequest
- func (*CreateCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCustomerRequest) GetCustomer() *Customer
- func (x *CreateCustomerRequest) GetParent() string
- func (*CreateCustomerRequest) ProtoMessage()
- func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCustomerRequest) Reset()
- func (x *CreateCustomerRequest) String() string
- type CreateEntitlementRequest
- func (*CreateEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntitlementRequest) GetEntitlement() *Entitlement
- func (x *CreateEntitlementRequest) GetParent() string
- func (x *CreateEntitlementRequest) GetRequestId() string
- func (*CreateEntitlementRequest) ProtoMessage()
- func (x *CreateEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEntitlementRequest) Reset()
- func (x *CreateEntitlementRequest) String() string
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)deprecated
- func (x *Customer) GetAlternateEmail() string
- func (x *Customer) GetChannelPartnerId() string
- func (x *Customer) GetCloudIdentityId() string
- func (x *Customer) GetCloudIdentityInfo() *CloudIdentityInfo
- func (x *Customer) GetCreateTime() *timestamppb.Timestamp
- func (x *Customer) GetDomain() string
- func (x *Customer) GetLanguageCode() string
- func (x *Customer) GetName() string
- func (x *Customer) GetOrgDisplayName() string
- func (x *Customer) GetOrgPostalAddress() *postaladdress.PostalAddress
- func (x *Customer) GetPrimaryContactInfo() *ContactInfo
- func (x *Customer) GetUpdateTime() *timestamppb.Timestamp
- func (*Customer) ProtoMessage()
- func (x *Customer) ProtoReflect() protoreflect.Message
- func (x *Customer) Reset()
- func (x *Customer) String() string
- type CustomerConstraints
- func (*CustomerConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerConstraints) GetAllowedCustomerTypes() []CloudIdentityInfo_CustomerType
- func (x *CustomerConstraints) GetAllowedRegions() []string
- func (x *CustomerConstraints) GetPromotionalOrderTypes() []PromotionalOrderType
- func (*CustomerConstraints) ProtoMessage()
- func (x *CustomerConstraints) ProtoReflect() protoreflect.Message
- func (x *CustomerConstraints) Reset()
- func (x *CustomerConstraints) String() string
- type DeleteCustomerRequest
- func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCustomerRequest) GetName() string
- func (*DeleteCustomerRequest) ProtoMessage()
- func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCustomerRequest) Reset()
- func (x *DeleteCustomerRequest) String() string
- type EduData
- func (*EduData) Descriptor() ([]byte, []int)deprecated
- func (x *EduData) GetInstituteSize() EduData_InstituteSize
- func (x *EduData) GetInstituteType() EduData_InstituteType
- func (x *EduData) GetWebsite() string
- func (*EduData) ProtoMessage()
- func (x *EduData) ProtoReflect() protoreflect.Message
- func (x *EduData) Reset()
- func (x *EduData) String() string
- type EduData_InstituteSize
- func (EduData_InstituteSize) Descriptor() protoreflect.EnumDescriptor
- func (x EduData_InstituteSize) Enum() *EduData_InstituteSize
- func (EduData_InstituteSize) EnumDescriptor() ([]byte, []int)deprecated
- func (x EduData_InstituteSize) Number() protoreflect.EnumNumber
- func (x EduData_InstituteSize) String() string
- func (EduData_InstituteSize) Type() protoreflect.EnumType
- type EduData_InstituteType
- func (EduData_InstituteType) Descriptor() protoreflect.EnumDescriptor
- func (x EduData_InstituteType) Enum() *EduData_InstituteType
- func (EduData_InstituteType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EduData_InstituteType) Number() protoreflect.EnumNumber
- func (x EduData_InstituteType) String() string
- func (EduData_InstituteType) Type() protoreflect.EnumType
- type Entitlement
- func (*Entitlement) Descriptor() ([]byte, []int)deprecated
- func (x *Entitlement) GetAssociationInfo() *AssociationInfo
- func (x *Entitlement) GetCommitmentSettings() *CommitmentSettings
- func (x *Entitlement) GetCreateTime() *timestamppb.Timestamp
- func (x *Entitlement) GetName() string
- func (x *Entitlement) GetOffer() string
- func (x *Entitlement) GetParameters() []*Parameter
- func (x *Entitlement) GetProvisionedService() *ProvisionedService
- func (x *Entitlement) GetProvisioningState() Entitlement_ProvisioningState
- func (x *Entitlement) GetPurchaseOrderId() string
- func (x *Entitlement) GetSuspensionReasons() []Entitlement_SuspensionReason
- func (x *Entitlement) GetTrialSettings() *TrialSettings
- func (x *Entitlement) GetUpdateTime() *timestamppb.Timestamp
- func (*Entitlement) ProtoMessage()
- func (x *Entitlement) ProtoReflect() protoreflect.Message
- func (x *Entitlement) Reset()
- func (x *Entitlement) String() string
- type Entitlement_ProvisioningState
- func (Entitlement_ProvisioningState) Descriptor() protoreflect.EnumDescriptor
- func (x Entitlement_ProvisioningState) Enum() *Entitlement_ProvisioningState
- func (Entitlement_ProvisioningState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Entitlement_ProvisioningState) Number() protoreflect.EnumNumber
- func (x Entitlement_ProvisioningState) String() string
- func (Entitlement_ProvisioningState) Type() protoreflect.EnumType
- type Entitlement_SuspensionReason
- func (Entitlement_SuspensionReason) Descriptor() protoreflect.EnumDescriptor
- func (x Entitlement_SuspensionReason) Enum() *Entitlement_SuspensionReason
- func (Entitlement_SuspensionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x Entitlement_SuspensionReason) Number() protoreflect.EnumNumber
- func (x Entitlement_SuspensionReason) String() string
- func (Entitlement_SuspensionReason) Type() protoreflect.EnumType
- type GetChannelPartnerLinkRequest
- func (*GetChannelPartnerLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelPartnerLinkRequest) GetName() string
- func (x *GetChannelPartnerLinkRequest) GetView() ChannelPartnerLinkView
- func (*GetChannelPartnerLinkRequest) ProtoMessage()
- func (x *GetChannelPartnerLinkRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelPartnerLinkRequest) Reset()
- func (x *GetChannelPartnerLinkRequest) String() string
- type GetCustomerRequest
- func (*GetCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomerRequest) GetName() string
- func (*GetCustomerRequest) ProtoMessage()
- func (x *GetCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *GetCustomerRequest) Reset()
- func (x *GetCustomerRequest) String() string
- type GetEntitlementRequest
- func (*GetEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntitlementRequest) GetName() string
- func (*GetEntitlementRequest) ProtoMessage()
- func (x *GetEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntitlementRequest) Reset()
- func (x *GetEntitlementRequest) String() string
- type ListChannelPartnerLinksRequest
- func (*ListChannelPartnerLinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelPartnerLinksRequest) GetPageSize() int32
- func (x *ListChannelPartnerLinksRequest) GetPageToken() string
- func (x *ListChannelPartnerLinksRequest) GetParent() string
- func (x *ListChannelPartnerLinksRequest) GetView() ChannelPartnerLinkView
- func (*ListChannelPartnerLinksRequest) ProtoMessage()
- func (x *ListChannelPartnerLinksRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelPartnerLinksRequest) Reset()
- func (x *ListChannelPartnerLinksRequest) String() string
- type ListChannelPartnerLinksResponse
- func (*ListChannelPartnerLinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelPartnerLinksResponse) GetChannelPartnerLinks() []*ChannelPartnerLink
- func (x *ListChannelPartnerLinksResponse) GetNextPageToken() string
- func (*ListChannelPartnerLinksResponse) ProtoMessage()
- func (x *ListChannelPartnerLinksResponse) ProtoReflect() protoreflect.Message
- func (x *ListChannelPartnerLinksResponse) Reset()
- func (x *ListChannelPartnerLinksResponse) String() string
- type ListCustomersRequest
- func (*ListCustomersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCustomersRequest) GetPageSize() int32
- func (x *ListCustomersRequest) GetPageToken() string
- func (x *ListCustomersRequest) GetParent() string
- func (*ListCustomersRequest) ProtoMessage()
- func (x *ListCustomersRequest) ProtoReflect() protoreflect.Message
- func (x *ListCustomersRequest) Reset()
- func (x *ListCustomersRequest) String() string
- type ListCustomersResponse
- func (*ListCustomersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCustomersResponse) GetCustomers() []*Customer
- func (x *ListCustomersResponse) GetNextPageToken() string
- func (*ListCustomersResponse) ProtoMessage()
- func (x *ListCustomersResponse) ProtoReflect() protoreflect.Message
- func (x *ListCustomersResponse) Reset()
- func (x *ListCustomersResponse) String() string
- type ListEntitlementsRequest
- func (*ListEntitlementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitlementsRequest) GetPageSize() int32
- func (x *ListEntitlementsRequest) GetPageToken() string
- func (x *ListEntitlementsRequest) GetParent() string
- func (*ListEntitlementsRequest) ProtoMessage()
- func (x *ListEntitlementsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntitlementsRequest) Reset()
- func (x *ListEntitlementsRequest) String() string
- type ListEntitlementsResponse
- func (*ListEntitlementsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitlementsResponse) GetEntitlements() []*Entitlement
- func (x *ListEntitlementsResponse) GetNextPageToken() string
- func (*ListEntitlementsResponse) ProtoMessage()
- func (x *ListEntitlementsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitlementsResponse) Reset()
- func (x *ListEntitlementsResponse) String() string
- type ListOffersRequest
- func (*ListOffersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOffersRequest) GetFilter() string
- func (x *ListOffersRequest) GetLanguageCode() string
- func (x *ListOffersRequest) GetPageSize() int32
- func (x *ListOffersRequest) GetPageToken() string
- func (x *ListOffersRequest) GetParent() string
- func (*ListOffersRequest) ProtoMessage()
- func (x *ListOffersRequest) ProtoReflect() protoreflect.Message
- func (x *ListOffersRequest) Reset()
- func (x *ListOffersRequest) String() string
- type ListOffersResponse
- func (*ListOffersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOffersResponse) GetNextPageToken() string
- func (x *ListOffersResponse) GetOffers() []*Offer
- func (*ListOffersResponse) ProtoMessage()
- func (x *ListOffersResponse) ProtoReflect() protoreflect.Message
- func (x *ListOffersResponse) Reset()
- func (x *ListOffersResponse) String() string
- type ListProductsRequest
- func (*ListProductsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductsRequest) GetAccount() string
- func (x *ListProductsRequest) GetLanguageCode() string
- func (x *ListProductsRequest) GetPageSize() int32
- func (x *ListProductsRequest) GetPageToken() string
- func (*ListProductsRequest) ProtoMessage()
- func (x *ListProductsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductsRequest) Reset()
- func (x *ListProductsRequest) String() string
- type ListProductsResponse
- func (*ListProductsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductsResponse) GetNextPageToken() string
- func (x *ListProductsResponse) GetProducts() []*Product
- func (*ListProductsResponse) ProtoMessage()
- func (x *ListProductsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProductsResponse) Reset()
- func (x *ListProductsResponse) String() string
- type ListPurchasableOffersRequest
- func (*ListPurchasableOffersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableOffersRequest) GetChangeOfferPurchase() *ListPurchasableOffersRequest_ChangeOfferPurchase
- func (x *ListPurchasableOffersRequest) GetCreateEntitlementPurchase() *ListPurchasableOffersRequest_CreateEntitlementPurchase
- func (x *ListPurchasableOffersRequest) GetCustomer() string
- func (x *ListPurchasableOffersRequest) GetLanguageCode() string
- func (x *ListPurchasableOffersRequest) GetPageSize() int32
- func (x *ListPurchasableOffersRequest) GetPageToken() string
- func (m *ListPurchasableOffersRequest) GetPurchaseOption() isListPurchasableOffersRequest_PurchaseOption
- func (*ListPurchasableOffersRequest) ProtoMessage()
- func (x *ListPurchasableOffersRequest) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableOffersRequest) Reset()
- func (x *ListPurchasableOffersRequest) String() string
- type ListPurchasableOffersRequest_ChangeOfferPurchase
- func (*ListPurchasableOffersRequest_ChangeOfferPurchase) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetEntitlement() string
- func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetNewSku() string
- func (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoMessage()
- func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) Reset()
- func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) String() string
- type ListPurchasableOffersRequest_ChangeOfferPurchase_
- type ListPurchasableOffersRequest_CreateEntitlementPurchase
- func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) GetSku() string
- func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoMessage()
- func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) Reset()
- func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) String() string
- type ListPurchasableOffersRequest_CreateEntitlementPurchase_
- type ListPurchasableOffersResponse
- func (*ListPurchasableOffersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableOffersResponse) GetNextPageToken() string
- func (x *ListPurchasableOffersResponse) GetPurchasableOffers() []*PurchasableOffer
- func (*ListPurchasableOffersResponse) ProtoMessage()
- func (x *ListPurchasableOffersResponse) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableOffersResponse) Reset()
- func (x *ListPurchasableOffersResponse) String() string
- type ListPurchasableSkusRequest
- func (*ListPurchasableSkusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableSkusRequest) GetChangeOfferPurchase() *ListPurchasableSkusRequest_ChangeOfferPurchase
- func (x *ListPurchasableSkusRequest) GetCreateEntitlementPurchase() *ListPurchasableSkusRequest_CreateEntitlementPurchase
- func (x *ListPurchasableSkusRequest) GetCustomer() string
- func (x *ListPurchasableSkusRequest) GetLanguageCode() string
- func (x *ListPurchasableSkusRequest) GetPageSize() int32
- func (x *ListPurchasableSkusRequest) GetPageToken() string
- func (m *ListPurchasableSkusRequest) GetPurchaseOption() isListPurchasableSkusRequest_PurchaseOption
- func (*ListPurchasableSkusRequest) ProtoMessage()
- func (x *ListPurchasableSkusRequest) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableSkusRequest) Reset()
- func (x *ListPurchasableSkusRequest) String() string
- type ListPurchasableSkusRequest_ChangeOfferPurchase
- func (*ListPurchasableSkusRequest_ChangeOfferPurchase) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) GetChangeType() ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType
- func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) GetEntitlement() string
- func (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoMessage()
- func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) Reset()
- func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) String() string
- type ListPurchasableSkusRequest_ChangeOfferPurchase_
- type ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType
- func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Enum() *ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType
- func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Number() protoreflect.EnumNumber
- func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) String() string
- func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Type() protoreflect.EnumType
- type ListPurchasableSkusRequest_CreateEntitlementPurchase
- func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) GetProduct() string
- func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoMessage()
- func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) Reset()
- func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) String() string
- type ListPurchasableSkusRequest_CreateEntitlementPurchase_
- type ListPurchasableSkusResponse
- func (*ListPurchasableSkusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurchasableSkusResponse) GetNextPageToken() string
- func (x *ListPurchasableSkusResponse) GetPurchasableSkus() []*PurchasableSku
- func (*ListPurchasableSkusResponse) ProtoMessage()
- func (x *ListPurchasableSkusResponse) ProtoReflect() protoreflect.Message
- func (x *ListPurchasableSkusResponse) Reset()
- func (x *ListPurchasableSkusResponse) String() string
- type ListSkusRequest
- func (*ListSkusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkusRequest) GetAccount() string
- func (x *ListSkusRequest) GetLanguageCode() string
- func (x *ListSkusRequest) GetPageSize() int32
- func (x *ListSkusRequest) GetPageToken() string
- func (x *ListSkusRequest) GetParent() string
- func (*ListSkusRequest) ProtoMessage()
- func (x *ListSkusRequest) ProtoReflect() protoreflect.Message
- func (x *ListSkusRequest) Reset()
- func (x *ListSkusRequest) String() string
- type ListSkusResponse
- func (*ListSkusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSkusResponse) GetNextPageToken() string
- func (x *ListSkusResponse) GetSkus() []*Sku
- func (*ListSkusResponse) ProtoMessage()
- func (x *ListSkusResponse) ProtoReflect() protoreflect.Message
- func (x *ListSkusResponse) Reset()
- func (x *ListSkusResponse) String() string
- type ListTransferableOffersRequest
- func (*ListTransferableOffersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransferableOffersRequest) GetCloudIdentityId() string
- func (x *ListTransferableOffersRequest) GetCustomerName() string
- func (x *ListTransferableOffersRequest) GetLanguageCode() string
- func (x *ListTransferableOffersRequest) GetPageSize() int32
- func (x *ListTransferableOffersRequest) GetPageToken() string
- func (x *ListTransferableOffersRequest) GetParent() string
- func (x *ListTransferableOffersRequest) GetSku() string
- func (m *ListTransferableOffersRequest) GetTransferredCustomerIdentity() isListTransferableOffersRequest_TransferredCustomerIdentity
- func (*ListTransferableOffersRequest) ProtoMessage()
- func (x *ListTransferableOffersRequest) ProtoReflect() protoreflect.Message
- func (x *ListTransferableOffersRequest) Reset()
- func (x *ListTransferableOffersRequest) String() string
- type ListTransferableOffersRequest_CloudIdentityId
- type ListTransferableOffersRequest_CustomerName
- type ListTransferableOffersResponse
- func (*ListTransferableOffersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransferableOffersResponse) GetNextPageToken() string
- func (x *ListTransferableOffersResponse) GetTransferableOffers() []*TransferableOffer
- func (*ListTransferableOffersResponse) ProtoMessage()
- func (x *ListTransferableOffersResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransferableOffersResponse) Reset()
- func (x *ListTransferableOffersResponse) String() string
- type ListTransferableSkusRequest
- func (*ListTransferableSkusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransferableSkusRequest) GetAuthToken() string
- func (x *ListTransferableSkusRequest) GetCloudIdentityId() string
- func (x *ListTransferableSkusRequest) GetCustomerName() string
- func (x *ListTransferableSkusRequest) GetLanguageCode() string
- func (x *ListTransferableSkusRequest) GetPageSize() int32
- func (x *ListTransferableSkusRequest) GetPageToken() string
- func (x *ListTransferableSkusRequest) GetParent() string
- func (m *ListTransferableSkusRequest) GetTransferredCustomerIdentity() isListTransferableSkusRequest_TransferredCustomerIdentity
- func (*ListTransferableSkusRequest) ProtoMessage()
- func (x *ListTransferableSkusRequest) ProtoReflect() protoreflect.Message
- func (x *ListTransferableSkusRequest) Reset()
- func (x *ListTransferableSkusRequest) String() string
- type ListTransferableSkusRequest_CloudIdentityId
- type ListTransferableSkusRequest_CustomerName
- type ListTransferableSkusResponse
- func (*ListTransferableSkusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransferableSkusResponse) GetNextPageToken() string
- func (x *ListTransferableSkusResponse) GetTransferableSkus() []*TransferableSku
- func (*ListTransferableSkusResponse) ProtoMessage()
- func (x *ListTransferableSkusResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransferableSkusResponse) Reset()
- func (x *ListTransferableSkusResponse) String() string
- type MarketingInfo
- func (*MarketingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MarketingInfo) GetDefaultLogo() *Media
- func (x *MarketingInfo) GetDescription() string
- func (x *MarketingInfo) GetDisplayName() string
- func (*MarketingInfo) ProtoMessage()
- func (x *MarketingInfo) ProtoReflect() protoreflect.Message
- func (x *MarketingInfo) Reset()
- func (x *MarketingInfo) String() string
- type Media
- type MediaType
- type Offer
- func (*Offer) Descriptor() ([]byte, []int)deprecated
- func (x *Offer) GetConstraints() *Constraints
- func (x *Offer) GetEndTime() *timestamppb.Timestamp
- func (x *Offer) GetMarketingInfo() *MarketingInfo
- func (x *Offer) GetName() string
- func (x *Offer) GetParameterDefinitions() []*ParameterDefinition
- func (x *Offer) GetPlan() *Plan
- func (x *Offer) GetPriceByResources() []*PriceByResource
- func (x *Offer) GetSku() *Sku
- func (x *Offer) GetStartTime() *timestamppb.Timestamp
- func (*Offer) ProtoMessage()
- func (x *Offer) ProtoReflect() protoreflect.Message
- func (x *Offer) Reset()
- func (x *Offer) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetOperationType() OperationMetadata_OperationType
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type OperationMetadata_OperationType
- func (OperationMetadata_OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationMetadata_OperationType) Enum() *OperationMetadata_OperationType
- func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationMetadata_OperationType) Number() protoreflect.EnumNumber
- func (x OperationMetadata_OperationType) String() string
- func (OperationMetadata_OperationType) Type() protoreflect.EnumType
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Parameter) GetEditable() bool
- func (x *Parameter) GetName() string
- func (x *Parameter) GetValue() *Value
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (x *Parameter) String() string
- type ParameterDefinition
- func (*ParameterDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterDefinition) GetAllowedValues() []*Value
- func (x *ParameterDefinition) GetMaxValue() *Value
- func (x *ParameterDefinition) GetMinValue() *Value
- func (x *ParameterDefinition) GetName() string
- func (x *ParameterDefinition) GetOptional() bool
- func (x *ParameterDefinition) GetParameterType() ParameterDefinition_ParameterType
- func (*ParameterDefinition) ProtoMessage()
- func (x *ParameterDefinition) ProtoReflect() protoreflect.Message
- func (x *ParameterDefinition) Reset()
- func (x *ParameterDefinition) String() string
- type ParameterDefinition_ParameterType
- func (ParameterDefinition_ParameterType) Descriptor() protoreflect.EnumDescriptor
- func (x ParameterDefinition_ParameterType) Enum() *ParameterDefinition_ParameterType
- func (ParameterDefinition_ParameterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParameterDefinition_ParameterType) Number() protoreflect.EnumNumber
- func (x ParameterDefinition_ParameterType) String() string
- func (ParameterDefinition_ParameterType) Type() protoreflect.EnumType
- type PaymentPlan
- func (PaymentPlan) Descriptor() protoreflect.EnumDescriptor
- func (x PaymentPlan) Enum() *PaymentPlan
- func (PaymentPlan) EnumDescriptor() ([]byte, []int)deprecated
- func (x PaymentPlan) Number() protoreflect.EnumNumber
- func (x PaymentPlan) String() string
- func (PaymentPlan) Type() protoreflect.EnumType
- type PaymentType
- func (PaymentType) Descriptor() protoreflect.EnumDescriptor
- func (x PaymentType) Enum() *PaymentType
- func (PaymentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PaymentType) Number() protoreflect.EnumNumber
- func (x PaymentType) String() string
- func (PaymentType) Type() protoreflect.EnumType
- type Period
- type PeriodType
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetPaymentCycle() *Period
- func (x *Plan) GetPaymentPlan() PaymentPlan
- func (x *Plan) GetPaymentType() PaymentType
- func (x *Plan) GetTrialPeriod() *Period
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type Price
- func (*Price) Descriptor() ([]byte, []int)deprecated
- func (x *Price) GetBasePrice() *money.Money
- func (x *Price) GetDiscount() float64
- func (x *Price) GetEffectivePrice() *money.Money
- func (x *Price) GetExternalPriceUri() string
- func (*Price) ProtoMessage()
- func (x *Price) ProtoReflect() protoreflect.Message
- func (x *Price) Reset()
- func (x *Price) String() string
- type PriceByResource
- func (*PriceByResource) Descriptor() ([]byte, []int)deprecated
- func (x *PriceByResource) GetPrice() *Price
- func (x *PriceByResource) GetPricePhases() []*PricePhase
- func (x *PriceByResource) GetResourceType() ResourceType
- func (*PriceByResource) ProtoMessage()
- func (x *PriceByResource) ProtoReflect() protoreflect.Message
- func (x *PriceByResource) Reset()
- func (x *PriceByResource) String() string
- type PricePhase
- func (*PricePhase) Descriptor() ([]byte, []int)deprecated
- func (x *PricePhase) GetFirstPeriod() int32
- func (x *PricePhase) GetLastPeriod() int32
- func (x *PricePhase) GetPeriodType() PeriodType
- func (x *PricePhase) GetPrice() *Price
- func (x *PricePhase) GetPriceTiers() []*PriceTier
- func (*PricePhase) ProtoMessage()
- func (x *PricePhase) ProtoReflect() protoreflect.Message
- func (x *PricePhase) Reset()
- func (x *PricePhase) String() string
- type PriceTier
- func (*PriceTier) Descriptor() ([]byte, []int)deprecated
- func (x *PriceTier) GetFirstResource() int32
- func (x *PriceTier) GetLastResource() int32
- func (x *PriceTier) GetPrice() *Price
- func (*PriceTier) ProtoMessage()
- func (x *PriceTier) ProtoReflect() protoreflect.Message
- func (x *PriceTier) Reset()
- func (x *PriceTier) String() string
- type Product
- type PromotionalOrderType
- func (PromotionalOrderType) Descriptor() protoreflect.EnumDescriptor
- func (x PromotionalOrderType) Enum() *PromotionalOrderType
- func (PromotionalOrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PromotionalOrderType) Number() protoreflect.EnumNumber
- func (x PromotionalOrderType) String() string
- func (PromotionalOrderType) Type() protoreflect.EnumType
- type ProvisionCloudIdentityRequest
- func (*ProvisionCloudIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionCloudIdentityRequest) GetCloudIdentityInfo() *CloudIdentityInfo
- func (x *ProvisionCloudIdentityRequest) GetCustomer() string
- func (x *ProvisionCloudIdentityRequest) GetUser() *AdminUser
- func (x *ProvisionCloudIdentityRequest) GetValidateOnly() bool
- func (*ProvisionCloudIdentityRequest) ProtoMessage()
- func (x *ProvisionCloudIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *ProvisionCloudIdentityRequest) Reset()
- func (x *ProvisionCloudIdentityRequest) String() string
- type ProvisionedService
- func (*ProvisionedService) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedService) GetProductId() string
- func (x *ProvisionedService) GetProvisioningId() string
- func (x *ProvisionedService) GetSkuId() string
- func (*ProvisionedService) ProtoMessage()
- func (x *ProvisionedService) ProtoReflect() protoreflect.Message
- func (x *ProvisionedService) Reset()
- func (x *ProvisionedService) String() string
- type PurchasableOffer
- type PurchasableSku
- type RenewalSettings
- func (*RenewalSettings) Descriptor() ([]byte, []int)deprecated
- func (x *RenewalSettings) GetEnableRenewal() bool
- func (x *RenewalSettings) GetPaymentCycle() *Period
- func (x *RenewalSettings) GetPaymentPlan() PaymentPlan
- func (x *RenewalSettings) GetResizeUnitCount() bool
- func (*RenewalSettings) ProtoMessage()
- func (x *RenewalSettings) ProtoReflect() protoreflect.Message
- func (x *RenewalSettings) Reset()
- func (x *RenewalSettings) String() string
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) Type() protoreflect.EnumType
- type Sku
- type StartPaidServiceRequest
- func (*StartPaidServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartPaidServiceRequest) GetName() string
- func (x *StartPaidServiceRequest) GetRequestId() string
- func (*StartPaidServiceRequest) ProtoMessage()
- func (x *StartPaidServiceRequest) ProtoReflect() protoreflect.Message
- func (x *StartPaidServiceRequest) Reset()
- func (x *StartPaidServiceRequest) String() string
- type SuspendEntitlementRequest
- func (*SuspendEntitlementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendEntitlementRequest) GetName() string
- func (x *SuspendEntitlementRequest) GetRequestId() string
- func (*SuspendEntitlementRequest) ProtoMessage()
- func (x *SuspendEntitlementRequest) ProtoReflect() protoreflect.Message
- func (x *SuspendEntitlementRequest) Reset()
- func (x *SuspendEntitlementRequest) String() string
- type TransferEligibility
- func (*TransferEligibility) Descriptor() ([]byte, []int)deprecated
- func (x *TransferEligibility) GetDescription() string
- func (x *TransferEligibility) GetIneligibilityReason() TransferEligibility_Reason
- func (x *TransferEligibility) GetIsEligible() bool
- func (*TransferEligibility) ProtoMessage()
- func (x *TransferEligibility) ProtoReflect() protoreflect.Message
- func (x *TransferEligibility) Reset()
- func (x *TransferEligibility) String() string
- type TransferEligibility_Reason
- func (TransferEligibility_Reason) Descriptor() protoreflect.EnumDescriptor
- func (x TransferEligibility_Reason) Enum() *TransferEligibility_Reason
- func (TransferEligibility_Reason) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransferEligibility_Reason) Number() protoreflect.EnumNumber
- func (x TransferEligibility_Reason) String() string
- func (TransferEligibility_Reason) Type() protoreflect.EnumType
- type TransferEntitlementsRequest
- func (*TransferEntitlementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferEntitlementsRequest) GetAuthToken() string
- func (x *TransferEntitlementsRequest) GetEntitlements() []*Entitlement
- func (x *TransferEntitlementsRequest) GetParent() string
- func (x *TransferEntitlementsRequest) GetRequestId() string
- func (*TransferEntitlementsRequest) ProtoMessage()
- func (x *TransferEntitlementsRequest) ProtoReflect() protoreflect.Message
- func (x *TransferEntitlementsRequest) Reset()
- func (x *TransferEntitlementsRequest) String() string
- type TransferEntitlementsResponse
- func (*TransferEntitlementsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransferEntitlementsResponse) GetEntitlements() []*Entitlement
- func (*TransferEntitlementsResponse) ProtoMessage()
- func (x *TransferEntitlementsResponse) ProtoReflect() protoreflect.Message
- func (x *TransferEntitlementsResponse) Reset()
- func (x *TransferEntitlementsResponse) String() string
- type TransferEntitlementsToGoogleRequest
- func (*TransferEntitlementsToGoogleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransferEntitlementsToGoogleRequest) GetEntitlements() []*Entitlement
- func (x *TransferEntitlementsToGoogleRequest) GetParent() string
- func (x *TransferEntitlementsToGoogleRequest) GetRequestId() string
- func (*TransferEntitlementsToGoogleRequest) ProtoMessage()
- func (x *TransferEntitlementsToGoogleRequest) ProtoReflect() protoreflect.Message
- func (x *TransferEntitlementsToGoogleRequest) Reset()
- func (x *TransferEntitlementsToGoogleRequest) String() string
- type TransferableOffer
- type TransferableSku
- func (*TransferableSku) Descriptor() ([]byte, []int)deprecated
- func (x *TransferableSku) GetCommitmentEndTimestamp() *timestamppb.Timestamp
- func (x *TransferableSku) GetIsCommitment() *wrapperspb.BoolValue
- func (x *TransferableSku) GetSku() *Sku
- func (x *TransferableSku) GetTransferEligibility() *TransferEligibility
- func (*TransferableSku) ProtoMessage()
- func (x *TransferableSku) ProtoReflect() protoreflect.Message
- func (x *TransferableSku) Reset()
- func (x *TransferableSku) String() string
- type TrialSettings
- func (*TrialSettings) Descriptor() ([]byte, []int)deprecated
- func (x *TrialSettings) GetEndTime() *timestamppb.Timestamp
- func (x *TrialSettings) GetTrial() bool
- func (*TrialSettings) ProtoMessage()
- func (x *TrialSettings) ProtoReflect() protoreflect.Message
- func (x *TrialSettings) Reset()
- func (x *TrialSettings) String() string
- type UnimplementedCloudChannelServiceServer
- func (*UnimplementedCloudChannelServiceServer) ActivateEntitlement(context.Context, *ActivateEntitlementRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) CancelEntitlement(context.Context, *CancelEntitlementRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) CheckCloudIdentityAccountsExist(context.Context, *CheckCloudIdentityAccountsExistRequest) (*CheckCloudIdentityAccountsExistResponse, error)
- func (*UnimplementedCloudChannelServiceServer) CreateChannelPartnerLink(context.Context, *CreateChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
- func (*UnimplementedCloudChannelServiceServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error)
- func (*UnimplementedCloudChannelServiceServer) CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error)
- func (*UnimplementedCloudChannelServiceServer) GetChannelPartnerLink(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
- func (*UnimplementedCloudChannelServiceServer) GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error)
- func (*UnimplementedCloudChannelServiceServer) GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error)
- func (*UnimplementedCloudChannelServiceServer) ListChannelPartnerLinks(context.Context, *ListChannelPartnerLinksRequest) (*ListChannelPartnerLinksResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListOffers(context.Context, *ListOffersRequest) (*ListOffersResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListPurchasableOffers(context.Context, *ListPurchasableOffersRequest) (*ListPurchasableOffersResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListPurchasableSkus(context.Context, *ListPurchasableSkusRequest) (*ListPurchasableSkusResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ListTransferableSkus(context.Context, *ListTransferableSkusRequest) (*ListTransferableSkusResponse, error)
- func (*UnimplementedCloudChannelServiceServer) ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) TransferEntitlements(context.Context, *TransferEntitlementsRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) TransferEntitlementsToGoogle(context.Context, *TransferEntitlementsToGoogleRequest) (*longrunning.Operation, error)
- func (*UnimplementedCloudChannelServiceServer) UpdateChannelPartnerLink(context.Context, *UpdateChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
- func (*UnimplementedCloudChannelServiceServer) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error)
- type UpdateChannelPartnerLinkRequest
- func (*UpdateChannelPartnerLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChannelPartnerLinkRequest) GetChannelPartnerLink() *ChannelPartnerLink
- func (x *UpdateChannelPartnerLinkRequest) GetName() string
- func (x *UpdateChannelPartnerLinkRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateChannelPartnerLinkRequest) ProtoMessage()
- func (x *UpdateChannelPartnerLinkRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelPartnerLinkRequest) Reset()
- func (x *UpdateChannelPartnerLinkRequest) String() string
- type UpdateCustomerRequest
- func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCustomerRequest) GetCustomer() *Customer
- func (x *UpdateCustomerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCustomerRequest) ProtoMessage()
- func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCustomerRequest) Reset()
- func (x *UpdateCustomerRequest) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetInt64Value() int64
- func (m *Value) GetKind() isValue_Kind
- func (x *Value) GetProtoValue() *anypb.Any
- func (x *Value) GetStringValue() string
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_DoubleValue
- type Value_Int64Value
- type Value_ProtoValue
- type Value_StringValue
Constants ¶
This section is empty.
Variables ¶
var ( ChannelPartnerLinkView_name = map[int32]string{ 0: "UNSPECIFIED", 1: "BASIC", 2: "FULL", } ChannelPartnerLinkView_value = map[string]int32{ "UNSPECIFIED": 0, "BASIC": 1, "FULL": 2, } )
Enum value maps for ChannelPartnerLinkView.
var ( ChannelPartnerLinkState_name = map[int32]string{ 0: "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED", 1: "INVITED", 2: "ACTIVE", 3: "REVOKED", 4: "SUSPENDED", } ChannelPartnerLinkState_value = map[string]int32{ "CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED": 0, "INVITED": 1, "ACTIVE": 2, "REVOKED": 3, "SUSPENDED": 4, } )
Enum value maps for ChannelPartnerLinkState.
var ( EduData_InstituteType_name = map[int32]string{ 0: "INSTITUTE_TYPE_UNSPECIFIED", 1: "K12", 2: "UNIVERSITY", } EduData_InstituteType_value = map[string]int32{ "INSTITUTE_TYPE_UNSPECIFIED": 0, "K12": 1, "UNIVERSITY": 2, } )
Enum value maps for EduData_InstituteType.
var ( EduData_InstituteSize_name = map[int32]string{ 0: "INSTITUTE_SIZE_UNSPECIFIED", 1: "SIZE_1_100", 2: "SIZE_101_500", 3: "SIZE_501_1000", 4: "SIZE_1001_2000", 5: "SIZE_2001_5000", 6: "SIZE_5001_10000", 7: "SIZE_10001_OR_MORE", } EduData_InstituteSize_value = map[string]int32{ "INSTITUTE_SIZE_UNSPECIFIED": 0, "SIZE_1_100": 1, "SIZE_101_500": 2, "SIZE_501_1000": 3, "SIZE_1001_2000": 4, "SIZE_2001_5000": 5, "SIZE_5001_10000": 6, "SIZE_10001_OR_MORE": 7, } )
Enum value maps for EduData_InstituteSize.
var ( CloudIdentityInfo_CustomerType_name = map[int32]string{ 0: "CUSTOMER_TYPE_UNSPECIFIED", 1: "DOMAIN", 2: "TEAM", } CloudIdentityInfo_CustomerType_value = map[string]int32{ "CUSTOMER_TYPE_UNSPECIFIED": 0, "DOMAIN": 1, "TEAM": 2, } )
Enum value maps for CloudIdentityInfo_CustomerType.
var ( Entitlement_ProvisioningState_name = map[int32]string{ 0: "PROVISIONING_STATE_UNSPECIFIED", 1: "ACTIVE", 5: "SUSPENDED", } Entitlement_ProvisioningState_value = map[string]int32{ "PROVISIONING_STATE_UNSPECIFIED": 0, "ACTIVE": 1, "SUSPENDED": 5, } )
Enum value maps for Entitlement_ProvisioningState.
var ( Entitlement_SuspensionReason_name = map[int32]string{ 0: "SUSPENSION_REASON_UNSPECIFIED", 1: "RESELLER_INITIATED", 2: "TRIAL_ENDED", 3: "RENEWAL_WITH_TYPE_CANCEL", 4: "PENDING_TOS_ACCEPTANCE", 100: "OTHER", } Entitlement_SuspensionReason_value = map[string]int32{ "SUSPENSION_REASON_UNSPECIFIED": 0, "RESELLER_INITIATED": 1, "TRIAL_ENDED": 2, "RENEWAL_WITH_TYPE_CANCEL": 3, "PENDING_TOS_ACCEPTANCE": 4, "OTHER": 100, } )
Enum value maps for Entitlement_SuspensionReason.
var ( TransferEligibility_Reason_name = map[int32]string{ 0: "REASON_UNSPECIFIED", 1: "PENDING_TOS_ACCEPTANCE", 2: "SKU_NOT_ELIGIBLE", 3: "SKU_SUSPENDED", } TransferEligibility_Reason_value = map[string]int32{ "REASON_UNSPECIFIED": 0, "PENDING_TOS_ACCEPTANCE": 1, "SKU_NOT_ELIGIBLE": 2, "SKU_SUSPENDED": 3, } )
Enum value maps for TransferEligibility_Reason.
var ( PromotionalOrderType_name = map[int32]string{ 0: "PROMOTIONAL_TYPE_UNSPECIFIED", 1: "NEW_UPGRADE", 2: "TRANSFER", 3: "PROMOTION_SWITCH", } PromotionalOrderType_value = map[string]int32{ "PROMOTIONAL_TYPE_UNSPECIFIED": 0, "NEW_UPGRADE": 1, "TRANSFER": 2, "PROMOTION_SWITCH": 3, } )
Enum value maps for PromotionalOrderType.
var ( PaymentPlan_name = map[int32]string{ 0: "PAYMENT_PLAN_UNSPECIFIED", 1: "COMMITMENT", 2: "FLEXIBLE", 3: "FREE", 4: "TRIAL", 5: "OFFLINE", } PaymentPlan_value = map[string]int32{ "PAYMENT_PLAN_UNSPECIFIED": 0, "COMMITMENT": 1, "FLEXIBLE": 2, "FREE": 3, "TRIAL": 4, "OFFLINE": 5, } )
Enum value maps for PaymentPlan.
var ( PaymentType_name = map[int32]string{ 0: "PAYMENT_TYPE_UNSPECIFIED", 1: "PREPAY", 2: "POSTPAY", } PaymentType_value = map[string]int32{ "PAYMENT_TYPE_UNSPECIFIED": 0, "PREPAY": 1, "POSTPAY": 2, } )
Enum value maps for PaymentType.
var ( ResourceType_name = map[int32]string{ 0: "RESOURCE_TYPE_UNSPECIFIED", 1: "SEAT", 2: "MAU", 3: "GB", 4: "LICENSED_USER", 5: "MINUTES", 6: "IAAS_USAGE", 7: "SUBSCRIPTION", } ResourceType_value = map[string]int32{ "RESOURCE_TYPE_UNSPECIFIED": 0, "SEAT": 1, "MAU": 2, "GB": 3, "LICENSED_USER": 4, "MINUTES": 5, "IAAS_USAGE": 6, "SUBSCRIPTION": 7, } )
Enum value maps for ResourceType.
var ( PeriodType_name = map[int32]string{ 0: "PERIOD_TYPE_UNSPECIFIED", 1: "DAY", 2: "MONTH", 3: "YEAR", } PeriodType_value = map[string]int32{ "PERIOD_TYPE_UNSPECIFIED": 0, "DAY": 1, "MONTH": 2, "YEAR": 3, } )
Enum value maps for PeriodType.
var ( ParameterDefinition_ParameterType_name = map[int32]string{ 0: "PARAMETER_TYPE_UNSPECIFIED", 1: "INT64", 2: "STRING", 3: "DOUBLE", } ParameterDefinition_ParameterType_value = map[string]int32{ "PARAMETER_TYPE_UNSPECIFIED": 0, "INT64": 1, "STRING": 2, "DOUBLE": 3, } )
Enum value maps for ParameterDefinition_ParameterType.
var ( OperationMetadata_OperationType_name = map[int32]string{ 0: "OPERATION_TYPE_UNSPECIFIED", 1: "CREATE_ENTITLEMENT", 3: "CHANGE_RENEWAL_SETTINGS", 5: "START_PAID_SERVICE", 7: "ACTIVATE_ENTITLEMENT", 8: "SUSPEND_ENTITLEMENT", 9: "CANCEL_ENTITLEMENT", 10: "TRANSFER_ENTITLEMENTS", 11: "TRANSFER_ENTITLEMENTS_TO_GOOGLE", 14: "CHANGE_OFFER", 15: "CHANGE_PARAMETERS", 16: "PROVISION_CLOUD_IDENTITY", } OperationMetadata_OperationType_value = map[string]int32{ "OPERATION_TYPE_UNSPECIFIED": 0, "CREATE_ENTITLEMENT": 1, "CHANGE_RENEWAL_SETTINGS": 3, "START_PAID_SERVICE": 5, "ACTIVATE_ENTITLEMENT": 7, "SUSPEND_ENTITLEMENT": 8, "CANCEL_ENTITLEMENT": 9, "TRANSFER_ENTITLEMENTS": 10, "TRANSFER_ENTITLEMENTS_TO_GOOGLE": 11, "CHANGE_OFFER": 14, "CHANGE_PARAMETERS": 15, "PROVISION_CLOUD_IDENTITY": 16, } )
Enum value maps for OperationMetadata_OperationType.
var ( MediaType_name = map[int32]string{ 0: "MEDIA_TYPE_UNSPECIFIED", 1: "MEDIA_TYPE_IMAGE", } MediaType_value = map[string]int32{ "MEDIA_TYPE_UNSPECIFIED": 0, "MEDIA_TYPE_IMAGE": 1, } )
Enum value maps for MediaType.
var ( ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType_name = map[int32]string{ 0: "CHANGE_TYPE_UNSPECIFIED", 1: "UPGRADE", 2: "DOWNGRADE", } ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType_value = map[string]int32{ "CHANGE_TYPE_UNSPECIFIED": 0, "UPGRADE": 1, "DOWNGRADE": 2, } )
Enum value maps for ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType.
var File_google_cloud_channel_v1_channel_partner_links_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_common_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_customers_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_entitlements_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_offers_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_operations_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_products_proto protoreflect.FileDescriptor
var File_google_cloud_channel_v1_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCloudChannelServiceServer ¶
func RegisterCloudChannelServiceServer(s *grpc.Server, srv CloudChannelServiceServer)
Types ¶
type ActivateEntitlementRequest ¶
type ActivateEntitlementRequest struct { // Required. The resource name of the entitlement to activate. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement].
func (*ActivateEntitlementRequest) Descriptor
deprecated
func (*ActivateEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateEntitlementRequest.ProtoReflect.Descriptor instead.
func (*ActivateEntitlementRequest) GetName ¶
func (x *ActivateEntitlementRequest) GetName() string
func (*ActivateEntitlementRequest) GetRequestId ¶
func (x *ActivateEntitlementRequest) GetRequestId() string
func (*ActivateEntitlementRequest) ProtoMessage ¶
func (*ActivateEntitlementRequest) ProtoMessage()
func (*ActivateEntitlementRequest) ProtoReflect ¶
func (x *ActivateEntitlementRequest) ProtoReflect() protoreflect.Message
func (*ActivateEntitlementRequest) Reset ¶
func (x *ActivateEntitlementRequest) Reset()
func (*ActivateEntitlementRequest) String ¶
func (x *ActivateEntitlementRequest) String() string
type AdminUser ¶
type AdminUser struct { // Primary email of the admin user. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // Given name of the admin user. GivenName string `protobuf:"bytes,2,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` // Family name of the admin user. FamilyName string `protobuf:"bytes,3,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` // contains filtered or unexported fields }
Information needed to create an Admin User for Google Workspace.
func (*AdminUser) Descriptor
deprecated
func (*AdminUser) GetFamilyName ¶
func (*AdminUser) GetGivenName ¶
func (*AdminUser) ProtoMessage ¶
func (*AdminUser) ProtoMessage()
func (*AdminUser) ProtoReflect ¶
func (x *AdminUser) ProtoReflect() protoreflect.Message
type AssociationInfo ¶
type AssociationInfo struct { // The name of the base entitlement, for which this entitlement is an add-on. BaseEntitlement string `protobuf:"bytes,1,opt,name=base_entitlement,json=baseEntitlement,proto3" json:"base_entitlement,omitempty"` // contains filtered or unexported fields }
Association links that an entitlement has to other entitlements.
func (*AssociationInfo) Descriptor
deprecated
func (*AssociationInfo) Descriptor() ([]byte, []int)
Deprecated: Use AssociationInfo.ProtoReflect.Descriptor instead.
func (*AssociationInfo) GetBaseEntitlement ¶
func (x *AssociationInfo) GetBaseEntitlement() string
func (*AssociationInfo) ProtoMessage ¶
func (*AssociationInfo) ProtoMessage()
func (*AssociationInfo) ProtoReflect ¶
func (x *AssociationInfo) ProtoReflect() protoreflect.Message
func (*AssociationInfo) Reset ¶
func (x *AssociationInfo) Reset()
func (*AssociationInfo) String ¶
func (x *AssociationInfo) String() string
type CancelEntitlementRequest ¶
type CancelEntitlementRequest struct { // Required. The resource name of the entitlement to cancel. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
func (*CancelEntitlementRequest) Descriptor
deprecated
func (*CancelEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelEntitlementRequest.ProtoReflect.Descriptor instead.
func (*CancelEntitlementRequest) GetName ¶
func (x *CancelEntitlementRequest) GetName() string
func (*CancelEntitlementRequest) GetRequestId ¶
func (x *CancelEntitlementRequest) GetRequestId() string
func (*CancelEntitlementRequest) ProtoMessage ¶
func (*CancelEntitlementRequest) ProtoMessage()
func (*CancelEntitlementRequest) ProtoReflect ¶
func (x *CancelEntitlementRequest) ProtoReflect() protoreflect.Message
func (*CancelEntitlementRequest) Reset ¶
func (x *CancelEntitlementRequest) Reset()
func (*CancelEntitlementRequest) String ¶
func (x *CancelEntitlementRequest) String() string
type ChangeOfferRequest ¶
type ChangeOfferRequest struct { // Required. The name of the entitlement to update. // Format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. New Offer. // Format: accounts/{account_id}/offers/{offer_id}. Offer string `protobuf:"bytes,2,opt,name=offer,proto3" json:"offer,omitempty"` // Optional. Parameters needed to purchase the Offer. Parameters []*Parameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"` // Optional. Purchase order id provided by the reseller. PurchaseOrderId string `protobuf:"bytes,5,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
func (*ChangeOfferRequest) Descriptor
deprecated
func (*ChangeOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeOfferRequest.ProtoReflect.Descriptor instead.
func (*ChangeOfferRequest) GetName ¶
func (x *ChangeOfferRequest) GetName() string
func (*ChangeOfferRequest) GetOffer ¶
func (x *ChangeOfferRequest) GetOffer() string
func (*ChangeOfferRequest) GetParameters ¶
func (x *ChangeOfferRequest) GetParameters() []*Parameter
func (*ChangeOfferRequest) GetPurchaseOrderId ¶
func (x *ChangeOfferRequest) GetPurchaseOrderId() string
func (*ChangeOfferRequest) GetRequestId ¶
func (x *ChangeOfferRequest) GetRequestId() string
func (*ChangeOfferRequest) ProtoMessage ¶
func (*ChangeOfferRequest) ProtoMessage()
func (*ChangeOfferRequest) ProtoReflect ¶
func (x *ChangeOfferRequest) ProtoReflect() protoreflect.Message
func (*ChangeOfferRequest) Reset ¶
func (x *ChangeOfferRequest) Reset()
func (*ChangeOfferRequest) String ¶
func (x *ChangeOfferRequest) String() string
type ChangeParametersRequest ¶
type ChangeParametersRequest struct { // Required. The name of the entitlement to update. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Entitlement parameters to update. Only editable parameters are allowed to // be changed. Parameters []*Parameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Optional. Purchase order ID provided by the reseller. PurchaseOrderId string `protobuf:"bytes,5,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ChangeParametersRequest][].
func (*ChangeParametersRequest) Descriptor
deprecated
func (*ChangeParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeParametersRequest.ProtoReflect.Descriptor instead.
func (*ChangeParametersRequest) GetName ¶
func (x *ChangeParametersRequest) GetName() string
func (*ChangeParametersRequest) GetParameters ¶
func (x *ChangeParametersRequest) GetParameters() []*Parameter
func (*ChangeParametersRequest) GetPurchaseOrderId ¶
func (x *ChangeParametersRequest) GetPurchaseOrderId() string
func (*ChangeParametersRequest) GetRequestId ¶
func (x *ChangeParametersRequest) GetRequestId() string
func (*ChangeParametersRequest) ProtoMessage ¶
func (*ChangeParametersRequest) ProtoMessage()
func (*ChangeParametersRequest) ProtoReflect ¶
func (x *ChangeParametersRequest) ProtoReflect() protoreflect.Message
func (*ChangeParametersRequest) Reset ¶
func (x *ChangeParametersRequest) Reset()
func (*ChangeParametersRequest) String ¶
func (x *ChangeParametersRequest) String() string
type ChangeRenewalSettingsRequest ¶
type ChangeRenewalSettingsRequest struct { // Required. The name of the entitlement to update. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. New renewal settings. RenewalSettings *RenewalSettings `protobuf:"bytes,4,opt,name=renewal_settings,json=renewalSettings,proto3" json:"renewal_settings,omitempty"` // Optional. A request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
func (*ChangeRenewalSettingsRequest) Descriptor
deprecated
func (*ChangeRenewalSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRenewalSettingsRequest.ProtoReflect.Descriptor instead.
func (*ChangeRenewalSettingsRequest) GetName ¶
func (x *ChangeRenewalSettingsRequest) GetName() string
func (*ChangeRenewalSettingsRequest) GetRenewalSettings ¶
func (x *ChangeRenewalSettingsRequest) GetRenewalSettings() *RenewalSettings
func (*ChangeRenewalSettingsRequest) GetRequestId ¶
func (x *ChangeRenewalSettingsRequest) GetRequestId() string
func (*ChangeRenewalSettingsRequest) ProtoMessage ¶
func (*ChangeRenewalSettingsRequest) ProtoMessage()
func (*ChangeRenewalSettingsRequest) ProtoReflect ¶
func (x *ChangeRenewalSettingsRequest) ProtoReflect() protoreflect.Message
func (*ChangeRenewalSettingsRequest) Reset ¶
func (x *ChangeRenewalSettingsRequest) Reset()
func (*ChangeRenewalSettingsRequest) String ¶
func (x *ChangeRenewalSettingsRequest) String() string
type ChannelPartnerLink ¶
type ChannelPartnerLink struct { // Output only. Resource name for the channel partner link, in the format // accounts/{account_id}/channelPartnerLinks/{id}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Cloud Identity ID of the linked reseller. ResellerCloudIdentityId string `` /* 134-byte string literal not displayed */ // Required. State of the channel partner link. LinkState ChannelPartnerLinkState `` /* 142-byte string literal not displayed */ // Output only. URI of the web page where partner accepts the link invitation. InviteLinkUri string `protobuf:"bytes,4,opt,name=invite_link_uri,json=inviteLinkUri,proto3" json:"invite_link_uri,omitempty"` // Output only. Timestamp of when the channel partner link is created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp of when the channel partner link is updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Public identifier that a customer must use to generate a transfer token // to move to this distributor-reseller combination. PublicId string `protobuf:"bytes,7,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty"` // Output only. Cloud Identity info of the channel partner (IR). ChannelPartnerCloudIdentityInfo *CloudIdentityInfo `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.
func (*ChannelPartnerLink) Descriptor
deprecated
func (*ChannelPartnerLink) Descriptor() ([]byte, []int)
Deprecated: Use ChannelPartnerLink.ProtoReflect.Descriptor instead.
func (*ChannelPartnerLink) GetChannelPartnerCloudIdentityInfo ¶
func (x *ChannelPartnerLink) GetChannelPartnerCloudIdentityInfo() *CloudIdentityInfo
func (*ChannelPartnerLink) GetCreateTime ¶
func (x *ChannelPartnerLink) GetCreateTime() *timestamppb.Timestamp
func (*ChannelPartnerLink) GetInviteLinkUri ¶
func (x *ChannelPartnerLink) GetInviteLinkUri() string
func (*ChannelPartnerLink) GetLinkState ¶
func (x *ChannelPartnerLink) GetLinkState() ChannelPartnerLinkState
func (*ChannelPartnerLink) GetName ¶
func (x *ChannelPartnerLink) GetName() string
func (*ChannelPartnerLink) GetPublicId ¶
func (x *ChannelPartnerLink) GetPublicId() string
func (*ChannelPartnerLink) GetResellerCloudIdentityId ¶
func (x *ChannelPartnerLink) GetResellerCloudIdentityId() string
func (*ChannelPartnerLink) GetUpdateTime ¶
func (x *ChannelPartnerLink) GetUpdateTime() *timestamppb.Timestamp
func (*ChannelPartnerLink) ProtoMessage ¶
func (*ChannelPartnerLink) ProtoMessage()
func (*ChannelPartnerLink) ProtoReflect ¶
func (x *ChannelPartnerLink) ProtoReflect() protoreflect.Message
func (*ChannelPartnerLink) Reset ¶
func (x *ChannelPartnerLink) Reset()
func (*ChannelPartnerLink) String ¶
func (x *ChannelPartnerLink) String() string
type ChannelPartnerLinkState ¶
type ChannelPartnerLinkState int32
ChannelPartnerLinkState represents state of a channel partner link.
const ( // The state is not specified. ChannelPartnerLinkState_CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED ChannelPartnerLinkState = 0 // An invitation has been sent to the reseller to create a channel partner // link. ChannelPartnerLinkState_INVITED ChannelPartnerLinkState = 1 // Status when the reseller is active. ChannelPartnerLinkState_ACTIVE ChannelPartnerLinkState = 2 // Status when the reseller has been revoked by the distributor. ChannelPartnerLinkState_REVOKED ChannelPartnerLinkState = 3 // Status when the reseller is suspended by Google or distributor. ChannelPartnerLinkState_SUSPENDED ChannelPartnerLinkState = 4 )
func (ChannelPartnerLinkState) Descriptor ¶
func (ChannelPartnerLinkState) Descriptor() protoreflect.EnumDescriptor
func (ChannelPartnerLinkState) Enum ¶
func (x ChannelPartnerLinkState) Enum() *ChannelPartnerLinkState
func (ChannelPartnerLinkState) EnumDescriptor
deprecated
func (ChannelPartnerLinkState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelPartnerLinkState.Descriptor instead.
func (ChannelPartnerLinkState) Number ¶
func (x ChannelPartnerLinkState) Number() protoreflect.EnumNumber
func (ChannelPartnerLinkState) String ¶
func (x ChannelPartnerLinkState) String() string
func (ChannelPartnerLinkState) Type ¶
func (ChannelPartnerLinkState) Type() protoreflect.EnumType
type ChannelPartnerLinkView ¶
type ChannelPartnerLinkView int32
The level of granularity the ChannelPartnerLink[google.cloud.channel.v1.ChannelPartnerLink] will display.
const ( // The default / unset value. // The API will default to the BASIC view. ChannelPartnerLinkView_UNSPECIFIED ChannelPartnerLinkView = 0 // Includes all fields except the // [ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info]. ChannelPartnerLinkView_BASIC ChannelPartnerLinkView = 1 // Includes all fields. ChannelPartnerLinkView_FULL ChannelPartnerLinkView = 2 )
func (ChannelPartnerLinkView) Descriptor ¶
func (ChannelPartnerLinkView) Descriptor() protoreflect.EnumDescriptor
func (ChannelPartnerLinkView) Enum ¶
func (x ChannelPartnerLinkView) Enum() *ChannelPartnerLinkView
func (ChannelPartnerLinkView) EnumDescriptor
deprecated
func (ChannelPartnerLinkView) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelPartnerLinkView.Descriptor instead.
func (ChannelPartnerLinkView) Number ¶
func (x ChannelPartnerLinkView) Number() protoreflect.EnumNumber
func (ChannelPartnerLinkView) String ¶
func (x ChannelPartnerLinkView) String() string
func (ChannelPartnerLinkView) Type ¶
func (ChannelPartnerLinkView) Type() protoreflect.EnumType
type CheckCloudIdentityAccountsExistRequest ¶
type CheckCloudIdentityAccountsExistRequest struct { // Required. The resource name of the reseller account. // The parent takes the format: accounts/{account_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Domain for which the Cloud Identity account customer is fetched. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
func (*CheckCloudIdentityAccountsExistRequest) Descriptor
deprecated
func (*CheckCloudIdentityAccountsExistRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckCloudIdentityAccountsExistRequest.ProtoReflect.Descriptor instead.
func (*CheckCloudIdentityAccountsExistRequest) GetDomain ¶
func (x *CheckCloudIdentityAccountsExistRequest) GetDomain() string
func (*CheckCloudIdentityAccountsExistRequest) GetParent ¶
func (x *CheckCloudIdentityAccountsExistRequest) GetParent() string
func (*CheckCloudIdentityAccountsExistRequest) ProtoMessage ¶
func (*CheckCloudIdentityAccountsExistRequest) ProtoMessage()
func (*CheckCloudIdentityAccountsExistRequest) ProtoReflect ¶
func (x *CheckCloudIdentityAccountsExistRequest) ProtoReflect() protoreflect.Message
func (*CheckCloudIdentityAccountsExistRequest) Reset ¶
func (x *CheckCloudIdentityAccountsExistRequest) Reset()
func (*CheckCloudIdentityAccountsExistRequest) String ¶
func (x *CheckCloudIdentityAccountsExistRequest) String() string
type CheckCloudIdentityAccountsExistResponse ¶
type CheckCloudIdentityAccountsExistResponse struct { // The Cloud Identity accounts associated with the domain. CloudIdentityAccounts []*CloudIdentityCustomerAccount `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Response message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
func (*CheckCloudIdentityAccountsExistResponse) Descriptor
deprecated
func (*CheckCloudIdentityAccountsExistResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckCloudIdentityAccountsExistResponse.ProtoReflect.Descriptor instead.
func (*CheckCloudIdentityAccountsExistResponse) GetCloudIdentityAccounts ¶
func (x *CheckCloudIdentityAccountsExistResponse) GetCloudIdentityAccounts() []*CloudIdentityCustomerAccount
func (*CheckCloudIdentityAccountsExistResponse) ProtoMessage ¶
func (*CheckCloudIdentityAccountsExistResponse) ProtoMessage()
func (*CheckCloudIdentityAccountsExistResponse) ProtoReflect ¶
func (x *CheckCloudIdentityAccountsExistResponse) ProtoReflect() protoreflect.Message
func (*CheckCloudIdentityAccountsExistResponse) Reset ¶
func (x *CheckCloudIdentityAccountsExistResponse) Reset()
func (*CheckCloudIdentityAccountsExistResponse) String ¶
func (x *CheckCloudIdentityAccountsExistResponse) String() string
type CloudChannelServiceClient ¶
type CloudChannelServiceClient interface { // List downstream [Customer][google.cloud.channel.v1.Customer]s. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // // Return Value: // <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if // there are none. ListCustomers(ctx context.Context, in *ListCustomersRequest, opts ...grpc.CallOption) (*ListCustomersResponse, error) // Returns a requested [Customer][google.cloud.channel.v1.Customer] resource. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: If the customer resource doesn't exist. Usually // the result of an invalid name parameter. // // Return Value: // <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*Customer, error) // Confirms the existence of Cloud Identity accounts, based on the domain and // whether the Cloud Identity accounts are owned by the reseller. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * INVALID_VALUE: Invalid domain value in the request. // * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer // for the domain specified in the request. // // Return Value: // <br/> List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for // the domain, otherwise an error is returned. CheckCloudIdentityAccountsExist(ctx context.Context, in *CheckCloudIdentityAccountsExistRequest, opts ...grpc.CallOption) (*CheckCloudIdentityAccountsExistResponse, error) // Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor // account. // // Possible Error Codes: // <ul> // <li>PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different.</li> // <li> INVALID_ARGUMENT: // <ul> // <li> Missing or invalid required parameters in the request. </li> // <li> Domain field value doesn't match the domain specified in primary // email.</li> // </ul> // </li> // </ul> // // Return Value: // <br/> If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise // returns an error. CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*Customer, error) // Updates an existing [Customer][google.cloud.channel.v1.Customer] resource belonging to the reseller or // distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name // specified in the request. // // Return Value: // <br/> If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns // an error. UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*Customer, error) // Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently and irreversibly. // // Possible Error Codes: // // * PERMISSION_DENIED: If the account making the request does not own // this customer. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * FAILED_PRECONDITION: If the customer has existing entitlements. // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name // specified in the request. DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Creates a Cloud Identity for the given customer using the customer's // information or the information provided here, if present. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. // * NOT_FOUND: If the customer is not found for the reseller. // * ALREADY_EXISTS: If the customer's primary email already exists. In this // case, 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 in this case. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // Contact Cloud Channel support in this case. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ProvisionCloudIdentity(ctx context.Context, in *ProvisionCloudIdentityRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // List [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. // // Return Value: // <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if // there are none. ListEntitlements(ctx context.Context, in *ListEntitlementsRequest, opts ...grpc.CallOption) (*ListEntitlementsResponse, error) // List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on Cloud Identity ID or // Customer Name in the request. // // This method is used when a reseller lists the entitlements // information of a customer that is not owned. The reseller should provide // the customer's Cloud Identity ID or Customer Name. // // Possible Error Codes: // <ul> // <li>PERMISSION_DENIED, due to one of the following reasons: // <ul> // <li> If the customer doesn't belong to the reseller and no auth token, // or an invalid auth token is supplied. </li> <li> If the reseller account // making the request and the reseller account being queried for are // different. </li> // </ul> // </li> // <li> INVALID_ARGUMENT: Missing or invalid required parameters in the // request.</li> // </ul> // // Return Value: // <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. ListTransferableSkus(ctx context.Context, in *ListTransferableSkusRequest, opts ...grpc.CallOption) (*ListTransferableSkusResponse, error) // List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or // Customer Name in the request. // // This method is used when a reseller gets the entitlement // information of a customer that is not owned. The reseller should provide // the customer's Cloud Identity ID or Customer Name. // // Possible Error Codes: // // * PERMISSION_DENIED, due to one of the following reasons: (a) If the // customer doesn't belong to the reseller and no auth token or invalid auth // token is supplied. (b) If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // // Return Value: // List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU. ListTransferableOffers(ctx context.Context, in *ListTransferableOffersRequest, opts ...grpc.CallOption) (*ListTransferableOffersResponse, error) // Returns a requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: If the entitlement is not found for the customer. // // Return Value: // <br/> If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns // an error. GetEntitlement(ctx context.Context, in *GetEntitlementRequest, opts ...grpc.CallOption) (*Entitlement, error) // Creates an entitlement for a customer. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller. // </li> <li> INVALID_ARGUMENT: <ul> // <li> Missing or invalid required parameters in the request. </li> // <li> Cannot purchase an entitlement if there is already an // entitlement for customer, for a SKU from the same product family. </li> // <li> INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is // valid. If it is valid, then contact Google Channel support for further // troubleshooting. </li> // </ul> // </li> // <li> NOT_FOUND: If the customer or offer resource is not found for the // reseller. </li> // <li> ALREADY_EXISTS: This failure can happen in the following cases: // <ul> // <li>If the SKU has been already purchased for the customer.</li> // <li>If the customer's primary email already exists. In this case retry // after changing the customer's primary contact email. // </li> // </ul> // </li> // <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This // failure can happen in the following cases: // <ul> // <li> Purchasing a SKU that requires domain verification and the // domain has not been verified. </li> // <li> Purchasing an Add-On SKU like Vault or Drive without purchasing // the pre-requisite SKU, such as Google Workspace Business Starter. </li> // <li> Applicable only for developer accounts: reseller and resold // domain. Must meet the following domain naming requirements: // <ul> // <li> Domain names must start with goog-test. </li> // <li> Resold domain names must include the reseller domain. </li> // </ul> // </li> // </ul> // </li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. Contact Cloud Channel Support in this case. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. Contact Cloud Channel Support in this case. </li> // </ul> // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. CreateEntitlement(ctx context.Context, in *CreateEntitlementRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Change parameters of the entitlement // // An entitlement parameters update is a long-running operation and results in // updates to the entitlement as a result of fulfillment. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. For example, if the number of seats being changed to is greater // than the allowed number of max seats for the resource. 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. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ChangeParameters(ctx context.Context, in *ChangeParametersRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the renewal settings for an existing customer entitlement. // // An entitlement update is a long-running operation and results in updates to // the entitlement as a result of fulfillment. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: Entitlement resource not found. // * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a // commitment plan. Can't enable or disable renewal for non-commitment plans. // * INTERNAL: Any non user error related to a technical issue in the // backend. In this case, contact Cloud Channel support. // * UNKNOWN: Any non user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ChangeRenewalSettings(ctx context.Context, in *ChangeRenewalSettingsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the Offer for an existing customer entitlement. // // An entitlement update is a long-running operation and results in updates to // the entitlement as a result of fulfillment. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: Offer or Entitlement resource not found. // * INTERNAL: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ChangeOffer(ctx context.Context, in *ChangeOfferRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Starts paid service for a trial entitlement. // // Starts paid service for a trial entitlement immediately. This method is // only applicable if a plan has already been set up for a trial entitlement // but has some trial days remaining. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * 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. // In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue // in the backend. In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. StartPaidService(ctx context.Context, in *StartPaidServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Suspends a previously fulfilled entitlement. // An entitlement suspension is a long-running operation. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * 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. // In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. SuspendEntitlement(ctx context.Context, in *SuspendEntitlementRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Cancels a previously fulfilled entitlement. // An entitlement cancellation is a long-running operation. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller or // if the reseller account making the request and reseller account being // queried for are different. // * FAILED_PRECONDITION: If there are any Google Cloud projects linked to the // Google Cloud entitlement's Cloud Billing subaccount. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * 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. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // 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][google.cloud.channel.v1.OperationMetadata]. CancelEntitlement(ctx context.Context, in *CancelEntitlementRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Activates a previously suspended entitlement. The entitlement must be in a // suspended state for it to be activated. Entitlements suspended for pending // ToS acceptance can't be activated using this method. An entitlement // activation is a long-running operation and can result in updates to // the state of the customer entitlement. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller or // if the reseller account making the request and reseller account being // queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: Entitlement resource not found. // * SUSPENSION_NOT_RESELLER_INITIATED: Can't activate an // entitlement that is pending TOS acceptance. Only reseller initiated // suspensions can be activated. // * NOT_SUSPENDED: Can't activate entitlements that are already in ACTIVE // state. Can only activate suspended entitlements. // * INTERNAL: Any non-user error related to a technical issue // in the backend. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ActivateEntitlement(ctx context.Context, in *ActivateEntitlementRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Transfers customer entitlements to new reseller. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the customer doesn't belong to the // reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required // parameters in the request. </li> <li> NOT_FOUND: If the customer or offer // resource is not found for the reseller. </li> <li> ALREADY_EXISTS: If the // SKU has been already transferred for the customer. </li> <li> // CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the // following cases: <ul> // <li> Transferring a SKU that requires domain verification and the // domain has not been verified. </li> // <li> Transferring an Add-On SKU like Vault or Drive without transferring // the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for // developer accounts: reseller and resold domain must follow the domain // naming convention as follows: // <ul> // <li> Domain names must start with goog-test. </li> // <li> Resold domain names must include the reseller domain. </li> // </ul> // </li> // <li> All transferring entitlements must be specified. </li> // </ul> // </li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case. </li> // </ul> // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. TransferEntitlements(ctx context.Context, in *TransferEntitlementsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Transfers customer entitlements from current reseller to Google. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller. // </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in the // request. </li> // <li> NOT_FOUND: If the customer or offer resource is not found // for the reseller. </li> // <li> ALREADY_EXISTS: If the SKU has been already // transferred for the customer. </li> // <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in // the following cases: // <ul> // <li> Transferring a SKU that requires domain verification and the // domain has not been verified. </li> // <li> Transferring an Add-On SKU like Vault or Drive without purchasing // the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for // developer accounts: reseller and resold domain must follow the domain // naming convention as follows: // <ul> // <li> Domain names must start with goog-test. </li> // <li> Resold domain names must include the reseller domain. </li> // </ul> // </li> // </ul> // </li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case.</li> // </ul> // // Return Value: // <br/> Long Running Operation ID. // // 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][google.cloud.channel.v1.OperationMetadata]. TransferEntitlementsToGoogle(ctx context.Context, in *TransferEntitlementsToGoogleRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor. // To call this method, you must be a distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // // Return Value: // <br/> If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources // for the distributor account, otherwise returns an error. ListChannelPartnerLinks(ctx context.Context, in *ListChannelPartnerLinksRequest, opts ...grpc.CallOption) (*ListChannelPartnerLinksResponse, error) // Returns a requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. // To call this method, you must be a distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: ChannelPartnerLink resource not found. Results // due invalid channel partner link name. // // Return Value: // <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. GetChannelPartnerLink(ctx context.Context, in *GetChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) // Initiates a channel partner link between a distributor and a reseller or // between resellers in an n-tier reseller channel. // To accept the invite, the invited partner should follow the invite_link_uri // provided in the response. If the link creation is accepted, a valid link is // set up between the two involved parties. // To call this method, you must be a distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * ALREADY_EXISTS: If the ChannelPartnerLink sent in the request already // exists. // * NOT_FOUND: If no Cloud Identity customer exists for domain provided. // * INTERNAL: Any non-user error related to a technical issue in the // backend. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in // the backend. In this case, contact Cloud Channel support. // // Return Value: // <br/> Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, // otherwise error is returned. CreateChannelPartnerLink(ctx context.Context, in *CreateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) // Updates a channel partner link. A distributor calls this method to change a // link's status. For example, suspend a partner link. // To call this method, you must be a distributor. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. </li> // <li> INVALID_ARGUMENT: // <ul> // <li> Missing or invalid required parameters in the request. </li> // <li> Updating link state from invited to active or suspended. </li> // <li> Sending reseller_cloud_identity_id, invite_url or name in update // mask. </li> // </ul> // </li> // <li> NOT_FOUND: ChannelPartnerLink resource not found.</li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. In this case, contact Cloud Channel support. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. In this case, contact Cloud Channel support.</li> // </ul> // // Return Value: // <br/> If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise // returns an error. UpdateChannelPartnerLink(ctx context.Context, in *UpdateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) // Lists the Products the reseller is authorized to sell. // // Possible Error Codes: // // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) // Lists the SKUs for a product the reseller is authorized to sell. // // Possible Error Codes: // // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListSkus(ctx context.Context, in *ListSkusRequest, opts ...grpc.CallOption) (*ListSkusResponse, error) // Lists the Offers the reseller can sell. // // Possible Error Codes: // // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListOffers(ctx context.Context, in *ListOffersRequest, opts ...grpc.CallOption) (*ListOffersResponse, error) // Lists the Purchasable SKUs for following cases: // // * SKUs that can be newly purchased for a customer // * SKUs that can be upgraded/downgraded to, for an entitlement. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListPurchasableSkus(ctx context.Context, in *ListPurchasableSkusRequest, opts ...grpc.CallOption) (*ListPurchasableSkusResponse, error) // Lists the Purchasable Offers for the following cases: // // * Offers that can be newly purchased for a customer // * Offers that can be changed to, for an entitlement. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListPurchasableOffers(ctx context.Context, in *ListPurchasableOffersRequest, opts ...grpc.CallOption) (*ListPurchasableOffersResponse, error) }
CloudChannelServiceClient is the client API for CloudChannelService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCloudChannelServiceClient ¶
func NewCloudChannelServiceClient(cc grpc.ClientConnInterface) CloudChannelServiceClient
type CloudChannelServiceServer ¶
type CloudChannelServiceServer interface { // List downstream [Customer][google.cloud.channel.v1.Customer]s. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // // Return Value: // <br/> List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if // there are none. ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error) // Returns a requested [Customer][google.cloud.channel.v1.Customer] resource. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: If the customer resource doesn't exist. Usually // the result of an invalid name parameter. // // Return Value: // <br/> [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise. GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error) // Confirms the existence of Cloud Identity accounts, based on the domain and // whether the Cloud Identity accounts are owned by the reseller. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * INVALID_VALUE: Invalid domain value in the request. // * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer // for the domain specified in the request. // // Return Value: // <br/> List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources if any exist for // the domain, otherwise an error is returned. CheckCloudIdentityAccountsExist(context.Context, *CheckCloudIdentityAccountsExistRequest) (*CheckCloudIdentityAccountsExistResponse, error) // Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor // account. // // Possible Error Codes: // <ul> // <li>PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different.</li> // <li> INVALID_ARGUMENT: // <ul> // <li> Missing or invalid required parameters in the request. </li> // <li> Domain field value doesn't match the domain specified in primary // email.</li> // </ul> // </li> // </ul> // // Return Value: // <br/> If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise // returns an error. CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error) // Updates an existing [Customer][google.cloud.channel.v1.Customer] resource belonging to the reseller or // distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name // specified in the request. // // Return Value: // <br/> If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns // an error. UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error) // Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently and irreversibly. // // Possible Error Codes: // // * PERMISSION_DENIED: If the account making the request does not own // this customer. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * FAILED_PRECONDITION: If the customer has existing entitlements. // * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name // specified in the request. DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error) // Creates a Cloud Identity for the given customer using the customer's // information or the information provided here, if present. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. // * NOT_FOUND: If the customer is not found for the reseller. // * ALREADY_EXISTS: If the customer's primary email already exists. In this // case, 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 in this case. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // Contact Cloud Channel support in this case. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunning.Operation, error) // List [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the request. // // Return Value: // <br/> List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if // there are none. ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error) // List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on Cloud Identity ID or // Customer Name in the request. // // This method is used when a reseller lists the entitlements // information of a customer that is not owned. The reseller should provide // the customer's Cloud Identity ID or Customer Name. // // Possible Error Codes: // <ul> // <li>PERMISSION_DENIED, due to one of the following reasons: // <ul> // <li> If the customer doesn't belong to the reseller and no auth token, // or an invalid auth token is supplied. </li> <li> If the reseller account // making the request and the reseller account being queried for are // different. </li> // </ul> // </li> // <li> INVALID_ARGUMENT: Missing or invalid required parameters in the // request.</li> // </ul> // // Return Value: // <br/> List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer. ListTransferableSkus(context.Context, *ListTransferableSkusRequest) (*ListTransferableSkusResponse, error) // List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or // Customer Name in the request. // // This method is used when a reseller gets the entitlement // information of a customer that is not owned. The reseller should provide // the customer's Cloud Identity ID or Customer Name. // // Possible Error Codes: // // * PERMISSION_DENIED, due to one of the following reasons: (a) If the // customer doesn't belong to the reseller and no auth token or invalid auth // token is supplied. (b) If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // // Return Value: // List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU. ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error) // Returns a requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: If the entitlement is not found for the customer. // // Return Value: // <br/> If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns // an error. GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error) // Creates an entitlement for a customer. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller. // </li> <li> INVALID_ARGUMENT: <ul> // <li> Missing or invalid required parameters in the request. </li> // <li> Cannot purchase an entitlement if there is already an // entitlement for customer, for a SKU from the same product family. </li> // <li> INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is // valid. If it is valid, then contact Google Channel support for further // troubleshooting. </li> // </ul> // </li> // <li> NOT_FOUND: If the customer or offer resource is not found for the // reseller. </li> // <li> ALREADY_EXISTS: This failure can happen in the following cases: // <ul> // <li>If the SKU has been already purchased for the customer.</li> // <li>If the customer's primary email already exists. In this case retry // after changing the customer's primary contact email. // </li> // </ul> // </li> // <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This // failure can happen in the following cases: // <ul> // <li> Purchasing a SKU that requires domain verification and the // domain has not been verified. </li> // <li> Purchasing an Add-On SKU like Vault or Drive without purchasing // the pre-requisite SKU, such as Google Workspace Business Starter. </li> // <li> Applicable only for developer accounts: reseller and resold // domain. Must meet the following domain naming requirements: // <ul> // <li> Domain names must start with goog-test. </li> // <li> Resold domain names must include the reseller domain. </li> // </ul> // </li> // </ul> // </li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. Contact Cloud Channel Support in this case. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. Contact Cloud Channel Support in this case. </li> // </ul> // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunning.Operation, error) // Change parameters of the entitlement // // An entitlement parameters update is a long-running operation and results in // updates to the entitlement as a result of fulfillment. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. For example, if the number of seats being changed to is greater // than the allowed number of max seats for the resource. 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. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunning.Operation, error) // Updates the renewal settings for an existing customer entitlement. // // An entitlement update is a long-running operation and results in updates to // the entitlement as a result of fulfillment. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: Entitlement resource not found. // * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a // commitment plan. Can't enable or disable renewal for non-commitment plans. // * INTERNAL: Any non user error related to a technical issue in the // backend. In this case, contact Cloud Channel support. // * UNKNOWN: Any non user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunning.Operation, error) // Updates the Offer for an existing customer entitlement. // // An entitlement update is a long-running operation and results in updates to // the entitlement as a result of fulfillment. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: Offer or Entitlement resource not found. // * INTERNAL: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunning.Operation, error) // Starts paid service for a trial entitlement. // // Starts paid service for a trial entitlement immediately. This method is // only applicable if a plan has already been set up for a trial entitlement // but has some trial days remaining. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * 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. // In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue // in the backend. In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunning.Operation, error) // Suspends a previously fulfilled entitlement. // An entitlement suspension is a long-running operation. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * 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. // In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunning.Operation, error) // Cancels a previously fulfilled entitlement. // An entitlement cancellation is a long-running operation. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller or // if the reseller account making the request and reseller account being // queried for are different. // * FAILED_PRECONDITION: If there are any Google Cloud projects linked to the // Google Cloud entitlement's Cloud Billing subaccount. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * 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. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // 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][google.cloud.channel.v1.OperationMetadata]. CancelEntitlement(context.Context, *CancelEntitlementRequest) (*longrunning.Operation, error) // Activates a previously suspended entitlement. The entitlement must be in a // suspended state for it to be activated. Entitlements suspended for pending // ToS acceptance can't be activated using this method. An entitlement // activation is a long-running operation and can result in updates to // the state of the customer entitlement. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller or // if the reseller account making the request and reseller account being // queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: Entitlement resource not found. // * SUSPENSION_NOT_RESELLER_INITIATED: Can't activate an // entitlement that is pending TOS acceptance. Only reseller initiated // suspensions can be activated. // * NOT_SUSPENDED: Can't activate entitlements that are already in ACTIVE // state. Can only activate suspended entitlements. // * INTERNAL: Any non-user error related to a technical issue // in the backend. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in the backend. // In this case, contact Cloud Channel support. // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. ActivateEntitlement(context.Context, *ActivateEntitlementRequest) (*longrunning.Operation, error) // Transfers customer entitlements to new reseller. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the customer doesn't belong to the // reseller.</li> <li> INVALID_ARGUMENT: Missing or invalid required // parameters in the request. </li> <li> NOT_FOUND: If the customer or offer // resource is not found for the reseller. </li> <li> ALREADY_EXISTS: If the // SKU has been already transferred for the customer. </li> <li> // CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the // following cases: <ul> // <li> Transferring a SKU that requires domain verification and the // domain has not been verified. </li> // <li> Transferring an Add-On SKU like Vault or Drive without transferring // the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for // developer accounts: reseller and resold domain must follow the domain // naming convention as follows: // <ul> // <li> Domain names must start with goog-test. </li> // <li> Resold domain names must include the reseller domain. </li> // </ul> // </li> // <li> All transferring entitlements must be specified. </li> // </ul> // </li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case. </li> // </ul> // // Return Value: // <br/> Long Running Operation ID. // // To get the results of the operation, call the GetOperation method of // CloudChannelOperationsService. The Operation metadata will contain an // instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. TransferEntitlements(context.Context, *TransferEntitlementsRequest) (*longrunning.Operation, error) // Transfers customer entitlements from current reseller to Google. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the customer doesn't belong to the reseller. // </li> <li> INVALID_ARGUMENT: Missing or invalid required parameters in the // request. </li> // <li> NOT_FOUND: If the customer or offer resource is not found // for the reseller. </li> // <li> ALREADY_EXISTS: If the SKU has been already // transferred for the customer. </li> // <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in // the following cases: // <ul> // <li> Transferring a SKU that requires domain verification and the // domain has not been verified. </li> // <li> Transferring an Add-On SKU like Vault or Drive without purchasing // the pre-requisite SKU, such as G Suite Basic </li> <li> Applicable only for // developer accounts: reseller and resold domain must follow the domain // naming convention as follows: // <ul> // <li> Domain names must start with goog-test. </li> // <li> Resold domain names must include the reseller domain. </li> // </ul> // </li> // </ul> // </li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. Please contact Cloud Channel Support in this case.</li> // </ul> // // Return Value: // <br/> Long Running Operation ID. // // 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][google.cloud.channel.v1.OperationMetadata]. TransferEntitlementsToGoogle(context.Context, *TransferEntitlementsToGoogleRequest) (*longrunning.Operation, error) // List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor. // To call this method, you must be a distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // // Return Value: // <br/> If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources // for the distributor account, otherwise returns an error. ListChannelPartnerLinks(context.Context, *ListChannelPartnerLinksRequest) (*ListChannelPartnerLinksResponse, error) // Returns a requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. // To call this method, you must be a distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * NOT_FOUND: ChannelPartnerLink resource not found. Results // due invalid channel partner link name. // // Return Value: // <br/> [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error. GetChannelPartnerLink(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error) // Initiates a channel partner link between a distributor and a reseller or // between resellers in an n-tier reseller channel. // To accept the invite, the invited partner should follow the invite_link_uri // provided in the response. If the link creation is accepted, a valid link is // set up between the two involved parties. // To call this method, you must be a distributor. // // Possible Error Codes: // // * PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. // * ALREADY_EXISTS: If the ChannelPartnerLink sent in the request already // exists. // * NOT_FOUND: If no Cloud Identity customer exists for domain provided. // * INTERNAL: Any non-user error related to a technical issue in the // backend. In this case, contact Cloud Channel support. // * UNKNOWN: Any non-user error related to a technical issue in // the backend. In this case, contact Cloud Channel support. // // Return Value: // <br/> Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful, // otherwise error is returned. CreateChannelPartnerLink(context.Context, *CreateChannelPartnerLinkRequest) (*ChannelPartnerLink, error) // Updates a channel partner link. A distributor calls this method to change a // link's status. For example, suspend a partner link. // To call this method, you must be a distributor. // // Possible Error Codes: // <ul> // <li> PERMISSION_DENIED: If the reseller account making the request and the // reseller account being queried for are different. </li> // <li> INVALID_ARGUMENT: // <ul> // <li> Missing or invalid required parameters in the request. </li> // <li> Updating link state from invited to active or suspended. </li> // <li> Sending reseller_cloud_identity_id, invite_url or name in update // mask. </li> // </ul> // </li> // <li> NOT_FOUND: ChannelPartnerLink resource not found.</li> // <li> INTERNAL: Any non-user error related to a technical issue in the // backend. In this case, contact Cloud Channel support. </li> // <li> UNKNOWN: Any non-user error related to a technical issue in the // backend. In this case, contact Cloud Channel support.</li> // </ul> // // Return Value: // <br/> If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise // returns an error. UpdateChannelPartnerLink(context.Context, *UpdateChannelPartnerLinkRequest) (*ChannelPartnerLink, error) // Lists the Products the reseller is authorized to sell. // // Possible Error Codes: // // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error) // Lists the SKUs for a product the reseller is authorized to sell. // // Possible Error Codes: // // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error) // Lists the Offers the reseller can sell. // // Possible Error Codes: // // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListOffers(context.Context, *ListOffersRequest) (*ListOffersResponse, error) // Lists the Purchasable SKUs for following cases: // // * SKUs that can be newly purchased for a customer // * SKUs that can be upgraded/downgraded to, for an entitlement. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListPurchasableSkus(context.Context, *ListPurchasableSkusRequest) (*ListPurchasableSkusResponse, error) // Lists the Purchasable Offers for the following cases: // // * Offers that can be newly purchased for a customer // * Offers that can be changed to, for an entitlement. // // Possible Error Codes: // // * PERMISSION_DENIED: If the customer doesn't belong to the reseller // * INVALID_ARGUMENT: Missing or invalid required parameters in the // request. ListPurchasableOffers(context.Context, *ListPurchasableOffersRequest) (*ListPurchasableOffersResponse, error) }
CloudChannelServiceServer is the server API for CloudChannelService service.
type CloudIdentityCustomerAccount ¶
type CloudIdentityCustomerAccount struct { // True if a Cloud Identity account exists for a specific domain. Existing bool `protobuf:"varint,1,opt,name=existing,proto3" json:"existing,omitempty"` // True if the Cloud Identity account is associated with a customer // belonging to the Channel Services partner making the API call. Owned bool `protobuf:"varint,2,opt,name=owned,proto3" json:"owned,omitempty"` // Name of the customer that owns the Cloud Identity account. This field is // populated ONLY if owned = true. // The customer_name takes the format: // accounts/{account_id}/customers/{customer_id} CustomerName string `protobuf:"bytes,3,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"` // Cloud Identity ID of the customer. This field is populated ONLY if // existing = true. CustomerCloudIdentityId string `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
Entity representing a Cloud Identity account which may or may not be associated with a Channel Services API partner.
func (*CloudIdentityCustomerAccount) Descriptor
deprecated
func (*CloudIdentityCustomerAccount) Descriptor() ([]byte, []int)
Deprecated: Use CloudIdentityCustomerAccount.ProtoReflect.Descriptor instead.
func (*CloudIdentityCustomerAccount) GetCustomerCloudIdentityId ¶
func (x *CloudIdentityCustomerAccount) GetCustomerCloudIdentityId() string
func (*CloudIdentityCustomerAccount) GetCustomerName ¶
func (x *CloudIdentityCustomerAccount) GetCustomerName() string
func (*CloudIdentityCustomerAccount) GetExisting ¶
func (x *CloudIdentityCustomerAccount) GetExisting() bool
func (*CloudIdentityCustomerAccount) GetOwned ¶
func (x *CloudIdentityCustomerAccount) GetOwned() bool
func (*CloudIdentityCustomerAccount) ProtoMessage ¶
func (*CloudIdentityCustomerAccount) ProtoMessage()
func (*CloudIdentityCustomerAccount) ProtoReflect ¶
func (x *CloudIdentityCustomerAccount) ProtoReflect() protoreflect.Message
func (*CloudIdentityCustomerAccount) Reset ¶
func (x *CloudIdentityCustomerAccount) Reset()
func (*CloudIdentityCustomerAccount) String ¶
func (x *CloudIdentityCustomerAccount) String() string
type CloudIdentityInfo ¶
type CloudIdentityInfo struct { // CustomerType indicates verification type needed for using services. CustomerType CloudIdentityInfo_CustomerType `` /* 158-byte string literal not displayed */ // Output only. The primary domain name. PrimaryDomain string `protobuf:"bytes,9,opt,name=primary_domain,json=primaryDomain,proto3" json:"primary_domain,omitempty"` // Whether the domain is verified. IsDomainVerified bool `protobuf:"varint,4,opt,name=is_domain_verified,json=isDomainVerified,proto3" json:"is_domain_verified,omitempty"` // The alternate email. AlternateEmail string `protobuf:"bytes,6,opt,name=alternate_email,json=alternateEmail,proto3" json:"alternate_email,omitempty"` // Phone number associated with the Cloud Identity. PhoneNumber string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // Language code. LanguageCode string `protobuf:"bytes,8,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Output only. URI of Customer's Admin console dashboard. AdminConsoleUri string `protobuf:"bytes,10,opt,name=admin_console_uri,json=adminConsoleUri,proto3" json:"admin_console_uri,omitempty"` // Edu information about the customer. EduData *EduData `protobuf:"bytes,22,opt,name=edu_data,json=eduData,proto3" json:"edu_data,omitempty"` // contains filtered or unexported fields }
Cloud Identity information for the Cloud Channel Customer.
func (*CloudIdentityInfo) Descriptor
deprecated
func (*CloudIdentityInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudIdentityInfo.ProtoReflect.Descriptor instead.
func (*CloudIdentityInfo) GetAdminConsoleUri ¶
func (x *CloudIdentityInfo) GetAdminConsoleUri() string
func (*CloudIdentityInfo) GetAlternateEmail ¶
func (x *CloudIdentityInfo) GetAlternateEmail() string
func (*CloudIdentityInfo) GetCustomerType ¶
func (x *CloudIdentityInfo) GetCustomerType() CloudIdentityInfo_CustomerType
func (*CloudIdentityInfo) GetEduData ¶
func (x *CloudIdentityInfo) GetEduData() *EduData
func (*CloudIdentityInfo) GetIsDomainVerified ¶
func (x *CloudIdentityInfo) GetIsDomainVerified() bool
func (*CloudIdentityInfo) GetLanguageCode ¶
func (x *CloudIdentityInfo) GetLanguageCode() string
func (*CloudIdentityInfo) GetPhoneNumber ¶
func (x *CloudIdentityInfo) GetPhoneNumber() string
func (*CloudIdentityInfo) GetPrimaryDomain ¶
func (x *CloudIdentityInfo) GetPrimaryDomain() string
func (*CloudIdentityInfo) ProtoMessage ¶
func (*CloudIdentityInfo) ProtoMessage()
func (*CloudIdentityInfo) ProtoReflect ¶
func (x *CloudIdentityInfo) ProtoReflect() protoreflect.Message
func (*CloudIdentityInfo) Reset ¶
func (x *CloudIdentityInfo) Reset()
func (*CloudIdentityInfo) String ¶
func (x *CloudIdentityInfo) String() string
type CloudIdentityInfo_CustomerType ¶
type CloudIdentityInfo_CustomerType int32
CustomerType of the customer
const ( // Default value. This state doesn't show unless an error occurs. CloudIdentityInfo_CUSTOMER_TYPE_UNSPECIFIED CloudIdentityInfo_CustomerType = 0 // Domain-owning customer which needs domain verification to use services. CloudIdentityInfo_DOMAIN CloudIdentityInfo_CustomerType = 1 // Team customer which needs email verification to use services. CloudIdentityInfo_TEAM CloudIdentityInfo_CustomerType = 2 )
func (CloudIdentityInfo_CustomerType) Descriptor ¶
func (CloudIdentityInfo_CustomerType) Descriptor() protoreflect.EnumDescriptor
func (CloudIdentityInfo_CustomerType) Enum ¶
func (x CloudIdentityInfo_CustomerType) Enum() *CloudIdentityInfo_CustomerType
func (CloudIdentityInfo_CustomerType) EnumDescriptor
deprecated
func (CloudIdentityInfo_CustomerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudIdentityInfo_CustomerType.Descriptor instead.
func (CloudIdentityInfo_CustomerType) Number ¶
func (x CloudIdentityInfo_CustomerType) Number() protoreflect.EnumNumber
func (CloudIdentityInfo_CustomerType) String ¶
func (x CloudIdentityInfo_CustomerType) String() string
func (CloudIdentityInfo_CustomerType) Type ¶
func (CloudIdentityInfo_CustomerType) Type() protoreflect.EnumType
type CommitmentSettings ¶
type CommitmentSettings struct { // Output only. Commitment start timestamp. StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Commitment end timestamp. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Optional. Renewal settings applicable for a commitment-based Offer. RenewalSettings *RenewalSettings `protobuf:"bytes,4,opt,name=renewal_settings,json=renewalSettings,proto3" json:"renewal_settings,omitempty"` // contains filtered or unexported fields }
Commitment settings for commitment-based offers.
func (*CommitmentSettings) Descriptor
deprecated
func (*CommitmentSettings) Descriptor() ([]byte, []int)
Deprecated: Use CommitmentSettings.ProtoReflect.Descriptor instead.
func (*CommitmentSettings) GetEndTime ¶
func (x *CommitmentSettings) GetEndTime() *timestamppb.Timestamp
func (*CommitmentSettings) GetRenewalSettings ¶
func (x *CommitmentSettings) GetRenewalSettings() *RenewalSettings
func (*CommitmentSettings) GetStartTime ¶
func (x *CommitmentSettings) GetStartTime() *timestamppb.Timestamp
func (*CommitmentSettings) ProtoMessage ¶
func (*CommitmentSettings) ProtoMessage()
func (*CommitmentSettings) ProtoReflect ¶
func (x *CommitmentSettings) ProtoReflect() protoreflect.Message
func (*CommitmentSettings) Reset ¶
func (x *CommitmentSettings) Reset()
func (*CommitmentSettings) String ¶
func (x *CommitmentSettings) String() string
type Constraints ¶
type Constraints struct { // Represents constraints required to purchase the Offer for a customer. CustomerConstraints *CustomerConstraints `protobuf:"bytes,1,opt,name=customer_constraints,json=customerConstraints,proto3" json:"customer_constraints,omitempty"` // contains filtered or unexported fields }
Represents the constraints for buying the Offer.
func (*Constraints) Descriptor
deprecated
func (*Constraints) Descriptor() ([]byte, []int)
Deprecated: Use Constraints.ProtoReflect.Descriptor instead.
func (*Constraints) GetCustomerConstraints ¶
func (x *Constraints) GetCustomerConstraints() *CustomerConstraints
func (*Constraints) ProtoMessage ¶
func (*Constraints) ProtoMessage()
func (*Constraints) ProtoReflect ¶
func (x *Constraints) ProtoReflect() protoreflect.Message
func (*Constraints) Reset ¶
func (x *Constraints) Reset()
func (*Constraints) String ¶
func (x *Constraints) String() string
type ContactInfo ¶
type ContactInfo struct { // First name of the contact in the customer account. FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // Last name of the contact in the customer account. LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // Output only. Display name of the contact in the customer account. // Populated by combining customer first name and last name. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Email of the contact in the customer account. // Email is required for entitlements that need creation of admin.google.com // accounts. The email will be the username used in credentials to access the // admin.google.com account. Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Optional. Job title of the contact in the customer account. Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` // Phone number of the contact in the customer account. Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` // contains filtered or unexported fields }
Contact information for a customer account.
func (*ContactInfo) Descriptor
deprecated
func (*ContactInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContactInfo.ProtoReflect.Descriptor instead.
func (*ContactInfo) GetDisplayName ¶
func (x *ContactInfo) GetDisplayName() string
func (*ContactInfo) GetEmail ¶
func (x *ContactInfo) GetEmail() string
func (*ContactInfo) GetFirstName ¶
func (x *ContactInfo) GetFirstName() string
func (*ContactInfo) GetLastName ¶
func (x *ContactInfo) GetLastName() string
func (*ContactInfo) GetPhone ¶
func (x *ContactInfo) GetPhone() string
func (*ContactInfo) GetTitle ¶
func (x *ContactInfo) GetTitle() string
func (*ContactInfo) ProtoMessage ¶
func (*ContactInfo) ProtoMessage()
func (*ContactInfo) ProtoReflect ¶
func (x *ContactInfo) ProtoReflect() protoreflect.Message
func (*ContactInfo) Reset ¶
func (x *ContactInfo) Reset()
func (*ContactInfo) String ¶
func (x *ContactInfo) String() string
type CreateChannelPartnerLinkRequest ¶
type CreateChannelPartnerLinkRequest struct { // Required. The resource name of reseller's account for which to create a channel // partner link. // The parent takes the format: accounts/{account_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The channel partner link to create. // Either channel_partner_link.reseller_cloud_identity_id or domain can be // used to create a link. ChannelPartnerLink *ChannelPartnerLink `protobuf:"bytes,2,opt,name=channel_partner_link,json=channelPartnerLink,proto3" json:"channel_partner_link,omitempty"` // Optional. The invited partner's domain. Either domain or // channel_partner_link.reseller_cloud_identity_id can be used to create a // link. Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
func (*CreateChannelPartnerLinkRequest) Descriptor
deprecated
func (*CreateChannelPartnerLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelPartnerLinkRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelPartnerLinkRequest) GetChannelPartnerLink ¶
func (x *CreateChannelPartnerLinkRequest) GetChannelPartnerLink() *ChannelPartnerLink
func (*CreateChannelPartnerLinkRequest) GetDomain ¶
func (x *CreateChannelPartnerLinkRequest) GetDomain() string
func (*CreateChannelPartnerLinkRequest) GetParent ¶
func (x *CreateChannelPartnerLinkRequest) GetParent() string
func (*CreateChannelPartnerLinkRequest) ProtoMessage ¶
func (*CreateChannelPartnerLinkRequest) ProtoMessage()
func (*CreateChannelPartnerLinkRequest) ProtoReflect ¶
func (x *CreateChannelPartnerLinkRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelPartnerLinkRequest) Reset ¶
func (x *CreateChannelPartnerLinkRequest) Reset()
func (*CreateChannelPartnerLinkRequest) String ¶
func (x *CreateChannelPartnerLinkRequest) String() string
type CreateCustomerRequest ¶
type CreateCustomerRequest struct { // Required. The resource name of reseller account in which to create the customer. // The parent takes the format: accounts/{account_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The customer to create. Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
func (*CreateCustomerRequest) Descriptor
deprecated
func (*CreateCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCustomerRequest.ProtoReflect.Descriptor instead.
func (*CreateCustomerRequest) GetCustomer ¶
func (x *CreateCustomerRequest) GetCustomer() *Customer
func (*CreateCustomerRequest) GetParent ¶
func (x *CreateCustomerRequest) GetParent() string
func (*CreateCustomerRequest) ProtoMessage ¶
func (*CreateCustomerRequest) ProtoMessage()
func (*CreateCustomerRequest) ProtoReflect ¶
func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Message
func (*CreateCustomerRequest) Reset ¶
func (x *CreateCustomerRequest) Reset()
func (*CreateCustomerRequest) String ¶
func (x *CreateCustomerRequest) String() string
type CreateEntitlementRequest ¶
type CreateEntitlementRequest struct { // Required. The resource name of reseller's customer account in which to create the // entitlement. // The parent takes the format: accounts/{account_id}/customers/{customer_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entitlement to create. Entitlement *Entitlement `protobuf:"bytes,2,opt,name=entitlement,proto3" json:"entitlement,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
func (*CreateEntitlementRequest) Descriptor
deprecated
func (*CreateEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntitlementRequest.ProtoReflect.Descriptor instead.
func (*CreateEntitlementRequest) GetEntitlement ¶
func (x *CreateEntitlementRequest) GetEntitlement() *Entitlement
func (*CreateEntitlementRequest) GetParent ¶
func (x *CreateEntitlementRequest) GetParent() string
func (*CreateEntitlementRequest) GetRequestId ¶
func (x *CreateEntitlementRequest) GetRequestId() string
func (*CreateEntitlementRequest) ProtoMessage ¶
func (*CreateEntitlementRequest) ProtoMessage()
func (*CreateEntitlementRequest) ProtoReflect ¶
func (x *CreateEntitlementRequest) ProtoReflect() protoreflect.Message
func (*CreateEntitlementRequest) Reset ¶
func (x *CreateEntitlementRequest) Reset()
func (*CreateEntitlementRequest) String ¶
func (x *CreateEntitlementRequest) String() string
type Customer ¶
type Customer struct { // Output only. Resource name of the customer. // Format: accounts/{account_id}/customers/{customer_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Name of the organization that the customer entity represents. OrgDisplayName string `protobuf:"bytes,2,opt,name=org_display_name,json=orgDisplayName,proto3" json:"org_display_name,omitempty"` // Required. Address of the organization of the customer entity. // Region and zip codes are required to enforce US laws and embargoes. // Language code is discarded. Use the Customer-level language code to set the // customer's language. OrgPostalAddress *postaladdress.PostalAddress `protobuf:"bytes,3,opt,name=org_postal_address,json=orgPostalAddress,proto3" json:"org_postal_address,omitempty"` // Primary contact info. PrimaryContactInfo *ContactInfo `protobuf:"bytes,4,opt,name=primary_contact_info,json=primaryContactInfo,proto3" json:"primary_contact_info,omitempty"` // Secondary contact email. // Alternate email and primary contact email are required to have different // domains if primary contact email is present. // When creating admin.google.com accounts, users get notified credentials at // this email. This email address is also used as a recovery email. AlternateEmail string `protobuf:"bytes,5,opt,name=alternate_email,json=alternateEmail,proto3" json:"alternate_email,omitempty"` // Required. Primary domain used by the customer. // Domain of primary contact email is required to be same as the provided // domain. Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"` // Output only. The time at which the customer is created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which the customer is updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Customer's cloud_identity_id. // Populated only if a Cloud Identity resource exists for this customer. CloudIdentityId string `protobuf:"bytes,9,opt,name=cloud_identity_id,json=cloudIdentityId,proto3" json:"cloud_identity_id,omitempty"` // 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 `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Output only. Cloud Identity information for the customer. // Populated only if a Cloud Identity account exists for this customer. CloudIdentityInfo *CloudIdentityInfo `protobuf:"bytes,12,opt,name=cloud_identity_info,json=cloudIdentityInfo,proto3" json:"cloud_identity_info,omitempty"` // Cloud Identity ID of the customer's channel partner. // Populated only if a channel partner exists for this customer. ChannelPartnerId string `protobuf:"bytes,13,opt,name=channel_partner_id,json=channelPartnerId,proto3" json:"channel_partner_id,omitempty"` // contains filtered or unexported fields }
Entity representing a customer of a reseller or distributor.
func (*Customer) Descriptor
deprecated
func (*Customer) GetAlternateEmail ¶
func (*Customer) GetChannelPartnerId ¶
func (*Customer) GetCloudIdentityId ¶
func (*Customer) GetCloudIdentityInfo ¶
func (x *Customer) GetCloudIdentityInfo() *CloudIdentityInfo
func (*Customer) GetCreateTime ¶
func (x *Customer) GetCreateTime() *timestamppb.Timestamp
func (*Customer) GetLanguageCode ¶
func (*Customer) GetOrgDisplayName ¶
func (*Customer) GetOrgPostalAddress ¶
func (x *Customer) GetOrgPostalAddress() *postaladdress.PostalAddress
func (*Customer) GetPrimaryContactInfo ¶
func (x *Customer) GetPrimaryContactInfo() *ContactInfo
func (*Customer) GetUpdateTime ¶
func (x *Customer) GetUpdateTime() *timestamppb.Timestamp
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) ProtoReflect ¶
func (x *Customer) ProtoReflect() protoreflect.Message
type CustomerConstraints ¶
type CustomerConstraints struct { // Allowed geographical regions of the customer. AllowedRegions []string `protobuf:"bytes,1,rep,name=allowed_regions,json=allowedRegions,proto3" json:"allowed_regions,omitempty"` // Allowed Customer Type. AllowedCustomerTypes []CloudIdentityInfo_CustomerType `` /* 191-byte string literal not displayed */ // Allowed Promotional Order Type. Present for Promotional offers. PromotionalOrderTypes []PromotionalOrderType `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
Represents constraints required to purchase the Offer for a customer.
func (*CustomerConstraints) Descriptor
deprecated
func (*CustomerConstraints) Descriptor() ([]byte, []int)
Deprecated: Use CustomerConstraints.ProtoReflect.Descriptor instead.
func (*CustomerConstraints) GetAllowedCustomerTypes ¶
func (x *CustomerConstraints) GetAllowedCustomerTypes() []CloudIdentityInfo_CustomerType
func (*CustomerConstraints) GetAllowedRegions ¶
func (x *CustomerConstraints) GetAllowedRegions() []string
func (*CustomerConstraints) GetPromotionalOrderTypes ¶
func (x *CustomerConstraints) GetPromotionalOrderTypes() []PromotionalOrderType
func (*CustomerConstraints) ProtoMessage ¶
func (*CustomerConstraints) ProtoMessage()
func (*CustomerConstraints) ProtoReflect ¶
func (x *CustomerConstraints) ProtoReflect() protoreflect.Message
func (*CustomerConstraints) Reset ¶
func (x *CustomerConstraints) Reset()
func (*CustomerConstraints) String ¶
func (x *CustomerConstraints) String() string
type DeleteCustomerRequest ¶
type DeleteCustomerRequest struct { // Required. The resource name of the customer to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
func (*DeleteCustomerRequest) Descriptor
deprecated
func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCustomerRequest.ProtoReflect.Descriptor instead.
func (*DeleteCustomerRequest) GetName ¶
func (x *DeleteCustomerRequest) GetName() string
func (*DeleteCustomerRequest) ProtoMessage ¶
func (*DeleteCustomerRequest) ProtoMessage()
func (*DeleteCustomerRequest) ProtoReflect ¶
func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message
func (*DeleteCustomerRequest) Reset ¶
func (x *DeleteCustomerRequest) Reset()
func (*DeleteCustomerRequest) String ¶
func (x *DeleteCustomerRequest) String() string
type EduData ¶
type EduData struct { // Designated institute type of customer. InstituteType EduData_InstituteType `` /* 152-byte string literal not displayed */ // Size of the institute. InstituteSize EduData_InstituteSize `` /* 152-byte string literal not displayed */ // Web address for the edu customer's institution. Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"` // contains filtered or unexported fields }
Required Edu Attributes
func (*EduData) Descriptor
deprecated
func (*EduData) GetInstituteSize ¶
func (x *EduData) GetInstituteSize() EduData_InstituteSize
func (*EduData) GetInstituteType ¶
func (x *EduData) GetInstituteType() EduData_InstituteType
func (*EduData) GetWebsite ¶
func (*EduData) ProtoMessage ¶
func (*EduData) ProtoMessage()
func (*EduData) ProtoReflect ¶
func (x *EduData) ProtoReflect() protoreflect.Message
type EduData_InstituteSize ¶
type EduData_InstituteSize int32
Number of students and staff the institute has.
const ( // Default value. This state doesn't show unless an error occurs. EduData_INSTITUTE_SIZE_UNSPECIFIED EduData_InstituteSize = 0 // 1 - 100 EduData_SIZE_1_100 EduData_InstituteSize = 1 // 101 - 500 EduData_SIZE_101_500 EduData_InstituteSize = 2 // 501 - 1,000 EduData_SIZE_501_1000 EduData_InstituteSize = 3 // 1,001 - 2,000 EduData_SIZE_1001_2000 EduData_InstituteSize = 4 // 2,001 - 5,000 EduData_SIZE_2001_5000 EduData_InstituteSize = 5 // 5,001 - 10,000 EduData_SIZE_5001_10000 EduData_InstituteSize = 6 // 10,001 + EduData_SIZE_10001_OR_MORE EduData_InstituteSize = 7 )
func (EduData_InstituteSize) Descriptor ¶
func (EduData_InstituteSize) Descriptor() protoreflect.EnumDescriptor
func (EduData_InstituteSize) Enum ¶
func (x EduData_InstituteSize) Enum() *EduData_InstituteSize
func (EduData_InstituteSize) EnumDescriptor
deprecated
func (EduData_InstituteSize) EnumDescriptor() ([]byte, []int)
Deprecated: Use EduData_InstituteSize.Descriptor instead.
func (EduData_InstituteSize) Number ¶
func (x EduData_InstituteSize) Number() protoreflect.EnumNumber
func (EduData_InstituteSize) String ¶
func (x EduData_InstituteSize) String() string
func (EduData_InstituteSize) Type ¶
func (EduData_InstituteSize) Type() protoreflect.EnumType
type EduData_InstituteType ¶
type EduData_InstituteType int32
Enum to specify the institute type.
const ( // Default value. This state doesn't show unless an error occurs. EduData_INSTITUTE_TYPE_UNSPECIFIED EduData_InstituteType = 0 // Elementary/Secondary Schools & Districts EduData_K12 EduData_InstituteType = 1 // Higher Education Universities & Colleges EduData_UNIVERSITY EduData_InstituteType = 2 )
func (EduData_InstituteType) Descriptor ¶
func (EduData_InstituteType) Descriptor() protoreflect.EnumDescriptor
func (EduData_InstituteType) Enum ¶
func (x EduData_InstituteType) Enum() *EduData_InstituteType
func (EduData_InstituteType) EnumDescriptor
deprecated
func (EduData_InstituteType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EduData_InstituteType.Descriptor instead.
func (EduData_InstituteType) Number ¶
func (x EduData_InstituteType) Number() protoreflect.EnumNumber
func (EduData_InstituteType) String ¶
func (x EduData_InstituteType) String() string
func (EduData_InstituteType) Type ¶
func (EduData_InstituteType) Type() protoreflect.EnumType
type Entitlement ¶
type Entitlement struct { // Output only. Resource name of an entitlement in the form: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time at which the entitlement is created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time at which the entitlement is updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. The offer resource name for which the entitlement is to be // created. Takes the form: accounts/{account_id}/offers/{offer_id}. Offer string `protobuf:"bytes,8,opt,name=offer,proto3" json:"offer,omitempty"` // Commitment settings for a commitment-based Offer. // Required for commitment based offers. CommitmentSettings *CommitmentSettings `protobuf:"bytes,12,opt,name=commitment_settings,json=commitmentSettings,proto3" json:"commitment_settings,omitempty"` // Output only. Current provisioning state of the entitlement. ProvisioningState Entitlement_ProvisioningState `` /* 173-byte string literal not displayed */ // Output only. Service provisioning details for the entitlement. ProvisionedService *ProvisionedService `protobuf:"bytes,16,opt,name=provisioned_service,json=provisionedService,proto3" json:"provisioned_service,omitempty"` // Output only. Enumerable of all current suspension reasons for an entitlement. SuspensionReasons []Entitlement_SuspensionReason `` /* 179-byte string literal not displayed */ // 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. PurchaseOrderId string `protobuf:"bytes,19,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"` // Output only. Settings for trial offers. TrialSettings *TrialSettings `protobuf:"bytes,21,opt,name=trial_settings,json=trialSettings,proto3" json:"trial_settings,omitempty"` // Association information to other entitlements. AssociationInfo *AssociationInfo `protobuf:"bytes,23,opt,name=association_info,json=associationInfo,proto3" json:"association_info,omitempty"` // Extended entitlement parameters. When creating an entitlement, valid // parameters' names and values are defined in the offer's parameter // definitions. Parameters []*Parameter `protobuf:"bytes,26,rep,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
An entitlement is a representation of a customer's ability to use a service.
func (*Entitlement) Descriptor
deprecated
func (*Entitlement) Descriptor() ([]byte, []int)
Deprecated: Use Entitlement.ProtoReflect.Descriptor instead.
func (*Entitlement) GetAssociationInfo ¶
func (x *Entitlement) GetAssociationInfo() *AssociationInfo
func (*Entitlement) GetCommitmentSettings ¶
func (x *Entitlement) GetCommitmentSettings() *CommitmentSettings
func (*Entitlement) GetCreateTime ¶
func (x *Entitlement) GetCreateTime() *timestamppb.Timestamp
func (*Entitlement) GetName ¶
func (x *Entitlement) GetName() string
func (*Entitlement) GetOffer ¶
func (x *Entitlement) GetOffer() string
func (*Entitlement) GetParameters ¶
func (x *Entitlement) GetParameters() []*Parameter
func (*Entitlement) GetProvisionedService ¶
func (x *Entitlement) GetProvisionedService() *ProvisionedService
func (*Entitlement) GetProvisioningState ¶
func (x *Entitlement) GetProvisioningState() Entitlement_ProvisioningState
func (*Entitlement) GetPurchaseOrderId ¶
func (x *Entitlement) GetPurchaseOrderId() string
func (*Entitlement) GetSuspensionReasons ¶
func (x *Entitlement) GetSuspensionReasons() []Entitlement_SuspensionReason
func (*Entitlement) GetTrialSettings ¶
func (x *Entitlement) GetTrialSettings() *TrialSettings
func (*Entitlement) GetUpdateTime ¶
func (x *Entitlement) GetUpdateTime() *timestamppb.Timestamp
func (*Entitlement) ProtoMessage ¶
func (*Entitlement) ProtoMessage()
func (*Entitlement) ProtoReflect ¶
func (x *Entitlement) ProtoReflect() protoreflect.Message
func (*Entitlement) Reset ¶
func (x *Entitlement) Reset()
func (*Entitlement) String ¶
func (x *Entitlement) String() string
type Entitlement_ProvisioningState ¶
type Entitlement_ProvisioningState int32
Indicates the current provisioning state of the entitlement.
const ( // Default value. This state doesn't show unless an error occurs. Entitlement_PROVISIONING_STATE_UNSPECIFIED Entitlement_ProvisioningState = 0 // The entitlement is currently active. Entitlement_ACTIVE Entitlement_ProvisioningState = 1 // The entitlement is currently suspended. Entitlement_SUSPENDED Entitlement_ProvisioningState = 5 )
func (Entitlement_ProvisioningState) Descriptor ¶
func (Entitlement_ProvisioningState) Descriptor() protoreflect.EnumDescriptor
func (Entitlement_ProvisioningState) Enum ¶
func (x Entitlement_ProvisioningState) Enum() *Entitlement_ProvisioningState
func (Entitlement_ProvisioningState) EnumDescriptor
deprecated
func (Entitlement_ProvisioningState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Entitlement_ProvisioningState.Descriptor instead.
func (Entitlement_ProvisioningState) Number ¶
func (x Entitlement_ProvisioningState) Number() protoreflect.EnumNumber
func (Entitlement_ProvisioningState) String ¶
func (x Entitlement_ProvisioningState) String() string
func (Entitlement_ProvisioningState) Type ¶
func (Entitlement_ProvisioningState) Type() protoreflect.EnumType
type Entitlement_SuspensionReason ¶
type Entitlement_SuspensionReason int32
Suspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED.
const ( // Default value. This state doesn't show unless an error occurs. Entitlement_SUSPENSION_REASON_UNSPECIFIED Entitlement_SuspensionReason = 0 // Entitlement was manually suspended by the Reseller. Entitlement_RESELLER_INITIATED Entitlement_SuspensionReason = 1 // Trial ended. Entitlement_TRIAL_ENDED Entitlement_SuspensionReason = 2 // Entitlement renewal was canceled. Entitlement_RENEWAL_WITH_TYPE_CANCEL Entitlement_SuspensionReason = 3 // Entitlement was automatically suspended on creation for pending ToS // acceptance on customer. Entitlement_PENDING_TOS_ACCEPTANCE Entitlement_SuspensionReason = 4 // Other reasons (internal reasons, abuse, etc.). Entitlement_OTHER Entitlement_SuspensionReason = 100 )
func (Entitlement_SuspensionReason) Descriptor ¶
func (Entitlement_SuspensionReason) Descriptor() protoreflect.EnumDescriptor
func (Entitlement_SuspensionReason) Enum ¶
func (x Entitlement_SuspensionReason) Enum() *Entitlement_SuspensionReason
func (Entitlement_SuspensionReason) EnumDescriptor
deprecated
func (Entitlement_SuspensionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use Entitlement_SuspensionReason.Descriptor instead.
func (Entitlement_SuspensionReason) Number ¶
func (x Entitlement_SuspensionReason) Number() protoreflect.EnumNumber
func (Entitlement_SuspensionReason) String ¶
func (x Entitlement_SuspensionReason) String() string
func (Entitlement_SuspensionReason) Type ¶
func (Entitlement_SuspensionReason) Type() protoreflect.EnumType
type GetChannelPartnerLinkRequest ¶
type GetChannelPartnerLinkRequest struct { // Required. The resource name of the channel partner link to retrieve. // The name takes the format: accounts/{account_id}/channelPartnerLinks/{id} // where {id} is the Cloud Identity ID of the partner. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The level of granularity the ChannelPartnerLink will display. View ChannelPartnerLinkView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.channel.v1.ChannelPartnerLinkView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
func (*GetChannelPartnerLinkRequest) Descriptor
deprecated
func (*GetChannelPartnerLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelPartnerLinkRequest.ProtoReflect.Descriptor instead.
func (*GetChannelPartnerLinkRequest) GetName ¶
func (x *GetChannelPartnerLinkRequest) GetName() string
func (*GetChannelPartnerLinkRequest) GetView ¶
func (x *GetChannelPartnerLinkRequest) GetView() ChannelPartnerLinkView
func (*GetChannelPartnerLinkRequest) ProtoMessage ¶
func (*GetChannelPartnerLinkRequest) ProtoMessage()
func (*GetChannelPartnerLinkRequest) ProtoReflect ¶
func (x *GetChannelPartnerLinkRequest) ProtoReflect() protoreflect.Message
func (*GetChannelPartnerLinkRequest) Reset ¶
func (x *GetChannelPartnerLinkRequest) Reset()
func (*GetChannelPartnerLinkRequest) String ¶
func (x *GetChannelPartnerLinkRequest) String() string
type GetCustomerRequest ¶
type GetCustomerRequest struct { // Required. The resource name of the customer to retrieve. // The name takes the format: accounts/{account_id}/customers/{customer_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
func (*GetCustomerRequest) Descriptor
deprecated
func (*GetCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomerRequest.ProtoReflect.Descriptor instead.
func (*GetCustomerRequest) GetName ¶
func (x *GetCustomerRequest) GetName() string
func (*GetCustomerRequest) ProtoMessage ¶
func (*GetCustomerRequest) ProtoMessage()
func (*GetCustomerRequest) ProtoReflect ¶
func (x *GetCustomerRequest) ProtoReflect() protoreflect.Message
func (*GetCustomerRequest) Reset ¶
func (x *GetCustomerRequest) Reset()
func (*GetCustomerRequest) String ¶
func (x *GetCustomerRequest) String() string
type GetEntitlementRequest ¶
type GetEntitlementRequest struct { // Required. The resource name of the entitlement to retrieve. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
func (*GetEntitlementRequest) Descriptor
deprecated
func (*GetEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntitlementRequest.ProtoReflect.Descriptor instead.
func (*GetEntitlementRequest) GetName ¶
func (x *GetEntitlementRequest) GetName() string
func (*GetEntitlementRequest) ProtoMessage ¶
func (*GetEntitlementRequest) ProtoMessage()
func (*GetEntitlementRequest) ProtoReflect ¶
func (x *GetEntitlementRequest) ProtoReflect() protoreflect.Message
func (*GetEntitlementRequest) Reset ¶
func (x *GetEntitlementRequest) Reset()
func (*GetEntitlementRequest) String ¶
func (x *GetEntitlementRequest) String() string
type ListChannelPartnerLinksRequest ¶
type ListChannelPartnerLinksRequest struct { // Required. The resource name of the reseller account for listing channel partner // links. // The parent takes the format: accounts/{account_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, server will pick a default size (25). // The maximum value is 200, values above 200 will be coerced to 200. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. // Typically obtained via // [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous // [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The level of granularity the ChannelPartnerLink will display. View ChannelPartnerLinkView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.channel.v1.ChannelPartnerLinkView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
func (*ListChannelPartnerLinksRequest) Descriptor
deprecated
func (*ListChannelPartnerLinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelPartnerLinksRequest.ProtoReflect.Descriptor instead.
func (*ListChannelPartnerLinksRequest) GetPageSize ¶
func (x *ListChannelPartnerLinksRequest) GetPageSize() int32
func (*ListChannelPartnerLinksRequest) GetPageToken ¶
func (x *ListChannelPartnerLinksRequest) GetPageToken() string
func (*ListChannelPartnerLinksRequest) GetParent ¶
func (x *ListChannelPartnerLinksRequest) GetParent() string
func (*ListChannelPartnerLinksRequest) GetView ¶
func (x *ListChannelPartnerLinksRequest) GetView() ChannelPartnerLinkView
func (*ListChannelPartnerLinksRequest) ProtoMessage ¶
func (*ListChannelPartnerLinksRequest) ProtoMessage()
func (*ListChannelPartnerLinksRequest) ProtoReflect ¶
func (x *ListChannelPartnerLinksRequest) ProtoReflect() protoreflect.Message
func (*ListChannelPartnerLinksRequest) Reset ¶
func (x *ListChannelPartnerLinksRequest) Reset()
func (*ListChannelPartnerLinksRequest) String ¶
func (x *ListChannelPartnerLinksRequest) String() string
type ListChannelPartnerLinksResponse ¶
type ListChannelPartnerLinksResponse struct { // The Channel partner links for a reseller. ChannelPartnerLinks []*ChannelPartnerLink `protobuf:"bytes,1,rep,name=channel_partner_links,json=channelPartnerLinks,proto3" json:"channel_partner_links,omitempty"` // A token to retrieve the next page of results. // Pass to [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token] to obtain that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
func (*ListChannelPartnerLinksResponse) Descriptor
deprecated
func (*ListChannelPartnerLinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelPartnerLinksResponse.ProtoReflect.Descriptor instead.
func (*ListChannelPartnerLinksResponse) GetChannelPartnerLinks ¶
func (x *ListChannelPartnerLinksResponse) GetChannelPartnerLinks() []*ChannelPartnerLink
func (*ListChannelPartnerLinksResponse) GetNextPageToken ¶
func (x *ListChannelPartnerLinksResponse) GetNextPageToken() string
func (*ListChannelPartnerLinksResponse) ProtoMessage ¶
func (*ListChannelPartnerLinksResponse) ProtoMessage()
func (*ListChannelPartnerLinksResponse) ProtoReflect ¶
func (x *ListChannelPartnerLinksResponse) ProtoReflect() protoreflect.Message
func (*ListChannelPartnerLinksResponse) Reset ¶
func (x *ListChannelPartnerLinksResponse) Reset()
func (*ListChannelPartnerLinksResponse) String ¶
func (x *ListChannelPartnerLinksResponse) String() string
type ListCustomersRequest ¶
type ListCustomersRequest struct { // Required. The resource name of the reseller account from which to list customers. // The parent takes the format: accounts/{account_id}. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of customers to return. The service may return fewer // than this value. If unspecified, at most 10 customers will be returned. The // maximum value is 50; values about 50 will be coerced to 50. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. // Typically obtained via // [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token] of the previous // [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers] call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
func (*ListCustomersRequest) Descriptor
deprecated
func (*ListCustomersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCustomersRequest.ProtoReflect.Descriptor instead.
func (*ListCustomersRequest) GetPageSize ¶
func (x *ListCustomersRequest) GetPageSize() int32
func (*ListCustomersRequest) GetPageToken ¶
func (x *ListCustomersRequest) GetPageToken() string
func (*ListCustomersRequest) GetParent ¶
func (x *ListCustomersRequest) GetParent() string
func (*ListCustomersRequest) ProtoMessage ¶
func (*ListCustomersRequest) ProtoMessage()
func (*ListCustomersRequest) ProtoReflect ¶
func (x *ListCustomersRequest) ProtoReflect() protoreflect.Message
func (*ListCustomersRequest) Reset ¶
func (x *ListCustomersRequest) Reset()
func (*ListCustomersRequest) String ¶
func (x *ListCustomersRequest) String() string
type ListCustomersResponse ¶
type ListCustomersResponse struct { // The customers belonging to the reseller or distributor. Customers []*Customer `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"` // A token to retrieve the next page of results. // Pass to [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token] to obtain that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
func (*ListCustomersResponse) Descriptor
deprecated
func (*ListCustomersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCustomersResponse.ProtoReflect.Descriptor instead.
func (*ListCustomersResponse) GetCustomers ¶
func (x *ListCustomersResponse) GetCustomers() []*Customer
func (*ListCustomersResponse) GetNextPageToken ¶
func (x *ListCustomersResponse) GetNextPageToken() string
func (*ListCustomersResponse) ProtoMessage ¶
func (*ListCustomersResponse) ProtoMessage()
func (*ListCustomersResponse) ProtoReflect ¶
func (x *ListCustomersResponse) ProtoReflect() protoreflect.Message
func (*ListCustomersResponse) Reset ¶
func (x *ListCustomersResponse) Reset()
func (*ListCustomersResponse) String ¶
func (x *ListCustomersResponse) String() string
type ListEntitlementsRequest ¶
type ListEntitlementsRequest struct { // Required. The resource name of the reseller's customer account for which to list // entitlements. // The parent takes the format: accounts/{account_id}/customers/{customer_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, at most 50 entitlements will be returned. // The maximum value is 100; values above 100 will be coerced to 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. // Typically obtained via // [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous // [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
func (*ListEntitlementsRequest) Descriptor
deprecated
func (*ListEntitlementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitlementsRequest.ProtoReflect.Descriptor instead.
func (*ListEntitlementsRequest) GetPageSize ¶
func (x *ListEntitlementsRequest) GetPageSize() int32
func (*ListEntitlementsRequest) GetPageToken ¶
func (x *ListEntitlementsRequest) GetPageToken() string
func (*ListEntitlementsRequest) GetParent ¶
func (x *ListEntitlementsRequest) GetParent() string
func (*ListEntitlementsRequest) ProtoMessage ¶
func (*ListEntitlementsRequest) ProtoMessage()
func (*ListEntitlementsRequest) ProtoReflect ¶
func (x *ListEntitlementsRequest) ProtoReflect() protoreflect.Message
func (*ListEntitlementsRequest) Reset ¶
func (x *ListEntitlementsRequest) Reset()
func (*ListEntitlementsRequest) String ¶
func (x *ListEntitlementsRequest) String() string
type ListEntitlementsResponse ¶
type ListEntitlementsResponse struct { // The entitlements belonging to the reseller's customer. Entitlements []*Entitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"` // A token to List next page of results. // Pass to [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token] to obtain that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
func (*ListEntitlementsResponse) Descriptor
deprecated
func (*ListEntitlementsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitlementsResponse.ProtoReflect.Descriptor instead.
func (*ListEntitlementsResponse) GetEntitlements ¶
func (x *ListEntitlementsResponse) GetEntitlements() []*Entitlement
func (*ListEntitlementsResponse) GetNextPageToken ¶
func (x *ListEntitlementsResponse) GetNextPageToken() string
func (*ListEntitlementsResponse) ProtoMessage ¶
func (*ListEntitlementsResponse) ProtoMessage()
func (*ListEntitlementsResponse) ProtoReflect ¶
func (x *ListEntitlementsResponse) ProtoReflect() protoreflect.Message
func (*ListEntitlementsResponse) Reset ¶
func (x *ListEntitlementsResponse) Reset()
func (*ListEntitlementsResponse) String ¶
func (x *ListEntitlementsResponse) String() string
type ListOffersRequest ¶
type ListOffersRequest struct { // Required. The resource name of the reseller account from which to list Offers. // The parent takes the format: accounts/{account_id}. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, at most 500 Offers will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. 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 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for ListOffers.
func (*ListOffersRequest) Descriptor
deprecated
func (*ListOffersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOffersRequest.ProtoReflect.Descriptor instead.
func (*ListOffersRequest) GetFilter ¶
func (x *ListOffersRequest) GetFilter() string
func (*ListOffersRequest) GetLanguageCode ¶
func (x *ListOffersRequest) GetLanguageCode() string
func (*ListOffersRequest) GetPageSize ¶
func (x *ListOffersRequest) GetPageSize() int32
func (*ListOffersRequest) GetPageToken ¶
func (x *ListOffersRequest) GetPageToken() string
func (*ListOffersRequest) GetParent ¶
func (x *ListOffersRequest) GetParent() string
func (*ListOffersRequest) ProtoMessage ¶
func (*ListOffersRequest) ProtoMessage()
func (*ListOffersRequest) ProtoReflect ¶
func (x *ListOffersRequest) ProtoReflect() protoreflect.Message
func (*ListOffersRequest) Reset ¶
func (x *ListOffersRequest) Reset()
func (*ListOffersRequest) String ¶
func (x *ListOffersRequest) String() string
type ListOffersResponse ¶
type ListOffersResponse struct { // The list of Offers requested. Offers []*Offer `protobuf:"bytes,1,rep,name=offers,proto3" json:"offers,omitempty"` // A token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListOffers.
func (*ListOffersResponse) Descriptor
deprecated
func (*ListOffersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOffersResponse.ProtoReflect.Descriptor instead.
func (*ListOffersResponse) GetNextPageToken ¶
func (x *ListOffersResponse) GetNextPageToken() string
func (*ListOffersResponse) GetOffers ¶
func (x *ListOffersResponse) GetOffers() []*Offer
func (*ListOffersResponse) ProtoMessage ¶
func (*ListOffersResponse) ProtoMessage()
func (*ListOffersResponse) ProtoReflect ¶
func (x *ListOffersResponse) ProtoReflect() protoreflect.Message
func (*ListOffersResponse) Reset ¶
func (x *ListOffersResponse) Reset()
func (*ListOffersResponse) String ¶
func (x *ListOffersResponse) String() string
type ListProductsRequest ¶
type ListProductsRequest struct { // Required. The resource name of the reseller account. // Format: accounts/{account_id}. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, at most 100 Products will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for ListProducts.
func (*ListProductsRequest) Descriptor
deprecated
func (*ListProductsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProductsRequest.ProtoReflect.Descriptor instead.
func (*ListProductsRequest) GetAccount ¶
func (x *ListProductsRequest) GetAccount() string
func (*ListProductsRequest) GetLanguageCode ¶
func (x *ListProductsRequest) GetLanguageCode() string
func (*ListProductsRequest) GetPageSize ¶
func (x *ListProductsRequest) GetPageSize() int32
func (*ListProductsRequest) GetPageToken ¶
func (x *ListProductsRequest) GetPageToken() string
func (*ListProductsRequest) ProtoMessage ¶
func (*ListProductsRequest) ProtoMessage()
func (*ListProductsRequest) ProtoReflect ¶
func (x *ListProductsRequest) ProtoReflect() protoreflect.Message
func (*ListProductsRequest) Reset ¶
func (x *ListProductsRequest) Reset()
func (*ListProductsRequest) String ¶
func (x *ListProductsRequest) String() string
type ListProductsResponse ¶
type ListProductsResponse struct { // List of Products requested. Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` // A token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListProducts.
func (*ListProductsResponse) Descriptor
deprecated
func (*ListProductsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProductsResponse.ProtoReflect.Descriptor instead.
func (*ListProductsResponse) GetNextPageToken ¶
func (x *ListProductsResponse) GetNextPageToken() string
func (*ListProductsResponse) GetProducts ¶
func (x *ListProductsResponse) GetProducts() []*Product
func (*ListProductsResponse) ProtoMessage ¶
func (*ListProductsResponse) ProtoMessage()
func (*ListProductsResponse) ProtoReflect ¶
func (x *ListProductsResponse) ProtoReflect() protoreflect.Message
func (*ListProductsResponse) Reset ¶
func (x *ListProductsResponse) Reset()
func (*ListProductsResponse) String ¶
func (x *ListProductsResponse) String() string
type ListPurchasableOffersRequest ¶
type ListPurchasableOffersRequest struct { // Purchase option for the request. Defines the purchase for which the Offers // are being listed. // // Types that are assignable to PurchaseOption: // *ListPurchasableOffersRequest_CreateEntitlementPurchase_ // *ListPurchasableOffersRequest_ChangeOfferPurchase_ PurchaseOption isListPurchasableOffersRequest_PurchaseOption `protobuf_oneof:"purchase_option"` // Required. The resource name of the customer for which to list Offers. // Format: accounts/{account_id}/customers/{customer_id}. Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, at most 100 Offers will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for ListPurchasableOffers.
func (*ListPurchasableOffersRequest) Descriptor
deprecated
func (*ListPurchasableOffersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableOffersRequest.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersRequest) GetChangeOfferPurchase ¶
func (x *ListPurchasableOffersRequest) GetChangeOfferPurchase() *ListPurchasableOffersRequest_ChangeOfferPurchase
func (*ListPurchasableOffersRequest) GetCreateEntitlementPurchase ¶
func (x *ListPurchasableOffersRequest) GetCreateEntitlementPurchase() *ListPurchasableOffersRequest_CreateEntitlementPurchase
func (*ListPurchasableOffersRequest) GetCustomer ¶
func (x *ListPurchasableOffersRequest) GetCustomer() string
func (*ListPurchasableOffersRequest) GetLanguageCode ¶
func (x *ListPurchasableOffersRequest) GetLanguageCode() string
func (*ListPurchasableOffersRequest) GetPageSize ¶
func (x *ListPurchasableOffersRequest) GetPageSize() int32
func (*ListPurchasableOffersRequest) GetPageToken ¶
func (x *ListPurchasableOffersRequest) GetPageToken() string
func (*ListPurchasableOffersRequest) GetPurchaseOption ¶
func (m *ListPurchasableOffersRequest) GetPurchaseOption() isListPurchasableOffersRequest_PurchaseOption
func (*ListPurchasableOffersRequest) ProtoMessage ¶
func (*ListPurchasableOffersRequest) ProtoMessage()
func (*ListPurchasableOffersRequest) ProtoReflect ¶
func (x *ListPurchasableOffersRequest) ProtoReflect() protoreflect.Message
func (*ListPurchasableOffersRequest) Reset ¶
func (x *ListPurchasableOffersRequest) Reset()
func (*ListPurchasableOffersRequest) String ¶
func (x *ListPurchasableOffersRequest) String() string
type ListPurchasableOffersRequest_ChangeOfferPurchase ¶
type ListPurchasableOffersRequest_ChangeOfferPurchase struct { // Required. Resource name of the entitlement. // Format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` // Optional. Resource name of the SKU that is being changed to. Should be provided if // upgrading or downgrading an entitlement. Format: // products/{product_id}/skus/{sku_id} NewSku string `protobuf:"bytes,2,opt,name=new_sku,json=newSku,proto3" json:"new_sku,omitempty"` // contains filtered or unexported fields }
List Offers for ChangeOffer purchase.
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) Descriptor
deprecated
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableOffersRequest_ChangeOfferPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) GetEntitlement ¶
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetEntitlement() string
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) GetNewSku ¶
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetNewSku() string
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoMessage ¶
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoMessage()
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoReflect ¶
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoReflect() protoreflect.Message
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) Reset ¶
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) Reset()
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) String ¶
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) String() string
type ListPurchasableOffersRequest_ChangeOfferPurchase_ ¶
type ListPurchasableOffersRequest_ChangeOfferPurchase_ struct { // List Offers for ChangeOffer purchase. ChangeOfferPurchase *ListPurchasableOffersRequest_ChangeOfferPurchase `protobuf:"bytes,3,opt,name=change_offer_purchase,json=changeOfferPurchase,proto3,oneof"` }
type ListPurchasableOffersRequest_CreateEntitlementPurchase ¶
type ListPurchasableOffersRequest_CreateEntitlementPurchase struct { // Required. SKU that the result should be restricted to. // Format: products/{product_id}/skus/{sku_id}. Sku string `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"` // contains filtered or unexported fields }
List Offers for CreateEntitlement purchase.
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Descriptor
deprecated
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableOffersRequest_CreateEntitlementPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) GetSku ¶
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) GetSku() string
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoMessage ¶
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoMessage()
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoReflect ¶
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoReflect() protoreflect.Message
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Reset ¶
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) Reset()
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) String ¶
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) String() string
type ListPurchasableOffersRequest_CreateEntitlementPurchase_ ¶
type ListPurchasableOffersRequest_CreateEntitlementPurchase_ struct { // List Offers for CreateEntitlement purchase. CreateEntitlementPurchase *ListPurchasableOffersRequest_CreateEntitlementPurchase `protobuf:"bytes,2,opt,name=create_entitlement_purchase,json=createEntitlementPurchase,proto3,oneof"` }
type ListPurchasableOffersResponse ¶
type ListPurchasableOffersResponse struct { // The list of Offers requested. PurchasableOffers []*PurchasableOffer `protobuf:"bytes,1,rep,name=purchasable_offers,json=purchasableOffers,proto3" json:"purchasable_offers,omitempty"` // A token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListPurchasableOffers.
func (*ListPurchasableOffersResponse) Descriptor
deprecated
func (*ListPurchasableOffersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableOffersResponse.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersResponse) GetNextPageToken ¶
func (x *ListPurchasableOffersResponse) GetNextPageToken() string
func (*ListPurchasableOffersResponse) GetPurchasableOffers ¶
func (x *ListPurchasableOffersResponse) GetPurchasableOffers() []*PurchasableOffer
func (*ListPurchasableOffersResponse) ProtoMessage ¶
func (*ListPurchasableOffersResponse) ProtoMessage()
func (*ListPurchasableOffersResponse) ProtoReflect ¶
func (x *ListPurchasableOffersResponse) ProtoReflect() protoreflect.Message
func (*ListPurchasableOffersResponse) Reset ¶
func (x *ListPurchasableOffersResponse) Reset()
func (*ListPurchasableOffersResponse) String ¶
func (x *ListPurchasableOffersResponse) String() string
type ListPurchasableSkusRequest ¶
type ListPurchasableSkusRequest struct { // Purchase option for the request. Defines the purchase for which the SKUs // are being listed. // // Types that are assignable to PurchaseOption: // *ListPurchasableSkusRequest_CreateEntitlementPurchase_ // *ListPurchasableSkusRequest_ChangeOfferPurchase_ PurchaseOption isListPurchasableSkusRequest_PurchaseOption `protobuf_oneof:"purchase_option"` // Required. The resource name of the customer for which to list SKUs. // Format: accounts/{account_id}/customers/{customer_id}. Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, at most 100 SKUs will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for ListPurchasableSkus.
func (*ListPurchasableSkusRequest) Descriptor
deprecated
func (*ListPurchasableSkusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableSkusRequest.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusRequest) GetChangeOfferPurchase ¶
func (x *ListPurchasableSkusRequest) GetChangeOfferPurchase() *ListPurchasableSkusRequest_ChangeOfferPurchase
func (*ListPurchasableSkusRequest) GetCreateEntitlementPurchase ¶
func (x *ListPurchasableSkusRequest) GetCreateEntitlementPurchase() *ListPurchasableSkusRequest_CreateEntitlementPurchase
func (*ListPurchasableSkusRequest) GetCustomer ¶
func (x *ListPurchasableSkusRequest) GetCustomer() string
func (*ListPurchasableSkusRequest) GetLanguageCode ¶
func (x *ListPurchasableSkusRequest) GetLanguageCode() string
func (*ListPurchasableSkusRequest) GetPageSize ¶
func (x *ListPurchasableSkusRequest) GetPageSize() int32
func (*ListPurchasableSkusRequest) GetPageToken ¶
func (x *ListPurchasableSkusRequest) GetPageToken() string
func (*ListPurchasableSkusRequest) GetPurchaseOption ¶
func (m *ListPurchasableSkusRequest) GetPurchaseOption() isListPurchasableSkusRequest_PurchaseOption
func (*ListPurchasableSkusRequest) ProtoMessage ¶
func (*ListPurchasableSkusRequest) ProtoMessage()
func (*ListPurchasableSkusRequest) ProtoReflect ¶
func (x *ListPurchasableSkusRequest) ProtoReflect() protoreflect.Message
func (*ListPurchasableSkusRequest) Reset ¶
func (x *ListPurchasableSkusRequest) Reset()
func (*ListPurchasableSkusRequest) String ¶
func (x *ListPurchasableSkusRequest) String() string
type ListPurchasableSkusRequest_ChangeOfferPurchase ¶
type ListPurchasableSkusRequest_ChangeOfferPurchase struct { // Required. Resource name of the entitlement. // Format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` // Required. Change Type for the entitlement. ChangeType ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
List SKUs for upgrading or downgrading an entitlement. Make the purchase using [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) Descriptor
deprecated
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableSkusRequest_ChangeOfferPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) GetChangeType ¶
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) GetChangeType() ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) GetEntitlement ¶
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) GetEntitlement() string
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoMessage ¶
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoMessage()
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoReflect ¶
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoReflect() protoreflect.Message
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) Reset ¶
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) Reset()
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) String ¶
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) String() string
type ListPurchasableSkusRequest_ChangeOfferPurchase_ ¶
type ListPurchasableSkusRequest_ChangeOfferPurchase_ struct { // List SKUs for ChangeOffer purchase with a new SKU. ChangeOfferPurchase *ListPurchasableSkusRequest_ChangeOfferPurchase `protobuf:"bytes,3,opt,name=change_offer_purchase,json=changeOfferPurchase,proto3,oneof"` }
type ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType ¶
type ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType int32
Change Type enum.
const ( // Not used. ListPurchasableSkusRequest_ChangeOfferPurchase_CHANGE_TYPE_UNSPECIFIED ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType = 0 // SKU is an upgrade on the current entitlement. ListPurchasableSkusRequest_ChangeOfferPurchase_UPGRADE ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType = 1 // SKU is a downgrade on the current entitlement. ListPurchasableSkusRequest_ChangeOfferPurchase_DOWNGRADE ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType = 2 )
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Descriptor ¶
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Descriptor() protoreflect.EnumDescriptor
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) EnumDescriptor
deprecated
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType.Descriptor instead.
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Number ¶
func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Number() protoreflect.EnumNumber
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) String ¶
func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) String() string
type ListPurchasableSkusRequest_CreateEntitlementPurchase ¶
type ListPurchasableSkusRequest_CreateEntitlementPurchase struct { // Required. List SKUs belonging to this Product. // Format: products/{product_id}. // Supports products/- to retrieve SKUs for all products. Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
List SKUs for a new entitlement. Make the purchase using [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement].
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Descriptor
deprecated
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableSkusRequest_CreateEntitlementPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) GetProduct ¶
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) GetProduct() string
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoMessage ¶
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoMessage()
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoReflect ¶
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoReflect() protoreflect.Message
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Reset ¶
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) Reset()
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) String ¶
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) String() string
type ListPurchasableSkusRequest_CreateEntitlementPurchase_ ¶
type ListPurchasableSkusRequest_CreateEntitlementPurchase_ struct { // List SKUs for CreateEntitlement purchase. CreateEntitlementPurchase *ListPurchasableSkusRequest_CreateEntitlementPurchase `protobuf:"bytes,2,opt,name=create_entitlement_purchase,json=createEntitlementPurchase,proto3,oneof"` }
type ListPurchasableSkusResponse ¶
type ListPurchasableSkusResponse struct { // The list of SKUs requested. PurchasableSkus []*PurchasableSku `protobuf:"bytes,1,rep,name=purchasable_skus,json=purchasableSkus,proto3" json:"purchasable_skus,omitempty"` // A token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListPurchasableSkus.
func (*ListPurchasableSkusResponse) Descriptor
deprecated
func (*ListPurchasableSkusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPurchasableSkusResponse.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusResponse) GetNextPageToken ¶
func (x *ListPurchasableSkusResponse) GetNextPageToken() string
func (*ListPurchasableSkusResponse) GetPurchasableSkus ¶
func (x *ListPurchasableSkusResponse) GetPurchasableSkus() []*PurchasableSku
func (*ListPurchasableSkusResponse) ProtoMessage ¶
func (*ListPurchasableSkusResponse) ProtoMessage()
func (*ListPurchasableSkusResponse) ProtoReflect ¶
func (x *ListPurchasableSkusResponse) ProtoReflect() protoreflect.Message
func (*ListPurchasableSkusResponse) Reset ¶
func (x *ListPurchasableSkusResponse) Reset()
func (*ListPurchasableSkusResponse) String ¶
func (x *ListPurchasableSkusResponse) String() string
type ListSkusRequest ¶
type ListSkusRequest struct { // Required. The resource name of the Product for which to list SKUs. // The parent takes the format: products/{product_id}. // Supports products/- to retrieve SKUs for all products. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Resource name of the reseller. // Format: accounts/{account_id}. Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // Optional. Requested page size. Server might return fewer results than requested. // If unspecified, at most 100 SKUs will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results, if other than the first one. // Optional. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for ListSkus.
func (*ListSkusRequest) Descriptor
deprecated
func (*ListSkusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSkusRequest.ProtoReflect.Descriptor instead.
func (*ListSkusRequest) GetAccount ¶
func (x *ListSkusRequest) GetAccount() string
func (*ListSkusRequest) GetLanguageCode ¶
func (x *ListSkusRequest) GetLanguageCode() string
func (*ListSkusRequest) GetPageSize ¶
func (x *ListSkusRequest) GetPageSize() int32
func (*ListSkusRequest) GetPageToken ¶
func (x *ListSkusRequest) GetPageToken() string
func (*ListSkusRequest) GetParent ¶
func (x *ListSkusRequest) GetParent() string
func (*ListSkusRequest) ProtoMessage ¶
func (*ListSkusRequest) ProtoMessage()
func (*ListSkusRequest) ProtoReflect ¶
func (x *ListSkusRequest) ProtoReflect() protoreflect.Message
func (*ListSkusRequest) Reset ¶
func (x *ListSkusRequest) Reset()
func (*ListSkusRequest) String ¶
func (x *ListSkusRequest) String() string
type ListSkusResponse ¶
type ListSkusResponse struct { // The list of SKUs requested. Skus []*Sku `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"` // A token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for ListSkus.
func (*ListSkusResponse) Descriptor
deprecated
func (*ListSkusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSkusResponse.ProtoReflect.Descriptor instead.
func (*ListSkusResponse) GetNextPageToken ¶
func (x *ListSkusResponse) GetNextPageToken() string
func (*ListSkusResponse) GetSkus ¶
func (x *ListSkusResponse) GetSkus() []*Sku
func (*ListSkusResponse) ProtoMessage ¶
func (*ListSkusResponse) ProtoMessage()
func (*ListSkusResponse) ProtoReflect ¶
func (x *ListSkusResponse) ProtoReflect() protoreflect.Message
func (*ListSkusResponse) Reset ¶
func (x *ListSkusResponse) Reset()
func (*ListSkusResponse) String ¶
func (x *ListSkusResponse) String() string
type ListTransferableOffersRequest ¶
type ListTransferableOffersRequest struct { // Specifies the identity of transferred customer. // Either a cloud_identity_id of the customer OR the customer name is // required to look up transferrable Offers. // // Types that are assignable to TransferredCustomerIdentity: // *ListTransferableOffersRequest_CloudIdentityId // *ListTransferableOffersRequest_CustomerName TransferredCustomerIdentity isListTransferableOffersRequest_TransferredCustomerIdentity `protobuf_oneof:"transferred_customer_identity"` // Required. The resource name of the reseller's account. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. Server might return fewer results than requested. // If unspecified, at most 100 Offers will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results, if other than the first one. // Typically obtained via // [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous // [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Required. SKU for which the Offers are being looked up. Sku string `protobuf:"bytes,6,opt,name=sku,proto3" json:"sku,omitempty"` // The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
func (*ListTransferableOffersRequest) Descriptor
deprecated
func (*ListTransferableOffersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransferableOffersRequest.ProtoReflect.Descriptor instead.
func (*ListTransferableOffersRequest) GetCloudIdentityId ¶
func (x *ListTransferableOffersRequest) GetCloudIdentityId() string
func (*ListTransferableOffersRequest) GetCustomerName ¶
func (x *ListTransferableOffersRequest) GetCustomerName() string
func (*ListTransferableOffersRequest) GetLanguageCode ¶
func (x *ListTransferableOffersRequest) GetLanguageCode() string
func (*ListTransferableOffersRequest) GetPageSize ¶
func (x *ListTransferableOffersRequest) GetPageSize() int32
func (*ListTransferableOffersRequest) GetPageToken ¶
func (x *ListTransferableOffersRequest) GetPageToken() string
func (*ListTransferableOffersRequest) GetParent ¶
func (x *ListTransferableOffersRequest) GetParent() string
func (*ListTransferableOffersRequest) GetSku ¶
func (x *ListTransferableOffersRequest) GetSku() string
func (*ListTransferableOffersRequest) GetTransferredCustomerIdentity ¶
func (m *ListTransferableOffersRequest) GetTransferredCustomerIdentity() isListTransferableOffersRequest_TransferredCustomerIdentity
func (*ListTransferableOffersRequest) ProtoMessage ¶
func (*ListTransferableOffersRequest) ProtoMessage()
func (*ListTransferableOffersRequest) ProtoReflect ¶
func (x *ListTransferableOffersRequest) ProtoReflect() protoreflect.Message
func (*ListTransferableOffersRequest) Reset ¶
func (x *ListTransferableOffersRequest) Reset()
func (*ListTransferableOffersRequest) String ¶
func (x *ListTransferableOffersRequest) String() string
type ListTransferableOffersRequest_CloudIdentityId ¶
type ListTransferableOffersRequest_CloudIdentityId struct { // Customer's Cloud Identity ID CloudIdentityId string `protobuf:"bytes,4,opt,name=cloud_identity_id,json=cloudIdentityId,proto3,oneof"` }
type ListTransferableOffersRequest_CustomerName ¶
type ListTransferableOffersRequest_CustomerName struct { // A reseller should create a customer and use the resource name of // the created customer here. CustomerName string `protobuf:"bytes,5,opt,name=customer_name,json=customerName,proto3,oneof"` }
type ListTransferableOffersResponse ¶
type ListTransferableOffersResponse struct { // Information about Offers for a customer that can be used for // transfer. TransferableOffers []*TransferableOffer `protobuf:"bytes,1,rep,name=transferable_offers,json=transferableOffers,proto3" json:"transferable_offers,omitempty"` // A token to retrieve the next page of results. // Pass to [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token] to obtain // that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
func (*ListTransferableOffersResponse) Descriptor
deprecated
func (*ListTransferableOffersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransferableOffersResponse.ProtoReflect.Descriptor instead.
func (*ListTransferableOffersResponse) GetNextPageToken ¶
func (x *ListTransferableOffersResponse) GetNextPageToken() string
func (*ListTransferableOffersResponse) GetTransferableOffers ¶
func (x *ListTransferableOffersResponse) GetTransferableOffers() []*TransferableOffer
func (*ListTransferableOffersResponse) ProtoMessage ¶
func (*ListTransferableOffersResponse) ProtoMessage()
func (*ListTransferableOffersResponse) ProtoReflect ¶
func (x *ListTransferableOffersResponse) ProtoReflect() protoreflect.Message
func (*ListTransferableOffersResponse) Reset ¶
func (x *ListTransferableOffersResponse) Reset()
func (*ListTransferableOffersResponse) String ¶
func (x *ListTransferableOffersResponse) String() string
type ListTransferableSkusRequest ¶
type ListTransferableSkusRequest struct { // Specifies the identity of transferred customer. // Either a cloud_identity_id of the customer OR the customer name is // required to look up transferable SKUs. // // Types that are assignable to TransferredCustomerIdentity: // *ListTransferableSkusRequest_CloudIdentityId // *ListTransferableSkusRequest_CustomerName TransferredCustomerIdentity isListTransferableSkusRequest_TransferredCustomerIdentity `protobuf_oneof:"transferred_customer_identity"` // Required. The resource name of the reseller's account. // The parent takes the format: accounts/{account_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Requested page size. Server might return fewer results than requested. // If unspecified, at most 100 SKUs will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. // Optional. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying a page of results, if other than the first one. // Typically obtained via // [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token] of the previous // [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus] call. // Optional. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // This token is generated by the Super Admin of the resold customer to // authorize a reseller to access their Cloud Identity and purchase // entitlements on their behalf. This token can be omitted once the // authorization is generated. See https://support.google.com/a/answer/7643790 // for more details. AuthToken string `protobuf:"bytes,5,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` // The BCP-47 language code, such as "en-US". If specified, the // response will be localized to the corresponding language code. Default is // "en-US". // Optional. LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
func (*ListTransferableSkusRequest) Descriptor
deprecated
func (*ListTransferableSkusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransferableSkusRequest.ProtoReflect.Descriptor instead.
func (*ListTransferableSkusRequest) GetAuthToken ¶
func (x *ListTransferableSkusRequest) GetAuthToken() string
func (*ListTransferableSkusRequest) GetCloudIdentityId ¶
func (x *ListTransferableSkusRequest) GetCloudIdentityId() string
func (*ListTransferableSkusRequest) GetCustomerName ¶
func (x *ListTransferableSkusRequest) GetCustomerName() string
func (*ListTransferableSkusRequest) GetLanguageCode ¶
func (x *ListTransferableSkusRequest) GetLanguageCode() string
func (*ListTransferableSkusRequest) GetPageSize ¶
func (x *ListTransferableSkusRequest) GetPageSize() int32
func (*ListTransferableSkusRequest) GetPageToken ¶
func (x *ListTransferableSkusRequest) GetPageToken() string
func (*ListTransferableSkusRequest) GetParent ¶
func (x *ListTransferableSkusRequest) GetParent() string
func (*ListTransferableSkusRequest) GetTransferredCustomerIdentity ¶
func (m *ListTransferableSkusRequest) GetTransferredCustomerIdentity() isListTransferableSkusRequest_TransferredCustomerIdentity
func (*ListTransferableSkusRequest) ProtoMessage ¶
func (*ListTransferableSkusRequest) ProtoMessage()
func (*ListTransferableSkusRequest) ProtoReflect ¶
func (x *ListTransferableSkusRequest) ProtoReflect() protoreflect.Message
func (*ListTransferableSkusRequest) Reset ¶
func (x *ListTransferableSkusRequest) Reset()
func (*ListTransferableSkusRequest) String ¶
func (x *ListTransferableSkusRequest) String() string
type ListTransferableSkusRequest_CloudIdentityId ¶
type ListTransferableSkusRequest_CloudIdentityId struct { // Customer's Cloud Identity ID CloudIdentityId string `protobuf:"bytes,4,opt,name=cloud_identity_id,json=cloudIdentityId,proto3,oneof"` }
type ListTransferableSkusRequest_CustomerName ¶
type ListTransferableSkusRequest_CustomerName struct { // A reseller is required to create a customer and use the resource name of // the created customer here. // The customer_name takes the format: // accounts/{account_id}/customers/{customer_id} CustomerName string `protobuf:"bytes,7,opt,name=customer_name,json=customerName,proto3,oneof"` }
type ListTransferableSkusResponse ¶
type ListTransferableSkusResponse struct { // Information about existing SKUs for a customer that would need to be // transferred. TransferableSkus []*TransferableSku `protobuf:"bytes,1,rep,name=transferable_skus,json=transferableSkus,proto3" json:"transferable_skus,omitempty"` // A token to retrieve the next page of results. // Pass to [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token] to obtain // that page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
func (*ListTransferableSkusResponse) Descriptor
deprecated
func (*ListTransferableSkusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransferableSkusResponse.ProtoReflect.Descriptor instead.
func (*ListTransferableSkusResponse) GetNextPageToken ¶
func (x *ListTransferableSkusResponse) GetNextPageToken() string
func (*ListTransferableSkusResponse) GetTransferableSkus ¶
func (x *ListTransferableSkusResponse) GetTransferableSkus() []*TransferableSku
func (*ListTransferableSkusResponse) ProtoMessage ¶
func (*ListTransferableSkusResponse) ProtoMessage()
func (*ListTransferableSkusResponse) ProtoReflect ¶
func (x *ListTransferableSkusResponse) ProtoReflect() protoreflect.Message
func (*ListTransferableSkusResponse) Reset ¶
func (x *ListTransferableSkusResponse) Reset()
func (*ListTransferableSkusResponse) String ¶
func (x *ListTransferableSkusResponse) String() string
type MarketingInfo ¶
type MarketingInfo struct { // Human readable name. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Human readable description. Description can contain HTML. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Default logo. DefaultLogo *Media `protobuf:"bytes,3,opt,name=default_logo,json=defaultLogo,proto3" json:"default_logo,omitempty"` // contains filtered or unexported fields }
Represents the marketing information for a Product, SKU or Offer.
func (*MarketingInfo) Descriptor
deprecated
func (*MarketingInfo) Descriptor() ([]byte, []int)
Deprecated: Use MarketingInfo.ProtoReflect.Descriptor instead.
func (*MarketingInfo) GetDefaultLogo ¶
func (x *MarketingInfo) GetDefaultLogo() *Media
func (*MarketingInfo) GetDescription ¶
func (x *MarketingInfo) GetDescription() string
func (*MarketingInfo) GetDisplayName ¶
func (x *MarketingInfo) GetDisplayName() string
func (*MarketingInfo) ProtoMessage ¶
func (*MarketingInfo) ProtoMessage()
func (*MarketingInfo) ProtoReflect ¶
func (x *MarketingInfo) ProtoReflect() protoreflect.Message
func (*MarketingInfo) Reset ¶
func (x *MarketingInfo) Reset()
func (*MarketingInfo) String ¶
func (x *MarketingInfo) String() string
type Media ¶
type Media struct { // Title of the media. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // URL of the media. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // Type of the media. Type MediaType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.channel.v1.MediaType" json:"type,omitempty"` // contains filtered or unexported fields }
Represents media information.
func (*Media) Descriptor
deprecated
func (*Media) GetContent ¶
func (*Media) ProtoMessage ¶
func (*Media) ProtoMessage()
func (*Media) ProtoReflect ¶
func (x *Media) ProtoReflect() protoreflect.Message
type MediaType ¶
type MediaType int32
Type of media used.
func (MediaType) Descriptor ¶
func (MediaType) Descriptor() protoreflect.EnumDescriptor
func (MediaType) EnumDescriptor
deprecated
func (MediaType) Number ¶
func (x MediaType) Number() protoreflect.EnumNumber
func (MediaType) Type ¶
func (MediaType) Type() protoreflect.EnumType
type Offer ¶
type Offer struct { // Resource Name of the Offer. // Format: accounts/{account_id}/offers/{offer_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Marketing information for the Offer. MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"` // SKU the offer is associated with. Sku *Sku `protobuf:"bytes,3,opt,name=sku,proto3" json:"sku,omitempty"` // Describes the payment plan for the Offer. Plan *Plan `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan,omitempty"` // Constraints on transacting the Offer. Constraints *Constraints `protobuf:"bytes,5,opt,name=constraints,proto3" json:"constraints,omitempty"` // Price for each monetizable resource type. PriceByResources []*PriceByResource `protobuf:"bytes,6,rep,name=price_by_resources,json=priceByResources,proto3" json:"price_by_resources,omitempty"` // Start of the Offer validity time. StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. End of the Offer validity time. EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Parameters required to use current Offer to purchase. ParameterDefinitions []*ParameterDefinition `protobuf:"bytes,9,rep,name=parameter_definitions,json=parameterDefinitions,proto3" json:"parameter_definitions,omitempty"` // contains filtered or unexported fields }
Represents an offer made to resellers for purchase. An offer is associated with a Sku[google.cloud.channel.v1.Sku], has a plan for payment, a price, and defines the constraints for buying.
func (*Offer) Descriptor
deprecated
func (*Offer) GetConstraints ¶
func (x *Offer) GetConstraints() *Constraints
func (*Offer) GetEndTime ¶
func (x *Offer) GetEndTime() *timestamppb.Timestamp
func (*Offer) GetMarketingInfo ¶
func (x *Offer) GetMarketingInfo() *MarketingInfo
func (*Offer) GetParameterDefinitions ¶
func (x *Offer) GetParameterDefinitions() []*ParameterDefinition
func (*Offer) GetPriceByResources ¶
func (x *Offer) GetPriceByResources() []*PriceByResource
func (*Offer) GetStartTime ¶
func (x *Offer) GetStartTime() *timestamppb.Timestamp
func (*Offer) ProtoMessage ¶
func (*Offer) ProtoMessage()
func (*Offer) ProtoReflect ¶
func (x *Offer) ProtoReflect() protoreflect.Message
type OperationMetadata ¶
type OperationMetadata struct { // The RPC that initiated this Long Running Operation. OperationType OperationMetadata_OperationType `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Provides contextual information about a [google.longrunning.Operation][google.longrunning.Operation].
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetOperationType ¶
func (x *OperationMetadata) GetOperationType() OperationMetadata_OperationType
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type OperationMetadata_OperationType ¶
type OperationMetadata_OperationType int32
RPCs that return a Long Running Operation.
const ( // Default value. This state doesn't show unless an error occurs. OperationMetadata_OPERATION_TYPE_UNSPECIFIED OperationMetadata_OperationType = 0 // Long Running Operation was triggered by CreateEntitlement. OperationMetadata_CREATE_ENTITLEMENT OperationMetadata_OperationType = 1 // Long Running Operation was triggered by ChangeRenewalSettings. OperationMetadata_CHANGE_RENEWAL_SETTINGS OperationMetadata_OperationType = 3 // Long Running Operation was triggered by StartPaidService. OperationMetadata_START_PAID_SERVICE OperationMetadata_OperationType = 5 // Long Running Operation was triggered by ActivateEntitlement. OperationMetadata_ACTIVATE_ENTITLEMENT OperationMetadata_OperationType = 7 // Long Running Operation was triggered by SuspendEntitlement. OperationMetadata_SUSPEND_ENTITLEMENT OperationMetadata_OperationType = 8 // Long Running Operation was triggered by CancelEntitlement. OperationMetadata_CANCEL_ENTITLEMENT OperationMetadata_OperationType = 9 // Long Running Operation was triggered by TransferEntitlements. OperationMetadata_TRANSFER_ENTITLEMENTS OperationMetadata_OperationType = 10 // Long Running Operation was triggered by TransferEntitlementsToGoogle. OperationMetadata_TRANSFER_ENTITLEMENTS_TO_GOOGLE OperationMetadata_OperationType = 11 // Long Running Operation was triggered by ChangeOffer. OperationMetadata_CHANGE_OFFER OperationMetadata_OperationType = 14 // Long Running Operation was triggered by ChangeParameters. OperationMetadata_CHANGE_PARAMETERS OperationMetadata_OperationType = 15 // Long Running Operation was triggered by ProvisionCloudIdentity. OperationMetadata_PROVISION_CLOUD_IDENTITY OperationMetadata_OperationType = 16 )
func (OperationMetadata_OperationType) Descriptor ¶
func (OperationMetadata_OperationType) Descriptor() protoreflect.EnumDescriptor
func (OperationMetadata_OperationType) Enum ¶
func (x OperationMetadata_OperationType) Enum() *OperationMetadata_OperationType
func (OperationMetadata_OperationType) EnumDescriptor
deprecated
func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationMetadata_OperationType.Descriptor instead.
func (OperationMetadata_OperationType) Number ¶
func (x OperationMetadata_OperationType) Number() protoreflect.EnumNumber
func (OperationMetadata_OperationType) String ¶
func (x OperationMetadata_OperationType) String() string
func (OperationMetadata_OperationType) Type ¶
func (OperationMetadata_OperationType) Type() protoreflect.EnumType
type Parameter ¶
type Parameter struct { // Name of the parameter. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Value of the parameter. Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // 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 `protobuf:"varint,3,opt,name=editable,proto3" json:"editable,omitempty"` // contains filtered or unexported fields }
Definition for extended entitlement parameters.
func (*Parameter) Descriptor
deprecated
func (*Parameter) GetEditable ¶
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type ParameterDefinition ¶
type ParameterDefinition struct { // Name of the parameter. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data type of the parameter. Minimal value, Maximum value and allowed values // will use specified data type here. ParameterType ParameterDefinition_ParameterType `` /* 164-byte string literal not displayed */ // 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 *Value `protobuf:"bytes,3,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` // 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 *Value `protobuf:"bytes,4,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` // If not empty, parameter values must be drawn from this list. // For example, [us-west1, us-west2, ...] // Applicable to STRING parameter type. AllowedValues []*Value `protobuf:"bytes,5,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"` // If set to true, parameter is optional to purchase this Offer. Optional bool `protobuf:"varint,6,opt,name=optional,proto3" json:"optional,omitempty"` // contains filtered or unexported fields }
Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.
func (*ParameterDefinition) Descriptor
deprecated
func (*ParameterDefinition) Descriptor() ([]byte, []int)
Deprecated: Use ParameterDefinition.ProtoReflect.Descriptor instead.
func (*ParameterDefinition) GetAllowedValues ¶
func (x *ParameterDefinition) GetAllowedValues() []*Value
func (*ParameterDefinition) GetMaxValue ¶
func (x *ParameterDefinition) GetMaxValue() *Value
func (*ParameterDefinition) GetMinValue ¶
func (x *ParameterDefinition) GetMinValue() *Value
func (*ParameterDefinition) GetName ¶
func (x *ParameterDefinition) GetName() string
func (*ParameterDefinition) GetOptional ¶
func (x *ParameterDefinition) GetOptional() bool
func (*ParameterDefinition) GetParameterType ¶
func (x *ParameterDefinition) GetParameterType() ParameterDefinition_ParameterType
func (*ParameterDefinition) ProtoMessage ¶
func (*ParameterDefinition) ProtoMessage()
func (*ParameterDefinition) ProtoReflect ¶
func (x *ParameterDefinition) ProtoReflect() protoreflect.Message
func (*ParameterDefinition) Reset ¶
func (x *ParameterDefinition) Reset()
func (*ParameterDefinition) String ¶
func (x *ParameterDefinition) String() string
type ParameterDefinition_ParameterType ¶
type ParameterDefinition_ParameterType int32
Data type of the parameter.
const ( // Not used. ParameterDefinition_PARAMETER_TYPE_UNSPECIFIED ParameterDefinition_ParameterType = 0 // Int64 type. ParameterDefinition_INT64 ParameterDefinition_ParameterType = 1 // String type. ParameterDefinition_STRING ParameterDefinition_ParameterType = 2 // Double type. ParameterDefinition_DOUBLE ParameterDefinition_ParameterType = 3 )
func (ParameterDefinition_ParameterType) Descriptor ¶
func (ParameterDefinition_ParameterType) Descriptor() protoreflect.EnumDescriptor
func (ParameterDefinition_ParameterType) Enum ¶
func (x ParameterDefinition_ParameterType) Enum() *ParameterDefinition_ParameterType
func (ParameterDefinition_ParameterType) EnumDescriptor
deprecated
func (ParameterDefinition_ParameterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParameterDefinition_ParameterType.Descriptor instead.
func (ParameterDefinition_ParameterType) Number ¶
func (x ParameterDefinition_ParameterType) Number() protoreflect.EnumNumber
func (ParameterDefinition_ParameterType) String ¶
func (x ParameterDefinition_ParameterType) String() string
func (ParameterDefinition_ParameterType) Type ¶
func (ParameterDefinition_ParameterType) Type() protoreflect.EnumType
type PaymentPlan ¶
type PaymentPlan int32
Describes how the reseller will be billed.
const ( // Not used. PaymentPlan_PAYMENT_PLAN_UNSPECIFIED PaymentPlan = 0 // Commitment. PaymentPlan_COMMITMENT PaymentPlan = 1 // No commitment. PaymentPlan_FLEXIBLE PaymentPlan = 2 // Free. PaymentPlan_FREE PaymentPlan = 3 // Trial. PaymentPlan_TRIAL PaymentPlan = 4 // Price and ordering not available through API. PaymentPlan_OFFLINE PaymentPlan = 5 )
func (PaymentPlan) Descriptor ¶
func (PaymentPlan) Descriptor() protoreflect.EnumDescriptor
func (PaymentPlan) Enum ¶
func (x PaymentPlan) Enum() *PaymentPlan
func (PaymentPlan) EnumDescriptor
deprecated
func (PaymentPlan) EnumDescriptor() ([]byte, []int)
Deprecated: Use PaymentPlan.Descriptor instead.
func (PaymentPlan) Number ¶
func (x PaymentPlan) Number() protoreflect.EnumNumber
func (PaymentPlan) String ¶
func (x PaymentPlan) String() string
func (PaymentPlan) Type ¶
func (PaymentPlan) Type() protoreflect.EnumType
type PaymentType ¶
type PaymentType int32
Specifies when the payment needs to happen.
const ( // Not used. PaymentType_PAYMENT_TYPE_UNSPECIFIED PaymentType = 0 // Prepay. Amount has to be paid before service is rendered. PaymentType_PREPAY PaymentType = 1 // Postpay. Reseller is charged at the end of the Payment cycle. PaymentType_POSTPAY PaymentType = 2 )
func (PaymentType) Descriptor ¶
func (PaymentType) Descriptor() protoreflect.EnumDescriptor
func (PaymentType) Enum ¶
func (x PaymentType) Enum() *PaymentType
func (PaymentType) EnumDescriptor
deprecated
func (PaymentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PaymentType.Descriptor instead.
func (PaymentType) Number ¶
func (x PaymentType) Number() protoreflect.EnumNumber
func (PaymentType) String ¶
func (x PaymentType) String() string
func (PaymentType) Type ¶
func (PaymentType) Type() protoreflect.EnumType
type Period ¶
type Period struct { // Total duration of Period Type defined. Duration int32 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"` // Period Type. PeriodType PeriodType `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Represents period in days/months/years.
func (*Period) Descriptor
deprecated
func (*Period) GetDuration ¶
func (*Period) GetPeriodType ¶
func (x *Period) GetPeriodType() PeriodType
func (*Period) ProtoMessage ¶
func (*Period) ProtoMessage()
func (*Period) ProtoReflect ¶
func (x *Period) ProtoReflect() protoreflect.Message
type PeriodType ¶
type PeriodType int32
Period Type.
const ( // Not used. PeriodType_PERIOD_TYPE_UNSPECIFIED PeriodType = 0 // Day. PeriodType_DAY PeriodType = 1 // Month. PeriodType_MONTH PeriodType = 2 // Year. PeriodType_YEAR PeriodType = 3 )
func (PeriodType) Descriptor ¶
func (PeriodType) Descriptor() protoreflect.EnumDescriptor
func (PeriodType) Enum ¶
func (x PeriodType) Enum() *PeriodType
func (PeriodType) EnumDescriptor
deprecated
func (PeriodType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeriodType.Descriptor instead.
func (PeriodType) Number ¶
func (x PeriodType) Number() protoreflect.EnumNumber
func (PeriodType) String ¶
func (x PeriodType) String() string
func (PeriodType) Type ¶
func (PeriodType) Type() protoreflect.EnumType
type Plan ¶
type Plan struct { // Describes how a reseller will be billed. PaymentPlan PaymentPlan `` /* 136-byte string literal not displayed */ // Specifies when the payment needs to happen. PaymentType PaymentType `` /* 136-byte string literal not displayed */ // Describes how frequently the reseller will be billed, such as // once per month. PaymentCycle *Period `protobuf:"bytes,3,opt,name=payment_cycle,json=paymentCycle,proto3" json:"payment_cycle,omitempty"` // 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 *Period `protobuf:"bytes,4,opt,name=trial_period,json=trialPeriod,proto3" json:"trial_period,omitempty"` // contains filtered or unexported fields }
The payment plan for the Offer. Describes how to make a payment.
func (*Plan) Descriptor
deprecated
func (*Plan) GetPaymentCycle ¶
func (*Plan) GetPaymentPlan ¶
func (x *Plan) GetPaymentPlan() PaymentPlan
func (*Plan) GetPaymentType ¶
func (x *Plan) GetPaymentType() PaymentType
func (*Plan) GetTrialPeriod ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶
func (x *Plan) ProtoReflect() protoreflect.Message
type Price ¶
type Price struct { // Base price. BasePrice *money.Money `protobuf:"bytes,1,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty"` // Discount percentage, represented as decimal. // For example, a 20% discount will be represent as 0.2. Discount float64 `protobuf:"fixed64,2,opt,name=discount,proto3" json:"discount,omitempty"` // Effective Price after applying the discounts. EffectivePrice *money.Money `protobuf:"bytes,3,opt,name=effective_price,json=effectivePrice,proto3" json:"effective_price,omitempty"` // Link to external price list, such as link to Google Voice rate card. ExternalPriceUri string `protobuf:"bytes,4,opt,name=external_price_uri,json=externalPriceUri,proto3" json:"external_price_uri,omitempty"` // contains filtered or unexported fields }
Represents the price of the Offer.
func (*Price) Descriptor
deprecated
func (*Price) GetBasePrice ¶
func (*Price) GetDiscount ¶
func (*Price) GetEffectivePrice ¶
func (*Price) GetExternalPriceUri ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) ProtoReflect ¶
func (x *Price) ProtoReflect() protoreflect.Message
type PriceByResource ¶
type PriceByResource struct { // Resource Type. Example: SEAT ResourceType ResourceType `` /* 140-byte string literal not displayed */ // Price of the Offer. Present if there are no price phases. Price *Price `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` // Specifies the price by time range. PricePhases []*PricePhase `protobuf:"bytes,3,rep,name=price_phases,json=pricePhases,proto3" json:"price_phases,omitempty"` // contains filtered or unexported fields }
Represents price by resource type.
func (*PriceByResource) Descriptor
deprecated
func (*PriceByResource) Descriptor() ([]byte, []int)
Deprecated: Use PriceByResource.ProtoReflect.Descriptor instead.
func (*PriceByResource) GetPrice ¶
func (x *PriceByResource) GetPrice() *Price
func (*PriceByResource) GetPricePhases ¶
func (x *PriceByResource) GetPricePhases() []*PricePhase
func (*PriceByResource) GetResourceType ¶
func (x *PriceByResource) GetResourceType() ResourceType
func (*PriceByResource) ProtoMessage ¶
func (*PriceByResource) ProtoMessage()
func (*PriceByResource) ProtoReflect ¶
func (x *PriceByResource) ProtoReflect() protoreflect.Message
func (*PriceByResource) Reset ¶
func (x *PriceByResource) Reset()
func (*PriceByResource) String ¶
func (x *PriceByResource) String() string
type PricePhase ¶
type PricePhase struct { // Defines the phase period type. PeriodType PeriodType `` /* 132-byte string literal not displayed */ // Defines first period for the phase. FirstPeriod int32 `protobuf:"varint,2,opt,name=first_period,json=firstPeriod,proto3" json:"first_period,omitempty"` // Defines first period for the phase. LastPeriod int32 `protobuf:"varint,3,opt,name=last_period,json=lastPeriod,proto3" json:"last_period,omitempty"` // Price of the phase. Present if there are no price tiers. Price *Price `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"` // Price by the resource tiers. PriceTiers []*PriceTier `protobuf:"bytes,5,rep,name=price_tiers,json=priceTiers,proto3" json:"price_tiers,omitempty"` // contains filtered or unexported fields }
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.
func (*PricePhase) Descriptor
deprecated
func (*PricePhase) Descriptor() ([]byte, []int)
Deprecated: Use PricePhase.ProtoReflect.Descriptor instead.
func (*PricePhase) GetFirstPeriod ¶
func (x *PricePhase) GetFirstPeriod() int32
func (*PricePhase) GetLastPeriod ¶
func (x *PricePhase) GetLastPeriod() int32
func (*PricePhase) GetPeriodType ¶
func (x *PricePhase) GetPeriodType() PeriodType
func (*PricePhase) GetPrice ¶
func (x *PricePhase) GetPrice() *Price
func (*PricePhase) GetPriceTiers ¶
func (x *PricePhase) GetPriceTiers() []*PriceTier
func (*PricePhase) ProtoMessage ¶
func (*PricePhase) ProtoMessage()
func (*PricePhase) ProtoReflect ¶
func (x *PricePhase) ProtoReflect() protoreflect.Message
func (*PricePhase) Reset ¶
func (x *PricePhase) Reset()
func (*PricePhase) String ¶
func (x *PricePhase) String() string
type PriceTier ¶
type PriceTier struct { // First resource for which the tier price applies. FirstResource int32 `protobuf:"varint,1,opt,name=first_resource,json=firstResource,proto3" json:"first_resource,omitempty"` // Last resource for which the tier price applies. LastResource int32 `protobuf:"varint,2,opt,name=last_resource,json=lastResource,proto3" json:"last_resource,omitempty"` // Price of the tier. Price *Price `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
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.
func (*PriceTier) Descriptor
deprecated
func (*PriceTier) GetFirstResource ¶
func (*PriceTier) GetLastResource ¶
func (*PriceTier) ProtoMessage ¶
func (*PriceTier) ProtoMessage()
func (*PriceTier) ProtoReflect ¶
func (x *PriceTier) ProtoReflect() protoreflect.Message
type Product ¶
type Product struct { // Resource Name of the Product. // Format: products/{product_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Marketing information for the product. MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"` // contains filtered or unexported fields }
A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc.
func (*Product) Descriptor
deprecated
func (*Product) GetMarketingInfo ¶
func (x *Product) GetMarketingInfo() *MarketingInfo
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) ProtoReflect ¶
func (x *Product) ProtoReflect() protoreflect.Message
type PromotionalOrderType ¶
type PromotionalOrderType int32
Constraints type for Promotional offers.
const ( // Not used. PromotionalOrderType_PROMOTIONAL_TYPE_UNSPECIFIED PromotionalOrderType = 0 // Order used for new customers, trial conversions and upgrades. PromotionalOrderType_NEW_UPGRADE PromotionalOrderType = 1 // All orders for transferring an existing customer. PromotionalOrderType_TRANSFER PromotionalOrderType = 2 // Orders for modifying an existing customer's promotion on the same SKU. PromotionalOrderType_PROMOTION_SWITCH PromotionalOrderType = 3 )
func (PromotionalOrderType) Descriptor ¶
func (PromotionalOrderType) Descriptor() protoreflect.EnumDescriptor
func (PromotionalOrderType) Enum ¶
func (x PromotionalOrderType) Enum() *PromotionalOrderType
func (PromotionalOrderType) EnumDescriptor
deprecated
func (PromotionalOrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PromotionalOrderType.Descriptor instead.
func (PromotionalOrderType) Number ¶
func (x PromotionalOrderType) Number() protoreflect.EnumNumber
func (PromotionalOrderType) String ¶
func (x PromotionalOrderType) String() string
func (PromotionalOrderType) Type ¶
func (PromotionalOrderType) Type() protoreflect.EnumType
type ProvisionCloudIdentityRequest ¶
type ProvisionCloudIdentityRequest struct { // Required. Resource name of the customer. // Format: accounts/{account_id}/customers/{customer_id} Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // CloudIdentity-specific customer information. CloudIdentityInfo *CloudIdentityInfo `protobuf:"bytes,2,opt,name=cloud_identity_info,json=cloudIdentityInfo,proto3" json:"cloud_identity_info,omitempty"` // Admin user information. User *AdminUser `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // If set, validate the request and preview the review, but do not actually // post it. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
func (*ProvisionCloudIdentityRequest) Descriptor
deprecated
func (*ProvisionCloudIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionCloudIdentityRequest.ProtoReflect.Descriptor instead.
func (*ProvisionCloudIdentityRequest) GetCloudIdentityInfo ¶
func (x *ProvisionCloudIdentityRequest) GetCloudIdentityInfo() *CloudIdentityInfo
func (*ProvisionCloudIdentityRequest) GetCustomer ¶
func (x *ProvisionCloudIdentityRequest) GetCustomer() string
func (*ProvisionCloudIdentityRequest) GetUser ¶
func (x *ProvisionCloudIdentityRequest) GetUser() *AdminUser
func (*ProvisionCloudIdentityRequest) GetValidateOnly ¶
func (x *ProvisionCloudIdentityRequest) GetValidateOnly() bool
func (*ProvisionCloudIdentityRequest) ProtoMessage ¶
func (*ProvisionCloudIdentityRequest) ProtoMessage()
func (*ProvisionCloudIdentityRequest) ProtoReflect ¶
func (x *ProvisionCloudIdentityRequest) ProtoReflect() protoreflect.Message
func (*ProvisionCloudIdentityRequest) Reset ¶
func (x *ProvisionCloudIdentityRequest) Reset()
func (*ProvisionCloudIdentityRequest) String ¶
func (x *ProvisionCloudIdentityRequest) String() string
type ProvisionedService ¶
type ProvisionedService struct { // Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the // underlying Subscription ID. ProvisioningId string `protobuf:"bytes,1,opt,name=provisioning_id,json=provisioningId,proto3" json:"provisioning_id,omitempty"` // Output only. The product pertaining to the provisioning resource as specified in the // Offer. ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // Output only. The SKU pertaining to the provisioning resource as specified in the Offer. SkuId string `protobuf:"bytes,3,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"` // contains filtered or unexported fields }
Service provisioned for an entitlement.
func (*ProvisionedService) Descriptor
deprecated
func (*ProvisionedService) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedService.ProtoReflect.Descriptor instead.
func (*ProvisionedService) GetProductId ¶
func (x *ProvisionedService) GetProductId() string
func (*ProvisionedService) GetProvisioningId ¶
func (x *ProvisionedService) GetProvisioningId() string
func (*ProvisionedService) GetSkuId ¶
func (x *ProvisionedService) GetSkuId() string
func (*ProvisionedService) ProtoMessage ¶
func (*ProvisionedService) ProtoMessage()
func (*ProvisionedService) ProtoReflect ¶
func (x *ProvisionedService) ProtoReflect() protoreflect.Message
func (*ProvisionedService) Reset ¶
func (x *ProvisionedService) Reset()
func (*ProvisionedService) String ¶
func (x *ProvisionedService) String() string
type PurchasableOffer ¶
type PurchasableOffer struct { // Offer. Offer *Offer `protobuf:"bytes,1,opt,name=offer,proto3" json:"offer,omitempty"` // contains filtered or unexported fields }
Offer that can be puchased for a customer. This is used in ListPurchasableOffer API response.
func (*PurchasableOffer) Descriptor
deprecated
func (*PurchasableOffer) Descriptor() ([]byte, []int)
Deprecated: Use PurchasableOffer.ProtoReflect.Descriptor instead.
func (*PurchasableOffer) GetOffer ¶
func (x *PurchasableOffer) GetOffer() *Offer
func (*PurchasableOffer) ProtoMessage ¶
func (*PurchasableOffer) ProtoMessage()
func (*PurchasableOffer) ProtoReflect ¶
func (x *PurchasableOffer) ProtoReflect() protoreflect.Message
func (*PurchasableOffer) Reset ¶
func (x *PurchasableOffer) Reset()
func (*PurchasableOffer) String ¶
func (x *PurchasableOffer) String() string
type PurchasableSku ¶
type PurchasableSku struct { // SKU Sku *Sku `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"` // contains filtered or unexported fields }
SKU that can be used for a puchase. This is used in ListPurchasableSku API response.
func (*PurchasableSku) Descriptor
deprecated
func (*PurchasableSku) Descriptor() ([]byte, []int)
Deprecated: Use PurchasableSku.ProtoReflect.Descriptor instead.
func (*PurchasableSku) GetSku ¶
func (x *PurchasableSku) GetSku() *Sku
func (*PurchasableSku) ProtoMessage ¶
func (*PurchasableSku) ProtoMessage()
func (*PurchasableSku) ProtoReflect ¶
func (x *PurchasableSku) ProtoReflect() protoreflect.Message
func (*PurchasableSku) Reset ¶
func (x *PurchasableSku) Reset()
func (*PurchasableSku) String ¶
func (x *PurchasableSku) String() string
type RenewalSettings ¶
type RenewalSettings struct { // If false, the plan will be completed at the end date. EnableRenewal bool `protobuf:"varint,1,opt,name=enable_renewal,json=enableRenewal,proto3" json:"enable_renewal,omitempty"` // 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 `protobuf:"varint,2,opt,name=resize_unit_count,json=resizeUnitCount,proto3" json:"resize_unit_count,omitempty"` // Describes how a reseller will be billed. PaymentPlan PaymentPlan `` /* 136-byte string literal not displayed */ // Describes how frequently the reseller will be billed, such as // once per month. PaymentCycle *Period `protobuf:"bytes,6,opt,name=payment_cycle,json=paymentCycle,proto3" json:"payment_cycle,omitempty"` // contains filtered or unexported fields }
Renewal settings for renewable Offers.
func (*RenewalSettings) Descriptor
deprecated
func (*RenewalSettings) Descriptor() ([]byte, []int)
Deprecated: Use RenewalSettings.ProtoReflect.Descriptor instead.
func (*RenewalSettings) GetEnableRenewal ¶
func (x *RenewalSettings) GetEnableRenewal() bool
func (*RenewalSettings) GetPaymentCycle ¶
func (x *RenewalSettings) GetPaymentCycle() *Period
func (*RenewalSettings) GetPaymentPlan ¶
func (x *RenewalSettings) GetPaymentPlan() PaymentPlan
func (*RenewalSettings) GetResizeUnitCount ¶
func (x *RenewalSettings) GetResizeUnitCount() bool
func (*RenewalSettings) ProtoMessage ¶
func (*RenewalSettings) ProtoMessage()
func (*RenewalSettings) ProtoReflect ¶
func (x *RenewalSettings) ProtoReflect() protoreflect.Message
func (*RenewalSettings) Reset ¶
func (x *RenewalSettings) Reset()
func (*RenewalSettings) String ¶
func (x *RenewalSettings) String() string
type ResourceType ¶
type ResourceType int32
Represents the type for a monetizable resource(any entity on which billing happens). For example, this could be MINUTES for Google Voice and GB for Google Drive. One SKU can map to multiple monetizable resources.
const ( // Not used. ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0 // Seat. ResourceType_SEAT ResourceType = 1 // Monthly active user. ResourceType_MAU ResourceType = 2 // GB (used for storage SKUs). ResourceType_GB ResourceType = 3 // Active licensed users(for Voice SKUs). ResourceType_LICENSED_USER ResourceType = 4 // Voice usage. ResourceType_MINUTES ResourceType = 5 // For IaaS SKUs like Google Cloud Platform, 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 // Platform. ResourceType_IAAS_USAGE ResourceType = 6 // For Google Cloud Platform subscriptions like Anthos or SAP. ResourceType_SUBSCRIPTION ResourceType = 7 )
func (ResourceType) Descriptor ¶
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶
func (x ResourceType) String() string
func (ResourceType) Type ¶
func (ResourceType) Type() protoreflect.EnumType
type Sku ¶
type Sku struct { // Resource Name of the SKU. // Format: products/{product_id}/skus/{sku_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Marketing information for the SKU. MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"` // Product the SKU is associated with. Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
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.
func (*Sku) Descriptor
deprecated
func (*Sku) GetMarketingInfo ¶
func (x *Sku) GetMarketingInfo() *MarketingInfo
func (*Sku) GetProduct ¶
func (*Sku) ProtoMessage ¶
func (*Sku) ProtoMessage()
func (*Sku) ProtoReflect ¶
func (x *Sku) ProtoReflect() protoreflect.Message
type StartPaidServiceRequest ¶
type StartPaidServiceRequest struct { // Required. The name of the entitlement for which paid service is being started. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
func (*StartPaidServiceRequest) Descriptor
deprecated
func (*StartPaidServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartPaidServiceRequest.ProtoReflect.Descriptor instead.
func (*StartPaidServiceRequest) GetName ¶
func (x *StartPaidServiceRequest) GetName() string
func (*StartPaidServiceRequest) GetRequestId ¶
func (x *StartPaidServiceRequest) GetRequestId() string
func (*StartPaidServiceRequest) ProtoMessage ¶
func (*StartPaidServiceRequest) ProtoMessage()
func (*StartPaidServiceRequest) ProtoReflect ¶
func (x *StartPaidServiceRequest) ProtoReflect() protoreflect.Message
func (*StartPaidServiceRequest) Reset ¶
func (x *StartPaidServiceRequest) Reset()
func (*StartPaidServiceRequest) String ¶
func (x *StartPaidServiceRequest) String() string
type SuspendEntitlementRequest ¶
type SuspendEntitlementRequest struct { // Required. The resource name of the entitlement to suspend. // The name takes the format: // accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
func (*SuspendEntitlementRequest) Descriptor
deprecated
func (*SuspendEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuspendEntitlementRequest.ProtoReflect.Descriptor instead.
func (*SuspendEntitlementRequest) GetName ¶
func (x *SuspendEntitlementRequest) GetName() string
func (*SuspendEntitlementRequest) GetRequestId ¶
func (x *SuspendEntitlementRequest) GetRequestId() string
func (*SuspendEntitlementRequest) ProtoMessage ¶
func (*SuspendEntitlementRequest) ProtoMessage()
func (*SuspendEntitlementRequest) ProtoReflect ¶
func (x *SuspendEntitlementRequest) ProtoReflect() protoreflect.Message
func (*SuspendEntitlementRequest) Reset ¶
func (x *SuspendEntitlementRequest) Reset()
func (*SuspendEntitlementRequest) String ¶
func (x *SuspendEntitlementRequest) String() string
type TransferEligibility ¶
type TransferEligibility struct { // Whether reseller is eligible to transfer the SKU. IsEligible bool `protobuf:"varint,1,opt,name=is_eligible,json=isEligible,proto3" json:"is_eligible,omitempty"` // Localized description if reseller is not eligible to transfer the SKU. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Specified the reason for ineligibility. IneligibilityReason TransferEligibility_Reason `` /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies transfer eligibility of a SKU.
func (*TransferEligibility) Descriptor
deprecated
func (*TransferEligibility) Descriptor() ([]byte, []int)
Deprecated: Use TransferEligibility.ProtoReflect.Descriptor instead.
func (*TransferEligibility) GetDescription ¶
func (x *TransferEligibility) GetDescription() string
func (*TransferEligibility) GetIneligibilityReason ¶
func (x *TransferEligibility) GetIneligibilityReason() TransferEligibility_Reason
func (*TransferEligibility) GetIsEligible ¶
func (x *TransferEligibility) GetIsEligible() bool
func (*TransferEligibility) ProtoMessage ¶
func (*TransferEligibility) ProtoMessage()
func (*TransferEligibility) ProtoReflect ¶
func (x *TransferEligibility) ProtoReflect() protoreflect.Message
func (*TransferEligibility) Reset ¶
func (x *TransferEligibility) Reset()
func (*TransferEligibility) String ¶
func (x *TransferEligibility) String() string
type TransferEligibility_Reason ¶
type TransferEligibility_Reason int32
Reason of ineligibility.
const ( // Reason is not available. TransferEligibility_REASON_UNSPECIFIED TransferEligibility_Reason = 0 // Reseller needs to accept TOS before transferring the SKU. TransferEligibility_PENDING_TOS_ACCEPTANCE TransferEligibility_Reason = 1 // Reseller not eligible to sell the SKU. TransferEligibility_SKU_NOT_ELIGIBLE TransferEligibility_Reason = 2 // SKU subscription is suspended TransferEligibility_SKU_SUSPENDED TransferEligibility_Reason = 3 )
func (TransferEligibility_Reason) Descriptor ¶
func (TransferEligibility_Reason) Descriptor() protoreflect.EnumDescriptor
func (TransferEligibility_Reason) Enum ¶
func (x TransferEligibility_Reason) Enum() *TransferEligibility_Reason
func (TransferEligibility_Reason) EnumDescriptor
deprecated
func (TransferEligibility_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransferEligibility_Reason.Descriptor instead.
func (TransferEligibility_Reason) Number ¶
func (x TransferEligibility_Reason) Number() protoreflect.EnumNumber
func (TransferEligibility_Reason) String ¶
func (x TransferEligibility_Reason) String() string
func (TransferEligibility_Reason) Type ¶
func (TransferEligibility_Reason) Type() protoreflect.EnumType
type TransferEntitlementsRequest ¶
type TransferEntitlementsRequest struct { // Required. The resource name of reseller's customer account where the entitlements // transfer to. // The parent takes the format: accounts/{account_id}/customers/{customer_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The new entitlements to be created or transferred. Entitlements []*Entitlement `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,omitempty"` // This token is generated by the Super Admin of the resold customer to // authorize a reseller to access their Cloud Identity and purchase // entitlements on their behalf. This token can be omitted once the // authorization is generated. See https://support.google.com/a/answer/7643790 // for more details. AuthToken string `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
func (*TransferEntitlementsRequest) Descriptor
deprecated
func (*TransferEntitlementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferEntitlementsRequest.ProtoReflect.Descriptor instead.
func (*TransferEntitlementsRequest) GetAuthToken ¶
func (x *TransferEntitlementsRequest) GetAuthToken() string
func (*TransferEntitlementsRequest) GetEntitlements ¶
func (x *TransferEntitlementsRequest) GetEntitlements() []*Entitlement
func (*TransferEntitlementsRequest) GetParent ¶
func (x *TransferEntitlementsRequest) GetParent() string
func (*TransferEntitlementsRequest) GetRequestId ¶
func (x *TransferEntitlementsRequest) GetRequestId() string
func (*TransferEntitlementsRequest) ProtoMessage ¶
func (*TransferEntitlementsRequest) ProtoMessage()
func (*TransferEntitlementsRequest) ProtoReflect ¶
func (x *TransferEntitlementsRequest) ProtoReflect() protoreflect.Message
func (*TransferEntitlementsRequest) Reset ¶
func (x *TransferEntitlementsRequest) Reset()
func (*TransferEntitlementsRequest) String ¶
func (x *TransferEntitlementsRequest) String() string
type TransferEntitlementsResponse ¶
type TransferEntitlementsResponse struct { // The entitlements that have been transferred. Entitlements []*Entitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"` // contains filtered or unexported fields }
Response message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements]. This will be put into the response field of google.longrunning.Operation.
func (*TransferEntitlementsResponse) Descriptor
deprecated
func (*TransferEntitlementsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransferEntitlementsResponse.ProtoReflect.Descriptor instead.
func (*TransferEntitlementsResponse) GetEntitlements ¶
func (x *TransferEntitlementsResponse) GetEntitlements() []*Entitlement
func (*TransferEntitlementsResponse) ProtoMessage ¶
func (*TransferEntitlementsResponse) ProtoMessage()
func (*TransferEntitlementsResponse) ProtoReflect ¶
func (x *TransferEntitlementsResponse) ProtoReflect() protoreflect.Message
func (*TransferEntitlementsResponse) Reset ¶
func (x *TransferEntitlementsResponse) Reset()
func (*TransferEntitlementsResponse) String ¶
func (x *TransferEntitlementsResponse) String() string
type TransferEntitlementsToGoogleRequest ¶
type TransferEntitlementsToGoogleRequest struct { // Required. The resource name of reseller's customer account where the entitlements // transfer from. // The parent takes the format: accounts/{account_id}/customers/{customer_id} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entitlements to be transferred to Google. Entitlements []*Entitlement `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique request ID so // that if you must retry your request, the server will know to ignore the // request if it has already been completed. // // For example, consider a situation where 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 the original operation with the same // request ID was received, and if so, 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 `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
func (*TransferEntitlementsToGoogleRequest) Descriptor
deprecated
func (*TransferEntitlementsToGoogleRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferEntitlementsToGoogleRequest.ProtoReflect.Descriptor instead.
func (*TransferEntitlementsToGoogleRequest) GetEntitlements ¶
func (x *TransferEntitlementsToGoogleRequest) GetEntitlements() []*Entitlement
func (*TransferEntitlementsToGoogleRequest) GetParent ¶
func (x *TransferEntitlementsToGoogleRequest) GetParent() string
func (*TransferEntitlementsToGoogleRequest) GetRequestId ¶
func (x *TransferEntitlementsToGoogleRequest) GetRequestId() string
func (*TransferEntitlementsToGoogleRequest) ProtoMessage ¶
func (*TransferEntitlementsToGoogleRequest) ProtoMessage()
func (*TransferEntitlementsToGoogleRequest) ProtoReflect ¶
func (x *TransferEntitlementsToGoogleRequest) ProtoReflect() protoreflect.Message
func (*TransferEntitlementsToGoogleRequest) Reset ¶
func (x *TransferEntitlementsToGoogleRequest) Reset()
func (*TransferEntitlementsToGoogleRequest) String ¶
func (x *TransferEntitlementsToGoogleRequest) String() string
type TransferableOffer ¶
type TransferableOffer struct { // Offer with parameter constraints updated to allow the Transfer. Offer *Offer `protobuf:"bytes,1,opt,name=offer,proto3" json:"offer,omitempty"` // contains filtered or unexported fields }
TransferableOffer represents an Offer that can be used in Transfer. Read-only.
func (*TransferableOffer) Descriptor
deprecated
func (*TransferableOffer) Descriptor() ([]byte, []int)
Deprecated: Use TransferableOffer.ProtoReflect.Descriptor instead.
func (*TransferableOffer) GetOffer ¶
func (x *TransferableOffer) GetOffer() *Offer
func (*TransferableOffer) ProtoMessage ¶
func (*TransferableOffer) ProtoMessage()
func (*TransferableOffer) ProtoReflect ¶
func (x *TransferableOffer) ProtoReflect() protoreflect.Message
func (*TransferableOffer) Reset ¶
func (x *TransferableOffer) Reset()
func (*TransferableOffer) String ¶
func (x *TransferableOffer) String() string
type TransferableSku ¶
type TransferableSku struct { // Whether a transferable SKU is commitment-based or not. IsCommitment *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=is_commitment,json=isCommitment,proto3" json:"is_commitment,omitempty"` // Commitment end timestamp. CommitmentEndTimestamp *timestamppb.Timestamp `` /* 129-byte string literal not displayed */ // Describes the transfer eligibility of a SKU. TransferEligibility *TransferEligibility `protobuf:"bytes,9,opt,name=transfer_eligibility,json=transferEligibility,proto3" json:"transfer_eligibility,omitempty"` // The SKU pertaining to the provisioning resource as specified in the Offer. Sku *Sku `protobuf:"bytes,11,opt,name=sku,proto3" json:"sku,omitempty"` // contains filtered or unexported fields }
TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only.
func (*TransferableSku) Descriptor
deprecated
func (*TransferableSku) Descriptor() ([]byte, []int)
Deprecated: Use TransferableSku.ProtoReflect.Descriptor instead.
func (*TransferableSku) GetCommitmentEndTimestamp ¶
func (x *TransferableSku) GetCommitmentEndTimestamp() *timestamppb.Timestamp
func (*TransferableSku) GetIsCommitment ¶
func (x *TransferableSku) GetIsCommitment() *wrapperspb.BoolValue
func (*TransferableSku) GetSku ¶
func (x *TransferableSku) GetSku() *Sku
func (*TransferableSku) GetTransferEligibility ¶
func (x *TransferableSku) GetTransferEligibility() *TransferEligibility
func (*TransferableSku) ProtoMessage ¶
func (*TransferableSku) ProtoMessage()
func (*TransferableSku) ProtoReflect ¶
func (x *TransferableSku) ProtoReflect() protoreflect.Message
func (*TransferableSku) Reset ¶
func (x *TransferableSku) Reset()
func (*TransferableSku) String ¶
func (x *TransferableSku) String() string
type TrialSettings ¶
type TrialSettings struct { // 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 `protobuf:"varint,1,opt,name=trial,proto3" json:"trial,omitempty"` // 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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
Settings for trial offers.
func (*TrialSettings) Descriptor
deprecated
func (*TrialSettings) Descriptor() ([]byte, []int)
Deprecated: Use TrialSettings.ProtoReflect.Descriptor instead.
func (*TrialSettings) GetEndTime ¶
func (x *TrialSettings) GetEndTime() *timestamppb.Timestamp
func (*TrialSettings) GetTrial ¶
func (x *TrialSettings) GetTrial() bool
func (*TrialSettings) ProtoMessage ¶
func (*TrialSettings) ProtoMessage()
func (*TrialSettings) ProtoReflect ¶
func (x *TrialSettings) ProtoReflect() protoreflect.Message
func (*TrialSettings) Reset ¶
func (x *TrialSettings) Reset()
func (*TrialSettings) String ¶
func (x *TrialSettings) String() string
type UnimplementedCloudChannelServiceServer ¶
type UnimplementedCloudChannelServiceServer struct { }
UnimplementedCloudChannelServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCloudChannelServiceServer) ActivateEntitlement ¶
func (*UnimplementedCloudChannelServiceServer) ActivateEntitlement(context.Context, *ActivateEntitlementRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) CancelEntitlement ¶
func (*UnimplementedCloudChannelServiceServer) CancelEntitlement(context.Context, *CancelEntitlementRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) ChangeOffer ¶
func (*UnimplementedCloudChannelServiceServer) ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) ChangeParameters ¶
func (*UnimplementedCloudChannelServiceServer) ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) ChangeRenewalSettings ¶
func (*UnimplementedCloudChannelServiceServer) ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) CheckCloudIdentityAccountsExist ¶
func (*UnimplementedCloudChannelServiceServer) CheckCloudIdentityAccountsExist(context.Context, *CheckCloudIdentityAccountsExistRequest) (*CheckCloudIdentityAccountsExistResponse, error)
func (*UnimplementedCloudChannelServiceServer) CreateChannelPartnerLink ¶
func (*UnimplementedCloudChannelServiceServer) CreateChannelPartnerLink(context.Context, *CreateChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
func (*UnimplementedCloudChannelServiceServer) CreateCustomer ¶
func (*UnimplementedCloudChannelServiceServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error)
func (*UnimplementedCloudChannelServiceServer) CreateEntitlement ¶
func (*UnimplementedCloudChannelServiceServer) CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) DeleteCustomer ¶
func (*UnimplementedCloudChannelServiceServer) DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error)
func (*UnimplementedCloudChannelServiceServer) GetChannelPartnerLink ¶
func (*UnimplementedCloudChannelServiceServer) GetChannelPartnerLink(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
func (*UnimplementedCloudChannelServiceServer) GetCustomer ¶
func (*UnimplementedCloudChannelServiceServer) GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error)
func (*UnimplementedCloudChannelServiceServer) GetEntitlement ¶
func (*UnimplementedCloudChannelServiceServer) GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error)
func (*UnimplementedCloudChannelServiceServer) ListChannelPartnerLinks ¶
func (*UnimplementedCloudChannelServiceServer) ListChannelPartnerLinks(context.Context, *ListChannelPartnerLinksRequest) (*ListChannelPartnerLinksResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListCustomers ¶
func (*UnimplementedCloudChannelServiceServer) ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListEntitlements ¶
func (*UnimplementedCloudChannelServiceServer) ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListOffers ¶
func (*UnimplementedCloudChannelServiceServer) ListOffers(context.Context, *ListOffersRequest) (*ListOffersResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListProducts ¶
func (*UnimplementedCloudChannelServiceServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListPurchasableOffers ¶
func (*UnimplementedCloudChannelServiceServer) ListPurchasableOffers(context.Context, *ListPurchasableOffersRequest) (*ListPurchasableOffersResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListPurchasableSkus ¶
func (*UnimplementedCloudChannelServiceServer) ListPurchasableSkus(context.Context, *ListPurchasableSkusRequest) (*ListPurchasableSkusResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListSkus ¶
func (*UnimplementedCloudChannelServiceServer) ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListTransferableOffers ¶
func (*UnimplementedCloudChannelServiceServer) ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error)
func (*UnimplementedCloudChannelServiceServer) ListTransferableSkus ¶
func (*UnimplementedCloudChannelServiceServer) ListTransferableSkus(context.Context, *ListTransferableSkusRequest) (*ListTransferableSkusResponse, error)
func (*UnimplementedCloudChannelServiceServer) ProvisionCloudIdentity ¶
func (*UnimplementedCloudChannelServiceServer) ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) StartPaidService ¶
func (*UnimplementedCloudChannelServiceServer) StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) SuspendEntitlement ¶
func (*UnimplementedCloudChannelServiceServer) SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) TransferEntitlements ¶
func (*UnimplementedCloudChannelServiceServer) TransferEntitlements(context.Context, *TransferEntitlementsRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) TransferEntitlementsToGoogle ¶
func (*UnimplementedCloudChannelServiceServer) TransferEntitlementsToGoogle(context.Context, *TransferEntitlementsToGoogleRequest) (*longrunning.Operation, error)
func (*UnimplementedCloudChannelServiceServer) UpdateChannelPartnerLink ¶
func (*UnimplementedCloudChannelServiceServer) UpdateChannelPartnerLink(context.Context, *UpdateChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
func (*UnimplementedCloudChannelServiceServer) UpdateCustomer ¶
func (*UnimplementedCloudChannelServiceServer) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error)
type UpdateChannelPartnerLinkRequest ¶
type UpdateChannelPartnerLinkRequest struct { // Required. The resource name of the channel partner link to cancel. // The name takes the format: accounts/{account_id}/channelPartnerLinks/{id} // where {id} is the Cloud Identity ID of the partner. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The channel partner link to update. Only field // channel_partner_link.link_state is allowed to be updated. ChannelPartnerLink *ChannelPartnerLink `protobuf:"bytes,2,opt,name=channel_partner_link,json=channelPartnerLink,proto3" json:"channel_partner_link,omitempty"` // Required. The update mask that applies to the resource. // The only allowable value for update mask is // channel_partner_link.link_state. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
func (*UpdateChannelPartnerLinkRequest) Descriptor
deprecated
func (*UpdateChannelPartnerLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelPartnerLinkRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelPartnerLinkRequest) GetChannelPartnerLink ¶
func (x *UpdateChannelPartnerLinkRequest) GetChannelPartnerLink() *ChannelPartnerLink
func (*UpdateChannelPartnerLinkRequest) GetName ¶
func (x *UpdateChannelPartnerLinkRequest) GetName() string
func (*UpdateChannelPartnerLinkRequest) GetUpdateMask ¶
func (x *UpdateChannelPartnerLinkRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateChannelPartnerLinkRequest) ProtoMessage ¶
func (*UpdateChannelPartnerLinkRequest) ProtoMessage()
func (*UpdateChannelPartnerLinkRequest) ProtoReflect ¶
func (x *UpdateChannelPartnerLinkRequest) ProtoReflect() protoreflect.Message
func (*UpdateChannelPartnerLinkRequest) Reset ¶
func (x *UpdateChannelPartnerLinkRequest) Reset()
func (*UpdateChannelPartnerLinkRequest) String ¶
func (x *UpdateChannelPartnerLinkRequest) String() string
type UpdateCustomerRequest ¶
type UpdateCustomerRequest struct { // Required. New contents of the customer. Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` // The update mask that applies to the resource. // Optional. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
func (*UpdateCustomerRequest) Descriptor
deprecated
func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomerRequest) GetCustomer ¶
func (x *UpdateCustomerRequest) GetCustomer() *Customer
func (*UpdateCustomerRequest) GetUpdateMask ¶
func (x *UpdateCustomerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCustomerRequest) ProtoMessage ¶
func (*UpdateCustomerRequest) ProtoMessage()
func (*UpdateCustomerRequest) ProtoReflect ¶
func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message
func (*UpdateCustomerRequest) Reset ¶
func (x *UpdateCustomerRequest) Reset()
func (*UpdateCustomerRequest) String ¶
func (x *UpdateCustomerRequest) String() string
type Value ¶
type Value struct { // The kind of value. // // Types that are assignable to Kind: // *Value_Int64Value // *Value_StringValue // *Value_DoubleValue // *Value_ProtoValue Kind isValue_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
Data type and value of a parameter.
func (*Value) Descriptor
deprecated
func (*Value) GetDoubleValue ¶
func (*Value) GetInt64Value ¶
func (*Value) GetProtoValue ¶
func (*Value) GetStringValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_DoubleValue ¶
type Value_DoubleValue struct { // Represents a double value. DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type Value_Int64Value ¶
type Value_Int64Value struct { // Represents an int64 value. Int64Value int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value,proto3,oneof"` }
type Value_ProtoValue ¶
type Value_StringValue ¶
type Value_StringValue struct { // Represents a string value. StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"` }