Constants
CloudChannelReportsService_RunReportJob_FullMethodName, CloudChannelReportsService_FetchReportResults_FullMethodName, CloudChannelReportsService_ListReports_FullMethodName
const (
CloudChannelReportsService_RunReportJob_FullMethodName = "/google.cloud.channel.v1.CloudChannelReportsService/RunReportJob"
CloudChannelReportsService_FetchReportResults_FullMethodName = "/google.cloud.channel.v1.CloudChannelReportsService/FetchReportResults"
CloudChannelReportsService_ListReports_FullMethodName = "/google.cloud.channel.v1.CloudChannelReportsService/ListReports"
)CloudChannelService_ListCustomers_FullMethodName, CloudChannelService_GetCustomer_FullMethodName, CloudChannelService_CheckCloudIdentityAccountsExist_FullMethodName, CloudChannelService_CreateCustomer_FullMethodName, CloudChannelService_UpdateCustomer_FullMethodName, CloudChannelService_DeleteCustomer_FullMethodName, CloudChannelService_ImportCustomer_FullMethodName, CloudChannelService_ProvisionCloudIdentity_FullMethodName, CloudChannelService_ListEntitlements_FullMethodName, CloudChannelService_ListTransferableSkus_FullMethodName, CloudChannelService_ListTransferableOffers_FullMethodName, CloudChannelService_GetEntitlement_FullMethodName, CloudChannelService_CreateEntitlement_FullMethodName, CloudChannelService_ChangeParameters_FullMethodName, CloudChannelService_ChangeRenewalSettings_FullMethodName, CloudChannelService_ChangeOffer_FullMethodName, CloudChannelService_StartPaidService_FullMethodName, CloudChannelService_SuspendEntitlement_FullMethodName, CloudChannelService_CancelEntitlement_FullMethodName, CloudChannelService_ActivateEntitlement_FullMethodName, CloudChannelService_TransferEntitlements_FullMethodName, CloudChannelService_TransferEntitlementsToGoogle_FullMethodName, CloudChannelService_ListChannelPartnerLinks_FullMethodName, CloudChannelService_GetChannelPartnerLink_FullMethodName, CloudChannelService_CreateChannelPartnerLink_FullMethodName, CloudChannelService_UpdateChannelPartnerLink_FullMethodName, CloudChannelService_GetCustomerRepricingConfig_FullMethodName, CloudChannelService_ListCustomerRepricingConfigs_FullMethodName, CloudChannelService_CreateCustomerRepricingConfig_FullMethodName, CloudChannelService_UpdateCustomerRepricingConfig_FullMethodName, CloudChannelService_DeleteCustomerRepricingConfig_FullMethodName, CloudChannelService_GetChannelPartnerRepricingConfig_FullMethodName, CloudChannelService_ListChannelPartnerRepricingConfigs_FullMethodName, CloudChannelService_CreateChannelPartnerRepricingConfig_FullMethodName, CloudChannelService_UpdateChannelPartnerRepricingConfig_FullMethodName, CloudChannelService_DeleteChannelPartnerRepricingConfig_FullMethodName, CloudChannelService_ListSkuGroups_FullMethodName, CloudChannelService_ListSkuGroupBillableSkus_FullMethodName, CloudChannelService_LookupOffer_FullMethodName, CloudChannelService_ListProducts_FullMethodName, CloudChannelService_ListSkus_FullMethodName, CloudChannelService_ListOffers_FullMethodName, CloudChannelService_ListPurchasableSkus_FullMethodName, CloudChannelService_ListPurchasableOffers_FullMethodName, CloudChannelService_QueryEligibleBillingAccounts_FullMethodName, CloudChannelService_RegisterSubscriber_FullMethodName, CloudChannelService_UnregisterSubscriber_FullMethodName, CloudChannelService_ListSubscribers_FullMethodName, CloudChannelService_ListEntitlementChanges_FullMethodName
const (
CloudChannelService_ListCustomers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListCustomers"
CloudChannelService_GetCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetCustomer"
CloudChannelService_CheckCloudIdentityAccountsExist_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CheckCloudIdentityAccountsExist"
CloudChannelService_CreateCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateCustomer"
CloudChannelService_UpdateCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateCustomer"
CloudChannelService_DeleteCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/DeleteCustomer"
CloudChannelService_ImportCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ImportCustomer"
CloudChannelService_ProvisionCloudIdentity_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ProvisionCloudIdentity"
CloudChannelService_ListEntitlements_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListEntitlements"
CloudChannelService_ListTransferableSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListTransferableSkus"
CloudChannelService_ListTransferableOffers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListTransferableOffers"
CloudChannelService_GetEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetEntitlement"
CloudChannelService_CreateEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateEntitlement"
CloudChannelService_ChangeParameters_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ChangeParameters"
CloudChannelService_ChangeRenewalSettings_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ChangeRenewalSettings"
CloudChannelService_ChangeOffer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ChangeOffer"
CloudChannelService_StartPaidService_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/StartPaidService"
CloudChannelService_SuspendEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/SuspendEntitlement"
CloudChannelService_CancelEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CancelEntitlement"
CloudChannelService_ActivateEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ActivateEntitlement"
CloudChannelService_TransferEntitlements_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/TransferEntitlements"
CloudChannelService_TransferEntitlementsToGoogle_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/TransferEntitlementsToGoogle"
CloudChannelService_ListChannelPartnerLinks_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListChannelPartnerLinks"
CloudChannelService_GetChannelPartnerLink_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetChannelPartnerLink"
CloudChannelService_CreateChannelPartnerLink_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateChannelPartnerLink"
CloudChannelService_UpdateChannelPartnerLink_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateChannelPartnerLink"
CloudChannelService_GetCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetCustomerRepricingConfig"
CloudChannelService_ListCustomerRepricingConfigs_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListCustomerRepricingConfigs"
CloudChannelService_CreateCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateCustomerRepricingConfig"
CloudChannelService_UpdateCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateCustomerRepricingConfig"
CloudChannelService_DeleteCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/DeleteCustomerRepricingConfig"
CloudChannelService_GetChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetChannelPartnerRepricingConfig"
CloudChannelService_ListChannelPartnerRepricingConfigs_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListChannelPartnerRepricingConfigs"
CloudChannelService_CreateChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateChannelPartnerRepricingConfig"
CloudChannelService_UpdateChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateChannelPartnerRepricingConfig"
CloudChannelService_DeleteChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/DeleteChannelPartnerRepricingConfig"
CloudChannelService_ListSkuGroups_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSkuGroups"
CloudChannelService_ListSkuGroupBillableSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSkuGroupBillableSkus"
CloudChannelService_LookupOffer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/LookupOffer"
CloudChannelService_ListProducts_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListProducts"
CloudChannelService_ListSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSkus"
CloudChannelService_ListOffers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListOffers"
CloudChannelService_ListPurchasableSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListPurchasableSkus"
CloudChannelService_ListPurchasableOffers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListPurchasableOffers"
CloudChannelService_QueryEligibleBillingAccounts_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/QueryEligibleBillingAccounts"
CloudChannelService_RegisterSubscriber_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/RegisterSubscriber"
CloudChannelService_UnregisterSubscriber_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UnregisterSubscriber"
CloudChannelService_ListSubscribers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSubscribers"
CloudChannelService_ListEntitlementChanges_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListEntitlementChanges"
)Variables
ChannelPartnerLinkView_name, ChannelPartnerLinkView_value
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.
ChannelPartnerLinkState_name, ChannelPartnerLinkState_value
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.
EduData_InstituteType_name, EduData_InstituteType_value
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.
EduData_InstituteSize_name, EduData_InstituteSize_value
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.
CloudIdentityInfo_CustomerType_name, CloudIdentityInfo_CustomerType_value
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.
Customer_CustomerAttestationState_name, Customer_CustomerAttestationState_value
var (
Customer_CustomerAttestationState_name = map[int32]string{
0: "CUSTOMER_ATTESTATION_STATE_UNSPECIFIED",
1: "EXEMPT",
2: "NON_EXEMPT_AND_INFO_VERIFIED",
}
Customer_CustomerAttestationState_value = map[string]int32{
"CUSTOMER_ATTESTATION_STATE_UNSPECIFIED": 0,
"EXEMPT": 1,
"NON_EXEMPT_AND_INFO_VERIFIED": 2,
}
)Enum value maps for Customer_CustomerAttestationState.
EntitlementChange_ChangeType_name, EntitlementChange_ChangeType_value
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.
EntitlementChange_OperatorType_name, EntitlementChange_OperatorType_value
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.
EntitlementChange_CancellationReason_name, EntitlementChange_CancellationReason_value
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.
EntitlementChange_ActivationReason_name, EntitlementChange_ActivationReason_value
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.
Entitlement_ProvisioningState_name, Entitlement_ProvisioningState_value
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.
Entitlement_SuspensionReason_name, Entitlement_SuspensionReason_value
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.
TransferEligibility_Reason_name, TransferEligibility_Reason_value
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.
PromotionalOrderType_name, PromotionalOrderType_value
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.
PaymentPlan_name, PaymentPlan_value
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.
PaymentType_name, PaymentType_value
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.
ResourceType_name, ResourceType_value
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.
PeriodType_name, PeriodType_value
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.
ParameterDefinition_ParameterType_name, ParameterDefinition_ParameterType_value
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.
OperationMetadata_OperationType_name, OperationMetadata_OperationType_value
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.
MediaType_name, MediaType_value
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.
Column_DataType_name, Column_DataType_value
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.
ReportStatus_State_name, ReportStatus_State_value
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.
RebillingBasis_name, RebillingBasis_value
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.
ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType_name, ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType_value
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.
CustomerEvent_Type_name, CustomerEvent_Type_value
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.
EntitlementEvent_Type_name, EntitlementEvent_Type_value
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.
CloudChannelReportsService_ServiceDesc
var CloudChannelReportsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.channel.v1.CloudChannelReportsService",
HandlerType: (*CloudChannelReportsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "RunReportJob",
Handler: _CloudChannelReportsService_RunReportJob_Handler,
},
{
MethodName: "FetchReportResults",
Handler: _CloudChannelReportsService_FetchReportResults_Handler,
},
{
MethodName: "ListReports",
Handler: _CloudChannelReportsService_ListReports_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/channel/v1/reports_service.proto",
}CloudChannelReportsService_ServiceDesc is the grpc.ServiceDesc for CloudChannelReportsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
CloudChannelService_ServiceDesc
var CloudChannelService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.channel.v1.CloudChannelService",
HandlerType: (*CloudChannelServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListCustomers",
Handler: _CloudChannelService_ListCustomers_Handler,
},
{
MethodName: "GetCustomer",
Handler: _CloudChannelService_GetCustomer_Handler,
},
{
MethodName: "CheckCloudIdentityAccountsExist",
Handler: _CloudChannelService_CheckCloudIdentityAccountsExist_Handler,
},
{
MethodName: "CreateCustomer",
Handler: _CloudChannelService_CreateCustomer_Handler,
},
{
MethodName: "UpdateCustomer",
Handler: _CloudChannelService_UpdateCustomer_Handler,
},
{
MethodName: "DeleteCustomer",
Handler: _CloudChannelService_DeleteCustomer_Handler,
},
{
MethodName: "ImportCustomer",
Handler: _CloudChannelService_ImportCustomer_Handler,
},
{
MethodName: "ProvisionCloudIdentity",
Handler: _CloudChannelService_ProvisionCloudIdentity_Handler,
},
{
MethodName: "ListEntitlements",
Handler: _CloudChannelService_ListEntitlements_Handler,
},
{
MethodName: "ListTransferableSkus",
Handler: _CloudChannelService_ListTransferableSkus_Handler,
},
{
MethodName: "ListTransferableOffers",
Handler: _CloudChannelService_ListTransferableOffers_Handler,
},
{
MethodName: "GetEntitlement",
Handler: _CloudChannelService_GetEntitlement_Handler,
},
{
MethodName: "CreateEntitlement",
Handler: _CloudChannelService_CreateEntitlement_Handler,
},
{
MethodName: "ChangeParameters",
Handler: _CloudChannelService_ChangeParameters_Handler,
},
{
MethodName: "ChangeRenewalSettings",
Handler: _CloudChannelService_ChangeRenewalSettings_Handler,
},
{
MethodName: "ChangeOffer",
Handler: _CloudChannelService_ChangeOffer_Handler,
},
{
MethodName: "StartPaidService",
Handler: _CloudChannelService_StartPaidService_Handler,
},
{
MethodName: "SuspendEntitlement",
Handler: _CloudChannelService_SuspendEntitlement_Handler,
},
{
MethodName: "CancelEntitlement",
Handler: _CloudChannelService_CancelEntitlement_Handler,
},
{
MethodName: "ActivateEntitlement",
Handler: _CloudChannelService_ActivateEntitlement_Handler,
},
{
MethodName: "TransferEntitlements",
Handler: _CloudChannelService_TransferEntitlements_Handler,
},
{
MethodName: "TransferEntitlementsToGoogle",
Handler: _CloudChannelService_TransferEntitlementsToGoogle_Handler,
},
{
MethodName: "ListChannelPartnerLinks",
Handler: _CloudChannelService_ListChannelPartnerLinks_Handler,
},
{
MethodName: "GetChannelPartnerLink",
Handler: _CloudChannelService_GetChannelPartnerLink_Handler,
},
{
MethodName: "CreateChannelPartnerLink",
Handler: _CloudChannelService_CreateChannelPartnerLink_Handler,
},
{
MethodName: "UpdateChannelPartnerLink",
Handler: _CloudChannelService_UpdateChannelPartnerLink_Handler,
},
{
MethodName: "GetCustomerRepricingConfig",
Handler: _CloudChannelService_GetCustomerRepricingConfig_Handler,
},
{
MethodName: "ListCustomerRepricingConfigs",
Handler: _CloudChannelService_ListCustomerRepricingConfigs_Handler,
},
{
MethodName: "CreateCustomerRepricingConfig",
Handler: _CloudChannelService_CreateCustomerRepricingConfig_Handler,
},
{
MethodName: "UpdateCustomerRepricingConfig",
Handler: _CloudChannelService_UpdateCustomerRepricingConfig_Handler,
},
{
MethodName: "DeleteCustomerRepricingConfig",
Handler: _CloudChannelService_DeleteCustomerRepricingConfig_Handler,
},
{
MethodName: "GetChannelPartnerRepricingConfig",
Handler: _CloudChannelService_GetChannelPartnerRepricingConfig_Handler,
},
{
MethodName: "ListChannelPartnerRepricingConfigs",
Handler: _CloudChannelService_ListChannelPartnerRepricingConfigs_Handler,
},
{
MethodName: "CreateChannelPartnerRepricingConfig",
Handler: _CloudChannelService_CreateChannelPartnerRepricingConfig_Handler,
},
{
MethodName: "UpdateChannelPartnerRepricingConfig",
Handler: _CloudChannelService_UpdateChannelPartnerRepricingConfig_Handler,
},
{
MethodName: "DeleteChannelPartnerRepricingConfig",
Handler: _CloudChannelService_DeleteChannelPartnerRepricingConfig_Handler,
},
{
MethodName: "ListSkuGroups",
Handler: _CloudChannelService_ListSkuGroups_Handler,
},
{
MethodName: "ListSkuGroupBillableSkus",
Handler: _CloudChannelService_ListSkuGroupBillableSkus_Handler,
},
{
MethodName: "LookupOffer",
Handler: _CloudChannelService_LookupOffer_Handler,
},
{
MethodName: "ListProducts",
Handler: _CloudChannelService_ListProducts_Handler,
},
{
MethodName: "ListSkus",
Handler: _CloudChannelService_ListSkus_Handler,
},
{
MethodName: "ListOffers",
Handler: _CloudChannelService_ListOffers_Handler,
},
{
MethodName: "ListPurchasableSkus",
Handler: _CloudChannelService_ListPurchasableSkus_Handler,
},
{
MethodName: "ListPurchasableOffers",
Handler: _CloudChannelService_ListPurchasableOffers_Handler,
},
{
MethodName: "QueryEligibleBillingAccounts",
Handler: _CloudChannelService_QueryEligibleBillingAccounts_Handler,
},
{
MethodName: "RegisterSubscriber",
Handler: _CloudChannelService_RegisterSubscriber_Handler,
},
{
MethodName: "UnregisterSubscriber",
Handler: _CloudChannelService_UnregisterSubscriber_Handler,
},
{
MethodName: "ListSubscribers",
Handler: _CloudChannelService_ListSubscribers_Handler,
},
{
MethodName: "ListEntitlementChanges",
Handler: _CloudChannelService_ListEntitlementChanges_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/channel/v1/service.proto",
}CloudChannelService_ServiceDesc is the grpc.ServiceDesc for CloudChannelService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_channel_v1_billing_accounts_proto
var File_google_cloud_channel_v1_billing_accounts_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_channel_partner_links_proto
var File_google_cloud_channel_v1_channel_partner_links_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_common_proto
var File_google_cloud_channel_v1_common_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_customers_proto
var File_google_cloud_channel_v1_customers_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_entitlement_changes_proto
var File_google_cloud_channel_v1_entitlement_changes_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_entitlements_proto
var File_google_cloud_channel_v1_entitlements_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_offers_proto
var File_google_cloud_channel_v1_offers_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_operations_proto
var File_google_cloud_channel_v1_operations_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_products_proto
var File_google_cloud_channel_v1_products_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_reports_service_proto
var File_google_cloud_channel_v1_reports_service_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_repricing_proto
var File_google_cloud_channel_v1_repricing_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_service_proto
var File_google_cloud_channel_v1_service_proto protoreflect.FileDescriptorFile_google_cloud_channel_v1_subscriber_event_proto
var File_google_cloud_channel_v1_subscriber_event_proto protoreflect.FileDescriptorFunctions
func RegisterCloudChannelReportsServiceServer
func RegisterCloudChannelReportsServiceServer(s grpc.ServiceRegistrar, srv CloudChannelReportsServiceServer)Deprecated: Do not use.
func RegisterCloudChannelServiceServer
func RegisterCloudChannelServiceServer(s grpc.ServiceRegistrar, srv CloudChannelServiceServer)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
func (*ActivateEntitlementRequest) Descriptor() ([]byte, []int)Deprecated: Use ActivateEntitlementRequest.ProtoReflect.Descriptor instead.
func (*ActivateEntitlementRequest) GetName
func (x *ActivateEntitlementRequest) GetName() stringfunc (*ActivateEntitlementRequest) GetRequestId
func (x *ActivateEntitlementRequest) GetRequestId() stringfunc (*ActivateEntitlementRequest) ProtoMessage
func (*ActivateEntitlementRequest) ProtoMessage()func (*ActivateEntitlementRequest) ProtoReflect
func (x *ActivateEntitlementRequest) ProtoReflect() protoreflect.Messagefunc (*ActivateEntitlementRequest) Reset
func (x *ActivateEntitlementRequest) Reset()func (*ActivateEntitlementRequest) String
func (x *ActivateEntitlementRequest) String() stringAdminUser
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: Use AdminUser.ProtoReflect.Descriptor instead.
func (*AdminUser) GetEmail
func (*AdminUser) GetFamilyName
func (*AdminUser) GetGivenName
func (*AdminUser) ProtoMessage
func (*AdminUser) ProtoMessage()func (*AdminUser) ProtoReflect
func (x *AdminUser) ProtoReflect() protoreflect.Messagefunc (*AdminUser) Reset
func (x *AdminUser) Reset()func (*AdminUser) String
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
func (*AssociationInfo) Descriptor() ([]byte, []int)Deprecated: Use AssociationInfo.ProtoReflect.Descriptor instead.
func (*AssociationInfo) GetBaseEntitlement
func (x *AssociationInfo) GetBaseEntitlement() stringfunc (*AssociationInfo) ProtoMessage
func (*AssociationInfo) ProtoMessage()func (*AssociationInfo) ProtoReflect
func (x *AssociationInfo) ProtoReflect() protoreflect.Messagefunc (*AssociationInfo) Reset
func (x *AssociationInfo) Reset()func (*AssociationInfo) String
func (x *AssociationInfo) String() stringBillableSku
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
func (*BillableSku) Descriptor() ([]byte, []int)Deprecated: Use BillableSku.ProtoReflect.Descriptor instead.
func (*BillableSku) GetService
func (x *BillableSku) GetService() stringfunc (*BillableSku) GetServiceDisplayName
func (x *BillableSku) GetServiceDisplayName() stringfunc (*BillableSku) GetSku
func (x *BillableSku) GetSku() stringfunc (*BillableSku) GetSkuDisplayName
func (x *BillableSku) GetSkuDisplayName() stringfunc (*BillableSku) ProtoMessage
func (*BillableSku) ProtoMessage()func (*BillableSku) ProtoReflect
func (x *BillableSku) ProtoReflect() protoreflect.Messagefunc (*BillableSku) Reset
func (x *BillableSku) Reset()func (*BillableSku) String
func (x *BillableSku) String() stringBillingAccount
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
func (*BillingAccount) Descriptor() ([]byte, []int)Deprecated: Use BillingAccount.ProtoReflect.Descriptor instead.
func (*BillingAccount) GetCreateTime
func (x *BillingAccount) GetCreateTime() *timestamppb.Timestampfunc (*BillingAccount) GetCurrencyCode
func (x *BillingAccount) GetCurrencyCode() stringfunc (*BillingAccount) GetDisplayName
func (x *BillingAccount) GetDisplayName() stringfunc (*BillingAccount) GetName
func (x *BillingAccount) GetName() stringfunc (*BillingAccount) GetRegionCode
func (x *BillingAccount) GetRegionCode() stringfunc (*BillingAccount) ProtoMessage
func (*BillingAccount) ProtoMessage()func (*BillingAccount) ProtoReflect
func (x *BillingAccount) ProtoReflect() protoreflect.Messagefunc (*BillingAccount) Reset
func (x *BillingAccount) Reset()func (*BillingAccount) String
func (x *BillingAccount) String() stringBillingAccountPurchaseInfo
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
func (*BillingAccountPurchaseInfo) Descriptor() ([]byte, []int)Deprecated: Use BillingAccountPurchaseInfo.ProtoReflect.Descriptor instead.
func (*BillingAccountPurchaseInfo) GetBillingAccount
func (x *BillingAccountPurchaseInfo) GetBillingAccount() *BillingAccountfunc (*BillingAccountPurchaseInfo) ProtoMessage
func (*BillingAccountPurchaseInfo) ProtoMessage()func (*BillingAccountPurchaseInfo) ProtoReflect
func (x *BillingAccountPurchaseInfo) ProtoReflect() protoreflect.Messagefunc (*BillingAccountPurchaseInfo) Reset
func (x *BillingAccountPurchaseInfo) Reset()func (*BillingAccountPurchaseInfo) String
func (x *BillingAccountPurchaseInfo) String() stringCancelEntitlementRequest
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
func (*CancelEntitlementRequest) Descriptor() ([]byte, []int)Deprecated: Use CancelEntitlementRequest.ProtoReflect.Descriptor instead.
func (*CancelEntitlementRequest) GetName
func (x *CancelEntitlementRequest) GetName() stringfunc (*CancelEntitlementRequest) GetRequestId
func (x *CancelEntitlementRequest) GetRequestId() stringfunc (*CancelEntitlementRequest) ProtoMessage
func (*CancelEntitlementRequest) ProtoMessage()func (*CancelEntitlementRequest) ProtoReflect
func (x *CancelEntitlementRequest) ProtoReflect() protoreflect.Messagefunc (*CancelEntitlementRequest) Reset
func (x *CancelEntitlementRequest) Reset()func (*CancelEntitlementRequest) String
func (x *CancelEntitlementRequest) String() stringChangeOfferRequest
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
func (*ChangeOfferRequest) Descriptor() ([]byte, []int)Deprecated: Use ChangeOfferRequest.ProtoReflect.Descriptor instead.
func (*ChangeOfferRequest) GetBillingAccount
func (x *ChangeOfferRequest) GetBillingAccount() stringfunc (*ChangeOfferRequest) GetName
func (x *ChangeOfferRequest) GetName() stringfunc (*ChangeOfferRequest) GetOffer
func (x *ChangeOfferRequest) GetOffer() stringfunc (*ChangeOfferRequest) GetParameters
func (x *ChangeOfferRequest) GetParameters() []*Parameterfunc (*ChangeOfferRequest) GetPurchaseOrderId
func (x *ChangeOfferRequest) GetPurchaseOrderId() stringfunc (*ChangeOfferRequest) GetRequestId
func (x *ChangeOfferRequest) GetRequestId() stringfunc (*ChangeOfferRequest) ProtoMessage
func (*ChangeOfferRequest) ProtoMessage()func (*ChangeOfferRequest) ProtoReflect
func (x *ChangeOfferRequest) ProtoReflect() protoreflect.Messagefunc (*ChangeOfferRequest) Reset
func (x *ChangeOfferRequest) Reset()func (*ChangeOfferRequest) String
func (x *ChangeOfferRequest) String() stringChangeParametersRequest
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
func (*ChangeParametersRequest) Descriptor() ([]byte, []int)Deprecated: Use ChangeParametersRequest.ProtoReflect.Descriptor instead.
func (*ChangeParametersRequest) GetName
func (x *ChangeParametersRequest) GetName() stringfunc (*ChangeParametersRequest) GetParameters
func (x *ChangeParametersRequest) GetParameters() []*Parameterfunc (*ChangeParametersRequest) GetPurchaseOrderId
func (x *ChangeParametersRequest) GetPurchaseOrderId() stringfunc (*ChangeParametersRequest) GetRequestId
func (x *ChangeParametersRequest) GetRequestId() stringfunc (*ChangeParametersRequest) ProtoMessage
func (*ChangeParametersRequest) ProtoMessage()func (*ChangeParametersRequest) ProtoReflect
func (x *ChangeParametersRequest) ProtoReflect() protoreflect.Messagefunc (*ChangeParametersRequest) Reset
func (x *ChangeParametersRequest) Reset()func (*ChangeParametersRequest) String
func (x *ChangeParametersRequest) String() stringChangeRenewalSettingsRequest
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
func (*ChangeRenewalSettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use ChangeRenewalSettingsRequest.ProtoReflect.Descriptor instead.
func (*ChangeRenewalSettingsRequest) GetName
func (x *ChangeRenewalSettingsRequest) GetName() stringfunc (*ChangeRenewalSettingsRequest) GetRenewalSettings
func (x *ChangeRenewalSettingsRequest) GetRenewalSettings() *RenewalSettingsfunc (*ChangeRenewalSettingsRequest) GetRequestId
func (x *ChangeRenewalSettingsRequest) GetRequestId() stringfunc (*ChangeRenewalSettingsRequest) ProtoMessage
func (*ChangeRenewalSettingsRequest) ProtoMessage()func (*ChangeRenewalSettingsRequest) ProtoReflect
func (x *ChangeRenewalSettingsRequest) ProtoReflect() protoreflect.Messagefunc (*ChangeRenewalSettingsRequest) Reset
func (x *ChangeRenewalSettingsRequest) Reset()func (*ChangeRenewalSettingsRequest) String
func (x *ChangeRenewalSettingsRequest) String() stringChannelPartnerLink
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 `protobuf:"bytes,2,opt,name=reseller_cloud_identity_id,json=resellerCloudIdentityId,proto3" json:"reseller_cloud_identity_id,omitempty"`
// Required. State of the channel partner link.
LinkState ChannelPartnerLinkState `protobuf:"varint,3,opt,name=link_state,json=linkState,proto3,enum=google.cloud.channel.v1.ChannelPartnerLinkState" json:"link_state,omitempty"`
// 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 `protobuf:"bytes,8,opt,name=channel_partner_cloud_identity_info,json=channelPartnerCloudIdentityInfo,proto3" json:"channel_partner_cloud_identity_info,omitempty"`
// contains filtered or unexported fields
}Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.
func (*ChannelPartnerLink) Descriptor
func (*ChannelPartnerLink) Descriptor() ([]byte, []int)Deprecated: Use ChannelPartnerLink.ProtoReflect.Descriptor instead.
func (*ChannelPartnerLink) GetChannelPartnerCloudIdentityInfo
func (x *ChannelPartnerLink) GetChannelPartnerCloudIdentityInfo() *CloudIdentityInfofunc (*ChannelPartnerLink) GetCreateTime
func (x *ChannelPartnerLink) GetCreateTime() *timestamppb.Timestampfunc (*ChannelPartnerLink) GetInviteLinkUri
func (x *ChannelPartnerLink) GetInviteLinkUri() stringfunc (*ChannelPartnerLink) GetLinkState
func (x *ChannelPartnerLink) GetLinkState() ChannelPartnerLinkStatefunc (*ChannelPartnerLink) GetName
func (x *ChannelPartnerLink) GetName() stringfunc (*ChannelPartnerLink) GetPublicId
func (x *ChannelPartnerLink) GetPublicId() stringfunc (*ChannelPartnerLink) GetResellerCloudIdentityId
func (x *ChannelPartnerLink) GetResellerCloudIdentityId() stringfunc (*ChannelPartnerLink) GetUpdateTime
func (x *ChannelPartnerLink) GetUpdateTime() *timestamppb.Timestampfunc (*ChannelPartnerLink) ProtoMessage
func (*ChannelPartnerLink) ProtoMessage()func (*ChannelPartnerLink) ProtoReflect
func (x *ChannelPartnerLink) ProtoReflect() protoreflect.Messagefunc (*ChannelPartnerLink) Reset
func (x *ChannelPartnerLink) Reset()func (*ChannelPartnerLink) String
func (x *ChannelPartnerLink) String() stringChannelPartnerLinkState
type ChannelPartnerLinkState int32ChannelPartnerLinkState represents state of a channel partner link.
ChannelPartnerLinkState_CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED, ChannelPartnerLinkState_INVITED, ChannelPartnerLinkState_ACTIVE, ChannelPartnerLinkState_REVOKED, ChannelPartnerLinkState_SUSPENDED
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) Descriptor() protoreflect.EnumDescriptorfunc (ChannelPartnerLinkState) Enum
func (x ChannelPartnerLinkState) Enum() *ChannelPartnerLinkStatefunc (ChannelPartnerLinkState) EnumDescriptor
func (ChannelPartnerLinkState) EnumDescriptor() ([]byte, []int)Deprecated: Use ChannelPartnerLinkState.Descriptor instead.
func (ChannelPartnerLinkState) Number
func (x ChannelPartnerLinkState) Number() protoreflect.EnumNumberfunc (ChannelPartnerLinkState) String
func (x ChannelPartnerLinkState) String() stringfunc (ChannelPartnerLinkState) Type
func (ChannelPartnerLinkState) Type() protoreflect.EnumTypeChannelPartnerLinkView
type ChannelPartnerLinkView int32The level of granularity the [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] will display.
ChannelPartnerLinkView_UNSPECIFIED, ChannelPartnerLinkView_BASIC, ChannelPartnerLinkView_FULL
const (
// The default / unset value.
// The API will default to the BASIC view.
ChannelPartnerLinkView_UNSPECIFIED ChannelPartnerLinkView = 0
// Includes all fields except the
// [ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info].
ChannelPartnerLinkView_BASIC ChannelPartnerLinkView = 1
// Includes all fields.
ChannelPartnerLinkView_FULL ChannelPartnerLinkView = 2
)func (ChannelPartnerLinkView) Descriptor
func (ChannelPartnerLinkView) Descriptor() protoreflect.EnumDescriptorfunc (ChannelPartnerLinkView) Enum
func (x ChannelPartnerLinkView) Enum() *ChannelPartnerLinkViewfunc (ChannelPartnerLinkView) EnumDescriptor
func (ChannelPartnerLinkView) EnumDescriptor() ([]byte, []int)Deprecated: Use ChannelPartnerLinkView.Descriptor instead.
func (ChannelPartnerLinkView) Number
func (x ChannelPartnerLinkView) Number() protoreflect.EnumNumberfunc (ChannelPartnerLinkView) String
func (x ChannelPartnerLinkView) String() stringfunc (ChannelPartnerLinkView) Type
func (ChannelPartnerLinkView) Type() protoreflect.EnumTypeChannelPartnerRepricingConfig
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
func (*ChannelPartnerRepricingConfig) Descriptor() ([]byte, []int)Deprecated: Use ChannelPartnerRepricingConfig.ProtoReflect.Descriptor instead.
func (*ChannelPartnerRepricingConfig) GetName
func (x *ChannelPartnerRepricingConfig) GetName() stringfunc (*ChannelPartnerRepricingConfig) GetRepricingConfig
func (x *ChannelPartnerRepricingConfig) GetRepricingConfig() *RepricingConfigfunc (*ChannelPartnerRepricingConfig) GetUpdateTime
func (x *ChannelPartnerRepricingConfig) GetUpdateTime() *timestamppb.Timestampfunc (*ChannelPartnerRepricingConfig) ProtoMessage
func (*ChannelPartnerRepricingConfig) ProtoMessage()func (*ChannelPartnerRepricingConfig) ProtoReflect
func (x *ChannelPartnerRepricingConfig) ProtoReflect() protoreflect.Messagefunc (*ChannelPartnerRepricingConfig) Reset
func (x *ChannelPartnerRepricingConfig) Reset()func (*ChannelPartnerRepricingConfig) String
func (x *ChannelPartnerRepricingConfig) String() stringCheckCloudIdentityAccountsExistRequest
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 customers, including
// domain and team customers. For team customers, please use the domain for
// their emails.
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
// Optional. Primary admin email to fetch for Cloud Identity account team
// customer.
PrimaryAdminEmail string `protobuf:"bytes,4,opt,name=primary_admin_email,json=primaryAdminEmail,proto3" json:"primary_admin_email,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
func (*CheckCloudIdentityAccountsExistRequest) Descriptor
func (*CheckCloudIdentityAccountsExistRequest) Descriptor() ([]byte, []int)Deprecated: Use CheckCloudIdentityAccountsExistRequest.ProtoReflect.Descriptor instead.
func (*CheckCloudIdentityAccountsExistRequest) GetDomain
func (x *CheckCloudIdentityAccountsExistRequest) GetDomain() stringfunc (*CheckCloudIdentityAccountsExistRequest) GetParent
func (x *CheckCloudIdentityAccountsExistRequest) GetParent() stringfunc (*CheckCloudIdentityAccountsExistRequest) GetPrimaryAdminEmail
func (x *CheckCloudIdentityAccountsExistRequest) GetPrimaryAdminEmail() stringfunc (*CheckCloudIdentityAccountsExistRequest) ProtoMessage
func (*CheckCloudIdentityAccountsExistRequest) ProtoMessage()func (*CheckCloudIdentityAccountsExistRequest) ProtoReflect
func (x *CheckCloudIdentityAccountsExistRequest) ProtoReflect() protoreflect.Messagefunc (*CheckCloudIdentityAccountsExistRequest) Reset
func (x *CheckCloudIdentityAccountsExistRequest) Reset()func (*CheckCloudIdentityAccountsExistRequest) String
func (x *CheckCloudIdentityAccountsExistRequest) String() stringCheckCloudIdentityAccountsExistResponse
type CheckCloudIdentityAccountsExistResponse struct {
// The Cloud Identity accounts associated with the domain.
CloudIdentityAccounts []*CloudIdentityCustomerAccount `protobuf:"bytes,1,rep,name=cloud_identity_accounts,json=cloudIdentityAccounts,proto3" json:"cloud_identity_accounts,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
func (*CheckCloudIdentityAccountsExistResponse) Descriptor
func (*CheckCloudIdentityAccountsExistResponse) Descriptor() ([]byte, []int)Deprecated: Use CheckCloudIdentityAccountsExistResponse.ProtoReflect.Descriptor instead.
func (*CheckCloudIdentityAccountsExistResponse) GetCloudIdentityAccounts
func (x *CheckCloudIdentityAccountsExistResponse) GetCloudIdentityAccounts() []*CloudIdentityCustomerAccountfunc (*CheckCloudIdentityAccountsExistResponse) ProtoMessage
func (*CheckCloudIdentityAccountsExistResponse) ProtoMessage()func (*CheckCloudIdentityAccountsExistResponse) ProtoReflect
func (x *CheckCloudIdentityAccountsExistResponse) ProtoReflect() protoreflect.Messagefunc (*CheckCloudIdentityAccountsExistResponse) Reset
func (x *CheckCloudIdentityAccountsExistResponse) Reset()func (*CheckCloudIdentityAccountsExistResponse) String
func (x *CheckCloudIdentityAccountsExistResponse) String() stringCloudChannelReportsServiceClient (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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Deprecated: Do not use.
func NewCloudChannelReportsServiceClient (deprecated)
func NewCloudChannelReportsServiceClient(cc grpc.ClientConnInterface) CloudChannelReportsServiceClientDeprecated: Do not use.
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. All implementations should embed UnimplementedCloudChannelReportsServiceServer for forward compatibility
Deprecated: Do not use.
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCloudChannelServiceClient
func NewCloudChannelServiceClient(cc grpc.ClientConnInterface) CloudChannelServiceClientCloudChannelServiceServer
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.
//
// 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(context.Context, *CancelEntitlementRequest) (*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(context.Context, *ActivateEntitlementRequest) (*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(context.Context, *TransferEntitlementsRequest) (*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(context.Context, *TransferEntitlementsToGoogleRequest) (*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(context.Context, *ListChannelPartnerLinksRequest) (*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(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error)
// Initiates a channel partner link between a distributor and a reseller, or
// between resellers in an n-tier reseller channel.
// 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(context.Context, *CreateChannelPartnerLinkRequest) (*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(context.Context, *UpdateChannelPartnerLinkRequest) (*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(context.Context, *GetCustomerRepricingConfigRequest) (*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(context.Context, *ListCustomerRepricingConfigsRequest) (*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(context.Context, *CreateCustomerRepricingConfigRequest) (*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(context.Context, *UpdateCustomerRepricingConfigRequest) (*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(context.Context, *DeleteCustomerRepricingConfigRequest) (*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(context.Context, *GetChannelPartnerRepricingConfigRequest) (*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(context.Context, *ListChannelPartnerRepricingConfigsRequest) (*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(context.Context, *CreateChannelPartnerRepricingConfigRequest) (*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(context.Context, *UpdateChannelPartnerRepricingConfigRequest) (*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(context.Context, *DeleteChannelPartnerRepricingConfigRequest) (*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(context.Context, *ListSkuGroupsRequest) (*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(context.Context, *ListSkuGroupBillableSkusRequest) (*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(context.Context, *LookupOfferRequest) (*Offer, error)
// Lists the Products the reseller is authorized to sell.
//
// Possible error codes:
//
// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
ListProducts(context.Context, *ListProductsRequest) (*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(context.Context, *ListSkusRequest) (*ListSkusResponse, error)
// Lists the Offers the reseller can sell.
//
// Possible error codes:
//
// * INVALID_ARGUMENT: Required request parameters are missing or invalid.
ListOffers(context.Context, *ListOffersRequest) (*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(context.Context, *ListPurchasableSkusRequest) (*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(context.Context, *ListPurchasableOffersRequest) (*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(context.Context, *QueryEligibleBillingAccountsRequest) (*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(context.Context, *RegisterSubscriberRequest) (*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(context.Context, *UnregisterSubscriberRequest) (*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(context.Context, *ListSubscribersRequest) (*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(context.Context, *ListEntitlementChangesRequest) (*ListEntitlementChangesResponse, error)
}CloudChannelServiceServer is the server API for CloudChannelService service. All implementations should embed UnimplementedCloudChannelServiceServer for forward compatibility
CloudIdentityCustomerAccount
type CloudIdentityCustomerAccount struct {
// Returns true if a Cloud Identity account exists for a specific domain.
Existing bool `protobuf:"varint,1,opt,name=existing,proto3" json:"existing,omitempty"`
// Returns true if the Cloud Identity account is associated with a customer
// of the Channel Services partner.
Owned bool `protobuf:"varint,2,opt,name=owned,proto3" json:"owned,omitempty"`
// If owned = true, the name of the customer that owns the Cloud Identity
// account.
// Customer_name uses the format:
// accounts/{account_id}/customers/{customer_id}
CustomerName string `protobuf:"bytes,3,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"`
// If existing = true, the Cloud Identity ID of the customer.
CustomerCloudIdentityId string `protobuf:"bytes,4,opt,name=customer_cloud_identity_id,json=customerCloudIdentityId,proto3" json:"customer_cloud_identity_id,omitempty"`
// If existing = true, the type of the customer.
CustomerType CloudIdentityInfo_CustomerType `protobuf:"varint,5,opt,name=customer_type,json=customerType,proto3,enum=google.cloud.channel.v1.CloudIdentityInfo_CustomerType" json:"customer_type,omitempty"`
// If existing = true, and is 2-tier customer, the channel partner of the
// customer.
ChannelPartnerCloudIdentityId string `protobuf:"bytes,6,opt,name=channel_partner_cloud_identity_id,json=channelPartnerCloudIdentityId,proto3" json:"channel_partner_cloud_identity_id,omitempty"`
// contains filtered or unexported fields
}Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.
func (*CloudIdentityCustomerAccount) Descriptor
func (*CloudIdentityCustomerAccount) Descriptor() ([]byte, []int)Deprecated: Use CloudIdentityCustomerAccount.ProtoReflect.Descriptor instead.
func (*CloudIdentityCustomerAccount) GetChannelPartnerCloudIdentityId
func (x *CloudIdentityCustomerAccount) GetChannelPartnerCloudIdentityId() stringfunc (*CloudIdentityCustomerAccount) GetCustomerCloudIdentityId
func (x *CloudIdentityCustomerAccount) GetCustomerCloudIdentityId() stringfunc (*CloudIdentityCustomerAccount) GetCustomerName
func (x *CloudIdentityCustomerAccount) GetCustomerName() stringfunc (*CloudIdentityCustomerAccount) GetCustomerType
func (x *CloudIdentityCustomerAccount) GetCustomerType() CloudIdentityInfo_CustomerTypefunc (*CloudIdentityCustomerAccount) GetExisting
func (x *CloudIdentityCustomerAccount) GetExisting() boolfunc (*CloudIdentityCustomerAccount) GetOwned
func (x *CloudIdentityCustomerAccount) GetOwned() boolfunc (*CloudIdentityCustomerAccount) ProtoMessage
func (*CloudIdentityCustomerAccount) ProtoMessage()func (*CloudIdentityCustomerAccount) ProtoReflect
func (x *CloudIdentityCustomerAccount) ProtoReflect() protoreflect.Messagefunc (*CloudIdentityCustomerAccount) Reset
func (x *CloudIdentityCustomerAccount) Reset()func (*CloudIdentityCustomerAccount) String
func (x *CloudIdentityCustomerAccount) String() stringCloudIdentityInfo
type CloudIdentityInfo struct {
// CustomerType indicates verification type needed for using services.
CustomerType CloudIdentityInfo_CustomerType `protobuf:"varint,1,opt,name=customer_type,json=customerType,proto3,enum=google.cloud.channel.v1.CloudIdentityInfo_CustomerType" json:"customer_type,omitempty"`
// Output only. The primary domain name.
PrimaryDomain string `protobuf:"bytes,9,opt,name=primary_domain,json=primaryDomain,proto3" json:"primary_domain,omitempty"`
// Output only. Whether the domain is verified.
// This field is not returned for a Customer's cloud_identity_info resource.
// Partners can use the domains.get() method of the Workspace SDK's
// Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in
// to track domain verification of their resolve Workspace customers.
IsDomainVerified bool `protobuf:"varint,4,opt,name=is_domain_verified,json=isDomainVerified,proto3" json:"is_domain_verified,omitempty"`
// The alternate email.
AlternateEmail string `protobuf:"bytes,6,opt,name=alternate_email,json=alternateEmail,proto3" json:"alternate_email,omitempty"`
// Phone number associated with the Cloud Identity.
PhoneNumber string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
// Language code.
LanguageCode string `protobuf:"bytes,8,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Output only. URI of Customer's Admin console dashboard.
AdminConsoleUri string `protobuf:"bytes,10,opt,name=admin_console_uri,json=adminConsoleUri,proto3" json:"admin_console_uri,omitempty"`
// Edu information about the customer.
EduData *EduData `protobuf:"bytes,22,opt,name=edu_data,json=eduData,proto3" json:"edu_data,omitempty"`
// contains filtered or unexported fields
}Cloud Identity information for the Cloud Channel Customer.
func (*CloudIdentityInfo) Descriptor
func (*CloudIdentityInfo) Descriptor() ([]byte, []int)Deprecated: Use CloudIdentityInfo.ProtoReflect.Descriptor instead.
func (*CloudIdentityInfo) GetAdminConsoleUri
func (x *CloudIdentityInfo) GetAdminConsoleUri() stringfunc (*CloudIdentityInfo) GetAlternateEmail
func (x *CloudIdentityInfo) GetAlternateEmail() stringfunc (*CloudIdentityInfo) GetCustomerType
func (x *CloudIdentityInfo) GetCustomerType() CloudIdentityInfo_CustomerTypefunc (*CloudIdentityInfo) GetEduData
func (x *CloudIdentityInfo) GetEduData() *EduDatafunc (*CloudIdentityInfo) GetIsDomainVerified
func (x *CloudIdentityInfo) GetIsDomainVerified() boolfunc (*CloudIdentityInfo) GetLanguageCode
func (x *CloudIdentityInfo) GetLanguageCode() stringfunc (*CloudIdentityInfo) GetPhoneNumber
func (x *CloudIdentityInfo) GetPhoneNumber() stringfunc (*CloudIdentityInfo) GetPrimaryDomain
func (x *CloudIdentityInfo) GetPrimaryDomain() stringfunc (*CloudIdentityInfo) ProtoMessage
func (*CloudIdentityInfo) ProtoMessage()func (*CloudIdentityInfo) ProtoReflect
func (x *CloudIdentityInfo) ProtoReflect() protoreflect.Messagefunc (*CloudIdentityInfo) Reset
func (x *CloudIdentityInfo) Reset()func (*CloudIdentityInfo) String
func (x *CloudIdentityInfo) String() stringCloudIdentityInfo_CustomerType
type CloudIdentityInfo_CustomerType int32CustomerType of the customer
CloudIdentityInfo_CUSTOMER_TYPE_UNSPECIFIED, CloudIdentityInfo_DOMAIN, CloudIdentityInfo_TEAM
const (
// Not used.
CloudIdentityInfo_CUSTOMER_TYPE_UNSPECIFIED CloudIdentityInfo_CustomerType = 0
// Domain-owning customer which needs domain verification to use services.
CloudIdentityInfo_DOMAIN CloudIdentityInfo_CustomerType = 1
// Team customer which needs email verification to use services.
CloudIdentityInfo_TEAM CloudIdentityInfo_CustomerType = 2
)func (CloudIdentityInfo_CustomerType) Descriptor
func (CloudIdentityInfo_CustomerType) Descriptor() protoreflect.EnumDescriptorfunc (CloudIdentityInfo_CustomerType) Enum
func (x CloudIdentityInfo_CustomerType) Enum() *CloudIdentityInfo_CustomerTypefunc (CloudIdentityInfo_CustomerType) EnumDescriptor
func (CloudIdentityInfo_CustomerType) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudIdentityInfo_CustomerType.Descriptor instead.
func (CloudIdentityInfo_CustomerType) Number
func (x CloudIdentityInfo_CustomerType) Number() protoreflect.EnumNumberfunc (CloudIdentityInfo_CustomerType) String
func (x CloudIdentityInfo_CustomerType) String() stringfunc (CloudIdentityInfo_CustomerType) Type
func (CloudIdentityInfo_CustomerType) Type() protoreflect.EnumTypeColumn (deprecated)
type Column struct {
// The unique name of the column (for example, customer_domain,
// channel_partner, customer_cost). You can use column IDs in
// [RunReportJobRequest.filter][google.cloud.channel.v1.RunReportJobRequest.filter].
// To see all reports and their columns, call
// [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
ColumnId string `protobuf:"bytes,1,opt,name=column_id,json=columnId,proto3" json:"column_id,omitempty"`
// The column's display name.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The type of the values for this column.
DataType Column_DataType `protobuf:"varint,3,opt,name=data_type,json=dataType,proto3,enum=google.cloud.channel.v1.Column_DataType" json:"data_type,omitempty"`
// contains filtered or unexported fields
}The definition of a report column. Specifies the data properties in the corresponding position of the report rows.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*Column) Descriptor (deprecated)
Deprecated: Use Column.ProtoReflect.Descriptor instead.
func (*Column) GetColumnId (deprecated)
func (*Column) GetDataType (deprecated)
func (x *Column) GetDataType() Column_DataTypefunc (*Column) GetDisplayName (deprecated)
func (*Column) ProtoMessage (deprecated)
func (*Column) ProtoMessage()func (*Column) ProtoReflect (deprecated)
func (x *Column) ProtoReflect() protoreflect.Messagefunc (*Column) Reset (deprecated)
func (x *Column) Reset()func (*Column) String (deprecated)
Column_DataType
type Column_DataType int32Available data types for columns. Corresponds to the fields in the
ReportValue oneof field.
Column_DATA_TYPE_UNSPECIFIED, Column_STRING, Column_INT, Column_DECIMAL, Column_MONEY, Column_DATE, Column_DATE_TIME
const (
// Not used.
Column_DATA_TYPE_UNSPECIFIED Column_DataType = 0
// ReportValues for this column will use string_value.
Column_STRING Column_DataType = 1
// ReportValues for this column will use int_value.
Column_INT Column_DataType = 2
// ReportValues for this column will use decimal_value.
Column_DECIMAL Column_DataType = 3
// ReportValues for this column will use money_value.
Column_MONEY Column_DataType = 4
// ReportValues for this column will use date_value.
Column_DATE Column_DataType = 5
// ReportValues for this column will use date_time_value.
Column_DATE_TIME Column_DataType = 6
)func (Column_DataType) Descriptor
func (Column_DataType) Descriptor() protoreflect.EnumDescriptorfunc (Column_DataType) Enum
func (x Column_DataType) Enum() *Column_DataTypefunc (Column_DataType) EnumDescriptor
func (Column_DataType) EnumDescriptor() ([]byte, []int)Deprecated: Use Column_DataType.Descriptor instead.
func (Column_DataType) Number
func (x Column_DataType) Number() protoreflect.EnumNumberfunc (Column_DataType) String
func (x Column_DataType) String() stringfunc (Column_DataType) Type
func (Column_DataType) Type() protoreflect.EnumTypeCommitmentSettings
type CommitmentSettings struct {
// Output only. Commitment start timestamp.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Commitment end timestamp.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Optional. Renewal settings applicable for a commitment-based Offer.
RenewalSettings *RenewalSettings `protobuf:"bytes,4,opt,name=renewal_settings,json=renewalSettings,proto3" json:"renewal_settings,omitempty"`
// contains filtered or unexported fields
}Commitment settings for commitment-based offers.
func (*CommitmentSettings) Descriptor
func (*CommitmentSettings) Descriptor() ([]byte, []int)Deprecated: Use CommitmentSettings.ProtoReflect.Descriptor instead.
func (*CommitmentSettings) GetEndTime
func (x *CommitmentSettings) GetEndTime() *timestamppb.Timestampfunc (*CommitmentSettings) GetRenewalSettings
func (x *CommitmentSettings) GetRenewalSettings() *RenewalSettingsfunc (*CommitmentSettings) GetStartTime
func (x *CommitmentSettings) GetStartTime() *timestamppb.Timestampfunc (*CommitmentSettings) ProtoMessage
func (*CommitmentSettings) ProtoMessage()func (*CommitmentSettings) ProtoReflect
func (x *CommitmentSettings) ProtoReflect() protoreflect.Messagefunc (*CommitmentSettings) Reset
func (x *CommitmentSettings) Reset()func (*CommitmentSettings) String
func (x *CommitmentSettings) String() stringConditionalOverride
type ConditionalOverride struct {
// Required. Information about the applied override's adjustment.
Adjustment *RepricingAdjustment `protobuf:"bytes,1,opt,name=adjustment,proto3" json:"adjustment,omitempty"`
// Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
// use for the applied override. Shows the relative cost based on your
// repricing costs.
RebillingBasis RebillingBasis `protobuf:"varint,2,opt,name=rebilling_basis,json=rebillingBasis,proto3,enum=google.cloud.channel.v1.RebillingBasis" json:"rebilling_basis,omitempty"`
// Required. Specifies the condition which, if met, will apply the override.
RepricingCondition *RepricingCondition `protobuf:"bytes,3,opt,name=repricing_condition,json=repricingCondition,proto3" json:"repricing_condition,omitempty"`
// contains filtered or unexported fields
}Specifies the override to conditionally apply.
func (*ConditionalOverride) Descriptor
func (*ConditionalOverride) Descriptor() ([]byte, []int)Deprecated: Use ConditionalOverride.ProtoReflect.Descriptor instead.
func (*ConditionalOverride) GetAdjustment
func (x *ConditionalOverride) GetAdjustment() *RepricingAdjustmentfunc (*ConditionalOverride) GetRebillingBasis
func (x *ConditionalOverride) GetRebillingBasis() RebillingBasisfunc (*ConditionalOverride) GetRepricingCondition
func (x *ConditionalOverride) GetRepricingCondition() *RepricingConditionfunc (*ConditionalOverride) ProtoMessage
func (*ConditionalOverride) ProtoMessage()func (*ConditionalOverride) ProtoReflect
func (x *ConditionalOverride) ProtoReflect() protoreflect.Messagefunc (*ConditionalOverride) Reset
func (x *ConditionalOverride) Reset()func (*ConditionalOverride) String
func (x *ConditionalOverride) String() stringConstraints
type Constraints struct {
// Represents constraints required to purchase the Offer for a customer.
CustomerConstraints *CustomerConstraints `protobuf:"bytes,1,opt,name=customer_constraints,json=customerConstraints,proto3" json:"customer_constraints,omitempty"`
// contains filtered or unexported fields
}Represents the constraints for buying the Offer.
func (*Constraints) Descriptor
func (*Constraints) Descriptor() ([]byte, []int)Deprecated: Use Constraints.ProtoReflect.Descriptor instead.
func (*Constraints) GetCustomerConstraints
func (x *Constraints) GetCustomerConstraints() *CustomerConstraintsfunc (*Constraints) ProtoMessage
func (*Constraints) ProtoMessage()func (*Constraints) ProtoReflect
func (x *Constraints) ProtoReflect() protoreflect.Messagefunc (*Constraints) Reset
func (x *Constraints) Reset()func (*Constraints) String
func (x *Constraints) String() stringContactInfo
type ContactInfo struct {
// The customer account contact's first name. Optional for Team customers.
FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
// The customer account contact's last name. Optional for Team customers.
LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
// Output only. The customer account contact's display name, formatted as a
// combination of the customer's first and last name.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The customer account's contact email. Required for entitlements that create
// admin.google.com accounts, and serves as the customer's username for those
// accounts. Use this email to invite Team customers.
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
// Optional. The customer account contact's job title.
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
// The customer account's contact phone number.
Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"`
// contains filtered or unexported fields
}Contact information for a customer account.
func (*ContactInfo) Descriptor
func (*ContactInfo) Descriptor() ([]byte, []int)Deprecated: Use ContactInfo.ProtoReflect.Descriptor instead.
func (*ContactInfo) GetDisplayName
func (x *ContactInfo) GetDisplayName() stringfunc (*ContactInfo) GetEmail
func (x *ContactInfo) GetEmail() stringfunc (*ContactInfo) GetFirstName
func (x *ContactInfo) GetFirstName() stringfunc (*ContactInfo) GetLastName
func (x *ContactInfo) GetLastName() stringfunc (*ContactInfo) GetPhone
func (x *ContactInfo) GetPhone() stringfunc (*ContactInfo) GetTitle
func (x *ContactInfo) GetTitle() stringfunc (*ContactInfo) ProtoMessage
func (*ContactInfo) ProtoMessage()func (*ContactInfo) ProtoReflect
func (x *ContactInfo) ProtoReflect() protoreflect.Messagefunc (*ContactInfo) Reset
func (x *ContactInfo) Reset()func (*ContactInfo) String
func (x *ContactInfo) String() stringCreateChannelPartnerLinkRequest
type CreateChannelPartnerLinkRequest struct {
// Required. Create a channel partner link for the provided 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. The channel partner link to create.
// Either channel_partner_link.reseller_cloud_identity_id or domain can be
// used to create a link.
ChannelPartnerLink *ChannelPartnerLink `protobuf:"bytes,2,opt,name=channel_partner_link,json=channelPartnerLink,proto3" json:"channel_partner_link,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink]
func (*CreateChannelPartnerLinkRequest) Descriptor
func (*CreateChannelPartnerLinkRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateChannelPartnerLinkRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelPartnerLinkRequest) GetChannelPartnerLink
func (x *CreateChannelPartnerLinkRequest) GetChannelPartnerLink() *ChannelPartnerLinkfunc (*CreateChannelPartnerLinkRequest) GetParent
func (x *CreateChannelPartnerLinkRequest) GetParent() stringfunc (*CreateChannelPartnerLinkRequest) ProtoMessage
func (*CreateChannelPartnerLinkRequest) ProtoMessage()func (*CreateChannelPartnerLinkRequest) ProtoReflect
func (x *CreateChannelPartnerLinkRequest) ProtoReflect() protoreflect.Messagefunc (*CreateChannelPartnerLinkRequest) Reset
func (x *CreateChannelPartnerLinkRequest) Reset()func (*CreateChannelPartnerLinkRequest) String
func (x *CreateChannelPartnerLinkRequest) String() stringCreateChannelPartnerRepricingConfigRequest
type CreateChannelPartnerRepricingConfigRequest struct {
// Required. The resource name of the ChannelPartner that will receive the
// repricing config. Parent uses the format:
// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ChannelPartnerRepricingConfig object to update.
ChannelPartnerRepricingConfig *ChannelPartnerRepricingConfig `protobuf:"bytes,2,opt,name=channel_partner_repricing_config,json=channelPartnerRepricingConfig,proto3" json:"channel_partner_repricing_config,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig].
func (*CreateChannelPartnerRepricingConfigRequest) Descriptor
func (*CreateChannelPartnerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateChannelPartnerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelPartnerRepricingConfigRequest) GetChannelPartnerRepricingConfig
func (x *CreateChannelPartnerRepricingConfigRequest) GetChannelPartnerRepricingConfig() *ChannelPartnerRepricingConfigfunc (*CreateChannelPartnerRepricingConfigRequest) GetParent
func (x *CreateChannelPartnerRepricingConfigRequest) GetParent() stringfunc (*CreateChannelPartnerRepricingConfigRequest) ProtoMessage
func (*CreateChannelPartnerRepricingConfigRequest) ProtoMessage()func (*CreateChannelPartnerRepricingConfigRequest) ProtoReflect
func (x *CreateChannelPartnerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateChannelPartnerRepricingConfigRequest) Reset
func (x *CreateChannelPartnerRepricingConfigRequest) Reset()func (*CreateChannelPartnerRepricingConfigRequest) String
func (x *CreateChannelPartnerRepricingConfigRequest) String() stringCreateCustomerRepricingConfigRequest
type CreateCustomerRepricingConfigRequest struct {
// Required. The resource name of the customer that will receive this
// repricing config. Parent uses the format:
// accounts/{account_id}/customers/{customer_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The CustomerRepricingConfig object to update.
CustomerRepricingConfig *CustomerRepricingConfig `protobuf:"bytes,2,opt,name=customer_repricing_config,json=customerRepricingConfig,proto3" json:"customer_repricing_config,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig].
func (*CreateCustomerRepricingConfigRequest) Descriptor
func (*CreateCustomerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCustomerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateCustomerRepricingConfigRequest) GetCustomerRepricingConfig
func (x *CreateCustomerRepricingConfigRequest) GetCustomerRepricingConfig() *CustomerRepricingConfigfunc (*CreateCustomerRepricingConfigRequest) GetParent
func (x *CreateCustomerRepricingConfigRequest) GetParent() stringfunc (*CreateCustomerRepricingConfigRequest) ProtoMessage
func (*CreateCustomerRepricingConfigRequest) ProtoMessage()func (*CreateCustomerRepricingConfigRequest) ProtoReflect
func (x *CreateCustomerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCustomerRepricingConfigRequest) Reset
func (x *CreateCustomerRepricingConfigRequest) Reset()func (*CreateCustomerRepricingConfigRequest) String
func (x *CreateCustomerRepricingConfigRequest) String() stringCreateCustomerRequest
type CreateCustomerRequest struct {
// Required. The resource name of reseller account in which to create the
// customer. Parent uses the format: accounts/{account_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The customer to create.
Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer]
func (*CreateCustomerRequest) Descriptor
func (*CreateCustomerRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCustomerRequest.ProtoReflect.Descriptor instead.
func (*CreateCustomerRequest) GetCustomer
func (x *CreateCustomerRequest) GetCustomer() *Customerfunc (*CreateCustomerRequest) GetParent
func (x *CreateCustomerRequest) GetParent() stringfunc (*CreateCustomerRequest) ProtoMessage
func (*CreateCustomerRequest) ProtoMessage()func (*CreateCustomerRequest) ProtoReflect
func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCustomerRequest) Reset
func (x *CreateCustomerRequest) Reset()func (*CreateCustomerRequest) String
func (x *CreateCustomerRequest) String() stringCreateEntitlementRequest
type CreateEntitlementRequest struct {
// Required. The resource name of the reseller's customer account in which to
// create the entitlement. Parent uses the format:
// accounts/{account_id}/customers/{customer_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The entitlement to create.
Entitlement *Entitlement `protobuf:"bytes,2,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// Optional. 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.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement]
func (*CreateEntitlementRequest) Descriptor
func (*CreateEntitlementRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateEntitlementRequest.ProtoReflect.Descriptor instead.
func (*CreateEntitlementRequest) GetEntitlement
func (x *CreateEntitlementRequest) GetEntitlement() *Entitlementfunc (*CreateEntitlementRequest) GetParent
func (x *CreateEntitlementRequest) GetParent() stringfunc (*CreateEntitlementRequest) GetRequestId
func (x *CreateEntitlementRequest) GetRequestId() stringfunc (*CreateEntitlementRequest) ProtoMessage
func (*CreateEntitlementRequest) ProtoMessage()func (*CreateEntitlementRequest) ProtoReflect
func (x *CreateEntitlementRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEntitlementRequest) Reset
func (x *CreateEntitlementRequest) Reset()func (*CreateEntitlementRequest) String
func (x *CreateEntitlementRequest) String() stringCustomer
type Customer struct {
// Output only. Resource name of the customer.
// Format: accounts/{account_id}/customers/{customer_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Name of the organization that the customer entity represents.
OrgDisplayName string `protobuf:"bytes,2,opt,name=org_display_name,json=orgDisplayName,proto3" json:"org_display_name,omitempty"`
// Required. The organization address for the customer. To enforce US laws and
// embargoes, we require a region, postal code, and address lines. You must
// provide valid addresses for every customer. To set the customer's
// language, use the Customer-level language code.
OrgPostalAddress *postaladdress.PostalAddress `protobuf:"bytes,3,opt,name=org_postal_address,json=orgPostalAddress,proto3" json:"org_postal_address,omitempty"`
// Primary contact info.
PrimaryContactInfo *ContactInfo `protobuf:"bytes,4,opt,name=primary_contact_info,json=primaryContactInfo,proto3" json:"primary_contact_info,omitempty"`
// Secondary contact email. You need to provide an alternate email to create
// different domains if a primary contact email already exists. Users will
// receive a notification with credentials when you create an admin.google.com
// account. Secondary emails are also recovery email addresses. Alternate
// emails are optional when you create Team customers.
AlternateEmail string `protobuf:"bytes,5,opt,name=alternate_email,json=alternateEmail,proto3" json:"alternate_email,omitempty"`
// Required. The customer's primary domain. Must match the primary contact
// email's domain.
Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
// Output only. Time when the customer was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the customer was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The customer's Cloud Identity ID if the customer has a Cloud
// Identity resource.
CloudIdentityId string `protobuf:"bytes,9,opt,name=cloud_identity_id,json=cloudIdentityId,proto3" json:"cloud_identity_id,omitempty"`
// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
// information, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Output only. Cloud Identity information for the customer.
// Populated only if a Cloud Identity account exists for this customer.
CloudIdentityInfo *CloudIdentityInfo `protobuf:"bytes,12,opt,name=cloud_identity_info,json=cloudIdentityInfo,proto3" json:"cloud_identity_info,omitempty"`
// Cloud Identity ID of the customer's channel partner.
// Populated only if a channel partner exists for this customer.
ChannelPartnerId string `protobuf:"bytes,13,opt,name=channel_partner_id,json=channelPartnerId,proto3" json:"channel_partner_id,omitempty"`
// Optional. External CRM ID for the customer.
// Populated only if a CRM ID exists for this customer.
CorrelationId string `protobuf:"bytes,14,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
// Optional. Indicate whether a customer is attesting about the correctness of
// provided information. Only required if creating a GCP Entitlement.
CustomerAttestationState Customer_CustomerAttestationState `protobuf:"varint,16,opt,name=customer_attestation_state,json=customerAttestationState,proto3,enum=google.cloud.channel.v1.Customer_CustomerAttestationState" json:"customer_attestation_state,omitempty"`
// contains filtered or unexported fields
}Entity representing a customer of a reseller or distributor.
func (*Customer) Descriptor
Deprecated: Use Customer.ProtoReflect.Descriptor instead.
func (*Customer) GetAlternateEmail
func (*Customer) GetChannelPartnerId
func (*Customer) GetCloudIdentityId
func (*Customer) GetCloudIdentityInfo
func (x *Customer) GetCloudIdentityInfo() *CloudIdentityInfofunc (*Customer) GetCorrelationId
func (*Customer) GetCreateTime
func (x *Customer) GetCreateTime() *timestamppb.Timestampfunc (*Customer) GetCustomerAttestationState
func (x *Customer) GetCustomerAttestationState() Customer_CustomerAttestationStatefunc (*Customer) GetDomain
func (*Customer) GetLanguageCode
func (*Customer) GetName
func (*Customer) GetOrgDisplayName
func (*Customer) GetOrgPostalAddress
func (x *Customer) GetOrgPostalAddress() *postaladdress.PostalAddressfunc (*Customer) GetPrimaryContactInfo
func (x *Customer) GetPrimaryContactInfo() *ContactInfofunc (*Customer) GetUpdateTime
func (x *Customer) GetUpdateTime() *timestamppb.Timestampfunc (*Customer) ProtoMessage
func (*Customer) ProtoMessage()func (*Customer) ProtoReflect
func (x *Customer) ProtoReflect() protoreflect.Messagefunc (*Customer) Reset
func (x *Customer) Reset()func (*Customer) String
CustomerConstraints
type CustomerConstraints struct {
// Allowed geographical regions of the customer.
AllowedRegions []string `protobuf:"bytes,1,rep,name=allowed_regions,json=allowedRegions,proto3" json:"allowed_regions,omitempty"`
// Allowed Customer Type.
AllowedCustomerTypes []CloudIdentityInfo_CustomerType `protobuf:"varint,2,rep,packed,name=allowed_customer_types,json=allowedCustomerTypes,proto3,enum=google.cloud.channel.v1.CloudIdentityInfo_CustomerType" json:"allowed_customer_types,omitempty"`
// Allowed Promotional Order Type. Present for Promotional offers.
PromotionalOrderTypes []PromotionalOrderType `protobuf:"varint,3,rep,packed,name=promotional_order_types,json=promotionalOrderTypes,proto3,enum=google.cloud.channel.v1.PromotionalOrderType" json:"promotional_order_types,omitempty"`
// contains filtered or unexported fields
}Represents constraints required to purchase the Offer for a customer.
func (*CustomerConstraints) Descriptor
func (*CustomerConstraints) Descriptor() ([]byte, []int)Deprecated: Use CustomerConstraints.ProtoReflect.Descriptor instead.
func (*CustomerConstraints) GetAllowedCustomerTypes
func (x *CustomerConstraints) GetAllowedCustomerTypes() []CloudIdentityInfo_CustomerTypefunc (*CustomerConstraints) GetAllowedRegions
func (x *CustomerConstraints) GetAllowedRegions() []stringfunc (*CustomerConstraints) GetPromotionalOrderTypes
func (x *CustomerConstraints) GetPromotionalOrderTypes() []PromotionalOrderTypefunc (*CustomerConstraints) ProtoMessage
func (*CustomerConstraints) ProtoMessage()func (*CustomerConstraints) ProtoReflect
func (x *CustomerConstraints) ProtoReflect() protoreflect.Messagefunc (*CustomerConstraints) Reset
func (x *CustomerConstraints) Reset()func (*CustomerConstraints) String
func (x *CustomerConstraints) String() stringCustomerEvent
type CustomerEvent struct {
// Resource name of the customer.
// Format: accounts/{account_id}/customers/{customer_id}
Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
// Type of event which happened on the customer.
EventType CustomerEvent_Type `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.cloud.channel.v1.CustomerEvent_Type" json:"event_type,omitempty"`
// contains filtered or unexported fields
}Represents Pub/Sub message content describing customer update.
func (*CustomerEvent) Descriptor
func (*CustomerEvent) Descriptor() ([]byte, []int)Deprecated: Use CustomerEvent.ProtoReflect.Descriptor instead.
func (*CustomerEvent) GetCustomer
func (x *CustomerEvent) GetCustomer() stringfunc (*CustomerEvent) GetEventType
func (x *CustomerEvent) GetEventType() CustomerEvent_Typefunc (*CustomerEvent) ProtoMessage
func (*CustomerEvent) ProtoMessage()func (*CustomerEvent) ProtoReflect
func (x *CustomerEvent) ProtoReflect() protoreflect.Messagefunc (*CustomerEvent) Reset
func (x *CustomerEvent) Reset()func (*CustomerEvent) String
func (x *CustomerEvent) String() stringCustomerEvent_Type
type CustomerEvent_Type int32Type of customer event.
CustomerEvent_TYPE_UNSPECIFIED, CustomerEvent_PRIMARY_DOMAIN_CHANGED, CustomerEvent_PRIMARY_DOMAIN_VERIFIED
const (
// Not used.
CustomerEvent_TYPE_UNSPECIFIED CustomerEvent_Type = 0
// Primary domain for customer was changed.
CustomerEvent_PRIMARY_DOMAIN_CHANGED CustomerEvent_Type = 1
// Primary domain of the customer has been verified.
CustomerEvent_PRIMARY_DOMAIN_VERIFIED CustomerEvent_Type = 2
)func (CustomerEvent_Type) Descriptor
func (CustomerEvent_Type) Descriptor() protoreflect.EnumDescriptorfunc (CustomerEvent_Type) Enum
func (x CustomerEvent_Type) Enum() *CustomerEvent_Typefunc (CustomerEvent_Type) EnumDescriptor
func (CustomerEvent_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use CustomerEvent_Type.Descriptor instead.
func (CustomerEvent_Type) Number
func (x CustomerEvent_Type) Number() protoreflect.EnumNumberfunc (CustomerEvent_Type) String
func (x CustomerEvent_Type) String() stringfunc (CustomerEvent_Type) Type
func (CustomerEvent_Type) Type() protoreflect.EnumTypeCustomerRepricingConfig
type CustomerRepricingConfig struct {
// Output only. Resource name of the CustomerRepricingConfig.
// Format:
// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{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 customers.
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 reseller will reprice a Customer.
func (*CustomerRepricingConfig) Descriptor
func (*CustomerRepricingConfig) Descriptor() ([]byte, []int)Deprecated: Use CustomerRepricingConfig.ProtoReflect.Descriptor instead.
func (*CustomerRepricingConfig) GetName
func (x *CustomerRepricingConfig) GetName() stringfunc (*CustomerRepricingConfig) GetRepricingConfig
func (x *CustomerRepricingConfig) GetRepricingConfig() *RepricingConfigfunc (*CustomerRepricingConfig) GetUpdateTime
func (x *CustomerRepricingConfig) GetUpdateTime() *timestamppb.Timestampfunc (*CustomerRepricingConfig) ProtoMessage
func (*CustomerRepricingConfig) ProtoMessage()func (*CustomerRepricingConfig) ProtoReflect
func (x *CustomerRepricingConfig) ProtoReflect() protoreflect.Messagefunc (*CustomerRepricingConfig) Reset
func (x *CustomerRepricingConfig) Reset()func (*CustomerRepricingConfig) String
func (x *CustomerRepricingConfig) String() stringCustomer_CustomerAttestationState
type Customer_CustomerAttestationState int32The enum represents whether a customer belongs to public sector
Customer_CUSTOMER_ATTESTATION_STATE_UNSPECIFIED, Customer_EXEMPT, Customer_NON_EXEMPT_AND_INFO_VERIFIED
const (
// Default value if not set yet
Customer_CUSTOMER_ATTESTATION_STATE_UNSPECIFIED Customer_CustomerAttestationState = 0
// Customer is exempt from attesting based on exemption list at
// https://cloud.google.com/terms/direct-tos-exemptions. Contact information
// of customer will be mandatory.
Customer_EXEMPT Customer_CustomerAttestationState = 1
// Customer is not exempt and has verified the information provided is
// correct. Contact information of customer will be mandatory.
Customer_NON_EXEMPT_AND_INFO_VERIFIED Customer_CustomerAttestationState = 2
)func (Customer_CustomerAttestationState) Descriptor
func (Customer_CustomerAttestationState) Descriptor() protoreflect.EnumDescriptorfunc (Customer_CustomerAttestationState) Enum
func (x Customer_CustomerAttestationState) Enum() *Customer_CustomerAttestationStatefunc (Customer_CustomerAttestationState) EnumDescriptor
func (Customer_CustomerAttestationState) EnumDescriptor() ([]byte, []int)Deprecated: Use Customer_CustomerAttestationState.Descriptor instead.
func (Customer_CustomerAttestationState) Number
func (x Customer_CustomerAttestationState) Number() protoreflect.EnumNumberfunc (Customer_CustomerAttestationState) String
func (x Customer_CustomerAttestationState) String() stringfunc (Customer_CustomerAttestationState) Type
func (Customer_CustomerAttestationState) Type() protoreflect.EnumTypeDateRange (deprecated)
type DateRange struct {
// The earliest usage date time (inclusive).
//
// If you use time groupings (daily, weekly, etc), each group uses
// midnight to midnight (Pacific time). The usage start date is
// rounded down to include all usage from the specified date. We recommend
// that clients pass `usage_start_date_time` in Pacific time.
UsageStartDateTime *datetime.DateTime `protobuf:"bytes,1,opt,name=usage_start_date_time,json=usageStartDateTime,proto3" json:"usage_start_date_time,omitempty"`
// The latest usage date time (exclusive).
//
// If you use time groupings (daily, weekly, etc), each group uses
// midnight to midnight (Pacific time). The usage end date is
// rounded down to include all usage from the specified date. We recommend
// that clients pass `usage_start_date_time` in Pacific time.
UsageEndDateTime *datetime.DateTime `protobuf:"bytes,2,opt,name=usage_end_date_time,json=usageEndDateTime,proto3" json:"usage_end_date_time,omitempty"`
// The earliest invoice date (inclusive).
//
// If this value is not the first day of a month, this will move it back to
// the first day of the given month.
InvoiceStartDate *date.Date `protobuf:"bytes,3,opt,name=invoice_start_date,json=invoiceStartDate,proto3" json:"invoice_start_date,omitempty"`
// The latest invoice date (inclusive).
//
// If this value is not the last day of a month, this will move it forward to
// the last day of the given month.
InvoiceEndDate *date.Date `protobuf:"bytes,4,opt,name=invoice_end_date,json=invoiceEndDate,proto3" json:"invoice_end_date,omitempty"`
// contains filtered or unexported fields
}A representation of usage or invoice date ranges.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*DateRange) Descriptor (deprecated)
Deprecated: Use DateRange.ProtoReflect.Descriptor instead.
func (*DateRange) GetInvoiceEndDate (deprecated)
func (*DateRange) GetInvoiceStartDate (deprecated)
func (*DateRange) GetUsageEndDateTime (deprecated)
func (*DateRange) GetUsageStartDateTime (deprecated)
func (*DateRange) ProtoMessage (deprecated)
func (*DateRange) ProtoMessage()func (*DateRange) ProtoReflect (deprecated)
func (x *DateRange) ProtoReflect() protoreflect.Messagefunc (*DateRange) Reset (deprecated)
func (x *DateRange) Reset()func (*DateRange) String (deprecated)
DeleteChannelPartnerRepricingConfigRequest
type DeleteChannelPartnerRepricingConfigRequest struct {
// Required. The resource name of the channel partner repricing config rule to
// delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for DeleteChannelPartnerRepricingConfig.
func (*DeleteChannelPartnerRepricingConfigRequest) Descriptor
func (*DeleteChannelPartnerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteChannelPartnerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelPartnerRepricingConfigRequest) GetName
func (x *DeleteChannelPartnerRepricingConfigRequest) GetName() stringfunc (*DeleteChannelPartnerRepricingConfigRequest) ProtoMessage
func (*DeleteChannelPartnerRepricingConfigRequest) ProtoMessage()func (*DeleteChannelPartnerRepricingConfigRequest) ProtoReflect
func (x *DeleteChannelPartnerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteChannelPartnerRepricingConfigRequest) Reset
func (x *DeleteChannelPartnerRepricingConfigRequest) Reset()func (*DeleteChannelPartnerRepricingConfigRequest) String
func (x *DeleteChannelPartnerRepricingConfigRequest) String() stringDeleteCustomerRepricingConfigRequest
type DeleteCustomerRepricingConfigRequest struct {
// Required. The resource name of the customer repricing config rule to
// delete. Format:
// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig].
func (*DeleteCustomerRepricingConfigRequest) Descriptor
func (*DeleteCustomerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteCustomerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteCustomerRepricingConfigRequest) GetName
func (x *DeleteCustomerRepricingConfigRequest) GetName() stringfunc (*DeleteCustomerRepricingConfigRequest) ProtoMessage
func (*DeleteCustomerRepricingConfigRequest) ProtoMessage()func (*DeleteCustomerRepricingConfigRequest) ProtoReflect
func (x *DeleteCustomerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCustomerRepricingConfigRequest) Reset
func (x *DeleteCustomerRepricingConfigRequest) Reset()func (*DeleteCustomerRepricingConfigRequest) String
func (x *DeleteCustomerRepricingConfigRequest) String() stringDeleteCustomerRequest
type DeleteCustomerRequest struct {
// Required. The resource name of the customer to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer].
func (*DeleteCustomerRequest) Descriptor
func (*DeleteCustomerRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteCustomerRequest.ProtoReflect.Descriptor instead.
func (*DeleteCustomerRequest) GetName
func (x *DeleteCustomerRequest) GetName() stringfunc (*DeleteCustomerRequest) ProtoMessage
func (*DeleteCustomerRequest) ProtoMessage()func (*DeleteCustomerRequest) ProtoReflect
func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCustomerRequest) Reset
func (x *DeleteCustomerRequest) Reset()func (*DeleteCustomerRequest) String
func (x *DeleteCustomerRequest) String() stringEduData
type EduData struct {
// Designated institute type of customer.
InstituteType EduData_InstituteType `protobuf:"varint,1,opt,name=institute_type,json=instituteType,proto3,enum=google.cloud.channel.v1.EduData_InstituteType" json:"institute_type,omitempty"`
// Size of the institute.
InstituteSize EduData_InstituteSize `protobuf:"varint,2,opt,name=institute_size,json=instituteSize,proto3,enum=google.cloud.channel.v1.EduData_InstituteSize" json:"institute_size,omitempty"`
// Web address for the edu customer's institution.
Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
// contains filtered or unexported fields
}Required Edu Attributes
func (*EduData) Descriptor
Deprecated: Use EduData.ProtoReflect.Descriptor instead.
func (*EduData) GetInstituteSize
func (x *EduData) GetInstituteSize() EduData_InstituteSizefunc (*EduData) GetInstituteType
func (x *EduData) GetInstituteType() EduData_InstituteTypefunc (*EduData) GetWebsite
func (*EduData) ProtoMessage
func (*EduData) ProtoMessage()func (*EduData) ProtoReflect
func (x *EduData) ProtoReflect() protoreflect.Messagefunc (*EduData) Reset
func (x *EduData) Reset()func (*EduData) String
EduData_InstituteSize
type EduData_InstituteSize int32Number of students and staff the institute has.
EduData_INSTITUTE_SIZE_UNSPECIFIED, EduData_SIZE_1_100, EduData_SIZE_101_500, EduData_SIZE_501_1000, EduData_SIZE_1001_2000, EduData_SIZE_2001_5000, EduData_SIZE_5001_10000, EduData_SIZE_10001_OR_MORE
const (
// Not used.
EduData_INSTITUTE_SIZE_UNSPECIFIED EduData_InstituteSize = 0
// 1 - 100
EduData_SIZE_1_100 EduData_InstituteSize = 1
// 101 - 500
EduData_SIZE_101_500 EduData_InstituteSize = 2
// 501 - 1,000
EduData_SIZE_501_1000 EduData_InstituteSize = 3
// 1,001 - 2,000
EduData_SIZE_1001_2000 EduData_InstituteSize = 4
// 2,001 - 5,000
EduData_SIZE_2001_5000 EduData_InstituteSize = 5
// 5,001 - 10,000
EduData_SIZE_5001_10000 EduData_InstituteSize = 6
// 10,001 +
EduData_SIZE_10001_OR_MORE EduData_InstituteSize = 7
)func (EduData_InstituteSize) Descriptor
func (EduData_InstituteSize) Descriptor() protoreflect.EnumDescriptorfunc (EduData_InstituteSize) Enum
func (x EduData_InstituteSize) Enum() *EduData_InstituteSizefunc (EduData_InstituteSize) EnumDescriptor
func (EduData_InstituteSize) EnumDescriptor() ([]byte, []int)Deprecated: Use EduData_InstituteSize.Descriptor instead.
func (EduData_InstituteSize) Number
func (x EduData_InstituteSize) Number() protoreflect.EnumNumberfunc (EduData_InstituteSize) String
func (x EduData_InstituteSize) String() stringfunc (EduData_InstituteSize) Type
func (EduData_InstituteSize) Type() protoreflect.EnumTypeEduData_InstituteType
type EduData_InstituteType int32Enum to specify the institute type.
EduData_INSTITUTE_TYPE_UNSPECIFIED, EduData_K12, EduData_UNIVERSITY
const (
// Not used.
EduData_INSTITUTE_TYPE_UNSPECIFIED EduData_InstituteType = 0
// Elementary/Secondary Schools & Districts
EduData_K12 EduData_InstituteType = 1
// Higher Education Universities & Colleges
EduData_UNIVERSITY EduData_InstituteType = 2
)func (EduData_InstituteType) Descriptor
func (EduData_InstituteType) Descriptor() protoreflect.EnumDescriptorfunc (EduData_InstituteType) Enum
func (x EduData_InstituteType) Enum() *EduData_InstituteTypefunc (EduData_InstituteType) EnumDescriptor
func (EduData_InstituteType) EnumDescriptor() ([]byte, []int)Deprecated: Use EduData_InstituteType.Descriptor instead.
func (EduData_InstituteType) Number
func (x EduData_InstituteType) Number() protoreflect.EnumNumberfunc (EduData_InstituteType) String
func (x EduData_InstituteType) String() stringfunc (EduData_InstituteType) Type
func (EduData_InstituteType) Type() protoreflect.EnumTypeEntitlement
type Entitlement struct {
// Output only. Resource name of an entitlement in the form:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time at which the entitlement is created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time at which the entitlement is updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Required. The offer resource name for which the entitlement is to be
// created. Takes the form: accounts/{account_id}/offers/{offer_id}.
Offer string `protobuf:"bytes,8,opt,name=offer,proto3" json:"offer,omitempty"`
// Commitment settings for a commitment-based Offer.
// Required for commitment based offers.
CommitmentSettings *CommitmentSettings `protobuf:"bytes,12,opt,name=commitment_settings,json=commitmentSettings,proto3" json:"commitment_settings,omitempty"`
// Output only. Current provisioning state of the entitlement.
ProvisioningState Entitlement_ProvisioningState `protobuf:"varint,13,opt,name=provisioning_state,json=provisioningState,proto3,enum=google.cloud.channel.v1.Entitlement_ProvisioningState" json:"provisioning_state,omitempty"`
// Output only. Service provisioning details for the entitlement.
ProvisionedService *ProvisionedService `protobuf:"bytes,16,opt,name=provisioned_service,json=provisionedService,proto3" json:"provisioned_service,omitempty"`
// Output only. Enumerable of all current suspension reasons for an
// entitlement.
SuspensionReasons []Entitlement_SuspensionReason `protobuf:"varint,18,rep,packed,name=suspension_reasons,json=suspensionReasons,proto3,enum=google.cloud.channel.v1.Entitlement_SuspensionReason" json:"suspension_reasons,omitempty"`
// Optional. This purchase order (PO) information is for resellers to use for
// their company tracking usage. If a purchaseOrderId value is given, it
// appears in the API responses and shows up in the invoice. The property
// accepts up to 80 plain text characters. This is only supported for Google
// Workspace entitlements.
PurchaseOrderId string `protobuf:"bytes,19,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"`
// Output only. Settings for trial offers.
TrialSettings *TrialSettings `protobuf:"bytes,21,opt,name=trial_settings,json=trialSettings,proto3" json:"trial_settings,omitempty"`
// Association information to other entitlements.
AssociationInfo *AssociationInfo `protobuf:"bytes,23,opt,name=association_info,json=associationInfo,proto3" json:"association_info,omitempty"`
// Extended entitlement parameters. When creating an entitlement, valid
// parameter names and values are defined in the
// [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions].
//
// For Google Workspace, the following Parameters may be accepted as input:
//
// - max_units: The maximum assignable units for a flexible offer
//
// # OR
//
// - num_units: The total commitment for commitment-based offers
//
// The response may additionally include the following output-only Parameters:
//
// - assigned_units: The number of licenses assigned to users.
//
// For Google Cloud billing subaccounts, the following Parameter may be
// accepted as input:
//
// - display_name: The display name of the billing subaccount.
Parameters []*Parameter `protobuf:"bytes,26,rep,name=parameters,proto3" json:"parameters,omitempty"`
// Optional. The billing account resource name that is used to pay for this
// entitlement.
BillingAccount string `protobuf:"bytes,28,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// contains filtered or unexported fields
}An entitlement is a representation of a customer's ability to use a service.
func (*Entitlement) Descriptor
func (*Entitlement) Descriptor() ([]byte, []int)Deprecated: Use Entitlement.ProtoReflect.Descriptor instead.
func (*Entitlement) GetAssociationInfo
func (x *Entitlement) GetAssociationInfo() *AssociationInfofunc (*Entitlement) GetBillingAccount
func (x *Entitlement) GetBillingAccount() stringfunc (*Entitlement) GetCommitmentSettings
func (x *Entitlement) GetCommitmentSettings() *CommitmentSettingsfunc (*Entitlement) GetCreateTime
func (x *Entitlement) GetCreateTime() *timestamppb.Timestampfunc (*Entitlement) GetName
func (x *Entitlement) GetName() stringfunc (*Entitlement) GetOffer
func (x *Entitlement) GetOffer() stringfunc (*Entitlement) GetParameters
func (x *Entitlement) GetParameters() []*Parameterfunc (*Entitlement) GetProvisionedService
func (x *Entitlement) GetProvisionedService() *ProvisionedServicefunc (*Entitlement) GetProvisioningState
func (x *Entitlement) GetProvisioningState() Entitlement_ProvisioningStatefunc (*Entitlement) GetPurchaseOrderId
func (x *Entitlement) GetPurchaseOrderId() stringfunc (*Entitlement) GetSuspensionReasons
func (x *Entitlement) GetSuspensionReasons() []Entitlement_SuspensionReasonfunc (*Entitlement) GetTrialSettings
func (x *Entitlement) GetTrialSettings() *TrialSettingsfunc (*Entitlement) GetUpdateTime
func (x *Entitlement) GetUpdateTime() *timestamppb.Timestampfunc (*Entitlement) ProtoMessage
func (*Entitlement) ProtoMessage()func (*Entitlement) ProtoReflect
func (x *Entitlement) ProtoReflect() protoreflect.Messagefunc (*Entitlement) Reset
func (x *Entitlement) Reset()func (*Entitlement) String
func (x *Entitlement) String() stringEntitlementChange
type EntitlementChange struct {
// The reason the change was made
//
// Types that are assignable to ChangeReason:
//
// *EntitlementChange_SuspensionReason
// *EntitlementChange_CancellationReason_
// *EntitlementChange_ActivationReason_
// *EntitlementChange_OtherChangeReason
ChangeReason isEntitlementChange_ChangeReason `protobuf_oneof:"change_reason"`
// Required. Resource name of an entitlement in the form:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// Required. Resource name of the Offer at the time of change.
// Takes the form: accounts/{account_id}/offers/{offer_id}.
Offer string `protobuf:"bytes,2,opt,name=offer,proto3" json:"offer,omitempty"`
// Service provisioned for an Entitlement.
ProvisionedService *ProvisionedService `protobuf:"bytes,3,opt,name=provisioned_service,json=provisionedService,proto3" json:"provisioned_service,omitempty"`
// The change action type.
ChangeType EntitlementChange_ChangeType `protobuf:"varint,4,opt,name=change_type,json=changeType,proto3,enum=google.cloud.channel.v1.EntitlementChange_ChangeType" json:"change_type,omitempty"`
// The submitted time of the change.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Operator type responsible for the change.
OperatorType EntitlementChange_OperatorType `protobuf:"varint,6,opt,name=operator_type,json=operatorType,proto3,enum=google.cloud.channel.v1.EntitlementChange_OperatorType" json:"operator_type,omitempty"`
// Extended parameters, such as:
// purchase_order_number, gcp_details;
// internal_correlation_id, long_running_operation_id, order_id;
// etc.
Parameters []*Parameter `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"`
// Human-readable identifier that shows what operator made a change.
// When the operator_type is RESELLER, this is the user's email address.
// For all other operator types, this is empty.
Operator string `protobuf:"bytes,12,opt,name=operator,proto3" json:"operator,omitempty"`
// contains filtered or unexported fields
}Change event entry for Entitlement order history
func (*EntitlementChange) Descriptor
func (*EntitlementChange) Descriptor() ([]byte, []int)Deprecated: Use EntitlementChange.ProtoReflect.Descriptor instead.
func (*EntitlementChange) GetActivationReason
func (x *EntitlementChange) GetActivationReason() EntitlementChange_ActivationReasonfunc (*EntitlementChange) GetCancellationReason
func (x *EntitlementChange) GetCancellationReason() EntitlementChange_CancellationReasonfunc (*EntitlementChange) GetChangeReason
func (m *EntitlementChange) GetChangeReason() isEntitlementChange_ChangeReasonfunc (*EntitlementChange) GetChangeType
func (x *EntitlementChange) GetChangeType() EntitlementChange_ChangeTypefunc (*EntitlementChange) GetCreateTime
func (x *EntitlementChange) GetCreateTime() *timestamppb.Timestampfunc (*EntitlementChange) GetEntitlement
func (x *EntitlementChange) GetEntitlement() stringfunc (*EntitlementChange) GetOffer
func (x *EntitlementChange) GetOffer() stringfunc (*EntitlementChange) GetOperator
func (x *EntitlementChange) GetOperator() stringfunc (*EntitlementChange) GetOperatorType
func (x *EntitlementChange) GetOperatorType() EntitlementChange_OperatorTypefunc (*EntitlementChange) GetOtherChangeReason
func (x *EntitlementChange) GetOtherChangeReason() stringfunc (*EntitlementChange) GetParameters
func (x *EntitlementChange) GetParameters() []*Parameterfunc (*EntitlementChange) GetProvisionedService
func (x *EntitlementChange) GetProvisionedService() *ProvisionedServicefunc (*EntitlementChange) GetSuspensionReason
func (x *EntitlementChange) GetSuspensionReason() Entitlement_SuspensionReasonfunc (*EntitlementChange) ProtoMessage
func (*EntitlementChange) ProtoMessage()func (*EntitlementChange) ProtoReflect
func (x *EntitlementChange) ProtoReflect() protoreflect.Messagefunc (*EntitlementChange) Reset
func (x *EntitlementChange) Reset()func (*EntitlementChange) String
func (x *EntitlementChange) String() stringEntitlementChange_ActivationReason
type EntitlementChange_ActivationReason int32The Entitlement's activation reason
EntitlementChange_ACTIVATION_REASON_UNSPECIFIED, EntitlementChange_RESELLER_REVOKED_SUSPENSION, EntitlementChange_CUSTOMER_ACCEPTED_PENDING_TOS, EntitlementChange_RENEWAL_SETTINGS_CHANGED, EntitlementChange_OTHER_ACTIVATION_REASON
const (
// Not used.
EntitlementChange_ACTIVATION_REASON_UNSPECIFIED EntitlementChange_ActivationReason = 0
// Reseller reactivated a suspended Entitlement.
EntitlementChange_RESELLER_REVOKED_SUSPENSION EntitlementChange_ActivationReason = 1
// Customer accepted pending terms of service.
EntitlementChange_CUSTOMER_ACCEPTED_PENDING_TOS EntitlementChange_ActivationReason = 2
// Reseller updated the renewal settings on an entitlement that was
// suspended due to cancellation, and this update reactivated the
// entitlement.
EntitlementChange_RENEWAL_SETTINGS_CHANGED EntitlementChange_ActivationReason = 3
// Other reasons (Activated temporarily for cancellation, added a payment
// plan to a trial entitlement, etc.)
EntitlementChange_OTHER_ACTIVATION_REASON EntitlementChange_ActivationReason = 100
)func (EntitlementChange_ActivationReason) Descriptor
func (EntitlementChange_ActivationReason) Descriptor() protoreflect.EnumDescriptorfunc (EntitlementChange_ActivationReason) Enum
func (x EntitlementChange_ActivationReason) Enum() *EntitlementChange_ActivationReasonfunc (EntitlementChange_ActivationReason) EnumDescriptor
func (EntitlementChange_ActivationReason) EnumDescriptor() ([]byte, []int)Deprecated: Use EntitlementChange_ActivationReason.Descriptor instead.
func (EntitlementChange_ActivationReason) Number
func (x EntitlementChange_ActivationReason) Number() protoreflect.EnumNumberfunc (EntitlementChange_ActivationReason) String
func (x EntitlementChange_ActivationReason) String() stringfunc (EntitlementChange_ActivationReason) Type
func (EntitlementChange_ActivationReason) Type() protoreflect.EnumTypeEntitlementChange_ActivationReason_
type EntitlementChange_ActivationReason_ struct {
// The Entitlement's activation reason
ActivationReason EntitlementChange_ActivationReason `protobuf:"varint,11,opt,name=activation_reason,json=activationReason,proto3,enum=google.cloud.channel.v1.EntitlementChange_ActivationReason,oneof"`
}EntitlementChange_CancellationReason
type EntitlementChange_CancellationReason int32Cancellation reason for the entitlement
EntitlementChange_CANCELLATION_REASON_UNSPECIFIED, EntitlementChange_SERVICE_TERMINATED, EntitlementChange_RELATIONSHIP_ENDED, EntitlementChange_PARTIAL_TRANSFER
const (
// Not used.
EntitlementChange_CANCELLATION_REASON_UNSPECIFIED EntitlementChange_CancellationReason = 0
// Reseller triggered a cancellation of the service.
EntitlementChange_SERVICE_TERMINATED EntitlementChange_CancellationReason = 1
// Relationship between the reseller and customer has ended due to a
// transfer.
EntitlementChange_RELATIONSHIP_ENDED EntitlementChange_CancellationReason = 2
// Entitlement transferred away from reseller while still keeping other
// entitlement(s) with the reseller.
EntitlementChange_PARTIAL_TRANSFER EntitlementChange_CancellationReason = 3
)func (EntitlementChange_CancellationReason) Descriptor
func (EntitlementChange_CancellationReason) Descriptor() protoreflect.EnumDescriptorfunc (EntitlementChange_CancellationReason) Enum
func (x EntitlementChange_CancellationReason) Enum() *EntitlementChange_CancellationReasonfunc (EntitlementChange_CancellationReason) EnumDescriptor
func (EntitlementChange_CancellationReason) EnumDescriptor() ([]byte, []int)Deprecated: Use EntitlementChange_CancellationReason.Descriptor instead.
func (EntitlementChange_CancellationReason) Number
func (x EntitlementChange_CancellationReason) Number() protoreflect.EnumNumberfunc (EntitlementChange_CancellationReason) String
func (x EntitlementChange_CancellationReason) String() stringfunc (EntitlementChange_CancellationReason) Type
func (EntitlementChange_CancellationReason) Type() protoreflect.EnumTypeEntitlementChange_CancellationReason_
type EntitlementChange_CancellationReason_ struct {
// Cancellation reason for the Entitlement.
CancellationReason EntitlementChange_CancellationReason `protobuf:"varint,10,opt,name=cancellation_reason,json=cancellationReason,proto3,enum=google.cloud.channel.v1.EntitlementChange_CancellationReason,oneof"`
}EntitlementChange_ChangeType
type EntitlementChange_ChangeType int32Specifies the type of change action
EntitlementChange_CHANGE_TYPE_UNSPECIFIED, EntitlementChange_CREATED, EntitlementChange_PRICE_PLAN_SWITCHED, EntitlementChange_COMMITMENT_CHANGED, EntitlementChange_RENEWED, EntitlementChange_SUSPENDED, EntitlementChange_ACTIVATED, EntitlementChange_CANCELLED, EntitlementChange_SKU_CHANGED, EntitlementChange_RENEWAL_SETTING_CHANGED, EntitlementChange_PAID_SUBSCRIPTION_STARTED, EntitlementChange_LICENSE_CAP_CHANGED, EntitlementChange_SUSPENSION_DETAILS_CHANGED, EntitlementChange_TRIAL_END_DATE_EXTENDED, EntitlementChange_TRIAL_STARTED
const (
// Not used.
EntitlementChange_CHANGE_TYPE_UNSPECIFIED EntitlementChange_ChangeType = 0
// New Entitlement was created.
EntitlementChange_CREATED EntitlementChange_ChangeType = 1
// Price plan associated with an Entitlement was changed.
EntitlementChange_PRICE_PLAN_SWITCHED EntitlementChange_ChangeType = 3
// Number of seats committed for a commitment Entitlement was changed.
EntitlementChange_COMMITMENT_CHANGED EntitlementChange_ChangeType = 4
// An annual Entitlement was renewed.
EntitlementChange_RENEWED EntitlementChange_ChangeType = 5
// Entitlement was suspended.
EntitlementChange_SUSPENDED EntitlementChange_ChangeType = 6
// Entitlement was activated.
EntitlementChange_ACTIVATED EntitlementChange_ChangeType = 7
// Entitlement was cancelled.
EntitlementChange_CANCELLED EntitlementChange_ChangeType = 8
// Entitlement was upgraded or downgraded for ex. from Google Workspace
// Business Standard to Google Workspace Business Plus.
EntitlementChange_SKU_CHANGED EntitlementChange_ChangeType = 9
// The settings for renewal of an Entitlement have changed.
EntitlementChange_RENEWAL_SETTING_CHANGED EntitlementChange_ChangeType = 10
// Use for Google Workspace subscription.
// Either a trial was converted to a paid subscription or a new subscription
// with no trial is created.
EntitlementChange_PAID_SUBSCRIPTION_STARTED EntitlementChange_ChangeType = 11
// License cap was changed for the entitlement.
EntitlementChange_LICENSE_CAP_CHANGED EntitlementChange_ChangeType = 12
// The suspension details have changed (but it is still suspended).
EntitlementChange_SUSPENSION_DETAILS_CHANGED EntitlementChange_ChangeType = 13
// The trial end date was extended.
EntitlementChange_TRIAL_END_DATE_EXTENDED EntitlementChange_ChangeType = 14
// Entitlement started trial.
EntitlementChange_TRIAL_STARTED EntitlementChange_ChangeType = 15
)func (EntitlementChange_ChangeType) Descriptor
func (EntitlementChange_ChangeType) Descriptor() protoreflect.EnumDescriptorfunc (EntitlementChange_ChangeType) Enum
func (x EntitlementChange_ChangeType) Enum() *EntitlementChange_ChangeTypefunc (EntitlementChange_ChangeType) EnumDescriptor
func (EntitlementChange_ChangeType) EnumDescriptor() ([]byte, []int)Deprecated: Use EntitlementChange_ChangeType.Descriptor instead.
func (EntitlementChange_ChangeType) Number
func (x EntitlementChange_ChangeType) Number() protoreflect.EnumNumberfunc (EntitlementChange_ChangeType) String
func (x EntitlementChange_ChangeType) String() stringfunc (EntitlementChange_ChangeType) Type
func (EntitlementChange_ChangeType) Type() protoreflect.EnumTypeEntitlementChange_OperatorType
type EntitlementChange_OperatorType int32Specifies the type of operator responsible for the change
EntitlementChange_OPERATOR_TYPE_UNSPECIFIED, EntitlementChange_CUSTOMER_SERVICE_REPRESENTATIVE, EntitlementChange_SYSTEM, EntitlementChange_CUSTOMER, EntitlementChange_RESELLER
const (
// Not used.
EntitlementChange_OPERATOR_TYPE_UNSPECIFIED EntitlementChange_OperatorType = 0
// Customer service representative.
EntitlementChange_CUSTOMER_SERVICE_REPRESENTATIVE EntitlementChange_OperatorType = 1
// System auto job.
EntitlementChange_SYSTEM EntitlementChange_OperatorType = 2
// Customer user.
EntitlementChange_CUSTOMER EntitlementChange_OperatorType = 3
// Reseller user.
EntitlementChange_RESELLER EntitlementChange_OperatorType = 4
)func (EntitlementChange_OperatorType) Descriptor
func (EntitlementChange_OperatorType) Descriptor() protoreflect.EnumDescriptorfunc (EntitlementChange_OperatorType) Enum
func (x EntitlementChange_OperatorType) Enum() *EntitlementChange_OperatorTypefunc (EntitlementChange_OperatorType) EnumDescriptor
func (EntitlementChange_OperatorType) EnumDescriptor() ([]byte, []int)Deprecated: Use EntitlementChange_OperatorType.Descriptor instead.
func (EntitlementChange_OperatorType) Number
func (x EntitlementChange_OperatorType) Number() protoreflect.EnumNumberfunc (EntitlementChange_OperatorType) String
func (x EntitlementChange_OperatorType) String() stringfunc (EntitlementChange_OperatorType) Type
func (EntitlementChange_OperatorType) Type() protoreflect.EnumTypeEntitlementChange_OtherChangeReason
type EntitlementChange_OtherChangeReason struct {
// e.g. purchase_number change reason, entered by CRS.
OtherChangeReason string `protobuf:"bytes,100,opt,name=other_change_reason,json=otherChangeReason,proto3,oneof"`
}EntitlementChange_SuspensionReason
type EntitlementChange_SuspensionReason struct {
// Suspension reason for the Entitlement.
SuspensionReason Entitlement_SuspensionReason `protobuf:"varint,9,opt,name=suspension_reason,json=suspensionReason,proto3,enum=google.cloud.channel.v1.Entitlement_SuspensionReason,oneof"`
}EntitlementEvent
type EntitlementEvent struct {
// Resource name of an entitlement of the form:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// Type of event which happened on the entitlement.
EventType EntitlementEvent_Type `protobuf:"varint,2,opt,name=event_type,json=eventType,proto3,enum=google.cloud.channel.v1.EntitlementEvent_Type" json:"event_type,omitempty"`
// contains filtered or unexported fields
}Represents Pub/Sub message content describing entitlement update.
func (*EntitlementEvent) Descriptor
func (*EntitlementEvent) Descriptor() ([]byte, []int)Deprecated: Use EntitlementEvent.ProtoReflect.Descriptor instead.
func (*EntitlementEvent) GetEntitlement
func (x *EntitlementEvent) GetEntitlement() stringfunc (*EntitlementEvent) GetEventType
func (x *EntitlementEvent) GetEventType() EntitlementEvent_Typefunc (*EntitlementEvent) ProtoMessage
func (*EntitlementEvent) ProtoMessage()func (*EntitlementEvent) ProtoReflect
func (x *EntitlementEvent) ProtoReflect() protoreflect.Messagefunc (*EntitlementEvent) Reset
func (x *EntitlementEvent) Reset()func (*EntitlementEvent) String
func (x *EntitlementEvent) String() stringEntitlementEvent_Type
type EntitlementEvent_Type int32Type of entitlement event.
EntitlementEvent_TYPE_UNSPECIFIED, EntitlementEvent_CREATED, EntitlementEvent_PRICE_PLAN_SWITCHED, EntitlementEvent_COMMITMENT_CHANGED, EntitlementEvent_RENEWED, EntitlementEvent_SUSPENDED, EntitlementEvent_ACTIVATED, EntitlementEvent_CANCELLED, EntitlementEvent_SKU_CHANGED, EntitlementEvent_RENEWAL_SETTING_CHANGED, EntitlementEvent_PAID_SERVICE_STARTED, EntitlementEvent_LICENSE_ASSIGNMENT_CHANGED, EntitlementEvent_LICENSE_CAP_CHANGED
const (
// Not used.
EntitlementEvent_TYPE_UNSPECIFIED EntitlementEvent_Type = 0
// A new entitlement was created.
EntitlementEvent_CREATED EntitlementEvent_Type = 1
// The offer type associated with an entitlement was changed.
// This is not triggered if an entitlement converts from a commit offer to a
// flexible offer as part of a renewal.
EntitlementEvent_PRICE_PLAN_SWITCHED EntitlementEvent_Type = 3
// Annual commitment for a commit plan was changed.
EntitlementEvent_COMMITMENT_CHANGED EntitlementEvent_Type = 4
// An annual entitlement was renewed.
EntitlementEvent_RENEWED EntitlementEvent_Type = 5
// Entitlement was suspended.
EntitlementEvent_SUSPENDED EntitlementEvent_Type = 6
// Entitlement was unsuspended.
EntitlementEvent_ACTIVATED EntitlementEvent_Type = 7
// Entitlement was cancelled.
EntitlementEvent_CANCELLED EntitlementEvent_Type = 8
// Entitlement was upgraded or downgraded (e.g. from Google Workspace
// Business Standard to Google Workspace Business Plus).
EntitlementEvent_SKU_CHANGED EntitlementEvent_Type = 9
// The renewal settings of an entitlement has changed.
EntitlementEvent_RENEWAL_SETTING_CHANGED EntitlementEvent_Type = 10
// Paid service has started on trial entitlement.
EntitlementEvent_PAID_SERVICE_STARTED EntitlementEvent_Type = 11
// License was assigned to or revoked from a user.
EntitlementEvent_LICENSE_ASSIGNMENT_CHANGED EntitlementEvent_Type = 12
// License cap was changed for the entitlement.
EntitlementEvent_LICENSE_CAP_CHANGED EntitlementEvent_Type = 13
)func (EntitlementEvent_Type) Descriptor
func (EntitlementEvent_Type) Descriptor() protoreflect.EnumDescriptorfunc (EntitlementEvent_Type) Enum
func (x EntitlementEvent_Type) Enum() *EntitlementEvent_Typefunc (EntitlementEvent_Type) EnumDescriptor
func (EntitlementEvent_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use EntitlementEvent_Type.Descriptor instead.
func (EntitlementEvent_Type) Number
func (x EntitlementEvent_Type) Number() protoreflect.EnumNumberfunc (EntitlementEvent_Type) String
func (x EntitlementEvent_Type) String() stringfunc (EntitlementEvent_Type) Type
func (EntitlementEvent_Type) Type() protoreflect.EnumTypeEntitlement_ProvisioningState
type Entitlement_ProvisioningState int32Indicates the current provisioning state of the entitlement.
Entitlement_PROVISIONING_STATE_UNSPECIFIED, Entitlement_ACTIVE, Entitlement_SUSPENDED
const (
// Not used.
Entitlement_PROVISIONING_STATE_UNSPECIFIED Entitlement_ProvisioningState = 0
// The entitlement is currently active.
Entitlement_ACTIVE Entitlement_ProvisioningState = 1
// The entitlement is currently suspended.
Entitlement_SUSPENDED Entitlement_ProvisioningState = 5
)func (Entitlement_ProvisioningState) Descriptor
func (Entitlement_ProvisioningState) Descriptor() protoreflect.EnumDescriptorfunc (Entitlement_ProvisioningState) Enum
func (x Entitlement_ProvisioningState) Enum() *Entitlement_ProvisioningStatefunc (Entitlement_ProvisioningState) EnumDescriptor
func (Entitlement_ProvisioningState) EnumDescriptor() ([]byte, []int)Deprecated: Use Entitlement_ProvisioningState.Descriptor instead.
func (Entitlement_ProvisioningState) Number
func (x Entitlement_ProvisioningState) Number() protoreflect.EnumNumberfunc (Entitlement_ProvisioningState) String
func (x Entitlement_ProvisioningState) String() stringfunc (Entitlement_ProvisioningState) Type
func (Entitlement_ProvisioningState) Type() protoreflect.EnumTypeEntitlement_SuspensionReason
type Entitlement_SuspensionReason int32Suspension reason for an entitlement if [provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state] = SUSPENDED.
Entitlement_SUSPENSION_REASON_UNSPECIFIED, Entitlement_RESELLER_INITIATED, Entitlement_TRIAL_ENDED, Entitlement_RENEWAL_WITH_TYPE_CANCEL, Entitlement_PENDING_TOS_ACCEPTANCE, Entitlement_OTHER
const (
// Not used.
Entitlement_SUSPENSION_REASON_UNSPECIFIED Entitlement_SuspensionReason = 0
// Entitlement was manually suspended by the Reseller.
Entitlement_RESELLER_INITIATED Entitlement_SuspensionReason = 1
// Trial ended.
Entitlement_TRIAL_ENDED Entitlement_SuspensionReason = 2
// Entitlement renewal was canceled.
Entitlement_RENEWAL_WITH_TYPE_CANCEL Entitlement_SuspensionReason = 3
// Entitlement was automatically suspended on creation for pending ToS
// acceptance on customer.
Entitlement_PENDING_TOS_ACCEPTANCE Entitlement_SuspensionReason = 4
// Other reasons (internal reasons, abuse, etc.).
Entitlement_OTHER Entitlement_SuspensionReason = 100
)func (Entitlement_SuspensionReason) Descriptor
func (Entitlement_SuspensionReason) Descriptor() protoreflect.EnumDescriptorfunc (Entitlement_SuspensionReason) Enum
func (x Entitlement_SuspensionReason) Enum() *Entitlement_SuspensionReasonfunc (Entitlement_SuspensionReason) EnumDescriptor
func (Entitlement_SuspensionReason) EnumDescriptor() ([]byte, []int)Deprecated: Use Entitlement_SuspensionReason.Descriptor instead.
func (Entitlement_SuspensionReason) Number
func (x Entitlement_SuspensionReason) Number() protoreflect.EnumNumberfunc (Entitlement_SuspensionReason) String
func (x Entitlement_SuspensionReason) String() stringfunc (Entitlement_SuspensionReason) Type
func (Entitlement_SuspensionReason) Type() protoreflect.EnumTypeFetchReportResultsRequest (deprecated)
type FetchReportResultsRequest struct {
// Required. The report job created by
// [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
// Report_job uses the format:
// accounts/{account_id}/reportJobs/{report_job_id}
ReportJob string `protobuf:"bytes,1,opt,name=report_job,json=reportJob,proto3" json:"report_job,omitempty"`
// Optional. Requested page size of the report. The server may return fewer
// results than requested. If you don't specify a page size, the server uses a
// sensible default (may change over time).
//
// The maximum value is 30,000; the server will change larger values to
// 30,000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that specifies a page of results beyond the first page.
// Obtained through
// [FetchReportResultsResponse.next_page_token][google.cloud.channel.v1.FetchReportResultsResponse.next_page_token]
// of the previous
// [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. List of keys specifying which report partitions to return.
// If empty, returns all partitions.
PartitionKeys []string `protobuf:"bytes,4,rep,name=partition_keys,json=partitionKeys,proto3" json:"partition_keys,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*FetchReportResultsRequest) Descriptor (deprecated)
func (*FetchReportResultsRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchReportResultsRequest.ProtoReflect.Descriptor instead.
func (*FetchReportResultsRequest) GetPageSize (deprecated)
func (x *FetchReportResultsRequest) GetPageSize() int32func (*FetchReportResultsRequest) GetPageToken (deprecated)
func (x *FetchReportResultsRequest) GetPageToken() stringfunc (*FetchReportResultsRequest) GetPartitionKeys (deprecated)
func (x *FetchReportResultsRequest) GetPartitionKeys() []stringfunc (*FetchReportResultsRequest) GetReportJob (deprecated)
func (x *FetchReportResultsRequest) GetReportJob() stringfunc (*FetchReportResultsRequest) ProtoMessage (deprecated)
func (*FetchReportResultsRequest) ProtoMessage()func (*FetchReportResultsRequest) ProtoReflect (deprecated)
func (x *FetchReportResultsRequest) ProtoReflect() protoreflect.Messagefunc (*FetchReportResultsRequest) Reset (deprecated)
func (x *FetchReportResultsRequest) Reset()func (*FetchReportResultsRequest) String (deprecated)
func (x *FetchReportResultsRequest) String() stringFetchReportResultsResponse (deprecated)
type FetchReportResultsResponse struct {
// The metadata for the report results (display name, columns, row count, and
// date ranges).
ReportMetadata *ReportResultsMetadata `protobuf:"bytes,1,opt,name=report_metadata,json=reportMetadata,proto3" json:"report_metadata,omitempty"`
// The report's lists of values. Each row follows the settings and ordering
// of the columns from `report_metadata`.
Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// Pass this token to
// [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
// to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. Contains a tabular representation of the report results.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*FetchReportResultsResponse) Descriptor (deprecated)
func (*FetchReportResultsResponse) Descriptor() ([]byte, []int)Deprecated: Use FetchReportResultsResponse.ProtoReflect.Descriptor instead.
func (*FetchReportResultsResponse) GetNextPageToken (deprecated)
func (x *FetchReportResultsResponse) GetNextPageToken() stringfunc (*FetchReportResultsResponse) GetReportMetadata (deprecated)
func (x *FetchReportResultsResponse) GetReportMetadata() *ReportResultsMetadatafunc (*FetchReportResultsResponse) GetRows (deprecated)
func (x *FetchReportResultsResponse) GetRows() []*Rowfunc (*FetchReportResultsResponse) ProtoMessage (deprecated)
func (*FetchReportResultsResponse) ProtoMessage()func (*FetchReportResultsResponse) ProtoReflect (deprecated)
func (x *FetchReportResultsResponse) ProtoReflect() protoreflect.Messagefunc (*FetchReportResultsResponse) Reset (deprecated)
func (x *FetchReportResultsResponse) Reset()func (*FetchReportResultsResponse) String (deprecated)
func (x *FetchReportResultsResponse) String() stringGetChannelPartnerLinkRequest
type GetChannelPartnerLinkRequest struct {
// Required. The resource name of the channel partner link to retrieve.
// Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
// where {id} is the Cloud Identity ID of the partner.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The level of granularity the ChannelPartnerLink will display.
View ChannelPartnerLinkView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.channel.v1.ChannelPartnerLinkView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink].
func (*GetChannelPartnerLinkRequest) Descriptor
func (*GetChannelPartnerLinkRequest) Descriptor() ([]byte, []int)Deprecated: Use GetChannelPartnerLinkRequest.ProtoReflect.Descriptor instead.
func (*GetChannelPartnerLinkRequest) GetName
func (x *GetChannelPartnerLinkRequest) GetName() stringfunc (*GetChannelPartnerLinkRequest) GetView
func (x *GetChannelPartnerLinkRequest) GetView() ChannelPartnerLinkViewfunc (*GetChannelPartnerLinkRequest) ProtoMessage
func (*GetChannelPartnerLinkRequest) ProtoMessage()func (*GetChannelPartnerLinkRequest) ProtoReflect
func (x *GetChannelPartnerLinkRequest) ProtoReflect() protoreflect.Messagefunc (*GetChannelPartnerLinkRequest) Reset
func (x *GetChannelPartnerLinkRequest) Reset()func (*GetChannelPartnerLinkRequest) String
func (x *GetChannelPartnerLinkRequest) String() stringGetChannelPartnerRepricingConfigRequest
type GetChannelPartnerRepricingConfigRequest struct {
// Required. The 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"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig]
func (*GetChannelPartnerRepricingConfigRequest) Descriptor
func (*GetChannelPartnerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetChannelPartnerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*GetChannelPartnerRepricingConfigRequest) GetName
func (x *GetChannelPartnerRepricingConfigRequest) GetName() stringfunc (*GetChannelPartnerRepricingConfigRequest) ProtoMessage
func (*GetChannelPartnerRepricingConfigRequest) ProtoMessage()func (*GetChannelPartnerRepricingConfigRequest) ProtoReflect
func (x *GetChannelPartnerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetChannelPartnerRepricingConfigRequest) Reset
func (x *GetChannelPartnerRepricingConfigRequest) Reset()func (*GetChannelPartnerRepricingConfigRequest) String
func (x *GetChannelPartnerRepricingConfigRequest) String() stringGetCustomerRepricingConfigRequest
type GetCustomerRepricingConfigRequest struct {
// Required. The resource name of the CustomerRepricingConfig.
// Format:
// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig].
func (*GetCustomerRepricingConfigRequest) Descriptor
func (*GetCustomerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCustomerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*GetCustomerRepricingConfigRequest) GetName
func (x *GetCustomerRepricingConfigRequest) GetName() stringfunc (*GetCustomerRepricingConfigRequest) ProtoMessage
func (*GetCustomerRepricingConfigRequest) ProtoMessage()func (*GetCustomerRepricingConfigRequest) ProtoReflect
func (x *GetCustomerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetCustomerRepricingConfigRequest) Reset
func (x *GetCustomerRepricingConfigRequest) Reset()func (*GetCustomerRepricingConfigRequest) String
func (x *GetCustomerRepricingConfigRequest) String() stringGetCustomerRequest
type GetCustomerRequest struct {
// Required. The resource name of the customer to retrieve.
// Name uses the format: accounts/{account_id}/customers/{customer_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer].
func (*GetCustomerRequest) Descriptor
func (*GetCustomerRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCustomerRequest.ProtoReflect.Descriptor instead.
func (*GetCustomerRequest) GetName
func (x *GetCustomerRequest) GetName() stringfunc (*GetCustomerRequest) ProtoMessage
func (*GetCustomerRequest) ProtoMessage()func (*GetCustomerRequest) ProtoReflect
func (x *GetCustomerRequest) ProtoReflect() protoreflect.Messagefunc (*GetCustomerRequest) Reset
func (x *GetCustomerRequest) Reset()func (*GetCustomerRequest) String
func (x *GetCustomerRequest) String() stringGetEntitlementRequest
type GetEntitlementRequest struct {
// Required. The resource name of the entitlement to retrieve.
// 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"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement].
func (*GetEntitlementRequest) Descriptor
func (*GetEntitlementRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEntitlementRequest.ProtoReflect.Descriptor instead.
func (*GetEntitlementRequest) GetName
func (x *GetEntitlementRequest) GetName() stringfunc (*GetEntitlementRequest) ProtoMessage
func (*GetEntitlementRequest) ProtoMessage()func (*GetEntitlementRequest) ProtoReflect
func (x *GetEntitlementRequest) ProtoReflect() protoreflect.Messagefunc (*GetEntitlementRequest) Reset
func (x *GetEntitlementRequest) Reset()func (*GetEntitlementRequest) String
func (x *GetEntitlementRequest) String() stringImportCustomerRequest
type ImportCustomerRequest struct {
// Specifies the identity of the transfer customer.
// A customer's cloud_identity_id or domain is required to look up the
// customer's Cloud Identity. For Team customers, only the cloud_identity_id
// option is valid.
//
// Types that are assignable to CustomerIdentity:
//
// *ImportCustomerRequest_Domain
// *ImportCustomerRequest_CloudIdentityId
// *ImportCustomerRequest_PrimaryAdminEmail
CustomerIdentity isImportCustomerRequest_CustomerIdentity `protobuf_oneof:"customer_identity"`
// Required. The resource name of the reseller's account.
// Parent takes the format: accounts/{account_id} or
// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The super admin of the resold customer generates this token to
// authorize a reseller to access their Cloud Identity and purchase
// entitlements on their behalf. You can omit this token after authorization.
// See https://support.google.com/a/answer/7643790 for more details.
AuthToken string `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
// Required. Choose to overwrite an existing customer if found.
// This must be set to true if there is an existing customer with a
// conflicting region code or domain.
OverwriteIfExists bool `protobuf:"varint,5,opt,name=overwrite_if_exists,json=overwriteIfExists,proto3" json:"overwrite_if_exists,omitempty"`
// Optional. Cloud Identity ID of a channel partner who will be the direct
// reseller for the customer's order. This field is required for 2-tier
// transfer scenarios and can be provided via the request Parent binding as
// well.
ChannelPartnerId string `protobuf:"bytes,6,opt,name=channel_partner_id,json=channelPartnerId,proto3" json:"channel_partner_id,omitempty"`
// Optional. Specifies the customer that will receive imported Cloud Identity
// information.
// Format: accounts/{account_id}/customers/{customer_id}
Customer string `protobuf:"bytes,7,opt,name=customer,proto3" json:"customer,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer]
func (*ImportCustomerRequest) Descriptor
func (*ImportCustomerRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportCustomerRequest.ProtoReflect.Descriptor instead.
func (*ImportCustomerRequest) GetAuthToken
func (x *ImportCustomerRequest) GetAuthToken() stringfunc (*ImportCustomerRequest) GetChannelPartnerId
func (x *ImportCustomerRequest) GetChannelPartnerId() stringfunc (*ImportCustomerRequest) GetCloudIdentityId
func (x *ImportCustomerRequest) GetCloudIdentityId() stringfunc (*ImportCustomerRequest) GetCustomer
func (x *ImportCustomerRequest) GetCustomer() stringfunc (*ImportCustomerRequest) GetCustomerIdentity
func (m *ImportCustomerRequest) GetCustomerIdentity() isImportCustomerRequest_CustomerIdentityfunc (*ImportCustomerRequest) GetDomain
func (x *ImportCustomerRequest) GetDomain() stringfunc (*ImportCustomerRequest) GetOverwriteIfExists
func (x *ImportCustomerRequest) GetOverwriteIfExists() boolfunc (*ImportCustomerRequest) GetParent
func (x *ImportCustomerRequest) GetParent() stringfunc (*ImportCustomerRequest) GetPrimaryAdminEmail
func (x *ImportCustomerRequest) GetPrimaryAdminEmail() stringfunc (*ImportCustomerRequest) ProtoMessage
func (*ImportCustomerRequest) ProtoMessage()func (*ImportCustomerRequest) ProtoReflect
func (x *ImportCustomerRequest) ProtoReflect() protoreflect.Messagefunc (*ImportCustomerRequest) Reset
func (x *ImportCustomerRequest) Reset()func (*ImportCustomerRequest) String
func (x *ImportCustomerRequest) String() stringImportCustomerRequest_CloudIdentityId
type ImportCustomerRequest_CloudIdentityId struct {
// Required. Customer's Cloud Identity ID
CloudIdentityId string `protobuf:"bytes,3,opt,name=cloud_identity_id,json=cloudIdentityId,proto3,oneof"`
}ImportCustomerRequest_Domain
type ImportCustomerRequest_Domain struct {
// Required. Customer domain.
Domain string `protobuf:"bytes,2,opt,name=domain,proto3,oneof"`
}ImportCustomerRequest_PrimaryAdminEmail
type ImportCustomerRequest_PrimaryAdminEmail struct {
// Required. Customer's primary admin email.
PrimaryAdminEmail string `protobuf:"bytes,8,opt,name=primary_admin_email,json=primaryAdminEmail,proto3,oneof"`
}ListChannelPartnerLinksRequest
type ListChannelPartnerLinksRequest struct {
// Required. The resource name of the reseller account for listing channel
// partner links. Parent uses the format: accounts/{account_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, server will pick a default size (25). The
// maximum value is 200; the server will coerce values above 200.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
// Obtained using
// [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token]
// of the previous
// [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The level of granularity the ChannelPartnerLink will display.
View ChannelPartnerLinkView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.channel.v1.ChannelPartnerLinkView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
func (*ListChannelPartnerLinksRequest) Descriptor
func (*ListChannelPartnerLinksRequest) Descriptor() ([]byte, []int)Deprecated: Use ListChannelPartnerLinksRequest.ProtoReflect.Descriptor instead.
func (*ListChannelPartnerLinksRequest) GetPageSize
func (x *ListChannelPartnerLinksRequest) GetPageSize() int32func (*ListChannelPartnerLinksRequest) GetPageToken
func (x *ListChannelPartnerLinksRequest) GetPageToken() stringfunc (*ListChannelPartnerLinksRequest) GetParent
func (x *ListChannelPartnerLinksRequest) GetParent() stringfunc (*ListChannelPartnerLinksRequest) GetView
func (x *ListChannelPartnerLinksRequest) GetView() ChannelPartnerLinkViewfunc (*ListChannelPartnerLinksRequest) ProtoMessage
func (*ListChannelPartnerLinksRequest) ProtoMessage()func (*ListChannelPartnerLinksRequest) ProtoReflect
func (x *ListChannelPartnerLinksRequest) ProtoReflect() protoreflect.Messagefunc (*ListChannelPartnerLinksRequest) Reset
func (x *ListChannelPartnerLinksRequest) Reset()func (*ListChannelPartnerLinksRequest) String
func (x *ListChannelPartnerLinksRequest) String() stringListChannelPartnerLinksResponse
type ListChannelPartnerLinksResponse struct {
// The Channel partner links for a reseller.
ChannelPartnerLinks []*ChannelPartnerLink `protobuf:"bytes,1,rep,name=channel_partner_links,json=channelPartnerLinks,proto3" json:"channel_partner_links,omitempty"`
// A token to retrieve the next page of results.
// Pass to
// [ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks].
func (*ListChannelPartnerLinksResponse) Descriptor
func (*ListChannelPartnerLinksResponse) Descriptor() ([]byte, []int)Deprecated: Use ListChannelPartnerLinksResponse.ProtoReflect.Descriptor instead.
func (*ListChannelPartnerLinksResponse) GetChannelPartnerLinks
func (x *ListChannelPartnerLinksResponse) GetChannelPartnerLinks() []*ChannelPartnerLinkfunc (*ListChannelPartnerLinksResponse) GetNextPageToken
func (x *ListChannelPartnerLinksResponse) GetNextPageToken() stringfunc (*ListChannelPartnerLinksResponse) ProtoMessage
func (*ListChannelPartnerLinksResponse) ProtoMessage()func (*ListChannelPartnerLinksResponse) ProtoReflect
func (x *ListChannelPartnerLinksResponse) ProtoReflect() protoreflect.Messagefunc (*ListChannelPartnerLinksResponse) Reset
func (x *ListChannelPartnerLinksResponse) Reset()func (*ListChannelPartnerLinksResponse) String
func (x *ListChannelPartnerLinksResponse) String() stringListChannelPartnerRepricingConfigsRequest
type ListChannelPartnerRepricingConfigsRequest struct {
// Required. The resource name of the account's
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
// uses the format:
// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
// Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
// for all channel partners.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of repricing configs to return. The service
// may return fewer than this value. If unspecified, returns a maximum of 50
// rules. The maximum value is 100; values above 100 will be coerced to 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results beyond the first page.
// Obtained through
// [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
// of the previous
// [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter for
// [CloudChannelService.ListChannelPartnerRepricingConfigs] results
// (channel_partner_link only). You can use this filter when you support a
// BatchGet-like query. To use the filter, you must set
// `parent=accounts/{account_id}/channelPartnerLinks/-`.
//
// Example: `channel_partner_link =
// accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
// accounts/account_id/channelPartnerLinks/c2`.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
func (*ListChannelPartnerRepricingConfigsRequest) Descriptor
func (*ListChannelPartnerRepricingConfigsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListChannelPartnerRepricingConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListChannelPartnerRepricingConfigsRequest) GetFilter
func (x *ListChannelPartnerRepricingConfigsRequest) GetFilter() stringfunc (*ListChannelPartnerRepricingConfigsRequest) GetPageSize
func (x *ListChannelPartnerRepricingConfigsRequest) GetPageSize() int32func (*ListChannelPartnerRepricingConfigsRequest) GetPageToken
func (x *ListChannelPartnerRepricingConfigsRequest) GetPageToken() stringfunc (*ListChannelPartnerRepricingConfigsRequest) GetParent
func (x *ListChannelPartnerRepricingConfigsRequest) GetParent() stringfunc (*ListChannelPartnerRepricingConfigsRequest) ProtoMessage
func (*ListChannelPartnerRepricingConfigsRequest) ProtoMessage()func (*ListChannelPartnerRepricingConfigsRequest) ProtoReflect
func (x *ListChannelPartnerRepricingConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListChannelPartnerRepricingConfigsRequest) Reset
func (x *ListChannelPartnerRepricingConfigsRequest) Reset()func (*ListChannelPartnerRepricingConfigsRequest) String
func (x *ListChannelPartnerRepricingConfigsRequest) String() stringListChannelPartnerRepricingConfigsResponse
type ListChannelPartnerRepricingConfigsResponse struct {
// The repricing configs for this channel partner.
ChannelPartnerRepricingConfigs []*ChannelPartnerRepricingConfig `protobuf:"bytes,1,rep,name=channel_partner_repricing_configs,json=channelPartnerRepricingConfigs,proto3" json:"channel_partner_repricing_configs,omitempty"`
// A token to retrieve the next page of results.
// Pass to
// [ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
func (*ListChannelPartnerRepricingConfigsResponse) Descriptor
func (*ListChannelPartnerRepricingConfigsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListChannelPartnerRepricingConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListChannelPartnerRepricingConfigsResponse) GetChannelPartnerRepricingConfigs
func (x *ListChannelPartnerRepricingConfigsResponse) GetChannelPartnerRepricingConfigs() []*ChannelPartnerRepricingConfigfunc (*ListChannelPartnerRepricingConfigsResponse) GetNextPageToken
func (x *ListChannelPartnerRepricingConfigsResponse) GetNextPageToken() stringfunc (*ListChannelPartnerRepricingConfigsResponse) ProtoMessage
func (*ListChannelPartnerRepricingConfigsResponse) ProtoMessage()func (*ListChannelPartnerRepricingConfigsResponse) ProtoReflect
func (x *ListChannelPartnerRepricingConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListChannelPartnerRepricingConfigsResponse) Reset
func (x *ListChannelPartnerRepricingConfigsResponse) Reset()func (*ListChannelPartnerRepricingConfigsResponse) String
func (x *ListChannelPartnerRepricingConfigsResponse) String() stringListCustomerRepricingConfigsRequest
type ListCustomerRepricingConfigsRequest struct {
// Required. The resource name of the customer.
// Parent uses the format: accounts/{account_id}/customers/{customer_id}.
// Supports accounts/{account_id}/customers/- to retrieve configs for all
// customers.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of repricing configs to return. The service
// may return fewer than this value. If unspecified, returns a maximum of 50
// rules. The maximum value is 100; values above 100 will be coerced to 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results beyond the first page.
// Obtained through
// [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
// of the previous
// [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
// results (customer only). You can use this filter when you support
// a BatchGet-like query.
// To use the filter, you must set `parent=accounts/{account_id}/customers/-`.
//
// Example: customer = accounts/account_id/customers/c1 OR
// customer = accounts/account_id/customers/c2.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
func (*ListCustomerRepricingConfigsRequest) Descriptor
func (*ListCustomerRepricingConfigsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCustomerRepricingConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListCustomerRepricingConfigsRequest) GetFilter
func (x *ListCustomerRepricingConfigsRequest) GetFilter() stringfunc (*ListCustomerRepricingConfigsRequest) GetPageSize
func (x *ListCustomerRepricingConfigsRequest) GetPageSize() int32func (*ListCustomerRepricingConfigsRequest) GetPageToken
func (x *ListCustomerRepricingConfigsRequest) GetPageToken() stringfunc (*ListCustomerRepricingConfigsRequest) GetParent
func (x *ListCustomerRepricingConfigsRequest) GetParent() stringfunc (*ListCustomerRepricingConfigsRequest) ProtoMessage
func (*ListCustomerRepricingConfigsRequest) ProtoMessage()func (*ListCustomerRepricingConfigsRequest) ProtoReflect
func (x *ListCustomerRepricingConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListCustomerRepricingConfigsRequest) Reset
func (x *ListCustomerRepricingConfigsRequest) Reset()func (*ListCustomerRepricingConfigsRequest) String
func (x *ListCustomerRepricingConfigsRequest) String() stringListCustomerRepricingConfigsResponse
type ListCustomerRepricingConfigsResponse struct {
// The repricing configs for this channel partner.
CustomerRepricingConfigs []*CustomerRepricingConfig `protobuf:"bytes,1,rep,name=customer_repricing_configs,json=customerRepricingConfigs,proto3" json:"customer_repricing_configs,omitempty"`
// A token to retrieve the next page of results.
// Pass to
// [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
func (*ListCustomerRepricingConfigsResponse) Descriptor
func (*ListCustomerRepricingConfigsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCustomerRepricingConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListCustomerRepricingConfigsResponse) GetCustomerRepricingConfigs
func (x *ListCustomerRepricingConfigsResponse) GetCustomerRepricingConfigs() []*CustomerRepricingConfigfunc (*ListCustomerRepricingConfigsResponse) GetNextPageToken
func (x *ListCustomerRepricingConfigsResponse) GetNextPageToken() stringfunc (*ListCustomerRepricingConfigsResponse) ProtoMessage
func (*ListCustomerRepricingConfigsResponse) ProtoMessage()func (*ListCustomerRepricingConfigsResponse) ProtoReflect
func (x *ListCustomerRepricingConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListCustomerRepricingConfigsResponse) Reset
func (x *ListCustomerRepricingConfigsResponse) Reset()func (*ListCustomerRepricingConfigsResponse) String
func (x *ListCustomerRepricingConfigsResponse) String() stringListCustomersRequest
type ListCustomersRequest struct {
// Required. The resource name of the reseller account to list customers from.
// Parent uses the format: accounts/{account_id}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of customers to return. The service may return
// fewer than this value. If unspecified, returns at most 10 customers. The
// maximum value is 50.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results other than the first page.
// Obtained through
// [ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token]
// of the previous
// [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filters applied to the [CloudChannelService.ListCustomers]
// results. See
// https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
// for more information.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers]
func (*ListCustomersRequest) Descriptor
func (*ListCustomersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCustomersRequest.ProtoReflect.Descriptor instead.
func (*ListCustomersRequest) GetFilter
func (x *ListCustomersRequest) GetFilter() stringfunc (*ListCustomersRequest) GetPageSize
func (x *ListCustomersRequest) GetPageSize() int32func (*ListCustomersRequest) GetPageToken
func (x *ListCustomersRequest) GetPageToken() stringfunc (*ListCustomersRequest) GetParent
func (x *ListCustomersRequest) GetParent() stringfunc (*ListCustomersRequest) ProtoMessage
func (*ListCustomersRequest) ProtoMessage()func (*ListCustomersRequest) ProtoReflect
func (x *ListCustomersRequest) ProtoReflect() protoreflect.Messagefunc (*ListCustomersRequest) Reset
func (x *ListCustomersRequest) Reset()func (*ListCustomersRequest) String
func (x *ListCustomersRequest) String() stringListCustomersResponse
type ListCustomersResponse struct {
// The customers belonging to a reseller or distributor.
Customers []*Customer `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"`
// A token to retrieve the next page of results.
// Pass to
// [ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers].
func (*ListCustomersResponse) Descriptor
func (*ListCustomersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCustomersResponse.ProtoReflect.Descriptor instead.
func (*ListCustomersResponse) GetCustomers
func (x *ListCustomersResponse) GetCustomers() []*Customerfunc (*ListCustomersResponse) GetNextPageToken
func (x *ListCustomersResponse) GetNextPageToken() stringfunc (*ListCustomersResponse) ProtoMessage
func (*ListCustomersResponse) ProtoMessage()func (*ListCustomersResponse) ProtoReflect
func (x *ListCustomersResponse) ProtoReflect() protoreflect.Messagefunc (*ListCustomersResponse) Reset
func (x *ListCustomersResponse) Reset()func (*ListCustomersResponse) String
func (x *ListCustomersResponse) String() stringListEntitlementChangesRequest
type ListEntitlementChangesRequest struct {
// Required. The resource name of the entitlement for which to list
// entitlement changes. The `-` wildcard may be used to match entitlements
// across a customer. Formats:
//
// - accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
// - accounts/{account_id}/customers/{customer_id}/entitlements/-
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of entitlement changes to return. The service
// may return fewer than this value. If unspecified, returns at most 10
// entitlement changes. The maximum value is 50; the server will coerce values
// above 50.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous
// [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges]
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges]
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filters applied to the list results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges]
func (*ListEntitlementChangesRequest) Descriptor
func (*ListEntitlementChangesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEntitlementChangesRequest.ProtoReflect.Descriptor instead.
func (*ListEntitlementChangesRequest) GetFilter
func (x *ListEntitlementChangesRequest) GetFilter() stringfunc (*ListEntitlementChangesRequest) GetPageSize
func (x *ListEntitlementChangesRequest) GetPageSize() int32func (*ListEntitlementChangesRequest) GetPageToken
func (x *ListEntitlementChangesRequest) GetPageToken() stringfunc (*ListEntitlementChangesRequest) GetParent
func (x *ListEntitlementChangesRequest) GetParent() stringfunc (*ListEntitlementChangesRequest) ProtoMessage
func (*ListEntitlementChangesRequest) ProtoMessage()func (*ListEntitlementChangesRequest) ProtoReflect
func (x *ListEntitlementChangesRequest) ProtoReflect() protoreflect.Messagefunc (*ListEntitlementChangesRequest) Reset
func (x *ListEntitlementChangesRequest) Reset()func (*ListEntitlementChangesRequest) String
func (x *ListEntitlementChangesRequest) String() stringListEntitlementChangesResponse
type ListEntitlementChangesResponse struct {
// The list of entitlement changes.
EntitlementChanges []*EntitlementChange `protobuf:"bytes,1,rep,name=entitlement_changes,json=entitlementChanges,proto3" json:"entitlement_changes,omitempty"`
// A token to list the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges]
func (*ListEntitlementChangesResponse) Descriptor
func (*ListEntitlementChangesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEntitlementChangesResponse.ProtoReflect.Descriptor instead.
func (*ListEntitlementChangesResponse) GetEntitlementChanges
func (x *ListEntitlementChangesResponse) GetEntitlementChanges() []*EntitlementChangefunc (*ListEntitlementChangesResponse) GetNextPageToken
func (x *ListEntitlementChangesResponse) GetNextPageToken() stringfunc (*ListEntitlementChangesResponse) ProtoMessage
func (*ListEntitlementChangesResponse) ProtoMessage()func (*ListEntitlementChangesResponse) ProtoReflect
func (x *ListEntitlementChangesResponse) ProtoReflect() protoreflect.Messagefunc (*ListEntitlementChangesResponse) Reset
func (x *ListEntitlementChangesResponse) Reset()func (*ListEntitlementChangesResponse) String
func (x *ListEntitlementChangesResponse) String() stringListEntitlementsRequest
type ListEntitlementsRequest struct {
// Required. The resource name of the reseller's customer account to list
// entitlements for.
// Parent uses the format: accounts/{account_id}/customers/{customer_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, return at most 50 entitlements. The maximum
// value is 100; the server will coerce values above 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
// Obtained using
// [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token]
// of the previous
// [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
func (*ListEntitlementsRequest) Descriptor
func (*ListEntitlementsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEntitlementsRequest.ProtoReflect.Descriptor instead.
func (*ListEntitlementsRequest) GetPageSize
func (x *ListEntitlementsRequest) GetPageSize() int32func (*ListEntitlementsRequest) GetPageToken
func (x *ListEntitlementsRequest) GetPageToken() stringfunc (*ListEntitlementsRequest) GetParent
func (x *ListEntitlementsRequest) GetParent() stringfunc (*ListEntitlementsRequest) ProtoMessage
func (*ListEntitlementsRequest) ProtoMessage()func (*ListEntitlementsRequest) ProtoReflect
func (x *ListEntitlementsRequest) ProtoReflect() protoreflect.Messagefunc (*ListEntitlementsRequest) Reset
func (x *ListEntitlementsRequest) Reset()func (*ListEntitlementsRequest) String
func (x *ListEntitlementsRequest) String() stringListEntitlementsResponse
type ListEntitlementsResponse struct {
// The reseller customer's entitlements.
Entitlements []*Entitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
// A token to list the next page of results.
// Pass to
// [ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements].
func (*ListEntitlementsResponse) Descriptor
func (*ListEntitlementsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEntitlementsResponse.ProtoReflect.Descriptor instead.
func (*ListEntitlementsResponse) GetEntitlements
func (x *ListEntitlementsResponse) GetEntitlements() []*Entitlementfunc (*ListEntitlementsResponse) GetNextPageToken
func (x *ListEntitlementsResponse) GetNextPageToken() stringfunc (*ListEntitlementsResponse) ProtoMessage
func (*ListEntitlementsResponse) ProtoMessage()func (*ListEntitlementsResponse) ProtoReflect
func (x *ListEntitlementsResponse) ProtoReflect() protoreflect.Messagefunc (*ListEntitlementsResponse) Reset
func (x *ListEntitlementsResponse) Reset()func (*ListEntitlementsResponse) String
func (x *ListEntitlementsResponse) String() stringListOffersRequest
type ListOffersRequest struct {
// Required. The resource name of the reseller account from which to list
// Offers. Parent uses the format: accounts/{account_id}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, returns at most 500 Offers. The maximum value is
// 1000; the server will coerce values above 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The expression to filter results by name (name of
// the Offer), sku.name (name of the SKU), or sku.product.name (name of the
// Product).
// Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1
// Example 2: name=accounts/a1/offers/o1
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Optional. A boolean flag that determines if a response returns future
// offers 30 days from now. If the show_future_offers is true, the response
// will only contain offers that are scheduled to be available 30 days from
// now.
ShowFutureOffers bool `protobuf:"varint,7,opt,name=show_future_offers,json=showFutureOffers,proto3" json:"show_future_offers,omitempty"`
// contains filtered or unexported fields
}Request message for ListOffers.
func (*ListOffersRequest) Descriptor
func (*ListOffersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListOffersRequest.ProtoReflect.Descriptor instead.
func (*ListOffersRequest) GetFilter
func (x *ListOffersRequest) GetFilter() stringfunc (*ListOffersRequest) GetLanguageCode
func (x *ListOffersRequest) GetLanguageCode() stringfunc (*ListOffersRequest) GetPageSize
func (x *ListOffersRequest) GetPageSize() int32func (*ListOffersRequest) GetPageToken
func (x *ListOffersRequest) GetPageToken() stringfunc (*ListOffersRequest) GetParent
func (x *ListOffersRequest) GetParent() stringfunc (*ListOffersRequest) GetShowFutureOffers
func (x *ListOffersRequest) GetShowFutureOffers() boolfunc (*ListOffersRequest) ProtoMessage
func (*ListOffersRequest) ProtoMessage()func (*ListOffersRequest) ProtoReflect
func (x *ListOffersRequest) ProtoReflect() protoreflect.Messagefunc (*ListOffersRequest) Reset
func (x *ListOffersRequest) Reset()func (*ListOffersRequest) String
func (x *ListOffersRequest) String() stringListOffersResponse
type ListOffersResponse struct {
// The list of Offers requested.
Offers []*Offer `protobuf:"bytes,1,rep,name=offers,proto3" json:"offers,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListOffers.
func (*ListOffersResponse) Descriptor
func (*ListOffersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListOffersResponse.ProtoReflect.Descriptor instead.
func (*ListOffersResponse) GetNextPageToken
func (x *ListOffersResponse) GetNextPageToken() stringfunc (*ListOffersResponse) GetOffers
func (x *ListOffersResponse) GetOffers() []*Offerfunc (*ListOffersResponse) ProtoMessage
func (*ListOffersResponse) ProtoMessage()func (*ListOffersResponse) ProtoReflect
func (x *ListOffersResponse) ProtoReflect() protoreflect.Messagefunc (*ListOffersResponse) Reset
func (x *ListOffersResponse) Reset()func (*ListOffersResponse) String
func (x *ListOffersResponse) String() stringListProductsRequest
type ListProductsRequest struct {
// Required. The resource name of the reseller account.
// Format: accounts/{account_id}.
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, returns at most 100 Products. The maximum value
// is 1000; the server will coerce values above 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for ListProducts.
func (*ListProductsRequest) Descriptor
func (*ListProductsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListProductsRequest.ProtoReflect.Descriptor instead.
func (*ListProductsRequest) GetAccount
func (x *ListProductsRequest) GetAccount() stringfunc (*ListProductsRequest) GetLanguageCode
func (x *ListProductsRequest) GetLanguageCode() stringfunc (*ListProductsRequest) GetPageSize
func (x *ListProductsRequest) GetPageSize() int32func (*ListProductsRequest) GetPageToken
func (x *ListProductsRequest) GetPageToken() stringfunc (*ListProductsRequest) ProtoMessage
func (*ListProductsRequest) ProtoMessage()func (*ListProductsRequest) ProtoReflect
func (x *ListProductsRequest) ProtoReflect() protoreflect.Messagefunc (*ListProductsRequest) Reset
func (x *ListProductsRequest) Reset()func (*ListProductsRequest) String
func (x *ListProductsRequest) String() stringListProductsResponse
type ListProductsResponse struct {
// List of Products requested.
Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListProducts.
func (*ListProductsResponse) Descriptor
func (*ListProductsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListProductsResponse.ProtoReflect.Descriptor instead.
func (*ListProductsResponse) GetNextPageToken
func (x *ListProductsResponse) GetNextPageToken() stringfunc (*ListProductsResponse) GetProducts
func (x *ListProductsResponse) GetProducts() []*Productfunc (*ListProductsResponse) ProtoMessage
func (*ListProductsResponse) ProtoMessage()func (*ListProductsResponse) ProtoReflect
func (x *ListProductsResponse) ProtoReflect() protoreflect.Messagefunc (*ListProductsResponse) Reset
func (x *ListProductsResponse) Reset()func (*ListProductsResponse) String
func (x *ListProductsResponse) String() stringListPurchasableOffersRequest
type ListPurchasableOffersRequest struct {
// Defines the intended purchase.
//
// Types that are assignable to PurchaseOption:
//
// *ListPurchasableOffersRequest_CreateEntitlementPurchase_
// *ListPurchasableOffersRequest_ChangeOfferPurchase_
PurchaseOption isListPurchasableOffersRequest_PurchaseOption `protobuf_oneof:"purchase_option"`
// Required. The resource name of the customer to list Offers for.
// Format: accounts/{account_id}/customers/{customer_id}.
Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, returns at most 100 Offers. The maximum value is
// 1000; the server will coerce values above 1000.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for ListPurchasableOffers.
func (*ListPurchasableOffersRequest) Descriptor
func (*ListPurchasableOffersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableOffersRequest.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersRequest) GetChangeOfferPurchase
func (x *ListPurchasableOffersRequest) GetChangeOfferPurchase() *ListPurchasableOffersRequest_ChangeOfferPurchasefunc (*ListPurchasableOffersRequest) GetCreateEntitlementPurchase
func (x *ListPurchasableOffersRequest) GetCreateEntitlementPurchase() *ListPurchasableOffersRequest_CreateEntitlementPurchasefunc (*ListPurchasableOffersRequest) GetCustomer
func (x *ListPurchasableOffersRequest) GetCustomer() stringfunc (*ListPurchasableOffersRequest) GetLanguageCode
func (x *ListPurchasableOffersRequest) GetLanguageCode() stringfunc (*ListPurchasableOffersRequest) GetPageSize
func (x *ListPurchasableOffersRequest) GetPageSize() int32func (*ListPurchasableOffersRequest) GetPageToken
func (x *ListPurchasableOffersRequest) GetPageToken() stringfunc (*ListPurchasableOffersRequest) GetPurchaseOption
func (m *ListPurchasableOffersRequest) GetPurchaseOption() isListPurchasableOffersRequest_PurchaseOptionfunc (*ListPurchasableOffersRequest) ProtoMessage
func (*ListPurchasableOffersRequest) ProtoMessage()func (*ListPurchasableOffersRequest) ProtoReflect
func (x *ListPurchasableOffersRequest) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableOffersRequest) Reset
func (x *ListPurchasableOffersRequest) Reset()func (*ListPurchasableOffersRequest) String
func (x *ListPurchasableOffersRequest) String() stringListPurchasableOffersRequest_ChangeOfferPurchase
type ListPurchasableOffersRequest_ChangeOfferPurchase struct {
// Required. Resource name of the entitlement.
// Format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// Optional. Resource name of the new target SKU. Provide this SKU when
// upgrading or downgrading an entitlement. Format:
// products/{product_id}/skus/{sku_id}
NewSku string `protobuf:"bytes,2,opt,name=new_sku,json=newSku,proto3" json:"new_sku,omitempty"`
// Optional. Resource name of the new target Billing Account. Provide this
// Billing Account when setting up billing for a trial subscription. Format:
// accounts/{account_id}/billingAccounts/{billing_account_id}.
//
// This field is only relevant for multi-currency accounts. It should be
// left empty for single currency accounts.
BillingAccount string `protobuf:"bytes,3,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// contains filtered or unexported fields
}List Offers for ChangeOffer purchase.
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) Descriptor
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableOffersRequest_ChangeOfferPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) GetBillingAccount
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetBillingAccount() stringfunc (*ListPurchasableOffersRequest_ChangeOfferPurchase) GetEntitlement
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetEntitlement() stringfunc (*ListPurchasableOffersRequest_ChangeOfferPurchase) GetNewSku
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) GetNewSku() stringfunc (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoMessage
func (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoMessage()func (*ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoReflect
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableOffersRequest_ChangeOfferPurchase) Reset
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) Reset()func (*ListPurchasableOffersRequest_ChangeOfferPurchase) String
func (x *ListPurchasableOffersRequest_ChangeOfferPurchase) String() stringListPurchasableOffersRequest_ChangeOfferPurchase_
type ListPurchasableOffersRequest_ChangeOfferPurchase_ struct {
// List Offers for ChangeOffer purchase.
ChangeOfferPurchase *ListPurchasableOffersRequest_ChangeOfferPurchase `protobuf:"bytes,3,opt,name=change_offer_purchase,json=changeOfferPurchase,proto3,oneof"`
}ListPurchasableOffersRequest_CreateEntitlementPurchase
type ListPurchasableOffersRequest_CreateEntitlementPurchase struct {
// Required. SKU that the result should be restricted to.
// Format: products/{product_id}/skus/{sku_id}.
Sku string `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
// Optional. Billing account that the result should be restricted to.
// Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
BillingAccount string `protobuf:"bytes,2,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// contains filtered or unexported fields
}List Offers for CreateEntitlement purchase.
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Descriptor
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableOffersRequest_CreateEntitlementPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) GetBillingAccount
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) GetBillingAccount() stringfunc (*ListPurchasableOffersRequest_CreateEntitlementPurchase) GetSku
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) GetSku() stringfunc (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoMessage
func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoMessage()func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoReflect
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableOffersRequest_CreateEntitlementPurchase) Reset
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) Reset()func (*ListPurchasableOffersRequest_CreateEntitlementPurchase) String
func (x *ListPurchasableOffersRequest_CreateEntitlementPurchase) String() stringListPurchasableOffersRequest_CreateEntitlementPurchase_
type ListPurchasableOffersRequest_CreateEntitlementPurchase_ struct {
// List Offers for CreateEntitlement purchase.
CreateEntitlementPurchase *ListPurchasableOffersRequest_CreateEntitlementPurchase `protobuf:"bytes,2,opt,name=create_entitlement_purchase,json=createEntitlementPurchase,proto3,oneof"`
}ListPurchasableOffersResponse
type ListPurchasableOffersResponse struct {
// The list of Offers requested.
PurchasableOffers []*PurchasableOffer `protobuf:"bytes,1,rep,name=purchasable_offers,json=purchasableOffers,proto3" json:"purchasable_offers,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListPurchasableOffers.
func (*ListPurchasableOffersResponse) Descriptor
func (*ListPurchasableOffersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableOffersResponse.ProtoReflect.Descriptor instead.
func (*ListPurchasableOffersResponse) GetNextPageToken
func (x *ListPurchasableOffersResponse) GetNextPageToken() stringfunc (*ListPurchasableOffersResponse) GetPurchasableOffers
func (x *ListPurchasableOffersResponse) GetPurchasableOffers() []*PurchasableOfferfunc (*ListPurchasableOffersResponse) ProtoMessage
func (*ListPurchasableOffersResponse) ProtoMessage()func (*ListPurchasableOffersResponse) ProtoReflect
func (x *ListPurchasableOffersResponse) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableOffersResponse) Reset
func (x *ListPurchasableOffersResponse) Reset()func (*ListPurchasableOffersResponse) String
func (x *ListPurchasableOffersResponse) String() stringListPurchasableSkusRequest
type ListPurchasableSkusRequest struct {
// Defines the intended purchase.
//
// Types that are assignable to PurchaseOption:
//
// *ListPurchasableSkusRequest_CreateEntitlementPurchase_
// *ListPurchasableSkusRequest_ChangeOfferPurchase_
PurchaseOption isListPurchasableSkusRequest_PurchaseOption `protobuf_oneof:"purchase_option"`
// Required. The resource name of the customer to list SKUs for.
// Format: accounts/{account_id}/customers/{customer_id}.
Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, returns at most 100 SKUs. The maximum value is
// 1000; the server will coerce values above 1000.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for ListPurchasableSkus.
func (*ListPurchasableSkusRequest) Descriptor
func (*ListPurchasableSkusRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableSkusRequest.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusRequest) GetChangeOfferPurchase
func (x *ListPurchasableSkusRequest) GetChangeOfferPurchase() *ListPurchasableSkusRequest_ChangeOfferPurchasefunc (*ListPurchasableSkusRequest) GetCreateEntitlementPurchase
func (x *ListPurchasableSkusRequest) GetCreateEntitlementPurchase() *ListPurchasableSkusRequest_CreateEntitlementPurchasefunc (*ListPurchasableSkusRequest) GetCustomer
func (x *ListPurchasableSkusRequest) GetCustomer() stringfunc (*ListPurchasableSkusRequest) GetLanguageCode
func (x *ListPurchasableSkusRequest) GetLanguageCode() stringfunc (*ListPurchasableSkusRequest) GetPageSize
func (x *ListPurchasableSkusRequest) GetPageSize() int32func (*ListPurchasableSkusRequest) GetPageToken
func (x *ListPurchasableSkusRequest) GetPageToken() stringfunc (*ListPurchasableSkusRequest) GetPurchaseOption
func (m *ListPurchasableSkusRequest) GetPurchaseOption() isListPurchasableSkusRequest_PurchaseOptionfunc (*ListPurchasableSkusRequest) ProtoMessage
func (*ListPurchasableSkusRequest) ProtoMessage()func (*ListPurchasableSkusRequest) ProtoReflect
func (x *ListPurchasableSkusRequest) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableSkusRequest) Reset
func (x *ListPurchasableSkusRequest) Reset()func (*ListPurchasableSkusRequest) String
func (x *ListPurchasableSkusRequest) String() stringListPurchasableSkusRequest_ChangeOfferPurchase
type ListPurchasableSkusRequest_ChangeOfferPurchase struct {
// Required. Resource name of the entitlement.
// Format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// Required. Change Type for the entitlement.
ChangeType ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3,enum=google.cloud.channel.v1.ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType" json:"change_type,omitempty"`
// contains filtered or unexported fields
}List SKUs for upgrading or downgrading an entitlement. Make the purchase using [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) Descriptor
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableSkusRequest_ChangeOfferPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) GetChangeType
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) GetChangeType() ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeTypefunc (*ListPurchasableSkusRequest_ChangeOfferPurchase) GetEntitlement
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) GetEntitlement() stringfunc (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoMessage
func (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoMessage()func (*ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoReflect
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableSkusRequest_ChangeOfferPurchase) Reset
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) Reset()func (*ListPurchasableSkusRequest_ChangeOfferPurchase) String
func (x *ListPurchasableSkusRequest_ChangeOfferPurchase) String() stringListPurchasableSkusRequest_ChangeOfferPurchase_
type ListPurchasableSkusRequest_ChangeOfferPurchase_ struct {
// List SKUs for ChangeOffer purchase with a new SKU.
ChangeOfferPurchase *ListPurchasableSkusRequest_ChangeOfferPurchase `protobuf:"bytes,3,opt,name=change_offer_purchase,json=changeOfferPurchase,proto3,oneof"`
}ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType
type ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType int32Change Type enum.
ListPurchasableSkusRequest_ChangeOfferPurchase_CHANGE_TYPE_UNSPECIFIED, ListPurchasableSkusRequest_ChangeOfferPurchase_UPGRADE, ListPurchasableSkusRequest_ChangeOfferPurchase_DOWNGRADE
const (
// Not used.
ListPurchasableSkusRequest_ChangeOfferPurchase_CHANGE_TYPE_UNSPECIFIED ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType = 0
// SKU is an upgrade on the current entitlement.
ListPurchasableSkusRequest_ChangeOfferPurchase_UPGRADE ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType = 1
// SKU is a downgrade on the current entitlement.
ListPurchasableSkusRequest_ChangeOfferPurchase_DOWNGRADE ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType = 2
)func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Descriptor
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Descriptor() protoreflect.EnumDescriptorfunc (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Enum
func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Enum() *ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeTypefunc (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) EnumDescriptor
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) EnumDescriptor() ([]byte, []int)Deprecated: Use ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType.Descriptor instead.
func (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Number
func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Number() protoreflect.EnumNumberfunc (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) String
func (x ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) String() stringfunc (ListPurchasableSkusRequest_ChangeOfferPurchase_ChangeType) Type
ListPurchasableSkusRequest_CreateEntitlementPurchase
type ListPurchasableSkusRequest_CreateEntitlementPurchase struct {
// Required. List SKUs belonging to this Product.
// Format: products/{product_id}.
// Supports products/- to retrieve SKUs for all products.
Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
// contains filtered or unexported fields
}List SKUs for a new entitlement. Make the purchase using [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement].
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Descriptor
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableSkusRequest_CreateEntitlementPurchase.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) GetProduct
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) GetProduct() stringfunc (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoMessage
func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoMessage()func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoReflect
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableSkusRequest_CreateEntitlementPurchase) Reset
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) Reset()func (*ListPurchasableSkusRequest_CreateEntitlementPurchase) String
func (x *ListPurchasableSkusRequest_CreateEntitlementPurchase) String() stringListPurchasableSkusRequest_CreateEntitlementPurchase_
type ListPurchasableSkusRequest_CreateEntitlementPurchase_ struct {
// List SKUs for CreateEntitlement purchase.
CreateEntitlementPurchase *ListPurchasableSkusRequest_CreateEntitlementPurchase `protobuf:"bytes,2,opt,name=create_entitlement_purchase,json=createEntitlementPurchase,proto3,oneof"`
}ListPurchasableSkusResponse
type ListPurchasableSkusResponse struct {
// The list of SKUs requested.
PurchasableSkus []*PurchasableSku `protobuf:"bytes,1,rep,name=purchasable_skus,json=purchasableSkus,proto3" json:"purchasable_skus,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListPurchasableSkus.
func (*ListPurchasableSkusResponse) Descriptor
func (*ListPurchasableSkusResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPurchasableSkusResponse.ProtoReflect.Descriptor instead.
func (*ListPurchasableSkusResponse) GetNextPageToken
func (x *ListPurchasableSkusResponse) GetNextPageToken() stringfunc (*ListPurchasableSkusResponse) GetPurchasableSkus
func (x *ListPurchasableSkusResponse) GetPurchasableSkus() []*PurchasableSkufunc (*ListPurchasableSkusResponse) ProtoMessage
func (*ListPurchasableSkusResponse) ProtoMessage()func (*ListPurchasableSkusResponse) ProtoReflect
func (x *ListPurchasableSkusResponse) ProtoReflect() protoreflect.Messagefunc (*ListPurchasableSkusResponse) Reset
func (x *ListPurchasableSkusResponse) Reset()func (*ListPurchasableSkusResponse) String
func (x *ListPurchasableSkusResponse) String() stringListReportsRequest (deprecated)
type ListReportsRequest struct {
// Required. The resource name of the partner account to list available
// reports for. Parent uses the format: accounts/{account_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size of the report. The server might return fewer
// results than requested. If unspecified, returns 20 reports. The maximum
// value is 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token that specifies a page of results beyond the first page.
// Obtained through
// [ListReportsResponse.next_page_token][google.cloud.channel.v1.ListReportsResponse.next_page_token]
// of the previous
// [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The BCP-47 language code, such as "en-US". If specified, the
// response is localized to the corresponding language code if the
// original data sources support it.
// Default is "en-US".
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*ListReportsRequest) Descriptor (deprecated)
func (*ListReportsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListReportsRequest.ProtoReflect.Descriptor instead.
func (*ListReportsRequest) GetLanguageCode (deprecated)
func (x *ListReportsRequest) GetLanguageCode() stringfunc (*ListReportsRequest) GetPageSize (deprecated)
func (x *ListReportsRequest) GetPageSize() int32func (*ListReportsRequest) GetPageToken (deprecated)
func (x *ListReportsRequest) GetPageToken() stringfunc (*ListReportsRequest) GetParent (deprecated)
func (x *ListReportsRequest) GetParent() stringfunc (*ListReportsRequest) ProtoMessage (deprecated)
func (*ListReportsRequest) ProtoMessage()func (*ListReportsRequest) ProtoReflect (deprecated)
func (x *ListReportsRequest) ProtoReflect() protoreflect.Messagefunc (*ListReportsRequest) Reset (deprecated)
func (x *ListReportsRequest) Reset()func (*ListReportsRequest) String (deprecated)
func (x *ListReportsRequest) String() stringListReportsResponse (deprecated)
type ListReportsResponse struct {
// The reports available to the partner.
Reports []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
// Pass this token to
// [FetchReportResultsRequest.page_token][google.cloud.channel.v1.FetchReportResultsRequest.page_token]
// to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*ListReportsResponse) Descriptor (deprecated)
func (*ListReportsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListReportsResponse.ProtoReflect.Descriptor instead.
func (*ListReportsResponse) GetNextPageToken (deprecated)
func (x *ListReportsResponse) GetNextPageToken() stringfunc (*ListReportsResponse) GetReports (deprecated)
func (x *ListReportsResponse) GetReports() []*Reportfunc (*ListReportsResponse) ProtoMessage (deprecated)
func (*ListReportsResponse) ProtoMessage()func (*ListReportsResponse) ProtoReflect (deprecated)
func (x *ListReportsResponse) ProtoReflect() protoreflect.Messagefunc (*ListReportsResponse) Reset (deprecated)
func (x *ListReportsResponse) Reset()func (*ListReportsResponse) String (deprecated)
func (x *ListReportsResponse) String() stringListSkuGroupBillableSkusRequest
type ListSkuGroupBillableSkusRequest struct {
// Required. Resource name of the SKU group.
// Format: accounts/{account}/skuGroups/{sku_group}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of SKUs to return. The service may return
// fewer than this value. If unspecified, returns a maximum of 100000 SKUs.
// The maximum value is 100000; values above 100000 will be coerced to 100000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results beyond the first page.
// Obtained through
// [ListSkuGroupBillableSkus.next_page_token][] of the previous
// [CloudChannelService.ListSkuGroupBillableSkus][google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for ListSkuGroupBillableSkus.
func (*ListSkuGroupBillableSkusRequest) Descriptor
func (*ListSkuGroupBillableSkusRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSkuGroupBillableSkusRequest.ProtoReflect.Descriptor instead.
func (*ListSkuGroupBillableSkusRequest) GetPageSize
func (x *ListSkuGroupBillableSkusRequest) GetPageSize() int32func (*ListSkuGroupBillableSkusRequest) GetPageToken
func (x *ListSkuGroupBillableSkusRequest) GetPageToken() stringfunc (*ListSkuGroupBillableSkusRequest) GetParent
func (x *ListSkuGroupBillableSkusRequest) GetParent() stringfunc (*ListSkuGroupBillableSkusRequest) ProtoMessage
func (*ListSkuGroupBillableSkusRequest) ProtoMessage()func (*ListSkuGroupBillableSkusRequest) ProtoReflect
func (x *ListSkuGroupBillableSkusRequest) ProtoReflect() protoreflect.Messagefunc (*ListSkuGroupBillableSkusRequest) Reset
func (x *ListSkuGroupBillableSkusRequest) Reset()func (*ListSkuGroupBillableSkusRequest) String
func (x *ListSkuGroupBillableSkusRequest) String() stringListSkuGroupBillableSkusResponse
type ListSkuGroupBillableSkusResponse struct {
// The list of billable SKUs in the requested SKU group.
BillableSkus []*BillableSku `protobuf:"bytes,1,rep,name=billable_skus,json=billableSkus,proto3" json:"billable_skus,omitempty"`
// A token to retrieve the next page of results.
// Pass to [ListSkuGroupBillableSkus.page_token][] to obtain that
// page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListSkuGroupBillableSkus.
func (*ListSkuGroupBillableSkusResponse) Descriptor
func (*ListSkuGroupBillableSkusResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSkuGroupBillableSkusResponse.ProtoReflect.Descriptor instead.
func (*ListSkuGroupBillableSkusResponse) GetBillableSkus
func (x *ListSkuGroupBillableSkusResponse) GetBillableSkus() []*BillableSkufunc (*ListSkuGroupBillableSkusResponse) GetNextPageToken
func (x *ListSkuGroupBillableSkusResponse) GetNextPageToken() stringfunc (*ListSkuGroupBillableSkusResponse) ProtoMessage
func (*ListSkuGroupBillableSkusResponse) ProtoMessage()func (*ListSkuGroupBillableSkusResponse) ProtoReflect
func (x *ListSkuGroupBillableSkusResponse) ProtoReflect() protoreflect.Messagefunc (*ListSkuGroupBillableSkusResponse) Reset
func (x *ListSkuGroupBillableSkusResponse) Reset()func (*ListSkuGroupBillableSkusResponse) String
func (x *ListSkuGroupBillableSkusResponse) String() stringListSkuGroupsRequest
type ListSkuGroupsRequest struct {
// Required. The resource name of the account from which to list SKU groups.
// Parent uses the format: accounts/{account}.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of SKU groups to return. The service may
// return fewer than this value. If unspecified, returns a maximum of 1000 SKU
// groups. The maximum value is 1000; values above 1000 will be coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results beyond the first page.
// Obtained through
// [ListSkuGroups.next_page_token][] of the previous
// [CloudChannelService.ListSkuGroups][google.cloud.channel.v1.CloudChannelService.ListSkuGroups]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message for ListSkuGroups.
func (*ListSkuGroupsRequest) Descriptor
func (*ListSkuGroupsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSkuGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListSkuGroupsRequest) GetPageSize
func (x *ListSkuGroupsRequest) GetPageSize() int32func (*ListSkuGroupsRequest) GetPageToken
func (x *ListSkuGroupsRequest) GetPageToken() stringfunc (*ListSkuGroupsRequest) GetParent
func (x *ListSkuGroupsRequest) GetParent() stringfunc (*ListSkuGroupsRequest) ProtoMessage
func (*ListSkuGroupsRequest) ProtoMessage()func (*ListSkuGroupsRequest) ProtoReflect
func (x *ListSkuGroupsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSkuGroupsRequest) Reset
func (x *ListSkuGroupsRequest) Reset()func (*ListSkuGroupsRequest) String
func (x *ListSkuGroupsRequest) String() stringListSkuGroupsResponse
type ListSkuGroupsResponse struct {
// The list of SKU groups requested.
SkuGroups []*SkuGroup `protobuf:"bytes,1,rep,name=sku_groups,json=skuGroups,proto3" json:"sku_groups,omitempty"`
// A token to retrieve the next page of results.
// Pass to [ListSkuGroups.page_token][] to obtain that
// page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListSkuGroups.
func (*ListSkuGroupsResponse) Descriptor
func (*ListSkuGroupsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSkuGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListSkuGroupsResponse) GetNextPageToken
func (x *ListSkuGroupsResponse) GetNextPageToken() stringfunc (*ListSkuGroupsResponse) GetSkuGroups
func (x *ListSkuGroupsResponse) GetSkuGroups() []*SkuGroupfunc (*ListSkuGroupsResponse) ProtoMessage
func (*ListSkuGroupsResponse) ProtoMessage()func (*ListSkuGroupsResponse) ProtoReflect
func (x *ListSkuGroupsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSkuGroupsResponse) Reset
func (x *ListSkuGroupsResponse) Reset()func (*ListSkuGroupsResponse) String
func (x *ListSkuGroupsResponse) String() stringListSkusRequest
type ListSkusRequest struct {
// Required. The resource name of the Product to list SKUs for.
// Parent uses the format: products/{product_id}.
// Supports products/- to retrieve SKUs for all products.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Resource name of the reseller.
// Format: accounts/{account_id}.
Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
// Optional. Requested page size. Server might return fewer results than
// requested. If unspecified, returns at most 100 SKUs. The maximum value is
// 1000; the server will coerce values above 1000.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token for a page of results other than the first page.
// Optional.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for ListSkus.
func (*ListSkusRequest) Descriptor
func (*ListSkusRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSkusRequest.ProtoReflect.Descriptor instead.
func (*ListSkusRequest) GetAccount
func (x *ListSkusRequest) GetAccount() stringfunc (*ListSkusRequest) GetLanguageCode
func (x *ListSkusRequest) GetLanguageCode() stringfunc (*ListSkusRequest) GetPageSize
func (x *ListSkusRequest) GetPageSize() int32func (*ListSkusRequest) GetPageToken
func (x *ListSkusRequest) GetPageToken() stringfunc (*ListSkusRequest) GetParent
func (x *ListSkusRequest) GetParent() stringfunc (*ListSkusRequest) ProtoMessage
func (*ListSkusRequest) ProtoMessage()func (*ListSkusRequest) ProtoReflect
func (x *ListSkusRequest) ProtoReflect() protoreflect.Messagefunc (*ListSkusRequest) Reset
func (x *ListSkusRequest) Reset()func (*ListSkusRequest) String
func (x *ListSkusRequest) String() stringListSkusResponse
type ListSkusResponse struct {
// The list of SKUs requested.
Skus []*Sku `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"`
// A token to retrieve the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListSkus.
func (*ListSkusResponse) Descriptor
func (*ListSkusResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSkusResponse.ProtoReflect.Descriptor instead.
func (*ListSkusResponse) GetNextPageToken
func (x *ListSkusResponse) GetNextPageToken() stringfunc (*ListSkusResponse) GetSkus
func (x *ListSkusResponse) GetSkus() []*Skufunc (*ListSkusResponse) ProtoMessage
func (*ListSkusResponse) ProtoMessage()func (*ListSkusResponse) ProtoReflect
func (x *ListSkusResponse) ProtoReflect() protoreflect.Messagefunc (*ListSkusResponse) Reset
func (x *ListSkusResponse) Reset()func (*ListSkusResponse) String
func (x *ListSkusResponse) String() stringListSubscribersRequest
type ListSubscribersRequest struct {
// Required. Resource name of the account.
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// Optional. The maximum number of service accounts to return. The service may
// return fewer than this value. If unspecified, returns at most 100 service
// accounts. The maximum value is 1000; the server will coerce values above
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListSubscribers` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListSubscribers` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request Message for ListSubscribers.
func (*ListSubscribersRequest) Descriptor
func (*ListSubscribersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSubscribersRequest.ProtoReflect.Descriptor instead.
func (*ListSubscribersRequest) GetAccount
func (x *ListSubscribersRequest) GetAccount() stringfunc (*ListSubscribersRequest) GetPageSize
func (x *ListSubscribersRequest) GetPageSize() int32func (*ListSubscribersRequest) GetPageToken
func (x *ListSubscribersRequest) GetPageToken() stringfunc (*ListSubscribersRequest) ProtoMessage
func (*ListSubscribersRequest) ProtoMessage()func (*ListSubscribersRequest) ProtoReflect
func (x *ListSubscribersRequest) ProtoReflect() protoreflect.Messagefunc (*ListSubscribersRequest) Reset
func (x *ListSubscribersRequest) Reset()func (*ListSubscribersRequest) String
func (x *ListSubscribersRequest) String() stringListSubscribersResponse
type ListSubscribersResponse struct {
// Name of the topic registered with the reseller.
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
// List of service accounts which have subscriber access to the topic.
ServiceAccounts []string `protobuf:"bytes,2,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response Message for ListSubscribers.
func (*ListSubscribersResponse) Descriptor
func (*ListSubscribersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSubscribersResponse.ProtoReflect.Descriptor instead.
func (*ListSubscribersResponse) GetNextPageToken
func (x *ListSubscribersResponse) GetNextPageToken() stringfunc (*ListSubscribersResponse) GetServiceAccounts
func (x *ListSubscribersResponse) GetServiceAccounts() []stringfunc (*ListSubscribersResponse) GetTopic
func (x *ListSubscribersResponse) GetTopic() stringfunc (*ListSubscribersResponse) ProtoMessage
func (*ListSubscribersResponse) ProtoMessage()func (*ListSubscribersResponse) ProtoReflect
func (x *ListSubscribersResponse) ProtoReflect() protoreflect.Messagefunc (*ListSubscribersResponse) Reset
func (x *ListSubscribersResponse) Reset()func (*ListSubscribersResponse) String
func (x *ListSubscribersResponse) String() stringListTransferableOffersRequest
type ListTransferableOffersRequest struct {
// Specifies the identity of transferred customer.
// Either a cloud_identity_id of the customer or the customer name is
// required to look up transferrable Offers.
//
// Types that are assignable to TransferredCustomerIdentity:
//
// *ListTransferableOffersRequest_CloudIdentityId
// *ListTransferableOffersRequest_CustomerName
TransferredCustomerIdentity isListTransferableOffersRequest_TransferredCustomerIdentity `protobuf_oneof:"transferred_customer_identity"`
// Required. The resource name of the reseller's account.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server might return fewer results than requested.
// If unspecified, returns at most 100 offers.
// The maximum value is 1000; the server will coerce values above 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token for a page of results other than the first page.
// Obtained using
// [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
// of the previous
// [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
// call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Required. The SKU to look up Offers for.
Sku string `protobuf:"bytes,6,opt,name=sku,proto3" json:"sku,omitempty"`
// Optional. The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Optional. The Billing Account to look up Offers for. Format:
// accounts/{account_id}/billingAccounts/{billing_account_id}.
//
// This field is only relevant for multi-currency accounts. It should be left
// empty for single currency accounts.
BillingAccount string `protobuf:"bytes,8,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
func (*ListTransferableOffersRequest) Descriptor
func (*ListTransferableOffersRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransferableOffersRequest.ProtoReflect.Descriptor instead.
func (*ListTransferableOffersRequest) GetBillingAccount
func (x *ListTransferableOffersRequest) GetBillingAccount() stringfunc (*ListTransferableOffersRequest) GetCloudIdentityId
func (x *ListTransferableOffersRequest) GetCloudIdentityId() stringfunc (*ListTransferableOffersRequest) GetCustomerName
func (x *ListTransferableOffersRequest) GetCustomerName() stringfunc (*ListTransferableOffersRequest) GetLanguageCode
func (x *ListTransferableOffersRequest) GetLanguageCode() stringfunc (*ListTransferableOffersRequest) GetPageSize
func (x *ListTransferableOffersRequest) GetPageSize() int32func (*ListTransferableOffersRequest) GetPageToken
func (x *ListTransferableOffersRequest) GetPageToken() stringfunc (*ListTransferableOffersRequest) GetParent
func (x *ListTransferableOffersRequest) GetParent() stringfunc (*ListTransferableOffersRequest) GetSku
func (x *ListTransferableOffersRequest) GetSku() stringfunc (*ListTransferableOffersRequest) GetTransferredCustomerIdentity
func (m *ListTransferableOffersRequest) GetTransferredCustomerIdentity() isListTransferableOffersRequest_TransferredCustomerIdentityfunc (*ListTransferableOffersRequest) ProtoMessage
func (*ListTransferableOffersRequest) ProtoMessage()func (*ListTransferableOffersRequest) ProtoReflect
func (x *ListTransferableOffersRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransferableOffersRequest) Reset
func (x *ListTransferableOffersRequest) Reset()func (*ListTransferableOffersRequest) String
func (x *ListTransferableOffersRequest) String() stringListTransferableOffersRequest_CloudIdentityId
type ListTransferableOffersRequest_CloudIdentityId struct {
// Customer's Cloud Identity ID
CloudIdentityId string `protobuf:"bytes,4,opt,name=cloud_identity_id,json=cloudIdentityId,proto3,oneof"`
}ListTransferableOffersRequest_CustomerName
type ListTransferableOffersRequest_CustomerName struct {
// A reseller should create a customer and use the resource name of
// that customer here.
CustomerName string `protobuf:"bytes,5,opt,name=customer_name,json=customerName,proto3,oneof"`
}ListTransferableOffersResponse
type ListTransferableOffersResponse struct {
// Information about Offers for a customer that can be used for
// transfer.
TransferableOffers []*TransferableOffer `protobuf:"bytes,1,rep,name=transferable_offers,json=transferableOffers,proto3" json:"transferable_offers,omitempty"`
// A token to retrieve the next page of results.
// Pass to
// [ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers].
func (*ListTransferableOffersResponse) Descriptor
func (*ListTransferableOffersResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransferableOffersResponse.ProtoReflect.Descriptor instead.
func (*ListTransferableOffersResponse) GetNextPageToken
func (x *ListTransferableOffersResponse) GetNextPageToken() stringfunc (*ListTransferableOffersResponse) GetTransferableOffers
func (x *ListTransferableOffersResponse) GetTransferableOffers() []*TransferableOfferfunc (*ListTransferableOffersResponse) ProtoMessage
func (*ListTransferableOffersResponse) ProtoMessage()func (*ListTransferableOffersResponse) ProtoReflect
func (x *ListTransferableOffersResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransferableOffersResponse) Reset
func (x *ListTransferableOffersResponse) Reset()func (*ListTransferableOffersResponse) String
func (x *ListTransferableOffersResponse) String() stringListTransferableSkusRequest
type ListTransferableSkusRequest struct {
// Specifies the identity of transferred customer.
// Either a cloud_identity_id of the customer or the customer name is
// required to look up transferable SKUs.
//
// Types that are assignable to TransferredCustomerIdentity:
//
// *ListTransferableSkusRequest_CloudIdentityId
// *ListTransferableSkusRequest_CustomerName
TransferredCustomerIdentity isListTransferableSkusRequest_TransferredCustomerIdentity `protobuf_oneof:"transferred_customer_identity"`
// Required. The reseller account's resource name.
// Parent uses the format: accounts/{account_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The requested page size. Server might return fewer results than requested.
// If unspecified, returns at most 100 SKUs.
// The maximum value is 1000; the server will coerce values above 1000.
// Optional.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token for a page of results other than the first page.
// Obtained using
// [ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token]
// of the previous
// [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
// call. Optional.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. The super admin of the resold customer generates this token to
// authorize a reseller to access their Cloud Identity and purchase
// entitlements on their behalf. You can omit this token after authorization.
// See https://support.google.com/a/answer/7643790 for more details.
AuthToken string `protobuf:"bytes,5,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
// The BCP-47 language code. For example, "en-US". The
// response will localize in the corresponding language code, if specified.
// The default value is "en-US".
// Optional.
LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus]
func (*ListTransferableSkusRequest) Descriptor
func (*ListTransferableSkusRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransferableSkusRequest.ProtoReflect.Descriptor instead.
func (*ListTransferableSkusRequest) GetAuthToken
func (x *ListTransferableSkusRequest) GetAuthToken() stringfunc (*ListTransferableSkusRequest) GetCloudIdentityId
func (x *ListTransferableSkusRequest) GetCloudIdentityId() stringfunc (*ListTransferableSkusRequest) GetCustomerName
func (x *ListTransferableSkusRequest) GetCustomerName() stringfunc (*ListTransferableSkusRequest) GetLanguageCode
func (x *ListTransferableSkusRequest) GetLanguageCode() stringfunc (*ListTransferableSkusRequest) GetPageSize
func (x *ListTransferableSkusRequest) GetPageSize() int32func (*ListTransferableSkusRequest) GetPageToken
func (x *ListTransferableSkusRequest) GetPageToken() stringfunc (*ListTransferableSkusRequest) GetParent
func (x *ListTransferableSkusRequest) GetParent() stringfunc (*ListTransferableSkusRequest) GetTransferredCustomerIdentity
func (m *ListTransferableSkusRequest) GetTransferredCustomerIdentity() isListTransferableSkusRequest_TransferredCustomerIdentityfunc (*ListTransferableSkusRequest) ProtoMessage
func (*ListTransferableSkusRequest) ProtoMessage()func (*ListTransferableSkusRequest) ProtoReflect
func (x *ListTransferableSkusRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransferableSkusRequest) Reset
func (x *ListTransferableSkusRequest) Reset()func (*ListTransferableSkusRequest) String
func (x *ListTransferableSkusRequest) String() stringListTransferableSkusRequest_CloudIdentityId
type ListTransferableSkusRequest_CloudIdentityId struct {
// Customer's Cloud Identity ID
CloudIdentityId string `protobuf:"bytes,4,opt,name=cloud_identity_id,json=cloudIdentityId,proto3,oneof"`
}ListTransferableSkusRequest_CustomerName
type ListTransferableSkusRequest_CustomerName struct {
// A reseller is required to create a customer and use the resource name of
// the created customer here.
// Customer_name uses the format:
// accounts/{account_id}/customers/{customer_id}
CustomerName string `protobuf:"bytes,7,opt,name=customer_name,json=customerName,proto3,oneof"`
}ListTransferableSkusResponse
type ListTransferableSkusResponse struct {
// Information about existing SKUs for a customer that needs a transfer.
TransferableSkus []*TransferableSku `protobuf:"bytes,1,rep,name=transferable_skus,json=transferableSkus,proto3" json:"transferable_skus,omitempty"`
// A token to retrieve the next page of results.
// Pass to
// [ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token]
// to obtain that page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus].
func (*ListTransferableSkusResponse) Descriptor
func (*ListTransferableSkusResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransferableSkusResponse.ProtoReflect.Descriptor instead.
func (*ListTransferableSkusResponse) GetNextPageToken
func (x *ListTransferableSkusResponse) GetNextPageToken() stringfunc (*ListTransferableSkusResponse) GetTransferableSkus
func (x *ListTransferableSkusResponse) GetTransferableSkus() []*TransferableSkufunc (*ListTransferableSkusResponse) ProtoMessage
func (*ListTransferableSkusResponse) ProtoMessage()func (*ListTransferableSkusResponse) ProtoReflect
func (x *ListTransferableSkusResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransferableSkusResponse) Reset
func (x *ListTransferableSkusResponse) Reset()func (*ListTransferableSkusResponse) String
func (x *ListTransferableSkusResponse) String() stringLookupOfferRequest
type LookupOfferRequest struct {
// Required. The resource name of the entitlement to retrieve the Offer.
// Entitlement uses the format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// contains filtered or unexported fields
}Request message for LookupOffer.
func (*LookupOfferRequest) Descriptor
func (*LookupOfferRequest) Descriptor() ([]byte, []int)Deprecated: Use LookupOfferRequest.ProtoReflect.Descriptor instead.
func (*LookupOfferRequest) GetEntitlement
func (x *LookupOfferRequest) GetEntitlement() stringfunc (*LookupOfferRequest) ProtoMessage
func (*LookupOfferRequest) ProtoMessage()func (*LookupOfferRequest) ProtoReflect
func (x *LookupOfferRequest) ProtoReflect() protoreflect.Messagefunc (*LookupOfferRequest) Reset
func (x *LookupOfferRequest) Reset()func (*LookupOfferRequest) String
func (x *LookupOfferRequest) String() stringMarketingInfo
type MarketingInfo struct {
// Human readable name.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Human readable description. Description can contain HTML.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Default logo.
DefaultLogo *Media `protobuf:"bytes,3,opt,name=default_logo,json=defaultLogo,proto3" json:"default_logo,omitempty"`
// contains filtered or unexported fields
}Represents the marketing information for a Product, SKU or Offer.
func (*MarketingInfo) Descriptor
func (*MarketingInfo) Descriptor() ([]byte, []int)Deprecated: Use MarketingInfo.ProtoReflect.Descriptor instead.
func (*MarketingInfo) GetDefaultLogo
func (x *MarketingInfo) GetDefaultLogo() *Mediafunc (*MarketingInfo) GetDescription
func (x *MarketingInfo) GetDescription() stringfunc (*MarketingInfo) GetDisplayName
func (x *MarketingInfo) GetDisplayName() stringfunc (*MarketingInfo) ProtoMessage
func (*MarketingInfo) ProtoMessage()func (*MarketingInfo) ProtoReflect
func (x *MarketingInfo) ProtoReflect() protoreflect.Messagefunc (*MarketingInfo) Reset
func (x *MarketingInfo) Reset()func (*MarketingInfo) String
func (x *MarketingInfo) String() stringMedia
type Media struct {
// Title of the media.
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
// URL of the media.
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
// Type of the media.
Type MediaType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.channel.v1.MediaType" json:"type,omitempty"`
// contains filtered or unexported fields
}Represents media information.
func (*Media) Descriptor
Deprecated: Use Media.ProtoReflect.Descriptor instead.
func (*Media) GetContent
func (*Media) GetTitle
func (*Media) GetType
func (*Media) ProtoMessage
func (*Media) ProtoMessage()func (*Media) ProtoReflect
func (x *Media) ProtoReflect() protoreflect.Messagefunc (*Media) Reset
func (x *Media) Reset()func (*Media) String
MediaType
type MediaType int32Type of media used.
MediaType_MEDIA_TYPE_UNSPECIFIED, MediaType_MEDIA_TYPE_IMAGE
const (
// Not used.
MediaType_MEDIA_TYPE_UNSPECIFIED MediaType = 0
// Type of image.
MediaType_MEDIA_TYPE_IMAGE MediaType = 1
)func (MediaType) Descriptor
func (MediaType) Descriptor() protoreflect.EnumDescriptorfunc (MediaType) Enum
func (MediaType) EnumDescriptor
Deprecated: Use MediaType.Descriptor instead.
func (MediaType) Number
func (x MediaType) Number() protoreflect.EnumNumberfunc (MediaType) String
func (MediaType) Type
func (MediaType) Type() protoreflect.EnumTypeOffer
type Offer struct {
// Resource Name of the Offer.
// Format: accounts/{account_id}/offers/{offer_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Marketing information for the Offer.
MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"`
// SKU the offer is associated with.
Sku *Sku `protobuf:"bytes,3,opt,name=sku,proto3" json:"sku,omitempty"`
// Describes the payment plan for the Offer.
Plan *Plan `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan,omitempty"`
// Constraints on transacting the Offer.
Constraints *Constraints `protobuf:"bytes,5,opt,name=constraints,proto3" json:"constraints,omitempty"`
// Price for each monetizable resource type.
PriceByResources []*PriceByResource `protobuf:"bytes,6,rep,name=price_by_resources,json=priceByResources,proto3" json:"price_by_resources,omitempty"`
// Start of the Offer validity time.
StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. End of the Offer validity time.
EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Parameters required to use current Offer to purchase.
ParameterDefinitions []*ParameterDefinition `protobuf:"bytes,9,rep,name=parameter_definitions,json=parameterDefinitions,proto3" json:"parameter_definitions,omitempty"`
// The deal code of the offer to get a special promotion or discount.
DealCode string `protobuf:"bytes,12,opt,name=deal_code,json=dealCode,proto3" json:"deal_code,omitempty"`
// contains filtered or unexported fields
}Represents an offer made to resellers for purchase. An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and defines the constraints for buying.
func (*Offer) Descriptor
Deprecated: Use Offer.ProtoReflect.Descriptor instead.
func (*Offer) GetConstraints
func (x *Offer) GetConstraints() *Constraintsfunc (*Offer) GetDealCode
func (*Offer) GetEndTime
func (x *Offer) GetEndTime() *timestamppb.Timestampfunc (*Offer) GetMarketingInfo
func (x *Offer) GetMarketingInfo() *MarketingInfofunc (*Offer) GetName
func (*Offer) GetParameterDefinitions
func (x *Offer) GetParameterDefinitions() []*ParameterDefinitionfunc (*Offer) GetPlan
func (*Offer) GetPriceByResources
func (x *Offer) GetPriceByResources() []*PriceByResourcefunc (*Offer) GetSku
func (*Offer) GetStartTime
func (x *Offer) GetStartTime() *timestamppb.Timestampfunc (*Offer) ProtoMessage
func (*Offer) ProtoMessage()func (*Offer) ProtoReflect
func (x *Offer) ProtoReflect() protoreflect.Messagefunc (*Offer) Reset
func (x *Offer) Reset()func (*Offer) String
OperationMetadata
type OperationMetadata struct {
// The RPC that initiated this Long Running Operation.
OperationType OperationMetadata_OperationType `protobuf:"varint,1,opt,name=operation_type,json=operationType,proto3,enum=google.cloud.channel.v1.OperationMetadata_OperationType" json:"operation_type,omitempty"`
// contains filtered or unexported fields
}Provides contextual information about a [google.longrunning.Operation][google.longrunning.Operation].
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetOperationType
func (x *OperationMetadata) GetOperationType() OperationMetadata_OperationTypefunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringOperationMetadata_OperationType
type OperationMetadata_OperationType int32RPCs that return a Long Running Operation.
OperationMetadata_OPERATION_TYPE_UNSPECIFIED, OperationMetadata_CREATE_ENTITLEMENT, OperationMetadata_CHANGE_RENEWAL_SETTINGS, OperationMetadata_START_PAID_SERVICE, OperationMetadata_ACTIVATE_ENTITLEMENT, OperationMetadata_SUSPEND_ENTITLEMENT, OperationMetadata_CANCEL_ENTITLEMENT, OperationMetadata_TRANSFER_ENTITLEMENTS, OperationMetadata_TRANSFER_ENTITLEMENTS_TO_GOOGLE, OperationMetadata_CHANGE_OFFER, OperationMetadata_CHANGE_PARAMETERS, OperationMetadata_PROVISION_CLOUD_IDENTITY
const (
// Not used.
OperationMetadata_OPERATION_TYPE_UNSPECIFIED OperationMetadata_OperationType = 0
// Long Running Operation was triggered by CreateEntitlement.
OperationMetadata_CREATE_ENTITLEMENT OperationMetadata_OperationType = 1
// Long Running Operation was triggered by ChangeRenewalSettings.
OperationMetadata_CHANGE_RENEWAL_SETTINGS OperationMetadata_OperationType = 3
// Long Running Operation was triggered by StartPaidService.
OperationMetadata_START_PAID_SERVICE OperationMetadata_OperationType = 5
// Long Running Operation was triggered by ActivateEntitlement.
OperationMetadata_ACTIVATE_ENTITLEMENT OperationMetadata_OperationType = 7
// Long Running Operation was triggered by SuspendEntitlement.
OperationMetadata_SUSPEND_ENTITLEMENT OperationMetadata_OperationType = 8
// Long Running Operation was triggered by CancelEntitlement.
OperationMetadata_CANCEL_ENTITLEMENT OperationMetadata_OperationType = 9
// Long Running Operation was triggered by TransferEntitlements.
OperationMetadata_TRANSFER_ENTITLEMENTS OperationMetadata_OperationType = 10
// Long Running Operation was triggered by TransferEntitlementsToGoogle.
OperationMetadata_TRANSFER_ENTITLEMENTS_TO_GOOGLE OperationMetadata_OperationType = 11
// Long Running Operation was triggered by ChangeOffer.
OperationMetadata_CHANGE_OFFER OperationMetadata_OperationType = 14
// Long Running Operation was triggered by ChangeParameters.
OperationMetadata_CHANGE_PARAMETERS OperationMetadata_OperationType = 15
// Long Running Operation was triggered by ProvisionCloudIdentity.
OperationMetadata_PROVISION_CLOUD_IDENTITY OperationMetadata_OperationType = 16
)func (OperationMetadata_OperationType) Descriptor
func (OperationMetadata_OperationType) Descriptor() protoreflect.EnumDescriptorfunc (OperationMetadata_OperationType) Enum
func (x OperationMetadata_OperationType) Enum() *OperationMetadata_OperationTypefunc (OperationMetadata_OperationType) EnumDescriptor
func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int)Deprecated: Use OperationMetadata_OperationType.Descriptor instead.
func (OperationMetadata_OperationType) Number
func (x OperationMetadata_OperationType) Number() protoreflect.EnumNumberfunc (OperationMetadata_OperationType) String
func (x OperationMetadata_OperationType) String() stringfunc (OperationMetadata_OperationType) Type
func (OperationMetadata_OperationType) Type() protoreflect.EnumTypeParameter
type Parameter struct {
// Name of the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Value of the parameter.
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// Output only. Specifies whether this parameter is allowed to be changed. For
// example, for a Google Workspace Business Starter entitlement in commitment
// plan, num_units is editable when entitlement is active.
Editable bool `protobuf:"varint,3,opt,name=editable,proto3" json:"editable,omitempty"`
// contains filtered or unexported fields
}Definition for extended entitlement parameters.
func (*Parameter) Descriptor
Deprecated: Use Parameter.ProtoReflect.Descriptor instead.
func (*Parameter) GetEditable
func (*Parameter) GetName
func (*Parameter) GetValue
func (*Parameter) ProtoMessage
func (*Parameter) ProtoMessage()func (*Parameter) ProtoReflect
func (x *Parameter) ProtoReflect() protoreflect.Messagefunc (*Parameter) Reset
func (x *Parameter) Reset()func (*Parameter) String
ParameterDefinition
type ParameterDefinition struct {
// Name of the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Data type of the parameter. Minimal value, Maximum value and allowed values
// will use specified data type here.
ParameterType ParameterDefinition_ParameterType `protobuf:"varint,2,opt,name=parameter_type,json=parameterType,proto3,enum=google.cloud.channel.v1.ParameterDefinition_ParameterType" json:"parameter_type,omitempty"`
// Minimal value of the parameter, if applicable. Inclusive. For example,
// minimal commitment when purchasing Anthos is 0.01.
// Applicable to INT64 and DOUBLE parameter types.
MinValue *Value `protobuf:"bytes,3,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
// Maximum value of the parameter, if applicable. Inclusive. For example,
// maximum seats when purchasing Google Workspace Business Standard.
// Applicable to INT64 and DOUBLE parameter types.
MaxValue *Value `protobuf:"bytes,4,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
// If not empty, parameter values must be drawn from this list.
// For example, [us-west1, us-west2, ...]
// Applicable to STRING parameter type.
AllowedValues []*Value `protobuf:"bytes,5,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
// If set to true, parameter is optional to purchase this Offer.
Optional bool `protobuf:"varint,6,opt,name=optional,proto3" json:"optional,omitempty"`
// contains filtered or unexported fields
}Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.
func (*ParameterDefinition) Descriptor
func (*ParameterDefinition) Descriptor() ([]byte, []int)Deprecated: Use ParameterDefinition.ProtoReflect.Descriptor instead.
func (*ParameterDefinition) GetAllowedValues
func (x *ParameterDefinition) GetAllowedValues() []*Valuefunc (*ParameterDefinition) GetMaxValue
func (x *ParameterDefinition) GetMaxValue() *Valuefunc (*ParameterDefinition) GetMinValue
func (x *ParameterDefinition) GetMinValue() *Valuefunc (*ParameterDefinition) GetName
func (x *ParameterDefinition) GetName() stringfunc (*ParameterDefinition) GetOptional
func (x *ParameterDefinition) GetOptional() boolfunc (*ParameterDefinition) GetParameterType
func (x *ParameterDefinition) GetParameterType() ParameterDefinition_ParameterTypefunc (*ParameterDefinition) ProtoMessage
func (*ParameterDefinition) ProtoMessage()func (*ParameterDefinition) ProtoReflect
func (x *ParameterDefinition) ProtoReflect() protoreflect.Messagefunc (*ParameterDefinition) Reset
func (x *ParameterDefinition) Reset()func (*ParameterDefinition) String
func (x *ParameterDefinition) String() stringParameterDefinition_ParameterType
type ParameterDefinition_ParameterType int32Data type of the parameter.
ParameterDefinition_PARAMETER_TYPE_UNSPECIFIED, ParameterDefinition_INT64, ParameterDefinition_STRING, ParameterDefinition_DOUBLE, ParameterDefinition_BOOLEAN
const (
// Not used.
ParameterDefinition_PARAMETER_TYPE_UNSPECIFIED ParameterDefinition_ParameterType = 0
// Int64 type.
ParameterDefinition_INT64 ParameterDefinition_ParameterType = 1
// String type.
ParameterDefinition_STRING ParameterDefinition_ParameterType = 2
// Double type.
ParameterDefinition_DOUBLE ParameterDefinition_ParameterType = 3
// Boolean type.
ParameterDefinition_BOOLEAN ParameterDefinition_ParameterType = 4
)func (ParameterDefinition_ParameterType) Descriptor
func (ParameterDefinition_ParameterType) Descriptor() protoreflect.EnumDescriptorfunc (ParameterDefinition_ParameterType) Enum
func (x ParameterDefinition_ParameterType) Enum() *ParameterDefinition_ParameterTypefunc (ParameterDefinition_ParameterType) EnumDescriptor
func (ParameterDefinition_ParameterType) EnumDescriptor() ([]byte, []int)Deprecated: Use ParameterDefinition_ParameterType.Descriptor instead.
func (ParameterDefinition_ParameterType) Number
func (x ParameterDefinition_ParameterType) Number() protoreflect.EnumNumberfunc (ParameterDefinition_ParameterType) String
func (x ParameterDefinition_ParameterType) String() stringfunc (ParameterDefinition_ParameterType) Type
func (ParameterDefinition_ParameterType) Type() protoreflect.EnumTypePaymentPlan
type PaymentPlan int32Describes how the reseller will be billed.
PaymentPlan_PAYMENT_PLAN_UNSPECIFIED, PaymentPlan_COMMITMENT, PaymentPlan_FLEXIBLE, PaymentPlan_FREE, PaymentPlan_TRIAL, PaymentPlan_OFFLINE
const (
// Not used.
PaymentPlan_PAYMENT_PLAN_UNSPECIFIED PaymentPlan = 0
// Commitment.
PaymentPlan_COMMITMENT PaymentPlan = 1
// No commitment.
PaymentPlan_FLEXIBLE PaymentPlan = 2
// Free.
PaymentPlan_FREE PaymentPlan = 3
// Trial.
PaymentPlan_TRIAL PaymentPlan = 4
// Price and ordering not available through API.
PaymentPlan_OFFLINE PaymentPlan = 5
)func (PaymentPlan) Descriptor
func (PaymentPlan) Descriptor() protoreflect.EnumDescriptorfunc (PaymentPlan) Enum
func (x PaymentPlan) Enum() *PaymentPlanfunc (PaymentPlan) EnumDescriptor
func (PaymentPlan) EnumDescriptor() ([]byte, []int)Deprecated: Use PaymentPlan.Descriptor instead.
func (PaymentPlan) Number
func (x PaymentPlan) Number() protoreflect.EnumNumberfunc (PaymentPlan) String
func (x PaymentPlan) String() stringfunc (PaymentPlan) Type
func (PaymentPlan) Type() protoreflect.EnumTypePaymentType
type PaymentType int32Specifies when the payment needs to happen.
PaymentType_PAYMENT_TYPE_UNSPECIFIED, PaymentType_PREPAY, PaymentType_POSTPAY
const (
// Not used.
PaymentType_PAYMENT_TYPE_UNSPECIFIED PaymentType = 0
// Prepay. Amount has to be paid before service is rendered.
PaymentType_PREPAY PaymentType = 1
// Postpay. Reseller is charged at the end of the Payment cycle.
PaymentType_POSTPAY PaymentType = 2
)func (PaymentType) Descriptor
func (PaymentType) Descriptor() protoreflect.EnumDescriptorfunc (PaymentType) Enum
func (x PaymentType) Enum() *PaymentTypefunc (PaymentType) EnumDescriptor
func (PaymentType) EnumDescriptor() ([]byte, []int)Deprecated: Use PaymentType.Descriptor instead.
func (PaymentType) Number
func (x PaymentType) Number() protoreflect.EnumNumberfunc (PaymentType) String
func (x PaymentType) String() stringfunc (PaymentType) Type
func (PaymentType) Type() protoreflect.EnumTypePercentageAdjustment
type PercentageAdjustment struct {
// The percentage of the bill to adjust.
// For example:
// Mark down by 1% => "-1.00"
// Mark up by 1% => "1.00"
// Pass-Through => "0.00"
Percentage *decimal.Decimal `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
// contains filtered or unexported fields
}An adjustment that applies a flat markup or markdown to an entire bill.
func (*PercentageAdjustment) Descriptor
func (*PercentageAdjustment) Descriptor() ([]byte, []int)Deprecated: Use PercentageAdjustment.ProtoReflect.Descriptor instead.
func (*PercentageAdjustment) GetPercentage
func (x *PercentageAdjustment) GetPercentage() *decimal.Decimalfunc (*PercentageAdjustment) ProtoMessage
func (*PercentageAdjustment) ProtoMessage()func (*PercentageAdjustment) ProtoReflect
func (x *PercentageAdjustment) ProtoReflect() protoreflect.Messagefunc (*PercentageAdjustment) Reset
func (x *PercentageAdjustment) Reset()func (*PercentageAdjustment) String
func (x *PercentageAdjustment) String() stringPeriod
type Period struct {
// Total duration of Period Type defined.
Duration int32 `protobuf:"varint,1,opt,name=duration,proto3" json:"duration,omitempty"`
// Period Type.
PeriodType PeriodType `protobuf:"varint,2,opt,name=period_type,json=periodType,proto3,enum=google.cloud.channel.v1.PeriodType" json:"period_type,omitempty"`
// contains filtered or unexported fields
}Represents period in days/months/years.
func (*Period) Descriptor
Deprecated: Use Period.ProtoReflect.Descriptor instead.
func (*Period) GetDuration
func (*Period) GetPeriodType
func (x *Period) GetPeriodType() PeriodTypefunc (*Period) ProtoMessage
func (*Period) ProtoMessage()func (*Period) ProtoReflect
func (x *Period) ProtoReflect() protoreflect.Messagefunc (*Period) Reset
func (x *Period) Reset()func (*Period) String
PeriodType
type PeriodType int32Period Type.
PeriodType_PERIOD_TYPE_UNSPECIFIED, PeriodType_DAY, PeriodType_MONTH, PeriodType_YEAR
const (
// Not used.
PeriodType_PERIOD_TYPE_UNSPECIFIED PeriodType = 0
// Day.
PeriodType_DAY PeriodType = 1
// Month.
PeriodType_MONTH PeriodType = 2
// Year.
PeriodType_YEAR PeriodType = 3
)func (PeriodType) Descriptor
func (PeriodType) Descriptor() protoreflect.EnumDescriptorfunc (PeriodType) Enum
func (x PeriodType) Enum() *PeriodTypefunc (PeriodType) EnumDescriptor
func (PeriodType) EnumDescriptor() ([]byte, []int)Deprecated: Use PeriodType.Descriptor instead.
func (PeriodType) Number
func (x PeriodType) Number() protoreflect.EnumNumberfunc (PeriodType) String
func (x PeriodType) String() stringfunc (PeriodType) Type
func (PeriodType) Type() protoreflect.EnumTypePlan
type Plan struct {
// Describes how a reseller will be billed.
PaymentPlan PaymentPlan `protobuf:"varint,1,opt,name=payment_plan,json=paymentPlan,proto3,enum=google.cloud.channel.v1.PaymentPlan" json:"payment_plan,omitempty"`
// Specifies when the payment needs to happen.
PaymentType PaymentType `protobuf:"varint,2,opt,name=payment_type,json=paymentType,proto3,enum=google.cloud.channel.v1.PaymentType" json:"payment_type,omitempty"`
// Describes how frequently the reseller will be billed, such as
// once per month.
PaymentCycle *Period `protobuf:"bytes,3,opt,name=payment_cycle,json=paymentCycle,proto3" json:"payment_cycle,omitempty"`
// Present for Offers with a trial period.
// For trial-only Offers, a paid service needs to start before the trial
// period ends for continued service.
// For Regular Offers with a trial period, the regular pricing goes into
// effect when trial period ends, or if paid service is started before the end
// of the trial period.
TrialPeriod *Period `protobuf:"bytes,4,opt,name=trial_period,json=trialPeriod,proto3" json:"trial_period,omitempty"`
// Reseller Billing account to charge after an offer transaction.
// Only present for Google Cloud offers.
BillingAccount string `protobuf:"bytes,5,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// contains filtered or unexported fields
}The payment plan for the Offer. Describes how to make a payment.
func (*Plan) Descriptor
Deprecated: Use Plan.ProtoReflect.Descriptor instead.
func (*Plan) GetBillingAccount
func (*Plan) GetPaymentCycle
func (*Plan) GetPaymentPlan
func (x *Plan) GetPaymentPlan() PaymentPlanfunc (*Plan) GetPaymentType
func (x *Plan) GetPaymentType() PaymentTypefunc (*Plan) GetTrialPeriod
func (*Plan) ProtoMessage
func (*Plan) ProtoMessage()func (*Plan) ProtoReflect
func (x *Plan) ProtoReflect() protoreflect.Messagefunc (*Plan) Reset
func (x *Plan) Reset()func (*Plan) String
Price
type Price struct {
// Base price.
BasePrice *money.Money `protobuf:"bytes,1,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty"`
// Discount percentage, represented as decimal.
// For example, a 20% discount will be represent as 0.2.
Discount float64 `protobuf:"fixed64,2,opt,name=discount,proto3" json:"discount,omitempty"`
// Effective Price after applying the discounts.
EffectivePrice *money.Money `protobuf:"bytes,3,opt,name=effective_price,json=effectivePrice,proto3" json:"effective_price,omitempty"`
// Link to external price list, such as link to Google Voice rate card.
ExternalPriceUri string `protobuf:"bytes,4,opt,name=external_price_uri,json=externalPriceUri,proto3" json:"external_price_uri,omitempty"`
// contains filtered or unexported fields
}Represents the price of the Offer.
func (*Price) Descriptor
Deprecated: Use Price.ProtoReflect.Descriptor instead.
func (*Price) GetBasePrice
func (*Price) GetDiscount
func (*Price) GetEffectivePrice
func (*Price) GetExternalPriceUri
func (*Price) ProtoMessage
func (*Price) ProtoMessage()func (*Price) ProtoReflect
func (x *Price) ProtoReflect() protoreflect.Messagefunc (*Price) Reset
func (x *Price) Reset()func (*Price) String
PriceByResource
type PriceByResource struct {
// Resource Type. Example: SEAT
ResourceType ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=google.cloud.channel.v1.ResourceType" json:"resource_type,omitempty"`
// Price of the Offer. Present if there are no price phases.
Price *Price `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
// Specifies the price by time range.
PricePhases []*PricePhase `protobuf:"bytes,3,rep,name=price_phases,json=pricePhases,proto3" json:"price_phases,omitempty"`
// contains filtered or unexported fields
}Represents price by resource type.
func (*PriceByResource) Descriptor
func (*PriceByResource) Descriptor() ([]byte, []int)Deprecated: Use PriceByResource.ProtoReflect.Descriptor instead.
func (*PriceByResource) GetPrice
func (x *PriceByResource) GetPrice() *Pricefunc (*PriceByResource) GetPricePhases
func (x *PriceByResource) GetPricePhases() []*PricePhasefunc (*PriceByResource) GetResourceType
func (x *PriceByResource) GetResourceType() ResourceTypefunc (*PriceByResource) ProtoMessage
func (*PriceByResource) ProtoMessage()func (*PriceByResource) ProtoReflect
func (x *PriceByResource) ProtoReflect() protoreflect.Messagefunc (*PriceByResource) Reset
func (x *PriceByResource) Reset()func (*PriceByResource) String
func (x *PriceByResource) String() stringPricePhase
type PricePhase struct {
// Defines the phase period type.
PeriodType PeriodType `protobuf:"varint,1,opt,name=period_type,json=periodType,proto3,enum=google.cloud.channel.v1.PeriodType" json:"period_type,omitempty"`
// Defines first period for the phase.
FirstPeriod int32 `protobuf:"varint,2,opt,name=first_period,json=firstPeriod,proto3" json:"first_period,omitempty"`
// Defines first period for the phase.
LastPeriod int32 `protobuf:"varint,3,opt,name=last_period,json=lastPeriod,proto3" json:"last_period,omitempty"`
// Price of the phase. Present if there are no price tiers.
Price *Price `protobuf:"bytes,4,opt,name=price,proto3" json:"price,omitempty"`
// Price by the resource tiers.
PriceTiers []*PriceTier `protobuf:"bytes,5,rep,name=price_tiers,json=priceTiers,proto3" json:"price_tiers,omitempty"`
// contains filtered or unexported fields
}Specifies the price by the duration of months. For example, a 20% discount for the first six months, then a 10% discount starting on the seventh month.
func (*PricePhase) Descriptor
func (*PricePhase) Descriptor() ([]byte, []int)Deprecated: Use PricePhase.ProtoReflect.Descriptor instead.
func (*PricePhase) GetFirstPeriod
func (x *PricePhase) GetFirstPeriod() int32func (*PricePhase) GetLastPeriod
func (x *PricePhase) GetLastPeriod() int32func (*PricePhase) GetPeriodType
func (x *PricePhase) GetPeriodType() PeriodTypefunc (*PricePhase) GetPrice
func (x *PricePhase) GetPrice() *Pricefunc (*PricePhase) GetPriceTiers
func (x *PricePhase) GetPriceTiers() []*PriceTierfunc (*PricePhase) ProtoMessage
func (*PricePhase) ProtoMessage()func (*PricePhase) ProtoReflect
func (x *PricePhase) ProtoReflect() protoreflect.Messagefunc (*PricePhase) Reset
func (x *PricePhase) Reset()func (*PricePhase) String
func (x *PricePhase) String() stringPriceTier
type PriceTier struct {
// First resource for which the tier price applies.
FirstResource int32 `protobuf:"varint,1,opt,name=first_resource,json=firstResource,proto3" json:"first_resource,omitempty"`
// Last resource for which the tier price applies.
LastResource int32 `protobuf:"varint,2,opt,name=last_resource,json=lastResource,proto3" json:"last_resource,omitempty"`
// Price of the tier.
Price *Price `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
// contains filtered or unexported fields
}Defines price at resource tier level. For example, an offer with following definition :
- Tier 1: Provide 25% discount for all seats between 1 and 25.
- Tier 2: Provide 10% discount for all seats between 26 and 100.
- Tier 3: Provide flat 15% discount for all seats above 100.
Each of these tiers is represented as a PriceTier.
func (*PriceTier) Descriptor
Deprecated: Use PriceTier.ProtoReflect.Descriptor instead.
func (*PriceTier) GetFirstResource
func (*PriceTier) GetLastResource
func (*PriceTier) GetPrice
func (*PriceTier) ProtoMessage
func (*PriceTier) ProtoMessage()func (*PriceTier) ProtoReflect
func (x *PriceTier) ProtoReflect() protoreflect.Messagefunc (*PriceTier) Reset
func (x *PriceTier) Reset()func (*PriceTier) String
Product
type Product struct {
// Resource Name of the Product.
// Format: products/{product_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Marketing information for the product.
MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"`
// contains filtered or unexported fields
}A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc.
func (*Product) Descriptor
Deprecated: Use Product.ProtoReflect.Descriptor instead.
func (*Product) GetMarketingInfo
func (x *Product) GetMarketingInfo() *MarketingInfofunc (*Product) GetName
func (*Product) ProtoMessage
func (*Product) ProtoMessage()func (*Product) ProtoReflect
func (x *Product) ProtoReflect() protoreflect.Messagefunc (*Product) Reset
func (x *Product) Reset()func (*Product) String
PromotionalOrderType
type PromotionalOrderType int32Constraints type for Promotional offers.
PromotionalOrderType_PROMOTIONAL_TYPE_UNSPECIFIED, PromotionalOrderType_NEW_UPGRADE, PromotionalOrderType_TRANSFER, PromotionalOrderType_PROMOTION_SWITCH
const (
// Not used.
PromotionalOrderType_PROMOTIONAL_TYPE_UNSPECIFIED PromotionalOrderType = 0
// Order used for new customers, trial conversions and upgrades.
PromotionalOrderType_NEW_UPGRADE PromotionalOrderType = 1
// All orders for transferring an existing customer.
PromotionalOrderType_TRANSFER PromotionalOrderType = 2
// Orders for modifying an existing customer's promotion on the same SKU.
PromotionalOrderType_PROMOTION_SWITCH PromotionalOrderType = 3
)func (PromotionalOrderType) Descriptor
func (PromotionalOrderType) Descriptor() protoreflect.EnumDescriptorfunc (PromotionalOrderType) Enum
func (x PromotionalOrderType) Enum() *PromotionalOrderTypefunc (PromotionalOrderType) EnumDescriptor
func (PromotionalOrderType) EnumDescriptor() ([]byte, []int)Deprecated: Use PromotionalOrderType.Descriptor instead.
func (PromotionalOrderType) Number
func (x PromotionalOrderType) Number() protoreflect.EnumNumberfunc (PromotionalOrderType) String
func (x PromotionalOrderType) String() stringfunc (PromotionalOrderType) Type
func (PromotionalOrderType) Type() protoreflect.EnumTypeProvisionCloudIdentityRequest
type ProvisionCloudIdentityRequest struct {
// Required. Resource name of the customer.
// Format: accounts/{account_id}/customers/{customer_id}
Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
// CloudIdentity-specific customer information.
CloudIdentityInfo *CloudIdentityInfo `protobuf:"bytes,2,opt,name=cloud_identity_info,json=cloudIdentityInfo,proto3" json:"cloud_identity_info,omitempty"`
// Admin user information.
User *AdminUser `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
// Validate the request and preview the review, but do not post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity]
func (*ProvisionCloudIdentityRequest) Descriptor
func (*ProvisionCloudIdentityRequest) Descriptor() ([]byte, []int)Deprecated: Use ProvisionCloudIdentityRequest.ProtoReflect.Descriptor instead.
func (*ProvisionCloudIdentityRequest) GetCloudIdentityInfo
func (x *ProvisionCloudIdentityRequest) GetCloudIdentityInfo() *CloudIdentityInfofunc (*ProvisionCloudIdentityRequest) GetCustomer
func (x *ProvisionCloudIdentityRequest) GetCustomer() stringfunc (*ProvisionCloudIdentityRequest) GetUser
func (x *ProvisionCloudIdentityRequest) GetUser() *AdminUserfunc (*ProvisionCloudIdentityRequest) GetValidateOnly
func (x *ProvisionCloudIdentityRequest) GetValidateOnly() boolfunc (*ProvisionCloudIdentityRequest) ProtoMessage
func (*ProvisionCloudIdentityRequest) ProtoMessage()func (*ProvisionCloudIdentityRequest) ProtoReflect
func (x *ProvisionCloudIdentityRequest) ProtoReflect() protoreflect.Messagefunc (*ProvisionCloudIdentityRequest) Reset
func (x *ProvisionCloudIdentityRequest) Reset()func (*ProvisionCloudIdentityRequest) String
func (x *ProvisionCloudIdentityRequest) String() stringProvisionedService
type ProvisionedService struct {
// Output only. Provisioning ID of the entitlement. For Google Workspace, this
// is the underlying Subscription ID. For Google Cloud, this is the Billing
// Account ID of the billing subaccount.
ProvisioningId string `protobuf:"bytes,1,opt,name=provisioning_id,json=provisioningId,proto3" json:"provisioning_id,omitempty"`
// Output only. The product pertaining to the provisioning resource as
// specified in the Offer.
ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
// Output only. The SKU pertaining to the provisioning resource as specified
// in the Offer.
SkuId string `protobuf:"bytes,3,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
// contains filtered or unexported fields
}Service provisioned for an entitlement.
func (*ProvisionedService) Descriptor
func (*ProvisionedService) Descriptor() ([]byte, []int)Deprecated: Use ProvisionedService.ProtoReflect.Descriptor instead.
func (*ProvisionedService) GetProductId
func (x *ProvisionedService) GetProductId() stringfunc (*ProvisionedService) GetProvisioningId
func (x *ProvisionedService) GetProvisioningId() stringfunc (*ProvisionedService) GetSkuId
func (x *ProvisionedService) GetSkuId() stringfunc (*ProvisionedService) ProtoMessage
func (*ProvisionedService) ProtoMessage()func (*ProvisionedService) ProtoReflect
func (x *ProvisionedService) ProtoReflect() protoreflect.Messagefunc (*ProvisionedService) Reset
func (x *ProvisionedService) Reset()func (*ProvisionedService) String
func (x *ProvisionedService) String() stringPurchasableOffer
type PurchasableOffer struct {
// Offer.
Offer *Offer `protobuf:"bytes,1,opt,name=offer,proto3" json:"offer,omitempty"`
// contains filtered or unexported fields
}Offer that you can purchase for a customer. This is used in the ListPurchasableOffer API response.
func (*PurchasableOffer) Descriptor
func (*PurchasableOffer) Descriptor() ([]byte, []int)Deprecated: Use PurchasableOffer.ProtoReflect.Descriptor instead.
func (*PurchasableOffer) GetOffer
func (x *PurchasableOffer) GetOffer() *Offerfunc (*PurchasableOffer) ProtoMessage
func (*PurchasableOffer) ProtoMessage()func (*PurchasableOffer) ProtoReflect
func (x *PurchasableOffer) ProtoReflect() protoreflect.Messagefunc (*PurchasableOffer) Reset
func (x *PurchasableOffer) Reset()func (*PurchasableOffer) String
func (x *PurchasableOffer) String() stringPurchasableSku
type PurchasableSku struct {
// SKU
Sku *Sku `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
// contains filtered or unexported fields
}SKU that you can purchase. This is used in ListPurchasableSku API response.
func (*PurchasableSku) Descriptor
func (*PurchasableSku) Descriptor() ([]byte, []int)Deprecated: Use PurchasableSku.ProtoReflect.Descriptor instead.
func (*PurchasableSku) GetSku
func (x *PurchasableSku) GetSku() *Skufunc (*PurchasableSku) ProtoMessage
func (*PurchasableSku) ProtoMessage()func (*PurchasableSku) ProtoReflect
func (x *PurchasableSku) ProtoReflect() protoreflect.Messagefunc (*PurchasableSku) Reset
func (x *PurchasableSku) Reset()func (*PurchasableSku) String
func (x *PurchasableSku) String() stringQueryEligibleBillingAccountsRequest
type QueryEligibleBillingAccountsRequest struct {
// Required. The resource name of the customer to list eligible billing
// accounts for. Format: accounts/{account_id}/customers/{customer_id}.
Customer string `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
// Required. List of SKUs to list eligible billing accounts for. At least one
// SKU is required. Format: products/{product_id}/skus/{sku_id}.
Skus []string `protobuf:"bytes,2,rep,name=skus,proto3" json:"skus,omitempty"`
// contains filtered or unexported fields
}Request message for QueryEligibleBillingAccounts.
func (*QueryEligibleBillingAccountsRequest) Descriptor
func (*QueryEligibleBillingAccountsRequest) Descriptor() ([]byte, []int)Deprecated: Use QueryEligibleBillingAccountsRequest.ProtoReflect.Descriptor instead.
func (*QueryEligibleBillingAccountsRequest) GetCustomer
func (x *QueryEligibleBillingAccountsRequest) GetCustomer() stringfunc (*QueryEligibleBillingAccountsRequest) GetSkus
func (x *QueryEligibleBillingAccountsRequest) GetSkus() []stringfunc (*QueryEligibleBillingAccountsRequest) ProtoMessage
func (*QueryEligibleBillingAccountsRequest) ProtoMessage()func (*QueryEligibleBillingAccountsRequest) ProtoReflect
func (x *QueryEligibleBillingAccountsRequest) ProtoReflect() protoreflect.Messagefunc (*QueryEligibleBillingAccountsRequest) Reset
func (x *QueryEligibleBillingAccountsRequest) Reset()func (*QueryEligibleBillingAccountsRequest) String
func (x *QueryEligibleBillingAccountsRequest) String() stringQueryEligibleBillingAccountsResponse
type QueryEligibleBillingAccountsResponse struct {
// List of SKU purchase groups where each group represents a set of SKUs that
// must be purchased using the same billing account. Each SKU from
// [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU
// group.
SkuPurchaseGroups []*SkuPurchaseGroup `protobuf:"bytes,1,rep,name=sku_purchase_groups,json=skuPurchaseGroups,proto3" json:"sku_purchase_groups,omitempty"`
// contains filtered or unexported fields
}Response message for QueryEligibleBillingAccounts.
func (*QueryEligibleBillingAccountsResponse) Descriptor
func (*QueryEligibleBillingAccountsResponse) Descriptor() ([]byte, []int)Deprecated: Use QueryEligibleBillingAccountsResponse.ProtoReflect.Descriptor instead.
func (*QueryEligibleBillingAccountsResponse) GetSkuPurchaseGroups
func (x *QueryEligibleBillingAccountsResponse) GetSkuPurchaseGroups() []*SkuPurchaseGroupfunc (*QueryEligibleBillingAccountsResponse) ProtoMessage
func (*QueryEligibleBillingAccountsResponse) ProtoMessage()func (*QueryEligibleBillingAccountsResponse) ProtoReflect
func (x *QueryEligibleBillingAccountsResponse) ProtoReflect() protoreflect.Messagefunc (*QueryEligibleBillingAccountsResponse) Reset
func (x *QueryEligibleBillingAccountsResponse) Reset()func (*QueryEligibleBillingAccountsResponse) String
func (x *QueryEligibleBillingAccountsResponse) String() stringRebillingBasis
type RebillingBasis int32Specifies the different costs that the modified bill can be based on.
RebillingBasis_REBILLING_BASIS_UNSPECIFIED, RebillingBasis_COST_AT_LIST, RebillingBasis_DIRECT_CUSTOMER_COST
const (
// Not used.
RebillingBasis_REBILLING_BASIS_UNSPECIFIED RebillingBasis = 0
// Use the list cost, also known as the MSRP.
RebillingBasis_COST_AT_LIST RebillingBasis = 1
// Pass through all discounts except the Reseller Program Discount. If this is
// the default cost base and no adjustments are specified, the output cost
// will be exactly what the customer would see if they viewed the bill in the
// Google Cloud Console.
RebillingBasis_DIRECT_CUSTOMER_COST RebillingBasis = 2
)func (RebillingBasis) Descriptor
func (RebillingBasis) Descriptor() protoreflect.EnumDescriptorfunc (RebillingBasis) Enum
func (x RebillingBasis) Enum() *RebillingBasisfunc (RebillingBasis) EnumDescriptor
func (RebillingBasis) EnumDescriptor() ([]byte, []int)Deprecated: Use RebillingBasis.Descriptor instead.
func (RebillingBasis) Number
func (x RebillingBasis) Number() protoreflect.EnumNumberfunc (RebillingBasis) String
func (x RebillingBasis) String() stringfunc (RebillingBasis) Type
func (RebillingBasis) Type() protoreflect.EnumTypeRegisterSubscriberRequest
type RegisterSubscriberRequest struct {
// Required. Resource name of the account.
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// Required. Service account that provides subscriber access to the registered
// topic.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}Request Message for RegisterSubscriber.
func (*RegisterSubscriberRequest) Descriptor
func (*RegisterSubscriberRequest) Descriptor() ([]byte, []int)Deprecated: Use RegisterSubscriberRequest.ProtoReflect.Descriptor instead.
func (*RegisterSubscriberRequest) GetAccount
func (x *RegisterSubscriberRequest) GetAccount() stringfunc (*RegisterSubscriberRequest) GetServiceAccount
func (x *RegisterSubscriberRequest) GetServiceAccount() stringfunc (*RegisterSubscriberRequest) ProtoMessage
func (*RegisterSubscriberRequest) ProtoMessage()func (*RegisterSubscriberRequest) ProtoReflect
func (x *RegisterSubscriberRequest) ProtoReflect() protoreflect.Messagefunc (*RegisterSubscriberRequest) Reset
func (x *RegisterSubscriberRequest) Reset()func (*RegisterSubscriberRequest) String
func (x *RegisterSubscriberRequest) String() stringRegisterSubscriberResponse
type RegisterSubscriberResponse struct {
// Name of the topic the subscriber will listen to.
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
// contains filtered or unexported fields
}Response Message for RegisterSubscriber.
func (*RegisterSubscriberResponse) Descriptor
func (*RegisterSubscriberResponse) Descriptor() ([]byte, []int)Deprecated: Use RegisterSubscriberResponse.ProtoReflect.Descriptor instead.
func (*RegisterSubscriberResponse) GetTopic
func (x *RegisterSubscriberResponse) GetTopic() stringfunc (*RegisterSubscriberResponse) ProtoMessage
func (*RegisterSubscriberResponse) ProtoMessage()func (*RegisterSubscriberResponse) ProtoReflect
func (x *RegisterSubscriberResponse) ProtoReflect() protoreflect.Messagefunc (*RegisterSubscriberResponse) Reset
func (x *RegisterSubscriberResponse) Reset()func (*RegisterSubscriberResponse) String
func (x *RegisterSubscriberResponse) String() stringRenewalSettings
type RenewalSettings struct {
// If false, the plan will be completed at the end date.
EnableRenewal bool `protobuf:"varint,1,opt,name=enable_renewal,json=enableRenewal,proto3" json:"enable_renewal,omitempty"`
// If true and enable_renewal = true, the unit (for example seats or licenses)
// will be set to the number of active units at renewal time.
ResizeUnitCount bool `protobuf:"varint,2,opt,name=resize_unit_count,json=resizeUnitCount,proto3" json:"resize_unit_count,omitempty"`
// Describes how a reseller will be billed.
PaymentPlan PaymentPlan `protobuf:"varint,5,opt,name=payment_plan,json=paymentPlan,proto3,enum=google.cloud.channel.v1.PaymentPlan" json:"payment_plan,omitempty"`
// Describes how frequently the reseller will be billed, such as
// once per month.
PaymentCycle *Period `protobuf:"bytes,6,opt,name=payment_cycle,json=paymentCycle,proto3" json:"payment_cycle,omitempty"`
// contains filtered or unexported fields
}Renewal settings for renewable Offers.
func (*RenewalSettings) Descriptor
func (*RenewalSettings) Descriptor() ([]byte, []int)Deprecated: Use RenewalSettings.ProtoReflect.Descriptor instead.
func (*RenewalSettings) GetEnableRenewal
func (x *RenewalSettings) GetEnableRenewal() boolfunc (*RenewalSettings) GetPaymentCycle
func (x *RenewalSettings) GetPaymentCycle() *Periodfunc (*RenewalSettings) GetPaymentPlan
func (x *RenewalSettings) GetPaymentPlan() PaymentPlanfunc (*RenewalSettings) GetResizeUnitCount
func (x *RenewalSettings) GetResizeUnitCount() boolfunc (*RenewalSettings) ProtoMessage
func (*RenewalSettings) ProtoMessage()func (*RenewalSettings) ProtoReflect
func (x *RenewalSettings) ProtoReflect() protoreflect.Messagefunc (*RenewalSettings) Reset
func (x *RenewalSettings) Reset()func (*RenewalSettings) String
func (x *RenewalSettings) String() stringReport (deprecated)
type Report struct {
// Required. The report's resource name. Specifies the account and report used
// to generate report data. The report_id identifier is a UID (for example,
// `613bf59q`).
//
// Name uses the format:
// accounts/{account_id}/reports/{report_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A human-readable name for this report.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The list of columns included in the report. This defines the schema of
// the report results.
Columns []*Column `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"`
// A description of other aspects of the report, such as the products
// it supports.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}The ID and description of a report that was used to generate report data. For example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*Report) Descriptor (deprecated)
Deprecated: Use Report.ProtoReflect.Descriptor instead.
func (*Report) GetColumns (deprecated)
func (*Report) GetDescription (deprecated)
func (*Report) GetDisplayName (deprecated)
func (*Report) GetName (deprecated)
func (*Report) ProtoMessage (deprecated)
func (*Report) ProtoMessage()func (*Report) ProtoReflect (deprecated)
func (x *Report) ProtoReflect() protoreflect.Messagefunc (*Report) Reset (deprecated)
func (x *Report) Reset()func (*Report) String (deprecated)
ReportJob (deprecated)
type ReportJob struct {
// Required. The resource name of a report job.
// Name uses the format:
// `accounts/{account_id}/reportJobs/{report_job_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The current status of report generation.
ReportStatus *ReportStatus `protobuf:"bytes,2,opt,name=report_status,json=reportStatus,proto3" json:"report_status,omitempty"`
// contains filtered or unexported fields
}The result of a [RunReportJob][] operation. Contains the name to use in [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] and the status of the operation.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*ReportJob) Descriptor (deprecated)
Deprecated: Use ReportJob.ProtoReflect.Descriptor instead.
func (*ReportJob) GetName (deprecated)
func (*ReportJob) GetReportStatus (deprecated)
func (x *ReportJob) GetReportStatus() *ReportStatusfunc (*ReportJob) ProtoMessage (deprecated)
func (*ReportJob) ProtoMessage()func (*ReportJob) ProtoReflect (deprecated)
func (x *ReportJob) ProtoReflect() protoreflect.Messagefunc (*ReportJob) Reset (deprecated)
func (x *ReportJob) Reset()func (*ReportJob) String (deprecated)
ReportResultsMetadata (deprecated)
type ReportResultsMetadata struct {
// Details of the completed report.
Report *Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
// The total number of rows of data in the final report.
RowCount int64 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
// The date range of reported usage.
DateRange *DateRange `protobuf:"bytes,3,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"`
// The usage dates immediately preceding `date_range` with the same duration.
// Use this to calculate trending usage and costs. This is only populated if
// you request trending data.
//
// For example, if `date_range` is July 1-15, `preceding_date_range` will be
// June 16-30.
PrecedingDateRange *DateRange `protobuf:"bytes,4,opt,name=preceding_date_range,json=precedingDateRange,proto3" json:"preceding_date_range,omitempty"`
// contains filtered or unexported fields
}The features describing the data. Returned by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob] and [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*ReportResultsMetadata) Descriptor (deprecated)
func (*ReportResultsMetadata) Descriptor() ([]byte, []int)Deprecated: Use ReportResultsMetadata.ProtoReflect.Descriptor instead.
func (*ReportResultsMetadata) GetDateRange (deprecated)
func (x *ReportResultsMetadata) GetDateRange() *DateRangefunc (*ReportResultsMetadata) GetPrecedingDateRange (deprecated)
func (x *ReportResultsMetadata) GetPrecedingDateRange() *DateRangefunc (*ReportResultsMetadata) GetReport (deprecated)
func (x *ReportResultsMetadata) GetReport() *Reportfunc (*ReportResultsMetadata) GetRowCount (deprecated)
func (x *ReportResultsMetadata) GetRowCount() int64func (*ReportResultsMetadata) ProtoMessage (deprecated)
func (*ReportResultsMetadata) ProtoMessage()func (*ReportResultsMetadata) ProtoReflect (deprecated)
func (x *ReportResultsMetadata) ProtoReflect() protoreflect.Messagefunc (*ReportResultsMetadata) Reset (deprecated)
func (x *ReportResultsMetadata) Reset()func (*ReportResultsMetadata) String (deprecated)
func (x *ReportResultsMetadata) String() stringReportStatus (deprecated)
type ReportStatus struct {
// The current state of the report generation process.
State ReportStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.channel.v1.ReportStatus_State" json:"state,omitempty"`
// The report generation's start time.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The report generation's completion time.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Status of a report generation process.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*ReportStatus) Descriptor (deprecated)
func (*ReportStatus) Descriptor() ([]byte, []int)Deprecated: Use ReportStatus.ProtoReflect.Descriptor instead.
func (*ReportStatus) GetEndTime (deprecated)
func (x *ReportStatus) GetEndTime() *timestamppb.Timestampfunc (*ReportStatus) GetStartTime (deprecated)
func (x *ReportStatus) GetStartTime() *timestamppb.Timestampfunc (*ReportStatus) GetState (deprecated)
func (x *ReportStatus) GetState() ReportStatus_Statefunc (*ReportStatus) ProtoMessage (deprecated)
func (*ReportStatus) ProtoMessage()func (*ReportStatus) ProtoReflect (deprecated)
func (x *ReportStatus) ProtoReflect() protoreflect.Messagefunc (*ReportStatus) Reset (deprecated)
func (x *ReportStatus) Reset()func (*ReportStatus) String (deprecated)
func (x *ReportStatus) String() stringReportStatus_State
type ReportStatus_State int32Available states of report generation.
ReportStatus_STATE_UNSPECIFIED, ReportStatus_STARTED, ReportStatus_WRITING, ReportStatus_AVAILABLE, ReportStatus_FAILED
const (
// Not used.
ReportStatus_STATE_UNSPECIFIED ReportStatus_State = 0
// Report processing started.
ReportStatus_STARTED ReportStatus_State = 1
// Data generated from the report is being staged.
ReportStatus_WRITING ReportStatus_State = 2
// Report data is available for access.
ReportStatus_AVAILABLE ReportStatus_State = 3
// Report failed.
ReportStatus_FAILED ReportStatus_State = 4
)func (ReportStatus_State) Descriptor
func (ReportStatus_State) Descriptor() protoreflect.EnumDescriptorfunc (ReportStatus_State) Enum
func (x ReportStatus_State) Enum() *ReportStatus_Statefunc (ReportStatus_State) EnumDescriptor
func (ReportStatus_State) EnumDescriptor() ([]byte, []int)Deprecated: Use ReportStatus_State.Descriptor instead.
func (ReportStatus_State) Number
func (x ReportStatus_State) Number() protoreflect.EnumNumberfunc (ReportStatus_State) String
func (x ReportStatus_State) String() stringfunc (ReportStatus_State) Type
func (ReportStatus_State) Type() protoreflect.EnumTypeReportValue (deprecated)
type ReportValue struct {
// A single report value.
//
// Types that are assignable to Value:
//
// *ReportValue_StringValue
// *ReportValue_IntValue
// *ReportValue_DecimalValue
// *ReportValue_MoneyValue
// *ReportValue_DateValue
// *ReportValue_DateTimeValue
Value isReportValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}A single report value.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*ReportValue) Descriptor (deprecated)
func (*ReportValue) Descriptor() ([]byte, []int)Deprecated: Use ReportValue.ProtoReflect.Descriptor instead.
func (*ReportValue) GetDateTimeValue (deprecated)
func (x *ReportValue) GetDateTimeValue() *datetime.DateTimefunc (*ReportValue) GetDateValue (deprecated)
func (x *ReportValue) GetDateValue() *date.Datefunc (*ReportValue) GetDecimalValue (deprecated)
func (x *ReportValue) GetDecimalValue() *decimal.Decimalfunc (*ReportValue) GetIntValue (deprecated)
func (x *ReportValue) GetIntValue() int64func (*ReportValue) GetMoneyValue (deprecated)
func (x *ReportValue) GetMoneyValue() *money.Moneyfunc (*ReportValue) GetStringValue (deprecated)
func (x *ReportValue) GetStringValue() stringfunc (*ReportValue) GetValue (deprecated)
func (m *ReportValue) GetValue() isReportValue_Valuefunc (*ReportValue) ProtoMessage (deprecated)
func (*ReportValue) ProtoMessage()func (*ReportValue) ProtoReflect (deprecated)
func (x *ReportValue) ProtoReflect() protoreflect.Messagefunc (*ReportValue) Reset (deprecated)
func (x *ReportValue) Reset()func (*ReportValue) String (deprecated)
func (x *ReportValue) String() stringReportValue_DateTimeValue
type ReportValue_DateTimeValue struct {
// A value of type `google.type.DateTime` (year, month, day, hour, minute,
// second, and UTC offset or timezone.)
DateTimeValue *datetime.DateTime `protobuf:"bytes,6,opt,name=date_time_value,json=dateTimeValue,proto3,oneof"`
}ReportValue_DateValue
type ReportValue_DateValue struct {
// A value of type `google.type.Date` (year, month, day).
DateValue *date.Date `protobuf:"bytes,5,opt,name=date_value,json=dateValue,proto3,oneof"`
}ReportValue_DecimalValue
type ReportValue_DecimalValue struct {
// A value of type `google.type.Decimal`, representing non-integer numeric
// values.
DecimalValue *decimal.Decimal `protobuf:"bytes,3,opt,name=decimal_value,json=decimalValue,proto3,oneof"`
}ReportValue_IntValue
type ReportValue_IntValue struct {
// A value of type `int`.
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}ReportValue_MoneyValue
type ReportValue_MoneyValue struct {
// A value of type `google.type.Money` (currency code, whole units, decimal
// units).
MoneyValue *money.Money `protobuf:"bytes,4,opt,name=money_value,json=moneyValue,proto3,oneof"`
}ReportValue_StringValue
type ReportValue_StringValue struct {
// A value of type `string`.
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}RepricingAdjustment
type RepricingAdjustment struct {
// A oneof that represents the different types for this adjustment.
//
// Types that are assignable to Adjustment:
//
// *RepricingAdjustment_PercentageAdjustment
Adjustment isRepricingAdjustment_Adjustment `protobuf_oneof:"adjustment"`
// contains filtered or unexported fields
}A type that represents the various adjustments you can apply to a bill.
func (*RepricingAdjustment) Descriptor
func (*RepricingAdjustment) Descriptor() ([]byte, []int)Deprecated: Use RepricingAdjustment.ProtoReflect.Descriptor instead.
func (*RepricingAdjustment) GetAdjustment
func (m *RepricingAdjustment) GetAdjustment() isRepricingAdjustment_Adjustmentfunc (*RepricingAdjustment) GetPercentageAdjustment
func (x *RepricingAdjustment) GetPercentageAdjustment() *PercentageAdjustmentfunc (*RepricingAdjustment) ProtoMessage
func (*RepricingAdjustment) ProtoMessage()func (*RepricingAdjustment) ProtoReflect
func (x *RepricingAdjustment) ProtoReflect() protoreflect.Messagefunc (*RepricingAdjustment) Reset
func (x *RepricingAdjustment) Reset()func (*RepricingAdjustment) String
func (x *RepricingAdjustment) String() stringRepricingAdjustment_PercentageAdjustment
type RepricingAdjustment_PercentageAdjustment struct {
// Flat markup or markdown on an entire bill.
PercentageAdjustment *PercentageAdjustment `protobuf:"bytes,2,opt,name=percentage_adjustment,json=percentageAdjustment,proto3,oneof"`
}RepricingCondition
type RepricingCondition struct {
// Represents the types of existing conditional statements.
//
// Types that are assignable to Condition:
//
// *RepricingCondition_SkuGroupCondition
Condition isRepricingCondition_Condition `protobuf_oneof:"condition"`
// contains filtered or unexported fields
}Represents the various repricing conditions you can use for a conditional override.
func (*RepricingCondition) Descriptor
func (*RepricingCondition) Descriptor() ([]byte, []int)Deprecated: Use RepricingCondition.ProtoReflect.Descriptor instead.
func (*RepricingCondition) GetCondition
func (m *RepricingCondition) GetCondition() isRepricingCondition_Conditionfunc (*RepricingCondition) GetSkuGroupCondition
func (x *RepricingCondition) GetSkuGroupCondition() *SkuGroupConditionfunc (*RepricingCondition) ProtoMessage
func (*RepricingCondition) ProtoMessage()func (*RepricingCondition) ProtoReflect
func (x *RepricingCondition) ProtoReflect() protoreflect.Messagefunc (*RepricingCondition) Reset
func (x *RepricingCondition) Reset()func (*RepricingCondition) String
func (x *RepricingCondition) String() stringRepricingCondition_SkuGroupCondition
type RepricingCondition_SkuGroupCondition struct {
// SKU Group condition for override.
SkuGroupCondition *SkuGroupCondition `protobuf:"bytes,1,opt,name=sku_group_condition,json=skuGroupCondition,proto3,oneof"`
}RepricingConfig
type RepricingConfig struct {
// Required. Defines the granularity for repricing.
//
// Types that are assignable to Granularity:
//
// *RepricingConfig_EntitlementGranularity_
// *RepricingConfig_ChannelPartnerGranularity_
Granularity isRepricingConfig_Granularity `protobuf_oneof:"granularity"`
// Required. The YearMonth when these adjustments activate. The Day field
// needs to be "0" since we only accept YearMonth repricing boundaries.
EffectiveInvoiceMonth *date.Date `protobuf:"bytes,1,opt,name=effective_invoice_month,json=effectiveInvoiceMonth,proto3" json:"effective_invoice_month,omitempty"`
// Required. Information about the adjustment.
Adjustment *RepricingAdjustment `protobuf:"bytes,2,opt,name=adjustment,proto3" json:"adjustment,omitempty"`
// Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to
// use for this bill. Specifies the relative cost based on repricing costs you
// will apply.
RebillingBasis RebillingBasis `protobuf:"varint,3,opt,name=rebilling_basis,json=rebillingBasis,proto3,enum=google.cloud.channel.v1.RebillingBasis" json:"rebilling_basis,omitempty"`
// The conditional overrides to apply for this configuration. If you list
// multiple overrides, only the first valid override is used. If you don't
// list any overrides, the API uses the normal adjustment and rebilling basis.
ConditionalOverrides []*ConditionalOverride `protobuf:"bytes,6,rep,name=conditional_overrides,json=conditionalOverrides,proto3" json:"conditional_overrides,omitempty"`
// contains filtered or unexported fields
}Configuration for repricing a Google bill over a period of time.
func (*RepricingConfig) Descriptor
func (*RepricingConfig) Descriptor() ([]byte, []int)Deprecated: Use RepricingConfig.ProtoReflect.Descriptor instead.
func (*RepricingConfig) GetAdjustment
func (x *RepricingConfig) GetAdjustment() *RepricingAdjustmentfunc (*RepricingConfig) GetChannelPartnerGranularity
func (x *RepricingConfig) GetChannelPartnerGranularity() *RepricingConfig_ChannelPartnerGranularityDeprecated: Marked as deprecated in google/cloud/channel/v1/repricing.proto.
func (*RepricingConfig) GetConditionalOverrides
func (x *RepricingConfig) GetConditionalOverrides() []*ConditionalOverridefunc (*RepricingConfig) GetEffectiveInvoiceMonth
func (x *RepricingConfig) GetEffectiveInvoiceMonth() *date.Datefunc (*RepricingConfig) GetEntitlementGranularity
func (x *RepricingConfig) GetEntitlementGranularity() *RepricingConfig_EntitlementGranularityfunc (*RepricingConfig) GetGranularity
func (m *RepricingConfig) GetGranularity() isRepricingConfig_Granularityfunc (*RepricingConfig) GetRebillingBasis
func (x *RepricingConfig) GetRebillingBasis() RebillingBasisfunc (*RepricingConfig) ProtoMessage
func (*RepricingConfig) ProtoMessage()func (*RepricingConfig) ProtoReflect
func (x *RepricingConfig) ProtoReflect() protoreflect.Messagefunc (*RepricingConfig) Reset
func (x *RepricingConfig) Reset()func (*RepricingConfig) String
func (x *RepricingConfig) String() stringRepricingConfig_ChannelPartnerGranularity (deprecated)
type RepricingConfig_ChannelPartnerGranularity struct {
// contains filtered or unexported fields
}Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] instead.
Deprecated: Marked as deprecated in google/cloud/channel/v1/repricing.proto.
func (*RepricingConfig_ChannelPartnerGranularity) Descriptor (deprecated)
func (*RepricingConfig_ChannelPartnerGranularity) Descriptor() ([]byte, []int)Deprecated: Use RepricingConfig_ChannelPartnerGranularity.ProtoReflect.Descriptor instead.
func (*RepricingConfig_ChannelPartnerGranularity) ProtoMessage (deprecated)
func (*RepricingConfig_ChannelPartnerGranularity) ProtoMessage()func (*RepricingConfig_ChannelPartnerGranularity) ProtoReflect (deprecated)
func (x *RepricingConfig_ChannelPartnerGranularity) ProtoReflect() protoreflect.Messagefunc (*RepricingConfig_ChannelPartnerGranularity) Reset (deprecated)
func (x *RepricingConfig_ChannelPartnerGranularity) Reset()func (*RepricingConfig_ChannelPartnerGranularity) String (deprecated)
func (x *RepricingConfig_ChannelPartnerGranularity) String() stringRepricingConfig_ChannelPartnerGranularity_
type RepricingConfig_ChannelPartnerGranularity_ struct {
// Applies the repricing configuration at the channel partner level.
// Only
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
// supports this value. Deprecated: This is no longer supported. Use
// [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity]
// instead.
//
// Deprecated: Marked as deprecated in google/cloud/channel/v1/repricing.proto.
ChannelPartnerGranularity *RepricingConfig_ChannelPartnerGranularity `protobuf:"bytes,5,opt,name=channel_partner_granularity,json=channelPartnerGranularity,proto3,oneof"`
}RepricingConfig_EntitlementGranularity
type RepricingConfig_EntitlementGranularity struct {
// Resource name of the entitlement.
// Format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
// contains filtered or unexported fields
}Applies the repricing configuration at the entitlement level.
func (*RepricingConfig_EntitlementGranularity) Descriptor
func (*RepricingConfig_EntitlementGranularity) Descriptor() ([]byte, []int)Deprecated: Use RepricingConfig_EntitlementGranularity.ProtoReflect.Descriptor instead.
func (*RepricingConfig_EntitlementGranularity) GetEntitlement
func (x *RepricingConfig_EntitlementGranularity) GetEntitlement() stringfunc (*RepricingConfig_EntitlementGranularity) ProtoMessage
func (*RepricingConfig_EntitlementGranularity) ProtoMessage()func (*RepricingConfig_EntitlementGranularity) ProtoReflect
func (x *RepricingConfig_EntitlementGranularity) ProtoReflect() protoreflect.Messagefunc (*RepricingConfig_EntitlementGranularity) Reset
func (x *RepricingConfig_EntitlementGranularity) Reset()func (*RepricingConfig_EntitlementGranularity) String
func (x *RepricingConfig_EntitlementGranularity) String() stringRepricingConfig_EntitlementGranularity_
type RepricingConfig_EntitlementGranularity_ struct {
// Applies the repricing configuration at the entitlement level.
//
// Note: If a
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
// using
// [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity]
// becomes effective, then no existing or future
// [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity]
// will apply to the
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
// This is the recommended value for both
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
// and
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig].
EntitlementGranularity *RepricingConfig_EntitlementGranularity `protobuf:"bytes,4,opt,name=entitlement_granularity,json=entitlementGranularity,proto3,oneof"`
}ResourceType
type ResourceType int32Represents the type for a monetizable resource(any entity on which billing happens). For example, this could be MINUTES for Google Voice and GB for Google Drive. One SKU can map to multiple monetizable resources.
ResourceType_RESOURCE_TYPE_UNSPECIFIED, ResourceType_SEAT, ResourceType_MAU, ResourceType_GB, ResourceType_LICENSED_USER, ResourceType_MINUTES, ResourceType_IAAS_USAGE, ResourceType_SUBSCRIPTION
const (
// Not used.
ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0
// Seat.
ResourceType_SEAT ResourceType = 1
// Monthly active user.
ResourceType_MAU ResourceType = 2
// GB (used for storage SKUs).
ResourceType_GB ResourceType = 3
// Active licensed users(for Voice SKUs).
ResourceType_LICENSED_USER ResourceType = 4
// Voice usage.
ResourceType_MINUTES ResourceType = 5
// For IaaS SKUs like Google Cloud, monetization is based on usage accrued on
// your billing account irrespective of the type of monetizable resource. This
// enum represents an aggregated resource/container for all usage SKUs on a
// billing account. Currently, only applicable to Google Cloud.
ResourceType_IAAS_USAGE ResourceType = 6
// For Google Cloud subscriptions like Anthos or SAP.
ResourceType_SUBSCRIPTION ResourceType = 7
)func (ResourceType) Descriptor
func (ResourceType) Descriptor() protoreflect.EnumDescriptorfunc (ResourceType) Enum
func (x ResourceType) Enum() *ResourceTypefunc (ResourceType) EnumDescriptor
func (ResourceType) EnumDescriptor() ([]byte, []int)Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number
func (x ResourceType) Number() protoreflect.EnumNumberfunc (ResourceType) String
func (x ResourceType) String() stringfunc (ResourceType) Type
func (ResourceType) Type() protoreflect.EnumTypeRow (deprecated)
type Row struct {
// The list of values in the row.
Values []*ReportValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// The key for the partition this row belongs to. This field is empty
// if the report is not partitioned.
PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
// contains filtered or unexported fields
}A row of report values.
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*Row) Descriptor (deprecated)
Deprecated: Use Row.ProtoReflect.Descriptor instead.
func (*Row) GetPartitionKey (deprecated)
func (*Row) GetValues (deprecated)
func (x *Row) GetValues() []*ReportValuefunc (*Row) ProtoMessage (deprecated)
func (*Row) ProtoMessage()func (*Row) ProtoReflect (deprecated)
func (x *Row) ProtoReflect() protoreflect.Messagefunc (*Row) Reset (deprecated)
func (x *Row) Reset()func (*Row) String (deprecated)
RunReportJobRequest (deprecated)
type RunReportJobRequest struct {
// Required. The report's resource name. Specifies the account and report used
// to generate report data. The report_id identifier is a UID (for example,
// `613bf59q`).
// Name uses the format:
// accounts/{account_id}/reports/{report_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The range of usage or invoice dates to include in the result.
DateRange *DateRange `protobuf:"bytes,2,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"`
// Optional. A structured string that defines conditions on dimension columns
// to restrict the report output.
//
// Filters support logical operators (AND, OR, NOT) and conditional operators
// (=, !=, <,>, <=, and="">=) using `column_id` as keys.
//
// For example:
// `(customer:"accounts/C123abc/customers/S456def" OR
// customer:"accounts/C123abc/customers/S789ghi") AND
// invoice_start_date.year >= 2022`
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The BCP-47 language code, such as "en-US". If specified, the
// response is localized to the corresponding language code if the
// original data sources support it.
// Default is "en-US".
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*RunReportJobRequest) Descriptor (deprecated)
func (*RunReportJobRequest) Descriptor() ([]byte, []int)Deprecated: Use RunReportJobRequest.ProtoReflect.Descriptor instead.
func (*RunReportJobRequest) GetDateRange (deprecated)
func (x *RunReportJobRequest) GetDateRange() *DateRangefunc (*RunReportJobRequest) GetFilter (deprecated)
func (x *RunReportJobRequest) GetFilter() stringfunc (*RunReportJobRequest) GetLanguageCode (deprecated)
func (x *RunReportJobRequest) GetLanguageCode() stringfunc (*RunReportJobRequest) GetName (deprecated)
func (x *RunReportJobRequest) GetName() stringfunc (*RunReportJobRequest) ProtoMessage (deprecated)
func (*RunReportJobRequest) ProtoMessage()func (*RunReportJobRequest) ProtoReflect (deprecated)
func (x *RunReportJobRequest) ProtoReflect() protoreflect.Messagefunc (*RunReportJobRequest) Reset (deprecated)
func (x *RunReportJobRequest) Reset()func (*RunReportJobRequest) String (deprecated)
func (x *RunReportJobRequest) String() stringRunReportJobResponse (deprecated)
type RunReportJobResponse struct {
// Pass `report_job.name` to
// [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job]
// to retrieve the report's results.
ReportJob *ReportJob `protobuf:"bytes,1,opt,name=report_job,json=reportJob,proto3" json:"report_job,omitempty"`
// The metadata for the report's results (display name, columns, row count,
// and date range). If you view this before the operation finishes,
// you may see incomplete data.
ReportMetadata *ReportResultsMetadata `protobuf:"bytes,2,opt,name=report_metadata,json=reportMetadata,proto3" json:"report_metadata,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
Deprecated: Marked as deprecated in google/cloud/channel/v1/reports_service.proto.
func (*RunReportJobResponse) Descriptor (deprecated)
func (*RunReportJobResponse) Descriptor() ([]byte, []int)Deprecated: Use RunReportJobResponse.ProtoReflect.Descriptor instead.
func (*RunReportJobResponse) GetReportJob (deprecated)
func (x *RunReportJobResponse) GetReportJob() *ReportJobfunc (*RunReportJobResponse) GetReportMetadata (deprecated)
func (x *RunReportJobResponse) GetReportMetadata() *ReportResultsMetadatafunc (*RunReportJobResponse) ProtoMessage (deprecated)
func (*RunReportJobResponse) ProtoMessage()func (*RunReportJobResponse) ProtoReflect (deprecated)
func (x *RunReportJobResponse) ProtoReflect() protoreflect.Messagefunc (*RunReportJobResponse) Reset (deprecated)
func (x *RunReportJobResponse) Reset()func (*RunReportJobResponse) String (deprecated)
func (x *RunReportJobResponse) String() stringSku
type Sku struct {
// Resource Name of the SKU.
// Format: products/{product_id}/skus/{sku_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Marketing information for the SKU.
MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"`
// Product the SKU is associated with.
Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"`
// contains filtered or unexported fields
}Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs.
func (*Sku) Descriptor
Deprecated: Use Sku.ProtoReflect.Descriptor instead.
func (*Sku) GetMarketingInfo
func (x *Sku) GetMarketingInfo() *MarketingInfofunc (*Sku) GetName
func (*Sku) GetProduct
func (*Sku) ProtoMessage
func (*Sku) ProtoMessage()func (*Sku) ProtoReflect
func (x *Sku) ProtoReflect() protoreflect.Messagefunc (*Sku) Reset
func (x *Sku) Reset()func (*Sku) String
SkuGroup
type SkuGroup struct {
// Resource name of SKU group. Format:
// accounts/{account}/skuGroups/{sku_group}.
// Example:
// "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Unique human readable identifier for the SKU group.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}Represents the SKU group information.
func (*SkuGroup) Descriptor
Deprecated: Use SkuGroup.ProtoReflect.Descriptor instead.
func (*SkuGroup) GetDisplayName
func (*SkuGroup) GetName
func (*SkuGroup) ProtoMessage
func (*SkuGroup) ProtoMessage()func (*SkuGroup) ProtoReflect
func (x *SkuGroup) ProtoReflect() protoreflect.Messagefunc (*SkuGroup) Reset
func (x *SkuGroup) Reset()func (*SkuGroup) String
SkuGroupCondition
type SkuGroupCondition struct {
// Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
// Resource name of SKU group. Format:
// accounts/{account}/skuGroups/{sku_group}.
// Example:
// "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
SkuGroup string `protobuf:"bytes,1,opt,name=sku_group,json=skuGroup,proto3" json:"sku_group,omitempty"`
// contains filtered or unexported fields
}A condition that applies the override if a line item SKU is found in the SKU group.
func (*SkuGroupCondition) Descriptor
func (*SkuGroupCondition) Descriptor() ([]byte, []int)Deprecated: Use SkuGroupCondition.ProtoReflect.Descriptor instead.
func (*SkuGroupCondition) GetSkuGroup
func (x *SkuGroupCondition) GetSkuGroup() stringfunc (*SkuGroupCondition) ProtoMessage
func (*SkuGroupCondition) ProtoMessage()func (*SkuGroupCondition) ProtoReflect
func (x *SkuGroupCondition) ProtoReflect() protoreflect.Messagefunc (*SkuGroupCondition) Reset
func (x *SkuGroupCondition) Reset()func (*SkuGroupCondition) String
func (x *SkuGroupCondition) String() stringSkuPurchaseGroup
type SkuPurchaseGroup struct {
// Resource names of the SKUs included in this group.
// Format: products/{product_id}/skus/{sku_id}.
Skus []string `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"`
// List of billing accounts that are eligible to purhcase these SKUs.
BillingAccountPurchaseInfos []*BillingAccountPurchaseInfo `protobuf:"bytes,2,rep,name=billing_account_purchase_infos,json=billingAccountPurchaseInfos,proto3" json:"billing_account_purchase_infos,omitempty"`
// contains filtered or unexported fields
}Represents a set of SKUs that must be purchased using the same billing account.
func (*SkuPurchaseGroup) Descriptor
func (*SkuPurchaseGroup) Descriptor() ([]byte, []int)Deprecated: Use SkuPurchaseGroup.ProtoReflect.Descriptor instead.
func (*SkuPurchaseGroup) GetBillingAccountPurchaseInfos
func (x *SkuPurchaseGroup) GetBillingAccountPurchaseInfos() []*BillingAccountPurchaseInfofunc (*SkuPurchaseGroup) GetSkus
func (x *SkuPurchaseGroup) GetSkus() []stringfunc (*SkuPurchaseGroup) ProtoMessage
func (*SkuPurchaseGroup) ProtoMessage()func (*SkuPurchaseGroup) ProtoReflect
func (x *SkuPurchaseGroup) ProtoReflect() protoreflect.Messagefunc (*SkuPurchaseGroup) Reset
func (x *SkuPurchaseGroup) Reset()func (*SkuPurchaseGroup) String
func (x *SkuPurchaseGroup) String() stringStartPaidServiceRequest
type StartPaidServiceRequest struct {
// Required. The name of the entitlement to start a paid service for.
// 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.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService].
func (*StartPaidServiceRequest) Descriptor
func (*StartPaidServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use StartPaidServiceRequest.ProtoReflect.Descriptor instead.
func (*StartPaidServiceRequest) GetName
func (x *StartPaidServiceRequest) GetName() stringfunc (*StartPaidServiceRequest) GetRequestId
func (x *StartPaidServiceRequest) GetRequestId() stringfunc (*StartPaidServiceRequest) ProtoMessage
func (*StartPaidServiceRequest) ProtoMessage()func (*StartPaidServiceRequest) ProtoReflect
func (x *StartPaidServiceRequest) ProtoReflect() protoreflect.Messagefunc (*StartPaidServiceRequest) Reset
func (x *StartPaidServiceRequest) Reset()func (*StartPaidServiceRequest) String
func (x *StartPaidServiceRequest) String() stringSubscriberEvent
type SubscriberEvent struct {
// Specifies the Pub/Sub event provided to the partners.
// This is a required field.
//
// Types that are assignable to Event:
//
// *SubscriberEvent_CustomerEvent
// *SubscriberEvent_EntitlementEvent
Event isSubscriberEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}Represents information which resellers will get as part of notification from Pub/Sub.
func (*SubscriberEvent) Descriptor
func (*SubscriberEvent) Descriptor() ([]byte, []int)Deprecated: Use SubscriberEvent.ProtoReflect.Descriptor instead.
func (*SubscriberEvent) GetCustomerEvent
func (x *SubscriberEvent) GetCustomerEvent() *CustomerEventfunc (*SubscriberEvent) GetEntitlementEvent
func (x *SubscriberEvent) GetEntitlementEvent() *EntitlementEventfunc (*SubscriberEvent) GetEvent
func (m *SubscriberEvent) GetEvent() isSubscriberEvent_Eventfunc (*SubscriberEvent) ProtoMessage
func (*SubscriberEvent) ProtoMessage()func (*SubscriberEvent) ProtoReflect
func (x *SubscriberEvent) ProtoReflect() protoreflect.Messagefunc (*SubscriberEvent) Reset
func (x *SubscriberEvent) Reset()func (*SubscriberEvent) String
func (x *SubscriberEvent) String() stringSubscriberEvent_CustomerEvent
type SubscriberEvent_CustomerEvent struct {
// Customer event sent as part of Pub/Sub event to partners.
CustomerEvent *CustomerEvent `protobuf:"bytes,1,opt,name=customer_event,json=customerEvent,proto3,oneof"`
}SubscriberEvent_EntitlementEvent
type SubscriberEvent_EntitlementEvent struct {
// Entitlement event sent as part of Pub/Sub event to partners.
EntitlementEvent *EntitlementEvent `protobuf:"bytes,2,opt,name=entitlement_event,json=entitlementEvent,proto3,oneof"`
}SuspendEntitlementRequest
type SuspendEntitlementRequest struct {
// Required. The resource name of the entitlement to suspend.
// 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.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement].
func (*SuspendEntitlementRequest) Descriptor
func (*SuspendEntitlementRequest) Descriptor() ([]byte, []int)Deprecated: Use SuspendEntitlementRequest.ProtoReflect.Descriptor instead.
func (*SuspendEntitlementRequest) GetName
func (x *SuspendEntitlementRequest) GetName() stringfunc (*SuspendEntitlementRequest) GetRequestId
func (x *SuspendEntitlementRequest) GetRequestId() stringfunc (*SuspendEntitlementRequest) ProtoMessage
func (*SuspendEntitlementRequest) ProtoMessage()func (*SuspendEntitlementRequest) ProtoReflect
func (x *SuspendEntitlementRequest) ProtoReflect() protoreflect.Messagefunc (*SuspendEntitlementRequest) Reset
func (x *SuspendEntitlementRequest) Reset()func (*SuspendEntitlementRequest) String
func (x *SuspendEntitlementRequest) String() stringTransferEligibility
type TransferEligibility struct {
// Whether reseller is eligible to transfer the SKU.
IsEligible bool `protobuf:"varint,1,opt,name=is_eligible,json=isEligible,proto3" json:"is_eligible,omitempty"`
// Localized description if reseller is not eligible to transfer the SKU.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Specified the reason for ineligibility.
IneligibilityReason TransferEligibility_Reason `protobuf:"varint,3,opt,name=ineligibility_reason,json=ineligibilityReason,proto3,enum=google.cloud.channel.v1.TransferEligibility_Reason" json:"ineligibility_reason,omitempty"`
// contains filtered or unexported fields
}Specifies transfer eligibility of a SKU.
func (*TransferEligibility) Descriptor
func (*TransferEligibility) Descriptor() ([]byte, []int)Deprecated: Use TransferEligibility.ProtoReflect.Descriptor instead.
func (*TransferEligibility) GetDescription
func (x *TransferEligibility) GetDescription() stringfunc (*TransferEligibility) GetIneligibilityReason
func (x *TransferEligibility) GetIneligibilityReason() TransferEligibility_Reasonfunc (*TransferEligibility) GetIsEligible
func (x *TransferEligibility) GetIsEligible() boolfunc (*TransferEligibility) ProtoMessage
func (*TransferEligibility) ProtoMessage()func (*TransferEligibility) ProtoReflect
func (x *TransferEligibility) ProtoReflect() protoreflect.Messagefunc (*TransferEligibility) Reset
func (x *TransferEligibility) Reset()func (*TransferEligibility) String
func (x *TransferEligibility) String() stringTransferEligibility_Reason
type TransferEligibility_Reason int32Reason of ineligibility.
TransferEligibility_REASON_UNSPECIFIED, TransferEligibility_PENDING_TOS_ACCEPTANCE, TransferEligibility_SKU_NOT_ELIGIBLE, TransferEligibility_SKU_SUSPENDED, TransferEligibility_CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU
const (
// Not used.
TransferEligibility_REASON_UNSPECIFIED TransferEligibility_Reason = 0
// Reseller needs to accept TOS before transferring the SKU.
TransferEligibility_PENDING_TOS_ACCEPTANCE TransferEligibility_Reason = 1
// Reseller not eligible to sell the SKU.
TransferEligibility_SKU_NOT_ELIGIBLE TransferEligibility_Reason = 2
// SKU subscription is suspended
TransferEligibility_SKU_SUSPENDED TransferEligibility_Reason = 3
// The reseller is not authorized to transact on this Product. See
// https://support.google.com/channelservices/answer/9759265
TransferEligibility_CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU TransferEligibility_Reason = 4
)func (TransferEligibility_Reason) Descriptor
func (TransferEligibility_Reason) Descriptor() protoreflect.EnumDescriptorfunc (TransferEligibility_Reason) Enum
func (x TransferEligibility_Reason) Enum() *TransferEligibility_Reasonfunc (TransferEligibility_Reason) EnumDescriptor
func (TransferEligibility_Reason) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferEligibility_Reason.Descriptor instead.
func (TransferEligibility_Reason) Number
func (x TransferEligibility_Reason) Number() protoreflect.EnumNumberfunc (TransferEligibility_Reason) String
func (x TransferEligibility_Reason) String() stringfunc (TransferEligibility_Reason) Type
func (TransferEligibility_Reason) Type() protoreflect.EnumTypeTransferEntitlementsRequest
type TransferEntitlementsRequest struct {
// Required. The resource name of the reseller's customer account that will
// receive transferred entitlements. Parent uses the format:
// accounts/{account_id}/customers/{customer_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The new entitlements to create or transfer.
Entitlements []*Entitlement `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
// The super admin of the resold customer generates this token to
// authorize a reseller to access their Cloud Identity and purchase
// entitlements on their behalf. You can omit this token after authorization.
// See https://support.google.com/a/answer/7643790 for more details.
AuthToken string `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,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"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements].
func (*TransferEntitlementsRequest) Descriptor
func (*TransferEntitlementsRequest) Descriptor() ([]byte, []int)Deprecated: Use TransferEntitlementsRequest.ProtoReflect.Descriptor instead.
func (*TransferEntitlementsRequest) GetAuthToken
func (x *TransferEntitlementsRequest) GetAuthToken() stringfunc (*TransferEntitlementsRequest) GetEntitlements
func (x *TransferEntitlementsRequest) GetEntitlements() []*Entitlementfunc (*TransferEntitlementsRequest) GetParent
func (x *TransferEntitlementsRequest) GetParent() stringfunc (*TransferEntitlementsRequest) GetRequestId
func (x *TransferEntitlementsRequest) GetRequestId() stringfunc (*TransferEntitlementsRequest) ProtoMessage
func (*TransferEntitlementsRequest) ProtoMessage()func (*TransferEntitlementsRequest) ProtoReflect
func (x *TransferEntitlementsRequest) ProtoReflect() protoreflect.Messagefunc (*TransferEntitlementsRequest) Reset
func (x *TransferEntitlementsRequest) Reset()func (*TransferEntitlementsRequest) String
func (x *TransferEntitlementsRequest) String() stringTransferEntitlementsResponse
type TransferEntitlementsResponse struct {
// The transferred entitlements.
Entitlements []*Entitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
// contains filtered or unexported fields
}Response message for [CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements]. This is put in the response field of google.longrunning.Operation.
func (*TransferEntitlementsResponse) Descriptor
func (*TransferEntitlementsResponse) Descriptor() ([]byte, []int)Deprecated: Use TransferEntitlementsResponse.ProtoReflect.Descriptor instead.
func (*TransferEntitlementsResponse) GetEntitlements
func (x *TransferEntitlementsResponse) GetEntitlements() []*Entitlementfunc (*TransferEntitlementsResponse) ProtoMessage
func (*TransferEntitlementsResponse) ProtoMessage()func (*TransferEntitlementsResponse) ProtoReflect
func (x *TransferEntitlementsResponse) ProtoReflect() protoreflect.Messagefunc (*TransferEntitlementsResponse) Reset
func (x *TransferEntitlementsResponse) Reset()func (*TransferEntitlementsResponse) String
func (x *TransferEntitlementsResponse) String() stringTransferEntitlementsToGoogleRequest
type TransferEntitlementsToGoogleRequest struct {
// Required. The resource name of the reseller's customer account where the
// entitlements transfer from. Parent uses the format:
// accounts/{account_id}/customers/{customer_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The entitlements to transfer to Google.
Entitlements []*Entitlement `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,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.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle].
func (*TransferEntitlementsToGoogleRequest) Descriptor
func (*TransferEntitlementsToGoogleRequest) Descriptor() ([]byte, []int)Deprecated: Use TransferEntitlementsToGoogleRequest.ProtoReflect.Descriptor instead.
func (*TransferEntitlementsToGoogleRequest) GetEntitlements
func (x *TransferEntitlementsToGoogleRequest) GetEntitlements() []*Entitlementfunc (*TransferEntitlementsToGoogleRequest) GetParent
func (x *TransferEntitlementsToGoogleRequest) GetParent() stringfunc (*TransferEntitlementsToGoogleRequest) GetRequestId
func (x *TransferEntitlementsToGoogleRequest) GetRequestId() stringfunc (*TransferEntitlementsToGoogleRequest) ProtoMessage
func (*TransferEntitlementsToGoogleRequest) ProtoMessage()func (*TransferEntitlementsToGoogleRequest) ProtoReflect
func (x *TransferEntitlementsToGoogleRequest) ProtoReflect() protoreflect.Messagefunc (*TransferEntitlementsToGoogleRequest) Reset
func (x *TransferEntitlementsToGoogleRequest) Reset()func (*TransferEntitlementsToGoogleRequest) String
func (x *TransferEntitlementsToGoogleRequest) String() stringTransferableOffer
type TransferableOffer struct {
// Offer with parameter constraints updated to allow the Transfer.
Offer *Offer `protobuf:"bytes,1,opt,name=offer,proto3" json:"offer,omitempty"`
// contains filtered or unexported fields
}TransferableOffer represents an Offer that can be used in Transfer. Read-only.
func (*TransferableOffer) Descriptor
func (*TransferableOffer) Descriptor() ([]byte, []int)Deprecated: Use TransferableOffer.ProtoReflect.Descriptor instead.
func (*TransferableOffer) GetOffer
func (x *TransferableOffer) GetOffer() *Offerfunc (*TransferableOffer) ProtoMessage
func (*TransferableOffer) ProtoMessage()func (*TransferableOffer) ProtoReflect
func (x *TransferableOffer) ProtoReflect() protoreflect.Messagefunc (*TransferableOffer) Reset
func (x *TransferableOffer) Reset()func (*TransferableOffer) String
func (x *TransferableOffer) String() stringTransferableSku
type TransferableSku struct {
// Describes the transfer eligibility of a SKU.
TransferEligibility *TransferEligibility `protobuf:"bytes,9,opt,name=transfer_eligibility,json=transferEligibility,proto3" json:"transfer_eligibility,omitempty"`
// The SKU pertaining to the provisioning resource as specified in the Offer.
Sku *Sku `protobuf:"bytes,11,opt,name=sku,proto3" json:"sku,omitempty"`
// Optional. The customer to transfer has an entitlement with the populated
// legacy SKU.
LegacySku *Sku `protobuf:"bytes,12,opt,name=legacy_sku,json=legacySku,proto3" json:"legacy_sku,omitempty"`
// contains filtered or unexported fields
}TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only.
func (*TransferableSku) Descriptor
func (*TransferableSku) Descriptor() ([]byte, []int)Deprecated: Use TransferableSku.ProtoReflect.Descriptor instead.
func (*TransferableSku) GetLegacySku
func (x *TransferableSku) GetLegacySku() *Skufunc (*TransferableSku) GetSku
func (x *TransferableSku) GetSku() *Skufunc (*TransferableSku) GetTransferEligibility
func (x *TransferableSku) GetTransferEligibility() *TransferEligibilityfunc (*TransferableSku) ProtoMessage
func (*TransferableSku) ProtoMessage()func (*TransferableSku) ProtoReflect
func (x *TransferableSku) ProtoReflect() protoreflect.Messagefunc (*TransferableSku) Reset
func (x *TransferableSku) Reset()func (*TransferableSku) String
func (x *TransferableSku) String() stringTrialSettings
type TrialSettings struct {
// Determines if the entitlement is in a trial or not:
//
// * `true` - The entitlement is in trial.
// * `false` - The entitlement is not in trial.
Trial bool `protobuf:"varint,1,opt,name=trial,proto3" json:"trial,omitempty"`
// Date when the trial ends. The value is in milliseconds
// using the UNIX Epoch format. See an example [Epoch
// converter](https://www.epochconverter.com).
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Settings for trial offers.
func (*TrialSettings) Descriptor
func (*TrialSettings) Descriptor() ([]byte, []int)Deprecated: Use TrialSettings.ProtoReflect.Descriptor instead.
func (*TrialSettings) GetEndTime
func (x *TrialSettings) GetEndTime() *timestamppb.Timestampfunc (*TrialSettings) GetTrial
func (x *TrialSettings) GetTrial() boolfunc (*TrialSettings) ProtoMessage
func (*TrialSettings) ProtoMessage()func (*TrialSettings) ProtoReflect
func (x *TrialSettings) ProtoReflect() protoreflect.Messagefunc (*TrialSettings) Reset
func (x *TrialSettings) Reset()func (*TrialSettings) String
func (x *TrialSettings) String() stringUnimplementedCloudChannelReportsServiceServer
type UnimplementedCloudChannelReportsServiceServer struct {
}UnimplementedCloudChannelReportsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudChannelReportsServiceServer) FetchReportResults
func (UnimplementedCloudChannelReportsServiceServer) FetchReportResults(context.Context, *FetchReportResultsRequest) (*FetchReportResultsResponse, error)func (UnimplementedCloudChannelReportsServiceServer) ListReports
func (UnimplementedCloudChannelReportsServiceServer) ListReports(context.Context, *ListReportsRequest) (*ListReportsResponse, error)func (UnimplementedCloudChannelReportsServiceServer) RunReportJob
func (UnimplementedCloudChannelReportsServiceServer) RunReportJob(context.Context, *RunReportJobRequest) (*longrunningpb.Operation, error)UnimplementedCloudChannelServiceServer
type UnimplementedCloudChannelServiceServer struct {
}UnimplementedCloudChannelServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudChannelServiceServer) ActivateEntitlement
func (UnimplementedCloudChannelServiceServer) ActivateEntitlement(context.Context, *ActivateEntitlementRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) CancelEntitlement
func (UnimplementedCloudChannelServiceServer) CancelEntitlement(context.Context, *CancelEntitlementRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) ChangeOffer
func (UnimplementedCloudChannelServiceServer) ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) ChangeParameters
func (UnimplementedCloudChannelServiceServer) ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) ChangeRenewalSettings
func (UnimplementedCloudChannelServiceServer) ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) CheckCloudIdentityAccountsExist
func (UnimplementedCloudChannelServiceServer) CheckCloudIdentityAccountsExist(context.Context, *CheckCloudIdentityAccountsExistRequest) (*CheckCloudIdentityAccountsExistResponse, error)func (UnimplementedCloudChannelServiceServer) CreateChannelPartnerLink
func (UnimplementedCloudChannelServiceServer) CreateChannelPartnerLink(context.Context, *CreateChannelPartnerLinkRequest) (*ChannelPartnerLink, error)func (UnimplementedCloudChannelServiceServer) CreateChannelPartnerRepricingConfig
func (UnimplementedCloudChannelServiceServer) CreateChannelPartnerRepricingConfig(context.Context, *CreateChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error)func (UnimplementedCloudChannelServiceServer) CreateCustomer
func (UnimplementedCloudChannelServiceServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error)func (UnimplementedCloudChannelServiceServer) CreateCustomerRepricingConfig
func (UnimplementedCloudChannelServiceServer) CreateCustomerRepricingConfig(context.Context, *CreateCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error)func (UnimplementedCloudChannelServiceServer) CreateEntitlement
func (UnimplementedCloudChannelServiceServer) CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) DeleteChannelPartnerRepricingConfig
func (UnimplementedCloudChannelServiceServer) DeleteChannelPartnerRepricingConfig(context.Context, *DeleteChannelPartnerRepricingConfigRequest) (*emptypb.Empty, error)func (UnimplementedCloudChannelServiceServer) DeleteCustomer
func (UnimplementedCloudChannelServiceServer) DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error)func (UnimplementedCloudChannelServiceServer) DeleteCustomerRepricingConfig
func (UnimplementedCloudChannelServiceServer) DeleteCustomerRepricingConfig(context.Context, *DeleteCustomerRepricingConfigRequest) (*emptypb.Empty, error)func (UnimplementedCloudChannelServiceServer) GetChannelPartnerLink
func (UnimplementedCloudChannelServiceServer) GetChannelPartnerLink(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error)func (UnimplementedCloudChannelServiceServer) GetChannelPartnerRepricingConfig
func (UnimplementedCloudChannelServiceServer) GetChannelPartnerRepricingConfig(context.Context, *GetChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error)func (UnimplementedCloudChannelServiceServer) GetCustomer
func (UnimplementedCloudChannelServiceServer) GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error)func (UnimplementedCloudChannelServiceServer) GetCustomerRepricingConfig
func (UnimplementedCloudChannelServiceServer) GetCustomerRepricingConfig(context.Context, *GetCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error)func (UnimplementedCloudChannelServiceServer) GetEntitlement
func (UnimplementedCloudChannelServiceServer) GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error)func (UnimplementedCloudChannelServiceServer) ImportCustomer
func (UnimplementedCloudChannelServiceServer) ImportCustomer(context.Context, *ImportCustomerRequest) (*Customer, error)func (UnimplementedCloudChannelServiceServer) ListChannelPartnerLinks
func (UnimplementedCloudChannelServiceServer) ListChannelPartnerLinks(context.Context, *ListChannelPartnerLinksRequest) (*ListChannelPartnerLinksResponse, error)func (UnimplementedCloudChannelServiceServer) ListChannelPartnerRepricingConfigs
func (UnimplementedCloudChannelServiceServer) ListChannelPartnerRepricingConfigs(context.Context, *ListChannelPartnerRepricingConfigsRequest) (*ListChannelPartnerRepricingConfigsResponse, error)func (UnimplementedCloudChannelServiceServer) ListCustomerRepricingConfigs
func (UnimplementedCloudChannelServiceServer) ListCustomerRepricingConfigs(context.Context, *ListCustomerRepricingConfigsRequest) (*ListCustomerRepricingConfigsResponse, error)func (UnimplementedCloudChannelServiceServer) ListCustomers
func (UnimplementedCloudChannelServiceServer) ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)func (UnimplementedCloudChannelServiceServer) ListEntitlementChanges
func (UnimplementedCloudChannelServiceServer) ListEntitlementChanges(context.Context, *ListEntitlementChangesRequest) (*ListEntitlementChangesResponse, error)func (UnimplementedCloudChannelServiceServer) ListEntitlements
func (UnimplementedCloudChannelServiceServer) ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error)func (UnimplementedCloudChannelServiceServer) ListOffers
func (UnimplementedCloudChannelServiceServer) ListOffers(context.Context, *ListOffersRequest) (*ListOffersResponse, error)func (UnimplementedCloudChannelServiceServer) ListProducts
func (UnimplementedCloudChannelServiceServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error)func (UnimplementedCloudChannelServiceServer) ListPurchasableOffers
func (UnimplementedCloudChannelServiceServer) ListPurchasableOffers(context.Context, *ListPurchasableOffersRequest) (*ListPurchasableOffersResponse, error)func (UnimplementedCloudChannelServiceServer) ListPurchasableSkus
func (UnimplementedCloudChannelServiceServer) ListPurchasableSkus(context.Context, *ListPurchasableSkusRequest) (*ListPurchasableSkusResponse, error)func (UnimplementedCloudChannelServiceServer) ListSkuGroupBillableSkus
func (UnimplementedCloudChannelServiceServer) ListSkuGroupBillableSkus(context.Context, *ListSkuGroupBillableSkusRequest) (*ListSkuGroupBillableSkusResponse, error)func (UnimplementedCloudChannelServiceServer) ListSkuGroups
func (UnimplementedCloudChannelServiceServer) ListSkuGroups(context.Context, *ListSkuGroupsRequest) (*ListSkuGroupsResponse, error)func (UnimplementedCloudChannelServiceServer) ListSkus
func (UnimplementedCloudChannelServiceServer) ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error)func (UnimplementedCloudChannelServiceServer) ListSubscribers
func (UnimplementedCloudChannelServiceServer) ListSubscribers(context.Context, *ListSubscribersRequest) (*ListSubscribersResponse, error)func (UnimplementedCloudChannelServiceServer) ListTransferableOffers
func (UnimplementedCloudChannelServiceServer) ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error)func (UnimplementedCloudChannelServiceServer) ListTransferableSkus
func (UnimplementedCloudChannelServiceServer) ListTransferableSkus(context.Context, *ListTransferableSkusRequest) (*ListTransferableSkusResponse, error)func (UnimplementedCloudChannelServiceServer) LookupOffer
func (UnimplementedCloudChannelServiceServer) LookupOffer(context.Context, *LookupOfferRequest) (*Offer, error)func (UnimplementedCloudChannelServiceServer) ProvisionCloudIdentity
func (UnimplementedCloudChannelServiceServer) ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) QueryEligibleBillingAccounts
func (UnimplementedCloudChannelServiceServer) QueryEligibleBillingAccounts(context.Context, *QueryEligibleBillingAccountsRequest) (*QueryEligibleBillingAccountsResponse, error)func (UnimplementedCloudChannelServiceServer) RegisterSubscriber
func (UnimplementedCloudChannelServiceServer) RegisterSubscriber(context.Context, *RegisterSubscriberRequest) (*RegisterSubscriberResponse, error)func (UnimplementedCloudChannelServiceServer) StartPaidService
func (UnimplementedCloudChannelServiceServer) StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) SuspendEntitlement
func (UnimplementedCloudChannelServiceServer) SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) TransferEntitlements
func (UnimplementedCloudChannelServiceServer) TransferEntitlements(context.Context, *TransferEntitlementsRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) TransferEntitlementsToGoogle
func (UnimplementedCloudChannelServiceServer) TransferEntitlementsToGoogle(context.Context, *TransferEntitlementsToGoogleRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudChannelServiceServer) UnregisterSubscriber
func (UnimplementedCloudChannelServiceServer) UnregisterSubscriber(context.Context, *UnregisterSubscriberRequest) (*UnregisterSubscriberResponse, error)func (UnimplementedCloudChannelServiceServer) UpdateChannelPartnerLink
func (UnimplementedCloudChannelServiceServer) UpdateChannelPartnerLink(context.Context, *UpdateChannelPartnerLinkRequest) (*ChannelPartnerLink, error)func (UnimplementedCloudChannelServiceServer) UpdateChannelPartnerRepricingConfig
func (UnimplementedCloudChannelServiceServer) UpdateChannelPartnerRepricingConfig(context.Context, *UpdateChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error)func (UnimplementedCloudChannelServiceServer) UpdateCustomer
func (UnimplementedCloudChannelServiceServer) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error)func (UnimplementedCloudChannelServiceServer) UpdateCustomerRepricingConfig
func (UnimplementedCloudChannelServiceServer) UpdateCustomerRepricingConfig(context.Context, *UpdateCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error)UnregisterSubscriberRequest
type UnregisterSubscriberRequest struct {
// Required. Resource name of the account.
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// Required. Service account to unregister from subscriber access to the
// topic.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}Request Message for UnregisterSubscriber.
func (*UnregisterSubscriberRequest) Descriptor
func (*UnregisterSubscriberRequest) Descriptor() ([]byte, []int)Deprecated: Use UnregisterSubscriberRequest.ProtoReflect.Descriptor instead.
func (*UnregisterSubscriberRequest) GetAccount
func (x *UnregisterSubscriberRequest) GetAccount() stringfunc (*UnregisterSubscriberRequest) GetServiceAccount
func (x *UnregisterSubscriberRequest) GetServiceAccount() stringfunc (*UnregisterSubscriberRequest) ProtoMessage
func (*UnregisterSubscriberRequest) ProtoMessage()func (*UnregisterSubscriberRequest) ProtoReflect
func (x *UnregisterSubscriberRequest) ProtoReflect() protoreflect.Messagefunc (*UnregisterSubscriberRequest) Reset
func (x *UnregisterSubscriberRequest) Reset()func (*UnregisterSubscriberRequest) String
func (x *UnregisterSubscriberRequest) String() stringUnregisterSubscriberResponse
type UnregisterSubscriberResponse struct {
// Name of the topic the service account subscriber access was removed from.
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
// contains filtered or unexported fields
}Response Message for UnregisterSubscriber.
func (*UnregisterSubscriberResponse) Descriptor
func (*UnregisterSubscriberResponse) Descriptor() ([]byte, []int)Deprecated: Use UnregisterSubscriberResponse.ProtoReflect.Descriptor instead.
func (*UnregisterSubscriberResponse) GetTopic
func (x *UnregisterSubscriberResponse) GetTopic() stringfunc (*UnregisterSubscriberResponse) ProtoMessage
func (*UnregisterSubscriberResponse) ProtoMessage()func (*UnregisterSubscriberResponse) ProtoReflect
func (x *UnregisterSubscriberResponse) ProtoReflect() protoreflect.Messagefunc (*UnregisterSubscriberResponse) Reset
func (x *UnregisterSubscriberResponse) Reset()func (*UnregisterSubscriberResponse) String
func (x *UnregisterSubscriberResponse) String() stringUnsafeCloudChannelReportsServiceServer
type UnsafeCloudChannelReportsServiceServer interface {
// contains filtered or unexported methods
}UnsafeCloudChannelReportsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudChannelReportsServiceServer will result in compilation errors.
UnsafeCloudChannelServiceServer
type UnsafeCloudChannelServiceServer interface {
// contains filtered or unexported methods
}UnsafeCloudChannelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudChannelServiceServer will result in compilation errors.
UpdateChannelPartnerLinkRequest
type UpdateChannelPartnerLinkRequest struct {
// Required. The resource name of the channel partner link to cancel.
// Name uses the format: accounts/{account_id}/channelPartnerLinks/{id}
// where {id} is the Cloud Identity ID of the partner.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The channel partner link to update. Only
// channel_partner_link.link_state is allowed for updates.
ChannelPartnerLink *ChannelPartnerLink `protobuf:"bytes,2,opt,name=channel_partner_link,json=channelPartnerLink,proto3" json:"channel_partner_link,omitempty"`
// Required. The update mask that applies to the resource.
// The only allowable value for an update mask is
// channel_partner_link.link_state.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink]
func (*UpdateChannelPartnerLinkRequest) Descriptor
func (*UpdateChannelPartnerLinkRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateChannelPartnerLinkRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelPartnerLinkRequest) GetChannelPartnerLink
func (x *UpdateChannelPartnerLinkRequest) GetChannelPartnerLink() *ChannelPartnerLinkfunc (*UpdateChannelPartnerLinkRequest) GetName
func (x *UpdateChannelPartnerLinkRequest) GetName() stringfunc (*UpdateChannelPartnerLinkRequest) GetUpdateMask
func (x *UpdateChannelPartnerLinkRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateChannelPartnerLinkRequest) ProtoMessage
func (*UpdateChannelPartnerLinkRequest) ProtoMessage()func (*UpdateChannelPartnerLinkRequest) ProtoReflect
func (x *UpdateChannelPartnerLinkRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateChannelPartnerLinkRequest) Reset
func (x *UpdateChannelPartnerLinkRequest) Reset()func (*UpdateChannelPartnerLinkRequest) String
func (x *UpdateChannelPartnerLinkRequest) String() stringUpdateChannelPartnerRepricingConfigRequest
type UpdateChannelPartnerRepricingConfigRequest struct {
// Required. The ChannelPartnerRepricingConfig object to update.
ChannelPartnerRepricingConfig *ChannelPartnerRepricingConfig `protobuf:"bytes,1,opt,name=channel_partner_repricing_config,json=channelPartnerRepricingConfig,proto3" json:"channel_partner_repricing_config,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig].
func (*UpdateChannelPartnerRepricingConfigRequest) Descriptor
func (*UpdateChannelPartnerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateChannelPartnerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelPartnerRepricingConfigRequest) GetChannelPartnerRepricingConfig
func (x *UpdateChannelPartnerRepricingConfigRequest) GetChannelPartnerRepricingConfig() *ChannelPartnerRepricingConfigfunc (*UpdateChannelPartnerRepricingConfigRequest) ProtoMessage
func (*UpdateChannelPartnerRepricingConfigRequest) ProtoMessage()func (*UpdateChannelPartnerRepricingConfigRequest) ProtoReflect
func (x *UpdateChannelPartnerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateChannelPartnerRepricingConfigRequest) Reset
func (x *UpdateChannelPartnerRepricingConfigRequest) Reset()func (*UpdateChannelPartnerRepricingConfigRequest) String
func (x *UpdateChannelPartnerRepricingConfigRequest) String() stringUpdateCustomerRepricingConfigRequest
type UpdateCustomerRepricingConfigRequest struct {
// Required. The CustomerRepricingConfig object to update.
CustomerRepricingConfig *CustomerRepricingConfig `protobuf:"bytes,1,opt,name=customer_repricing_config,json=customerRepricingConfig,proto3" json:"customer_repricing_config,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig].
func (*UpdateCustomerRepricingConfigRequest) Descriptor
func (*UpdateCustomerRepricingConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateCustomerRepricingConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomerRepricingConfigRequest) GetCustomerRepricingConfig
func (x *UpdateCustomerRepricingConfigRequest) GetCustomerRepricingConfig() *CustomerRepricingConfigfunc (*UpdateCustomerRepricingConfigRequest) ProtoMessage
func (*UpdateCustomerRepricingConfigRequest) ProtoMessage()func (*UpdateCustomerRepricingConfigRequest) ProtoReflect
func (x *UpdateCustomerRepricingConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateCustomerRepricingConfigRequest) Reset
func (x *UpdateCustomerRepricingConfigRequest) Reset()func (*UpdateCustomerRepricingConfigRequest) String
func (x *UpdateCustomerRepricingConfigRequest) String() stringUpdateCustomerRequest
type UpdateCustomerRequest struct {
// Required. New contents of the customer.
Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"`
// The update mask that applies to the resource.
// Optional.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for [CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer].
func (*UpdateCustomerRequest) Descriptor
func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomerRequest) GetCustomer
func (x *UpdateCustomerRequest) GetCustomer() *Customerfunc (*UpdateCustomerRequest) GetUpdateMask
func (x *UpdateCustomerRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateCustomerRequest) ProtoMessage
func (*UpdateCustomerRequest) ProtoMessage()func (*UpdateCustomerRequest) ProtoReflect
func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateCustomerRequest) Reset
func (x *UpdateCustomerRequest) Reset()func (*UpdateCustomerRequest) String
func (x *UpdateCustomerRequest) String() stringValue
type Value struct {
// The kind of value.
//
// Types that are assignable to Kind:
//
// *Value_Int64Value
// *Value_StringValue
// *Value_DoubleValue
// *Value_ProtoValue
// *Value_BoolValue
Kind isValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}Data type and value of a parameter.
func (*Value) Descriptor
Deprecated: Use Value.ProtoReflect.Descriptor instead.
func (*Value) GetBoolValue
func (*Value) GetDoubleValue
func (*Value) GetInt64Value
func (*Value) GetKind
func (m *Value) GetKind() isValue_Kindfunc (*Value) GetProtoValue
func (*Value) GetStringValue
func (*Value) ProtoMessage
func (*Value) ProtoMessage()func (*Value) ProtoReflect
func (x *Value) ProtoReflect() protoreflect.Messagefunc (*Value) Reset
func (x *Value) Reset()func (*Value) String
Value_BoolValue
type Value_BoolValue struct {
// Represents a boolean value.
BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
}Value_DoubleValue
type Value_DoubleValue struct {
// Represents a double value.
DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}Value_Int64Value
type Value_Int64Value struct {
// Represents an int64 value.
Int64Value int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value,proto3,oneof"`
}Value_ProtoValue
type Value_ProtoValue struct {
// Represents an 'Any' proto value.
ProtoValue *anypb.Any `protobuf:"bytes,4,opt,name=proto_value,json=protoValue,proto3,oneof"`
}Value_StringValue
type Value_StringValue struct {
// Represents a string value.
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}