channelpb

package
v1.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	EntitlementChange_ChangeType_name = map[int32]string{
		0:  "CHANGE_TYPE_UNSPECIFIED",
		1:  "CREATED",
		3:  "PRICE_PLAN_SWITCHED",
		4:  "COMMITMENT_CHANGED",
		5:  "RENEWED",
		6:  "SUSPENDED",
		7:  "ACTIVATED",
		8:  "CANCELLED",
		9:  "SKU_CHANGED",
		10: "RENEWAL_SETTING_CHANGED",
		11: "PAID_SUBSCRIPTION_STARTED",
		12: "LICENSE_CAP_CHANGED",
		13: "SUSPENSION_DETAILS_CHANGED",
		14: "TRIAL_END_DATE_EXTENDED",
		15: "TRIAL_STARTED",
	}
	EntitlementChange_ChangeType_value = map[string]int32{
		"CHANGE_TYPE_UNSPECIFIED":    0,
		"CREATED":                    1,
		"PRICE_PLAN_SWITCHED":        3,
		"COMMITMENT_CHANGED":         4,
		"RENEWED":                    5,
		"SUSPENDED":                  6,
		"ACTIVATED":                  7,
		"CANCELLED":                  8,
		"SKU_CHANGED":                9,
		"RENEWAL_SETTING_CHANGED":    10,
		"PAID_SUBSCRIPTION_STARTED":  11,
		"LICENSE_CAP_CHANGED":        12,
		"SUSPENSION_DETAILS_CHANGED": 13,
		"TRIAL_END_DATE_EXTENDED":    14,
		"TRIAL_STARTED":              15,
	}
)

Enum value maps for EntitlementChange_ChangeType.

View Source
var (
	EntitlementChange_OperatorType_name = map[int32]string{
		0: "OPERATOR_TYPE_UNSPECIFIED",
		1: "CUSTOMER_SERVICE_REPRESENTATIVE",
		2: "SYSTEM",
		3: "CUSTOMER",
		4: "RESELLER",
	}
	EntitlementChange_OperatorType_value = map[string]int32{
		"OPERATOR_TYPE_UNSPECIFIED":       0,
		"CUSTOMER_SERVICE_REPRESENTATIVE": 1,
		"SYSTEM":                          2,
		"CUSTOMER":                        3,
		"RESELLER":                        4,
	}
)

Enum value maps for EntitlementChange_OperatorType.

View Source
var (
	EntitlementChange_CancellationReason_name = map[int32]string{
		0: "CANCELLATION_REASON_UNSPECIFIED",
		1: "SERVICE_TERMINATED",
		2: "RELATIONSHIP_ENDED",
		3: "PARTIAL_TRANSFER",
	}
	EntitlementChange_CancellationReason_value = map[string]int32{
		"CANCELLATION_REASON_UNSPECIFIED": 0,
		"SERVICE_TERMINATED":              1,
		"RELATIONSHIP_ENDED":              2,
		"PARTIAL_TRANSFER":                3,
	}
)

Enum value maps for EntitlementChange_CancellationReason.

View Source
var (
	EntitlementChange_ActivationReason_name = map[int32]string{
		0:   "ACTIVATION_REASON_UNSPECIFIED",
		1:   "RESELLER_REVOKED_SUSPENSION",
		2:   "CUSTOMER_ACCEPTED_PENDING_TOS",
		3:   "RENEWAL_SETTINGS_CHANGED",
		100: "OTHER_ACTIVATION_REASON",
	}
	EntitlementChange_ActivationReason_value = map[string]int32{
		"ACTIVATION_REASON_UNSPECIFIED": 0,
		"RESELLER_REVOKED_SUSPENSION":   1,
		"CUSTOMER_ACCEPTED_PENDING_TOS": 2,
		"RENEWAL_SETTINGS_CHANGED":      3,
		"OTHER_ACTIVATION_REASON":       100,
	}
)

Enum value maps for EntitlementChange_ActivationReason.

View Source
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.

View Source
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.

View Source
var (
	TransferEligibility_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "PENDING_TOS_ACCEPTANCE",
		2: "SKU_NOT_ELIGIBLE",
		3: "SKU_SUSPENDED",
		4: "CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU",
	}
	TransferEligibility_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":                     0,
		"PENDING_TOS_ACCEPTANCE":                 1,
		"SKU_NOT_ELIGIBLE":                       2,
		"SKU_SUSPENDED":                          3,
		"CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU": 4,
	}
)

Enum value maps for TransferEligibility_Reason.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	ParameterDefinition_ParameterType_name = map[int32]string{
		0: "PARAMETER_TYPE_UNSPECIFIED",
		1: "INT64",
		2: "STRING",
		3: "DOUBLE",
		4: "BOOLEAN",
	}
	ParameterDefinition_ParameterType_value = map[string]int32{
		"PARAMETER_TYPE_UNSPECIFIED": 0,
		"INT64":                      1,
		"STRING":                     2,
		"DOUBLE":                     3,
		"BOOLEAN":                    4,
	}
)

Enum value maps for ParameterDefinition_ParameterType.

View Source
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.

View Source
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.

View Source
var (
	Column_DataType_name = map[int32]string{
		0: "DATA_TYPE_UNSPECIFIED",
		1: "STRING",
		2: "INT",
		3: "DECIMAL",
		4: "MONEY",
		5: "DATE",
		6: "DATE_TIME",
	}
	Column_DataType_value = map[string]int32{
		"DATA_TYPE_UNSPECIFIED": 0,
		"STRING":                1,
		"INT":                   2,
		"DECIMAL":               3,
		"MONEY":                 4,
		"DATE":                  5,
		"DATE_TIME":             6,
	}
)

Enum value maps for Column_DataType.

View Source
var (
	ReportStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STARTED",
		2: "WRITING",
		3: "AVAILABLE",
		4: "FAILED",
	}
	ReportStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STARTED":           1,
		"WRITING":           2,
		"AVAILABLE":         3,
		"FAILED":            4,
	}
)

Enum value maps for ReportStatus_State.

View Source
var (
	RebillingBasis_name = map[int32]string{
		0: "REBILLING_BASIS_UNSPECIFIED",
		1: "COST_AT_LIST",
		2: "DIRECT_CUSTOMER_COST",
	}
	RebillingBasis_value = map[string]int32{
		"REBILLING_BASIS_UNSPECIFIED": 0,
		"COST_AT_LIST":                1,
		"DIRECT_CUSTOMER_COST":        2,
	}
)

Enum value maps for RebillingBasis.

View Source
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.

View Source
var (
	CustomerEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "PRIMARY_DOMAIN_CHANGED",
		2: "PRIMARY_DOMAIN_VERIFIED",
	}
	CustomerEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":        0,
		"PRIMARY_DOMAIN_CHANGED":  1,
		"PRIMARY_DOMAIN_VERIFIED": 2,
	}
)

Enum value maps for CustomerEvent_Type.

View Source
var (
	EntitlementEvent_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "CREATED",
		3:  "PRICE_PLAN_SWITCHED",
		4:  "COMMITMENT_CHANGED",
		5:  "RENEWED",
		6:  "SUSPENDED",
		7:  "ACTIVATED",
		8:  "CANCELLED",
		9:  "SKU_CHANGED",
		10: "RENEWAL_SETTING_CHANGED",
		11: "PAID_SERVICE_STARTED",
		12: "LICENSE_ASSIGNMENT_CHANGED",
		13: "LICENSE_CAP_CHANGED",
	}
	EntitlementEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":           0,
		"CREATED":                    1,
		"PRICE_PLAN_SWITCHED":        3,
		"COMMITMENT_CHANGED":         4,
		"RENEWED":                    5,
		"SUSPENDED":                  6,
		"ACTIVATED":                  7,
		"CANCELLED":                  8,
		"SKU_CHANGED":                9,
		"RENEWAL_SETTING_CHANGED":    10,
		"PAID_SERVICE_STARTED":       11,
		"LICENSE_ASSIGNMENT_CHANGED": 12,
		"LICENSE_CAP_CHANGED":        13,
	}
)

Enum value maps for EntitlementEvent_Type.

View Source
var File_google_cloud_channel_v1_billing_accounts_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_channel_partner_links_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_customers_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_entitlement_changes_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_entitlements_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_offers_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_operations_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_products_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_reports_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_repricing_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_service_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_channel_v1_subscriber_event_proto protoreflect.FileDescriptor

Functions

func RegisterCloudChannelReportsServiceServer deprecated

func RegisterCloudChannelReportsServiceServer(s *grpc.Server, srv CloudChannelReportsServiceServer)

Deprecated: Do not use.

func RegisterCloudChannelServiceServer

func RegisterCloudChannelServiceServer(s *grpc.Server, srv CloudChannelServiceServer)

Types

type ActivateEntitlementRequest

type ActivateEntitlementRequest struct {

	// Required. The resource name of the entitlement to activate.
	// Name uses the format:
	// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. You can specify an optional unique request ID, and if you need to
	// retry your request, the server will know to ignore the request if it's
	// complete.
	//
	// For example, you make an initial request and the request times out. If you
	// make the request again with the same request ID, the server can check if
	// it received the original operation with the same request ID. If it did, it
	// will ignore the second request.
	//
	// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
	// with the exception that zero UUID is not supported
	// (`00000000-0000-0000-0000-000000000000`).
	RequestId string `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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use AdminUser.ProtoReflect.Descriptor instead.

func (*AdminUser) GetEmail

func (x *AdminUser) GetEmail() string

func (*AdminUser) GetFamilyName

func (x *AdminUser) GetFamilyName() string

func (*AdminUser) GetGivenName

func (x *AdminUser) GetGivenName() string

func (*AdminUser) ProtoMessage

func (*AdminUser) ProtoMessage()

func (*AdminUser) ProtoReflect

func (x *AdminUser) ProtoReflect() protoreflect.Message

func (*AdminUser) Reset

func (x *AdminUser) Reset()

func (*AdminUser) String

func (x *AdminUser) String() string

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 BillableSku added in v1.16.0

type BillableSku struct {

	// Resource name of Billable SKU. Format:
	// billableSkus/{sku}.
	// Example:
	// billableSkus/6E1B-6634-470F".
	Sku string `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	// Unique human readable name for the SKU.
	SkuDisplayName string `protobuf:"bytes,2,opt,name=sku_display_name,json=skuDisplayName,proto3" json:"sku_display_name,omitempty"`
	// Resource name of Service which contains Repricing SKU. Format:
	// services/{service}.
	// Example:
	// "services/B7D9-FDCB-15D8".
	Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	// Unique human readable name for the Service.
	ServiceDisplayName string `protobuf:"bytes,4,opt,name=service_display_name,json=serviceDisplayName,proto3" json:"service_display_name,omitempty"`
	// contains filtered or unexported fields
}

Represents the Billable SKU information.

func (*BillableSku) Descriptor deprecated added in v1.16.0

func (*BillableSku) Descriptor() ([]byte, []int)

Deprecated: Use BillableSku.ProtoReflect.Descriptor instead.

func (*BillableSku) GetService added in v1.16.0

func (x *BillableSku) GetService() string

func (*BillableSku) GetServiceDisplayName added in v1.16.0

func (x *BillableSku) GetServiceDisplayName() string

func (*BillableSku) GetSku added in v1.16.0

func (x *BillableSku) GetSku() string

func (*BillableSku) GetSkuDisplayName added in v1.16.0

func (x *BillableSku) GetSkuDisplayName() string

func (*BillableSku) ProtoMessage added in v1.16.0

func (*BillableSku) ProtoMessage()

func (*BillableSku) ProtoReflect added in v1.16.0

func (x *BillableSku) ProtoReflect() protoreflect.Message

func (*BillableSku) Reset added in v1.16.0

func (x *BillableSku) Reset()

func (*BillableSku) String added in v1.16.0

func (x *BillableSku) String() string

type BillingAccount added in v1.17.0

type BillingAccount struct {

	// Output only. Resource name of the billing account.
	// Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Display name of the billing account.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. The time when this billing account was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The 3-letter currency code defined in ISO 4217.
	CurrencyCode string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
	// Output only. The CLDR region code.
	RegionCode string `protobuf:"bytes,5,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
	// contains filtered or unexported fields
}

Represents a billing account.

func (*BillingAccount) Descriptor deprecated added in v1.17.0

func (*BillingAccount) Descriptor() ([]byte, []int)

Deprecated: Use BillingAccount.ProtoReflect.Descriptor instead.

func (*BillingAccount) GetCreateTime added in v1.17.0

func (x *BillingAccount) GetCreateTime() *timestamppb.Timestamp

func (*BillingAccount) GetCurrencyCode added in v1.17.0

func (x *BillingAccount) GetCurrencyCode() string

func (*BillingAccount) GetDisplayName added in v1.17.0

func (x *BillingAccount) GetDisplayName() string

func (*BillingAccount) GetName added in v1.17.0

func (x *BillingAccount) GetName() string

func (*BillingAccount) GetRegionCode added in v1.17.0

func (x *BillingAccount) GetRegionCode() string

func (*BillingAccount) ProtoMessage added in v1.17.0

func (*BillingAccount) ProtoMessage()

func (*BillingAccount) ProtoReflect added in v1.17.0

func (x *BillingAccount) ProtoReflect() protoreflect.Message

func (*BillingAccount) Reset added in v1.17.0

func (x *BillingAccount) Reset()

func (*BillingAccount) String added in v1.17.0

func (x *BillingAccount) String() string

type BillingAccountPurchaseInfo added in v1.17.0

type BillingAccountPurchaseInfo struct {

	// The billing account resource.
	BillingAccount *BillingAccount `protobuf:"bytes,1,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
	// contains filtered or unexported fields
}

Represents a billing account that can be used to make a purchase.

func (*BillingAccountPurchaseInfo) Descriptor deprecated added in v1.17.0

func (*BillingAccountPurchaseInfo) Descriptor() ([]byte, []int)

Deprecated: Use BillingAccountPurchaseInfo.ProtoReflect.Descriptor instead.

func (*BillingAccountPurchaseInfo) GetBillingAccount added in v1.17.0

func (x *BillingAccountPurchaseInfo) GetBillingAccount() *BillingAccount

func (*BillingAccountPurchaseInfo) ProtoMessage added in v1.17.0

func (*BillingAccountPurchaseInfo) ProtoMessage()

func (*BillingAccountPurchaseInfo) ProtoReflect added in v1.17.0

func (*BillingAccountPurchaseInfo) Reset added in v1.17.0

func (x *BillingAccountPurchaseInfo) Reset()

func (*BillingAccountPurchaseInfo) String added in v1.17.0

func (x *BillingAccountPurchaseInfo) String() string

type CancelEntitlementRequest

type CancelEntitlementRequest struct {

	// Required. The resource name of the entitlement to cancel.
	// Name uses the format:
	// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. You can specify an optional unique request ID, and if you need to
	// retry your request, the server will know to ignore the request if it's
	// complete.
	//
	// For example, you make an initial request and the request times out. If you
	// make the request again with the same request ID, the server can check if
	// it received the original operation with the same request ID. If it did, it
	// will ignore the second request.
	//
	// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
	// with the exception that zero UUID is not supported
	// (`00000000-0000-0000-0000-000000000000`).
	RequestId string `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 resource name of the entitlement to update.
	// Name uses 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 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. To view the available
	// Parameters refer to the
	// [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
	// from the desired 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. You can specify an optional unique request ID, and if you need to
	// retry your request, the server will know to ignore the request if it's
	// complete.
	//
	// For example, you make an initial request and the request times out. If you
	// make the request again with the same request ID, the server can check if
	// it received the original operation with the same request ID. If it did, it
	// will ignore the second request.
	//
	// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
	// with the exception that zero UUID is not supported
	// (`00000000-0000-0000-0000-000000000000`).
	RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. The billing account resource name that is used to pay for this
	// entitlement when setting up billing on a trial subscription.
	//
	// This field is only relevant for multi-currency accounts. It should be
	// left empty for single currency accounts.
	BillingAccount string `protobuf:"bytes,7,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,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) GetBillingAccount added in v1.17.0

func (x *ChangeOfferRequest) GetBillingAccount() string

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.
	// Name uses 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. You can only change editable
	// parameters.
	//
	// To view the available Parameters for a request, refer to the
	// [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
	// from the desired offer.
	Parameters []*Parameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// Optional. You can specify an optional unique request ID, and if you need to
	// retry your request, the server will know to ignore the request if it's
	// complete.
	//
	// For example, you make an initial request and the request times out. If you
	// make the request again with the same request ID, the server can check if
	// it received the original operation with the same request ID. If it did, it
	// will ignore the second request.
	//
	// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
	// with the exception that zero UUID is not supported
	// (`00000000-0000-0000-0000-000000000000`).
	RequestId string `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.
	// Name uses 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. You can specify an optional unique request ID, and if you need to
	// retry your request, the server will know to ignore the request if it's
	// complete.
	//
	// For example, you make an initial request and the request times out. If you
	// make the request again with the same request ID, the server can check if
	// it received the original operation with the same request ID. If it did, it
	// will ignore the second request.
	//
	// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
	// with the exception that zero UUID is not supported
	// (`00000000-0000-0000-0000-000000000000`).
	RequestId string `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 (*ChangeRenewalSettingsRequest) Reset

func (x *ChangeRenewalSettingsRequest) Reset()

func (*ChangeRenewalSettingsRequest) String

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 (
	// Not used.
	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) Enum

func (ChannelPartnerLinkState) EnumDescriptor deprecated

func (ChannelPartnerLinkState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChannelPartnerLinkState.Descriptor instead.

func (ChannelPartnerLinkState) Number

func (ChannelPartnerLinkState) String

func (x ChannelPartnerLinkState) String() string

func (ChannelPartnerLinkState) Type

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) Enum

func (ChannelPartnerLinkView) EnumDescriptor deprecated

func (ChannelPartnerLinkView) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChannelPartnerLinkView.Descriptor instead.

func (ChannelPartnerLinkView) Number

func (ChannelPartnerLinkView) String

func (x ChannelPartnerLinkView) String() string

func (ChannelPartnerLinkView) Type

type ChannelPartnerRepricingConfig

type ChannelPartnerRepricingConfig struct {

	// Output only. Resource name of the ChannelPartnerRepricingConfig.
	// Format:
	// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The configuration for bill modifications made by a reseller
	// before sending it to ChannelPartner.
	RepricingConfig *RepricingConfig `protobuf:"bytes,2,opt,name=repricing_config,json=repricingConfig,proto3" json:"repricing_config,omitempty"`
	// Output only. Timestamp of an update to the repricing rule. If `update_time`
	// is after
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// then it indicates this was set mid-month.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).

func (*ChannelPartnerRepricingConfig) Descriptor deprecated

func (*ChannelPartnerRepricingConfig) Descriptor() ([]byte, []int)

Deprecated: Use ChannelPartnerRepricingConfig.ProtoReflect.Descriptor instead.

func (*ChannelPartnerRepricingConfig) GetName

func (*ChannelPartnerRepricingConfig) GetRepricingConfig

func (x *ChannelPartnerRepricingConfig) GetRepricingConfig() *RepricingConfig

func (*ChannelPartnerRepricingConfig) GetUpdateTime

func (*ChannelPartnerRepricingConfig) ProtoMessage

func (*ChannelPartnerRepricingConfig) ProtoMessage()

func (*ChannelPartnerRepricingConfig) ProtoReflect

func (*ChannelPartnerRepricingConfig) Reset

func (x *ChannelPartnerRepricingConfig) Reset()

func (*ChannelPartnerRepricingConfig) String

type CheckCloudIdentityAccountsExistRequest

type CheckCloudIdentityAccountsExistRequest struct {

	// Required. The reseller account's resource name.
	// Parent uses the format: accounts/{account_id}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Domain to fetch for Cloud Identity account customer.
	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 (*CheckCloudIdentityAccountsExistRequest) GetParent

func (*CheckCloudIdentityAccountsExistRequest) ProtoMessage

func (*CheckCloudIdentityAccountsExistRequest) ProtoReflect

func (*CheckCloudIdentityAccountsExistRequest) Reset

func (*CheckCloudIdentityAccountsExistRequest) 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 (*CheckCloudIdentityAccountsExistResponse) ProtoMessage

func (*CheckCloudIdentityAccountsExistResponse) ProtoReflect

func (*CheckCloudIdentityAccountsExistResponse) Reset

func (*CheckCloudIdentityAccountsExistResponse) String

type CloudChannelReportsServiceClient deprecated

type CloudChannelReportsServiceClient interface {
	// Deprecated: Do not use.
	// Begins generation of data for a given report. The report
	// identifier is a UID (for example, `613bf59q`).
	//
	// Possible error codes:
	//
	//   - PERMISSION_DENIED: The user doesn't have access to this report.
	//   - INVALID_ARGUMENT: Required request parameters are missing
	//     or invalid.
	//   - NOT_FOUND: The report identifier was not found.
	//   - INTERNAL: Any non-user error related to a technical issue
	//     in the backend. Contact Cloud Channel support.
	//   - UNKNOWN: Any non-user error related to a technical issue
	//     in the backend. Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata contains an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	//
	// To get the results of report generation, call
	// [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
	// with the
	// [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
	//
	// Deprecated: Please use [Export Channel Services data to
	// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
	// instead.
	RunReportJob(ctx context.Context, in *RunReportJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deprecated: Do not use.
	// Retrieves data generated by
	// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
	//
	// Deprecated: Please use [Export Channel Services data to
	// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
	// instead.
	FetchReportResults(ctx context.Context, in *FetchReportResultsRequest, opts ...grpc.CallOption) (*FetchReportResultsResponse, error)
	// Deprecated: Do not use.
	// Lists the reports that RunReportJob can run. These reports include an ID,
	// a description, and the list of columns that will be in the result.
	//
	// Deprecated: Please use [Export Channel Services data to
	// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
	// instead.
	ListReports(ctx context.Context, in *ListReportsRequest, opts ...grpc.CallOption) (*ListReportsResponse, error)
}

CloudChannelReportsServiceClient is the client API for CloudChannelReportsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Do not use.

func NewCloudChannelReportsServiceClient deprecated

func NewCloudChannelReportsServiceClient(cc grpc.ClientConnInterface) CloudChannelReportsServiceClient

Deprecated: Do not use.

type CloudChannelReportsServiceServer deprecated

type CloudChannelReportsServiceServer interface {
	// Deprecated: Do not use.
	// Begins generation of data for a given report. The report
	// identifier is a UID (for example, `613bf59q`).
	//
	// Possible error codes:
	//
	//   - PERMISSION_DENIED: The user doesn't have access to this report.
	//   - INVALID_ARGUMENT: Required request parameters are missing
	//     or invalid.
	//   - NOT_FOUND: The report identifier was not found.
	//   - INTERNAL: Any non-user error related to a technical issue
	//     in the backend. Contact Cloud Channel support.
	//   - UNKNOWN: Any non-user error related to a technical issue
	//     in the backend. Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata contains an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	//
	// To get the results of report generation, call
	// [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
	// with the
	// [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
	//
	// Deprecated: Please use [Export Channel Services data to
	// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
	// instead.
	RunReportJob(context.Context, *RunReportJobRequest) (*longrunningpb.Operation, error)
	// Deprecated: Do not use.
	// Retrieves data generated by
	// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
	//
	// Deprecated: Please use [Export Channel Services data to
	// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
	// instead.
	FetchReportResults(context.Context, *FetchReportResultsRequest) (*FetchReportResultsResponse, error)
	// Deprecated: Do not use.
	// Lists the reports that RunReportJob can run. These reports include an ID,
	// a description, and the list of columns that will be in the result.
	//
	// Deprecated: Please use [Export Channel Services data to
	// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
	// instead.
	ListReports(context.Context, *ListReportsRequest) (*ListReportsResponse, error)
}

CloudChannelReportsServiceServer is the server API for CloudChannelReportsService service.

Deprecated: Do not use.

type CloudChannelServiceClient

type CloudChannelServiceClient interface {
	// List [Customer][google.cloud.channel.v1.Customer]s.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
	// there are no customers.
	ListCustomers(ctx context.Context, in *ListCustomersRequest, opts ...grpc.CallOption) (*ListCustomersResponse, error)
	// Returns the requested [Customer][google.cloud.channel.v1.Customer]
	// resource.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
	// invalid name parameter.
	//
	// Return value:
	// The [Customer][google.cloud.channel.v1.Customer] resource.
	GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*Customer, error)
	// Confirms the existence of Cloud Identity accounts based on the domain and
	// if the Cloud Identity accounts are owned by the reseller.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * INVALID_VALUE: Invalid domain value in the request.
	//
	// Return value:
	// A list of
	// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
	// resources for the domain (may be empty)
	//
	// Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
	// no
	// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
	// resources match the domain.
	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:
	//
	// * PERMISSION_DENIED:
	//   - The reseller account making the request is different from the
	//     reseller account in the API request.
	//   - You are not authorized to create a customer. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT:
	//   - Required request parameters are missing or invalid.
	//   - Domain field value doesn't match the primary email domain.
	//
	// Return value:
	// The newly created [Customer][google.cloud.channel.v1.Customer] resource.
	CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*Customer, error)
	// Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
	// for the reseller or distributor.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
	// for the name in the request.
	//
	// Return value:
	// The updated [Customer][google.cloud.channel.v1.Customer] resource.
	UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*Customer, error)
	// Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The account making the request does not own
	// this customer.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * FAILED_PRECONDITION: The customer has existing entitlements.
	// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
	// for the name in the request.
	DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
	// Identity associated with the provided Cloud Identity ID or domain before a
	// TransferEntitlements call. If a linked Customer already exists and
	// overwrite_if_exists is true, it will update that Customer's data.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The reseller account making the request is different from the
	//     reseller account in the API request.
	//   - You are not authorized to import the customer. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
	// * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
	// expired or invalid.
	// * ALREADY_EXISTS: A customer already exists and has conflicting critical
	// fields. Requires an overwrite.
	//
	// Return value:
	// The [Customer][google.cloud.channel.v1.Customer].
	ImportCustomer(ctx context.Context, in *ImportCustomerRequest, opts ...grpc.CallOption) (*Customer, error)
	// Creates a Cloud Identity for the given customer using the customer's
	// information, or the information provided here.
	//
	// Possible error codes:
	//
	// *  PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller.
	//   - You are not authorized to provision cloud identity id. See
	//     https://support.google.com/channelservices/answer/9759265
	//   - INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//   - NOT_FOUND: The customer was not found.
	//   - ALREADY_EXISTS: The customer's primary email already exists. Retry
	//     after changing the customer's primary contact email.
	//   - INTERNAL: Any non-user error related to a technical issue in the
	//
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata contains an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ProvisionCloudIdentity(ctx context.Context, in *ProvisionCloudIdentityRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
	// customer.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// A list of the customer's
	// [Entitlement][google.cloud.channel.v1.Entitlement]s.
	ListEntitlements(ctx context.Context, in *ListEntitlementsRequest, opts ...grpc.CallOption) (*ListEntitlementsResponse, error)
	// List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
	// customer based on the Cloud Identity ID or Customer Name in the request.
	//
	// Use this method to list the entitlements information of an
	// unowned customer. You should provide the customer's
	// Cloud Identity ID or Customer Name.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller and has no auth token.
	//   - The supplied auth token is invalid.
	//   - The reseller account making the request is different
	//     from the reseller account in the query.
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// A list of the customer's
	// [TransferableSku][google.cloud.channel.v1.TransferableSku].
	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.
	//
	// Use this method when a reseller gets the entitlement information of an
	// unowned customer. The reseller should provide the customer's
	// Cloud Identity ID or Customer Name.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller and has no auth token.
	//   - The customer provided incorrect reseller information when generating
	//     auth token.
	//   - The reseller account making the request is different
	//     from the reseller account in the query.
	//   - The reseller is not authorized to transact on this Product. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
	// the given customer and SKU.
	ListTransferableOffers(ctx context.Context, in *ListTransferableOffersRequest, opts ...grpc.CallOption) (*ListTransferableOffersResponse, error)
	// Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
	// resource.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The customer entitlement was not found.
	//
	// Return value:
	// The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
	GetEntitlement(ctx context.Context, in *GetEntitlementRequest, opts ...grpc.CallOption) (*Entitlement, error)
	// Creates an entitlement for a customer.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller.
	//   - The reseller is not authorized to transact on this Product. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT:
	//   - Required request parameters are missing or invalid.
	//   - There is already a customer entitlement for a SKU from the same
	//     product family.
	//
	// * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
	// Google Channel support for further troubleshooting.
	// * NOT_FOUND: The customer or offer resource was not found.
	// * ALREADY_EXISTS:
	//   - The SKU was already purchased for the customer.
	//   - The customer's primary email already exists. Retry
	//     after changing the customer's primary contact email.
	//
	// * CONDITION_NOT_MET or FAILED_PRECONDITION:
	//   - The domain required for purchasing a SKU has not been verified.
	//   - A pre-requisite SKU required to purchase an Add-On SKU is missing.
	//     For example, Google Workspace Business Starter is required to purchase
	//     Vault or Drive.
	//   - (Developer accounts only) Reseller and resold domain must meet the
	//     following naming requirements:
	//   - Domain names must start with goog-test.
	//   - Domain names must include the reseller domain.
	//
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	CreateEntitlement(ctx context.Context, in *CreateEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Change parameters of the entitlement.
	//
	// An entitlement update is a long-running operation and it updates the
	// entitlement as a result of fulfillment.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// For example, the number of seats being changed is greater than the allowed
	// number of max seats, or decreasing seats for a commitment based plan.
	// * NOT_FOUND: Entitlement resource not found.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ChangeParameters(ctx context.Context, in *ChangeParametersRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the renewal settings for an existing customer entitlement.
	//
	// An entitlement update is a long-running operation and it updates the
	// entitlement as a result of fulfillment.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
	// commitment plan. Can't enable or disable renewals for non-commitment plans.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	//   - UNKNOWN: Any non-user error related to a technical issue in the backend.
	//     Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ChangeRenewalSettings(ctx context.Context, in *ChangeRenewalSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the Offer for an existing customer entitlement.
	//
	// An entitlement update is a long-running operation and it updates the
	// entitlement as a result of fulfillment.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Offer or Entitlement resource not found.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ChangeOffer(ctx context.Context, in *ChangeOfferRequest, opts ...grpc.CallOption) (*longrunningpb.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 is set up for a trial entitlement but has some
	// trial days remaining.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
	// entitlement on trial plans.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	StartPaidService(ctx context.Context, in *StartPaidServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Suspends a previously fulfilled entitlement.
	//
	// An entitlement suspension is a long-running operation.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * NOT_ACTIVE: Entitlement is not active.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	SuspendEntitlement(ctx context.Context, in *SuspendEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Cancels a previously fulfilled entitlement.
	//
	// An entitlement cancellation is a long-running operation.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * FAILED_PRECONDITION: There are Google Cloud projects linked to the
	// Google Cloud entitlement's Cloud Billing subaccount.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace
	// add-ons, or entitlements for Google Cloud's development platform.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The response will contain
	// google.protobuf.Empty on success. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	CancelEntitlement(ctx context.Context, in *CancelEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Activates a previously suspended entitlement. Entitlements suspended for
	// pending ToS acceptance can't be activated using this method.
	//
	// An entitlement activation is a long-running operation and it updates
	// the state of the customer entitlement.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated
	// suspensions and entitlements that have accepted the TOS.
	// * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE
	// state.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ActivateEntitlement(ctx context.Context, in *ActivateEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Transfers customer entitlements to new reseller.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller.
	//   - The reseller is not authorized to transact on this Product. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The customer or offer resource was not found.
	// * ALREADY_EXISTS: The SKU was already transferred for the customer.
	// * CONDITION_NOT_MET or FAILED_PRECONDITION:
	//   - The SKU requires domain verification to transfer, but the domain is
	//     not verified.
	//   - An Add-On SKU (example, Vault or Drive) is missing the
	//     pre-requisite SKU (example, G Suite Basic).
	//   - (Developer accounts only) Reseller and resold domain must meet the
	//     following naming requirements:
	//   - Domain names must start with goog-test.
	//   - Domain names must include the reseller domain.
	//   - Specify all transferring entitlements.
	//
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	TransferEntitlements(ctx context.Context, in *TransferEntitlementsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Transfers customer entitlements from their current reseller to Google.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The customer or offer resource was not found.
	// * ALREADY_EXISTS: The SKU was already transferred for the customer.
	// * CONDITION_NOT_MET or FAILED_PRECONDITION:
	//   - The SKU requires domain verification to transfer, but the domain is
	//     not verified.
	//   - An Add-On SKU (example, Vault or Drive) is missing the
	//     pre-requisite SKU (example, G Suite Basic).
	//   - (Developer accounts only) Reseller and resold domain must meet the
	//     following naming requirements:
	//   - Domain names must start with goog-test.
	//   - Domain names must include the reseller domain.
	//
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The response will contain
	// google.protobuf.Empty on success. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	TransferEntitlementsToGoogle(ctx context.Context, in *TransferEntitlementsToGoogleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
	// belonging to a distributor. You must be a distributor to call this method.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// The list of the distributor account's
	// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
	ListChannelPartnerLinks(ctx context.Context, in *ListChannelPartnerLinksRequest, opts ...grpc.CallOption) (*ListChannelPartnerLinksResponse, error)
	// Returns the requested
	// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
	// You must be a distributor to call this method.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: ChannelPartnerLink resource not found because of an
	// invalid channel partner link name.
	//
	// Return value:
	// The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
	// resource.
	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.
	// Invited partners need to follow the invite_link_uri provided in the
	// response to accept. After accepting the invitation, a link is set up
	// between the two parties.
	// You must be a distributor to call this method.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already
	// exists.
	// * NOT_FOUND: No Cloud Identity customer exists for provided domain.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
	// resource.
	CreateChannelPartnerLink(ctx context.Context, in *CreateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error)
	// Updates a channel partner link. Distributors call this method to change a
	// link's status. For example, to suspend a partner link.
	// You must be a distributor to call this method.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT:
	//   - Required request parameters are missing or invalid.
	//   - Link state cannot change from invited to active or suspended.
	//   - Cannot send reseller_cloud_identity_id, invite_url, or name in update
	//     mask.
	//
	// * NOT_FOUND: ChannelPartnerLink resource not found.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The updated
	// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
	UpdateChannelPartnerLink(ctx context.Context, in *UpdateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error)
	// Gets information about how a Reseller modifies their bill before sending
	// it to a Customer.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * NOT_FOUND: The
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// was not found.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// resource, otherwise returns an error.
	GetCustomerRepricingConfig(ctx context.Context, in *GetCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error)
	// Lists information about how a Reseller modifies their bill before sending
	// it to a Customer.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * NOT_FOUND: The
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// specified does not exist or is not associated with the given account.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// resources. The data for each resource is displayed in the ascending order
	// of:
	//
	// * Customer ID
	// * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
	// * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]
	//
	// If unsuccessful, returns an error.
	ListCustomerRepricingConfigs(ctx context.Context, in *ListCustomerRepricingConfigsRequest, opts ...grpc.CallOption) (*ListCustomerRepricingConfigsResponse, error)
	// Creates a CustomerRepricingConfig. Call this method to set modifications
	// for a specific customer's bill. You can only create configs if the
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// is a future month. If needed, you can create a config for the current
	// month, with some restrictions.
	//
	// When creating a config for a future month, make sure there are no existing
	// configs for that
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
	//
	// The following restrictions are for creating configs in the current month.
	//
	// * This functionality is reserved for recovering from an erroneous config,
	// and should not be used for regular business cases.
	// * The new config will not modify exports used with other configs.
	// Changes to the config may be immediate, but may take up to 24 hours.
	// * There is a limit of ten configs for any
	// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement],
	// for any
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
	// * The contained
	// [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
	// value must be different from the value used in the current config for a
	// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * INVALID_ARGUMENT: Missing or invalid required parameters in the
	// request. Also displays if the updated config is for the current month or
	// past months.
	// * NOT_FOUND: The
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// specified does not exist or is not associated with the given account.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the updated
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// resource, otherwise returns an error.
	CreateCustomerRepricingConfig(ctx context.Context, in *CreateCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error)
	// Updates a CustomerRepricingConfig. Call this method to set modifications
	// for a specific customer's bill. This method overwrites the existing
	// CustomerRepricingConfig.
	//
	// You can only update configs if the
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// is a future month. To make changes to configs for the current month, use
	// [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
	// taking note of its restrictions. You cannot update the
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
	//
	// When updating a config in the future:
	//
	// * This config must already exist.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * INVALID_ARGUMENT: Missing or invalid required parameters in the
	// request. Also displays if the updated config is for the current month or
	// past months.
	// * NOT_FOUND: The
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// specified does not exist or is not associated with the given account.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the updated
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// resource, otherwise returns an error.
	UpdateCustomerRepricingConfig(ctx context.Context, in *UpdateCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error)
	// Deletes the given
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// permanently. You can only delete configs if their
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// is set to a date after the current month.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The account making the request does not own
	// this customer.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * FAILED_PRECONDITION: The
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// is active or in the past.
	// * NOT_FOUND: No
	// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
	// found for the name in the request.
	DeleteCustomerRepricingConfig(ctx context.Context, in *DeleteCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Gets information about how a Distributor modifies their bill before sending
	// it to a ChannelPartner.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * NOT_FOUND: The
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// was not found.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// resource, otherwise returns an error.
	GetChannelPartnerRepricingConfig(ctx context.Context, in *GetChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error)
	// Lists information about how a Reseller modifies their bill before sending
	// it to a ChannelPartner.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * NOT_FOUND: The
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// specified does not exist or is not associated with the given account.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// resources. The data for each resource is displayed in the ascending order
	// of:
	//
	// * Channel Partner ID
	// * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
	//
	// If unsuccessful, returns an error.
	ListChannelPartnerRepricingConfigs(ctx context.Context, in *ListChannelPartnerRepricingConfigsRequest, opts ...grpc.CallOption) (*ListChannelPartnerRepricingConfigsResponse, error)
	// Creates a ChannelPartnerRepricingConfig. Call this method to set
	// modifications for a specific ChannelPartner's bill. You can only create
	// configs if the
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// is a future month. If needed, you can create a config for the current
	// month, with some restrictions.
	//
	// When creating a config for a future month, make sure there are no existing
	// configs for that
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
	//
	// The following restrictions are for creating configs in the current month.
	//
	// * This functionality is reserved for recovering from an erroneous config,
	// and should not be used for regular business cases.
	// * The new config will not modify exports used with other configs.
	// Changes to the config may be immediate, but may take up to 24 hours.
	// * There is a limit of ten configs for any ChannelPartner or
	// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement],
	// for any
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
	// * The contained
	// [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
	// value must be different from the value used in the current config for a
	// ChannelPartner.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * INVALID_ARGUMENT: Missing or invalid required parameters in the
	// request. Also displays if the updated config is for the current month or
	// past months.
	// * NOT_FOUND: The
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// specified does not exist or is not associated with the given account.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the updated
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// resource, otherwise returns an error.
	CreateChannelPartnerRepricingConfig(ctx context.Context, in *CreateChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error)
	// Updates a ChannelPartnerRepricingConfig. Call this method to set
	// modifications for a specific ChannelPartner's bill. This method overwrites
	// the existing CustomerRepricingConfig.
	//
	// You can only update configs if the
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// is a future month. To make changes to configs for the current month, use
	// [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
	// taking note of its restrictions. You cannot update the
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
	//
	// When updating a config in the future:
	//
	// * This config must already exist.
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different.
	// * INVALID_ARGUMENT: Missing or invalid required parameters in the
	// request. Also displays if the updated config is for the current month or
	// past months.
	// * NOT_FOUND: The
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// specified does not exist or is not associated with the given account.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the updated
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// resource, otherwise returns an error.
	UpdateChannelPartnerRepricingConfig(ctx context.Context, in *UpdateChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error)
	// Deletes the given
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// permanently. You can only delete configs if their
	// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
	// is set to a date after the current month.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The account making the request does not own
	// this customer.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * FAILED_PRECONDITION: The
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// is active or in the past.
	// * NOT_FOUND: No
	// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
	// found for the name in the request.
	DeleteChannelPartnerRepricingConfig(ctx context.Context, in *DeleteChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists the Rebilling supported SKU groups the account is authorized to
	// sell.
	// Reference: https://cloud.google.com/skus/sku-groups
	//
	// Possible Error Codes:
	//
	// * PERMISSION_DENIED: If the account making the request and the account
	// being queried are different, or the account doesn't exist.
	// * INTERNAL: Any non-user error related to technical issues in the
	// backend. In this case, contact Cloud Channel support.
	//
	// Return Value:
	// If successful, the [SkuGroup][google.cloud.channel.v1.SkuGroup] resources.
	// The data for each resource is displayed in the alphabetical order of SKU
	// group display name.
	// The data for each resource is displayed in the ascending order of
	// [SkuGroup.display_name][google.cloud.channel.v1.SkuGroup.display_name]
	//
	// If unsuccessful, returns an error.
	ListSkuGroups(ctx context.Context, in *ListSkuGroupsRequest, opts ...grpc.CallOption) (*ListSkuGroupsResponse, error)
	// Lists the Billable SKUs in a given SKU group.
	//
	// Possible error codes:
	// PERMISSION_DENIED: If the account making the request and the account
	// being queried for are different, or the account doesn't exist.
	// INVALID_ARGUMENT: Missing or invalid required parameters in the
	// request.
	// INTERNAL: Any non-user error related to technical issue in the
	// backend. In this case, contact cloud channel support.
	//
	// Return Value:
	// If successful, the [BillableSku][google.cloud.channel.v1.BillableSku]
	// resources. The data for each resource is displayed in the ascending order
	// of:
	//
	// * [BillableSku.service_display_name][google.cloud.channel.v1.BillableSku.service_display_name]
	// * [BillableSku.sku_display_name][google.cloud.channel.v1.BillableSku.sku_display_name]
	//
	// If unsuccessful, returns an error.
	ListSkuGroupBillableSkus(ctx context.Context, in *ListSkuGroupBillableSkusRequest, opts ...grpc.CallOption) (*ListSkuGroupBillableSkusResponse, error)
	// Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement or offer was not found.
	//
	// Return value:
	// The [Offer][google.cloud.channel.v1.Offer] resource.
	LookupOffer(ctx context.Context, in *LookupOfferRequest, opts ...grpc.CallOption) (*Offer, error)
	// Lists the Products the reseller is authorized to sell.
	//
	// Possible error codes:
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	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: Required request parameters are missing or invalid.
	ListSkus(ctx context.Context, in *ListSkusRequest, opts ...grpc.CallOption) (*ListSkusResponse, error)
	// Lists the Offers the reseller can sell.
	//
	// Possible error codes:
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	ListOffers(ctx context.Context, in *ListOffersRequest, opts ...grpc.CallOption) (*ListOffersResponse, error)
	// Lists the following:
	//
	// * SKUs that you can purchase for a customer
	// * SKUs that you can upgrade or downgrade for an entitlement.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	ListPurchasableSkus(ctx context.Context, in *ListPurchasableSkusRequest, opts ...grpc.CallOption) (*ListPurchasableSkusResponse, error)
	// Lists the following:
	//
	// * Offers that you can purchase for a customer.
	// * Offers that you can change for an entitlement.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller
	//   - The reseller is not authorized to transact on this Product. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	ListPurchasableOffers(ctx context.Context, in *ListPurchasableOffersRequest, opts ...grpc.CallOption) (*ListPurchasableOffersResponse, error)
	// Lists the billing accounts that are eligible to purchase particular SKUs
	// for a given customer.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// Based on the provided list of SKUs, returns a list of SKU groups that must
	// be purchased using the same billing account and the billing accounts
	// eligible to purchase each SKU group.
	QueryEligibleBillingAccounts(ctx context.Context, in *QueryEligibleBillingAccountsRequest, opts ...grpc.CallOption) (*QueryEligibleBillingAccountsResponse, error)
	// Registers a service account with subscriber privileges on the Cloud Pub/Sub
	// topic for this Channel Services account. After you create a
	// subscriber, you get the events through
	// [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request and the
	// provided reseller account are different, or the impersonated user
	// is not a super admin.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The topic name with the registered service email address.
	RegisterSubscriber(ctx context.Context, in *RegisterSubscriberRequest, opts ...grpc.CallOption) (*RegisterSubscriberResponse, error)
	// Unregisters a service account with subscriber privileges on the Cloud
	// Pub/Sub topic created for this Channel Services account. If there are no
	// service accounts left with subscriber privileges, this deletes the topic.
	// You can call ListSubscribers to check for these accounts.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request and the
	// provided reseller account are different, or the impersonated user
	// is not a super admin.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The topic resource doesn't exist.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The topic name that unregistered the service email address.
	// Returns a success response if the service email address wasn't registered
	// with the topic.
	UnregisterSubscriber(ctx context.Context, in *UnregisterSubscriberRequest, opts ...grpc.CallOption) (*UnregisterSubscriberResponse, error)
	// Lists service accounts with subscriber privileges on the Cloud Pub/Sub
	// topic created for this Channel Services account.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request and the
	// provided reseller account are different, or the impersonated user
	// is not a super admin.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The topic resource doesn't exist.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// A list of service email addresses.
	ListSubscribers(ctx context.Context, in *ListSubscribersRequest, opts ...grpc.CallOption) (*ListSubscribersResponse, error)
	// List entitlement history.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request and the
	// provided reseller account are different.
	// * INVALID_ARGUMENT: Missing or invalid required fields in the request.
	// * NOT_FOUND: The parent resource doesn't exist. Usually the result of an
	// invalid name parameter.
	// * INTERNAL: Any non-user error related to a technical issue in the backend.
	// In this case, contact CloudChannel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// In this case, contact Cloud Channel support.
	//
	// Return value:
	// List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.
	ListEntitlementChanges(ctx context.Context, in *ListEntitlementChangesRequest, opts ...grpc.CallOption) (*ListEntitlementChangesResponse, 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.

type CloudChannelServiceServer

type CloudChannelServiceServer interface {
	// List [Customer][google.cloud.channel.v1.Customer]s.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
	// there are no customers.
	ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)
	// Returns the requested [Customer][google.cloud.channel.v1.Customer]
	// resource.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
	// invalid name parameter.
	//
	// Return value:
	// The [Customer][google.cloud.channel.v1.Customer] resource.
	GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error)
	// Confirms the existence of Cloud Identity accounts based on the domain and
	// if the Cloud Identity accounts are owned by the reseller.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * INVALID_VALUE: Invalid domain value in the request.
	//
	// Return value:
	// A list of
	// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
	// resources for the domain (may be empty)
	//
	// Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
	// no
	// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
	// resources match the domain.
	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:
	//
	// * PERMISSION_DENIED:
	//   - The reseller account making the request is different from the
	//     reseller account in the API request.
	//   - You are not authorized to create a customer. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT:
	//   - Required request parameters are missing or invalid.
	//   - Domain field value doesn't match the primary email domain.
	//
	// Return value:
	// The newly created [Customer][google.cloud.channel.v1.Customer] resource.
	CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error)
	// Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
	// for the reseller or distributor.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The reseller account making the request is different
	// from the reseller account in the API request.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
	// for the name in the request.
	//
	// Return value:
	// The updated [Customer][google.cloud.channel.v1.Customer] resource.
	UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error)
	// Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The account making the request does not own
	// this customer.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * FAILED_PRECONDITION: The customer has existing entitlements.
	// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
	// for the name in the request.
	DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error)
	// Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
	// Identity associated with the provided Cloud Identity ID or domain before a
	// TransferEntitlements call. If a linked Customer already exists and
	// overwrite_if_exists is true, it will update that Customer's data.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The reseller account making the request is different from the
	//     reseller account in the API request.
	//   - You are not authorized to import the customer. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
	// * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
	// expired or invalid.
	// * ALREADY_EXISTS: A customer already exists and has conflicting critical
	// fields. Requires an overwrite.
	//
	// Return value:
	// The [Customer][google.cloud.channel.v1.Customer].
	ImportCustomer(context.Context, *ImportCustomerRequest) (*Customer, error)
	// Creates a Cloud Identity for the given customer using the customer's
	// information, or the information provided here.
	//
	// Possible error codes:
	//
	// *  PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller.
	//   - You are not authorized to provision cloud identity id. See
	//     https://support.google.com/channelservices/answer/9759265
	//   - INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//   - NOT_FOUND: The customer was not found.
	//   - ALREADY_EXISTS: The customer's primary email already exists. Retry
	//     after changing the customer's primary contact email.
	//   - INTERNAL: Any non-user error related to a technical issue in the
	//
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata contains an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunningpb.Operation, error)
	// Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
	// customer.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// A list of the customer's
	// [Entitlement][google.cloud.channel.v1.Entitlement]s.
	ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error)
	// List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
	// customer based on the Cloud Identity ID or Customer Name in the request.
	//
	// Use this method to list the entitlements information of an
	// unowned customer. You should provide the customer's
	// Cloud Identity ID or Customer Name.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller and has no auth token.
	//   - The supplied auth token is invalid.
	//   - The reseller account making the request is different
	//     from the reseller account in the query.
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// A list of the customer's
	// [TransferableSku][google.cloud.channel.v1.TransferableSku].
	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.
	//
	// Use this method when a reseller gets the entitlement information of an
	// unowned customer. The reseller should provide the customer's
	// Cloud Identity ID or Customer Name.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller and has no auth token.
	//   - The customer provided incorrect reseller information when generating
	//     auth token.
	//   - The reseller account making the request is different
	//     from the reseller account in the query.
	//   - The reseller is not authorized to transact on this Product. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	//
	// Return value:
	// List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
	// the given customer and SKU.
	ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error)
	// Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
	// resource.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: The customer entitlement was not found.
	//
	// Return value:
	// The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
	GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error)
	// Creates an entitlement for a customer.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED:
	//   - The customer doesn't belong to the reseller.
	//   - The reseller is not authorized to transact on this Product. See
	//     https://support.google.com/channelservices/answer/9759265
	//
	// * INVALID_ARGUMENT:
	//   - Required request parameters are missing or invalid.
	//   - There is already a customer entitlement for a SKU from the same
	//     product family.
	//
	// * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
	// Google Channel support for further troubleshooting.
	// * NOT_FOUND: The customer or offer resource was not found.
	// * ALREADY_EXISTS:
	//   - The SKU was already purchased for the customer.
	//   - The customer's primary email already exists. Retry
	//     after changing the customer's primary contact email.
	//
	// * CONDITION_NOT_MET or FAILED_PRECONDITION:
	//   - The domain required for purchasing a SKU has not been verified.
	//   - A pre-requisite SKU required to purchase an Add-On SKU is missing.
	//     For example, Google Workspace Business Starter is required to purchase
	//     Vault or Drive.
	//   - (Developer accounts only) Reseller and resold domain must meet the
	//     following naming requirements:
	//   - Domain names must start with goog-test.
	//   - Domain names must include the reseller domain.
	//
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunningpb.Operation, error)
	// Change parameters of the entitlement.
	//
	// An entitlement update is a long-running operation and it updates the
	// entitlement as a result of fulfillment.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// For example, the number of seats being changed is greater than the allowed
	// number of max seats, or decreasing seats for a commitment based plan.
	// * NOT_FOUND: Entitlement resource not found.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunningpb.Operation, error)
	// Updates the renewal settings for an existing customer entitlement.
	//
	// An entitlement update is a long-running operation and it updates the
	// entitlement as a result of fulfillment.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
	// commitment plan. Can't enable or disable renewals for non-commitment plans.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	//   - UNKNOWN: Any non-user error related to a technical issue in the backend.
	//     Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunningpb.Operation, error)
	// Updates the Offer for an existing customer entitlement.
	//
	// An entitlement update is a long-running operation and it updates the
	// entitlement as a result of fulfillment.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Offer or Entitlement resource not found.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunningpb.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 is set up for a trial entitlement but has some
	// trial days remaining.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
	// entitlement on trial plans.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunningpb.Operation, error)
	// Suspends a previously fulfilled entitlement.
	//
	// An entitlement suspension is a long-running operation.
	//
	// Possible error codes:
	//
	// * PERMISSION_DENIED: The customer doesn't belong to the reseller.
	// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
	// * NOT_FOUND: Entitlement resource not found.
	// * NOT_ACTIVE: Entitlement is not active.
	// * INTERNAL: Any non-user error related to a technical issue in the
	// backend. Contact Cloud Channel support.
	// * UNKNOWN: Any non-user error related to a technical issue in the backend.
	// Contact Cloud Channel support.
	//
	// Return value:
	// The ID of a long-running operation.
	//
	// To get the results of the operation, call the GetOperation method of
	// CloudChannelOperationsService. The Operation metadata will contain an
	// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
	SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunningpb.Operation, error)
	// Cancels a previously fulfilled entitlement.
	//
	// An entitlement cancellation is a long-running operation.