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.FileDescriptor
File_google_cloud_channel_v1_channel_partner_links_proto
var File_google_cloud_channel_v1_channel_partner_links_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_common_proto
var File_google_cloud_channel_v1_common_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_customers_proto
var File_google_cloud_channel_v1_customers_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_entitlement_changes_proto
var File_google_cloud_channel_v1_entitlement_changes_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_entitlements_proto
var File_google_cloud_channel_v1_entitlements_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_offers_proto
var File_google_cloud_channel_v1_offers_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_operations_proto
var File_google_cloud_channel_v1_operations_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_products_proto
var File_google_cloud_channel_v1_products_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_reports_service_proto
var File_google_cloud_channel_v1_reports_service_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_repricing_proto
var File_google_cloud_channel_v1_repricing_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_service_proto
var File_google_cloud_channel_v1_service_proto protoreflect.FileDescriptor
File_google_cloud_channel_v1_subscriber_event_proto
var File_google_cloud_channel_v1_subscriber_event_proto protoreflect.FileDescriptor
Functions
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() string
func (*ActivateEntitlementRequest) GetRequestId
func (x *ActivateEntitlementRequest) GetRequestId() string
func (*ActivateEntitlementRequest) ProtoMessage
func (*ActivateEntitlementRequest) ProtoMessage()
func (*ActivateEntitlementRequest) ProtoReflect
func (x *ActivateEntitlementRequest) ProtoReflect() protoreflect.Message
func (*ActivateEntitlementRequest) Reset
func (x *ActivateEntitlementRequest) Reset()
func (*ActivateEntitlementRequest) String
func (x *ActivateEntitlementRequest) String() string
AdminUser
type AdminUser struct {
// Primary email of the admin user.
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
// Given name of the admin user.
GivenName string `protobuf:"bytes,2,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
// Family name of the admin user.
FamilyName string `protobuf:"bytes,3,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
// contains filtered or unexported fields
}
Information needed to create an Admin User for Google Workspace.
func (*AdminUser) Descriptor
Deprecated: 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.Message
func (*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() string
func (*AssociationInfo) ProtoMessage
func (*AssociationInfo) ProtoMessage()
func (*AssociationInfo) ProtoReflect
func (x *AssociationInfo) ProtoReflect() protoreflect.Message
func (*AssociationInfo) Reset
func (x *AssociationInfo) Reset()
func (*AssociationInfo) String
func (x *AssociationInfo) String() string
BillableSku
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() string
func (*BillableSku) GetServiceDisplayName
func (x *BillableSku) GetServiceDisplayName() string
func (*BillableSku) GetSku
func (x *BillableSku) GetSku() string
func (*BillableSku) GetSkuDisplayName
func (x *BillableSku) GetSkuDisplayName() string
func (*BillableSku) ProtoMessage
func (*BillableSku) ProtoMessage()
func (*BillableSku) ProtoReflect
func (x *BillableSku) ProtoReflect() protoreflect.Message
func (*BillableSku) Reset
func (x *BillableSku) Reset()
func (*BillableSku) String
func (x *BillableSku) String() string
BillingAccount
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.Timestamp
func (*BillingAccount) GetCurrencyCode
func (x *BillingAccount) GetCurrencyCode() string
func (*BillingAccount) GetDisplayName
func (x *BillingAccount) GetDisplayName() string
func (*BillingAccount) GetName
func (x *BillingAccount) GetName() string
func (*BillingAccount) GetRegionCode
func (x *BillingAccount) GetRegionCode() string
func (*BillingAccount) ProtoMessage
func (*BillingAccount) ProtoMessage()
func (*BillingAccount) ProtoReflect
func (x *BillingAccount) ProtoReflect() protoreflect.Message
func (*BillingAccount) Reset
func (x *BillingAccount) Reset()
func (*BillingAccount) String
func (x *BillingAccount) String() string
BillingAccountPurchaseInfo
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() *BillingAccount
func (*BillingAccountPurchaseInfo) ProtoMessage
func (*BillingAccountPurchaseInfo) ProtoMessage()
func (*BillingAccountPurchaseInfo) ProtoReflect
func (x *BillingAccountPurchaseInfo) ProtoReflect() protoreflect.Message
func (*BillingAccountPurchaseInfo) Reset
func (x *BillingAccountPurchaseInfo) Reset()
func (*BillingAccountPurchaseInfo) String
func (x *BillingAccountPurchaseInfo) String() string
CancelEntitlementRequest
type CancelEntitlementRequest struct {
// Required. The resource name of the entitlement to cancel.
// Name uses the format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. You can specify an optional unique request ID, and if you need to
// retry your request, the server will know to ignore the request if it's
// complete.
//
// For example, you make an initial request and the request times out. If you
// make the request again with the same request ID, the server can check if
// it received the original operation with the same request ID. If it did, it
// will ignore the second request.
//
// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
// with the exception that zero UUID is not supported
// (`00000000-0000-0000-0000-000000000000`).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement].
func (*CancelEntitlementRequest) Descriptor
func (*CancelEntitlementRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelEntitlementRequest.ProtoReflect.Descriptor instead.
func (*CancelEntitlementRequest) GetName
func (x *CancelEntitlementRequest) GetName() string
func (*CancelEntitlementRequest) GetRequestId
func (x *CancelEntitlementRequest) GetRequestId() string
func (*CancelEntitlementRequest) ProtoMessage
func (*CancelEntitlementRequest) ProtoMessage()
func (*CancelEntitlementRequest) ProtoReflect
func (x *CancelEntitlementRequest) ProtoReflect() protoreflect.Message
func (*CancelEntitlementRequest) Reset
func (x *CancelEntitlementRequest) Reset()
func (*CancelEntitlementRequest) String
func (x *CancelEntitlementRequest) String() string
ChangeOfferRequest
type ChangeOfferRequest struct {
// Required. The resource name of the entitlement to update.
// Name uses the format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. New Offer.
// Format: accounts/{account_id}/offers/{offer_id}.
Offer string `protobuf:"bytes,2,opt,name=offer,proto3" json:"offer,omitempty"`
// Optional. Parameters needed to purchase the Offer. To view the available
// Parameters refer to the
// [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
// from the desired offer.
Parameters []*Parameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
// Optional. Purchase order id provided by the reseller.
PurchaseOrderId string `protobuf:"bytes,5,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"`
// Optional. You can specify an optional unique request ID, and if you need to
// retry your request, the server will know to ignore the request if it's
// complete.
//
// For example, you make an initial request and the request times out. If you
// make the request again with the same request ID, the server can check if
// it received the original operation with the same request ID. If it did, it
// will ignore the second request.
//
// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
// with the exception that zero UUID is not supported
// (`00000000-0000-0000-0000-000000000000`).
RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. The billing account resource name that is used to pay for this
// entitlement when setting up billing on a trial subscription.
//
// This field is only relevant for multi-currency accounts. It should be
// left empty for single currency accounts.
BillingAccount string `protobuf:"bytes,7,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
// contains filtered or unexported fields
}
Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].
func (*ChangeOfferRequest) Descriptor
func (*ChangeOfferRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeOfferRequest.ProtoReflect.Descriptor instead.
func (*ChangeOfferRequest) GetBillingAccount
func (x *ChangeOfferRequest) GetBillingAccount() string
func (*ChangeOfferRequest) GetName
func (x *ChangeOfferRequest) GetName() string
func (*ChangeOfferRequest) GetOffer
func (x *ChangeOfferRequest) GetOffer() string
func (*ChangeOfferRequest) GetParameters
func (x *ChangeOfferRequest) GetParameters() []*Parameter
func (*ChangeOfferRequest) GetPurchaseOrderId
func (x *ChangeOfferRequest) GetPurchaseOrderId() string
func (*ChangeOfferRequest) GetRequestId
func (x *ChangeOfferRequest) GetRequestId() string
func (*ChangeOfferRequest) ProtoMessage
func (*ChangeOfferRequest) ProtoMessage()
func (*ChangeOfferRequest) ProtoReflect
func (x *ChangeOfferRequest) ProtoReflect() protoreflect.Message
func (*ChangeOfferRequest) Reset
func (x *ChangeOfferRequest) Reset()
func (*ChangeOfferRequest) String
func (x *ChangeOfferRequest) String() string
ChangeParametersRequest
type ChangeParametersRequest struct {
// Required. The name of the entitlement to update.
// Name uses the format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Entitlement parameters to update. You can only change editable
// parameters.
//
// To view the available Parameters for a request, refer to the
// [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]
// from the desired offer.
Parameters []*Parameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
// Optional. You can specify an optional unique request ID, and if you need to
// retry your request, the server will know to ignore the request if it's
// complete.
//
// For example, you make an initial request and the request times out. If you
// make the request again with the same request ID, the server can check if
// it received the original operation with the same request ID. If it did, it
// will ignore the second request.
//
// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
// with the exception that zero UUID is not supported
// (`00000000-0000-0000-0000-000000000000`).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. Purchase order ID provided by the reseller.
PurchaseOrderId string `protobuf:"bytes,5,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [CloudChannelService.ChangeParametersRequest][].
func (*ChangeParametersRequest) Descriptor
func (*ChangeParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeParametersRequest.ProtoReflect.Descriptor instead.
func (*ChangeParametersRequest) GetName
func (x *ChangeParametersRequest) GetName() string
func (*ChangeParametersRequest) GetParameters
func (x *ChangeParametersRequest) GetParameters() []*Parameter
func (*ChangeParametersRequest) GetPurchaseOrderId
func (x *ChangeParametersRequest) GetPurchaseOrderId() string
func (*ChangeParametersRequest) GetRequestId
func (x *ChangeParametersRequest) GetRequestId() string
func (*ChangeParametersRequest) ProtoMessage
func (*ChangeParametersRequest) ProtoMessage()
func (*ChangeParametersRequest) ProtoReflect
func (x *ChangeParametersRequest) ProtoReflect() protoreflect.Message
func (*ChangeParametersRequest) Reset
func (x *ChangeParametersRequest) Reset()
func (*ChangeParametersRequest) String
func (x *ChangeParametersRequest) String() string
ChangeRenewalSettingsRequest
type ChangeRenewalSettingsRequest struct {
// Required. The name of the entitlement to update.
// Name uses the format:
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. New renewal settings.
RenewalSettings *RenewalSettings `protobuf:"bytes,4,opt,name=renewal_settings,json=renewalSettings,proto3" json:"renewal_settings,omitempty"`
// Optional. You can specify an optional unique request ID, and if you need to
// retry your request, the server will know to ignore the request if it's
// complete.
//
// For example, you make an initial request and the request times out. If you
// make the request again with the same request ID, the server can check if
// it received the original operation with the same request ID. If it did, it
// will ignore the second request.
//
// The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
// with the exception that zero UUID is not supported
// (`00000000-0000-0000-0000-000000000000`).
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings].
func (*ChangeRenewalSettingsRequest) Descriptor
func (*ChangeRenewalSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRenewalSettingsRequest.ProtoReflect.Descriptor instead.
func (*ChangeRenewalSettingsRequest) GetName
func (x *ChangeRenewalSettingsRequest) GetName() string
func (*ChangeRenewalSettingsRequest) GetRenewalSettings
func (x *ChangeRenewalSettingsRequest) GetRenewalSettings() *RenewalSettings
func (*ChangeRenewalSettingsRequest) GetRequestId
func (x *ChangeRenewalSettingsRequest) GetRequestId() string
func (*ChangeRenewalSettingsRequest) ProtoMessage
func (*ChangeRenewalSettingsRequest) ProtoMessage()
func (*ChangeRenewalSettingsRequest) ProtoReflect
func (x *ChangeRenewalSettingsRequest) ProtoReflect() protoreflect.Message
func (*ChangeRenewalSettingsRequest) Reset
func (x *ChangeRenewalSettingsRequest) Reset()
func (*ChangeRenewalSettingsRequest) String
func (x *ChangeRenewalSettingsRequest) String() string
ChannelPartnerLink
type ChannelPartnerLink struct {
// Output only. Resource name for the channel partner link, in the format
// accounts/{account_id}/channelPartnerLinks/{id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Cloud Identity ID of the linked reseller.
ResellerCloudIdentityId string `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() *CloudIdentityInfo
func (*ChannelPartnerLink) GetCreateTime
func (x *ChannelPartnerLink) GetCreateTime() *timestamppb.Timestamp
func (*ChannelPartnerLink) GetInviteLinkUri
func (x *ChannelPartnerLink) GetInviteLinkUri() string
func (*ChannelPartnerLink) GetLinkState
func (x *ChannelPartnerLink) GetLinkState() ChannelPartnerLinkState
func (*ChannelPartnerLink) GetName
func (x *ChannelPartnerLink) GetName() string
func (*ChannelPartnerLink) GetPublicId
func (x *ChannelPartnerLink) GetPublicId() string
func (*ChannelPartnerLink) GetResellerCloudIdentityId
func (x *ChannelPartnerLink) GetResellerCloudIdentityId() string
func (*ChannelPartnerLink) GetUpdateTime
func (x *ChannelPartnerLink) GetUpdateTime() *timestamppb.Timestamp
func (*ChannelPartnerLink) ProtoMessage
func (*ChannelPartnerLink) ProtoMessage()
func (*ChannelPartnerLink) ProtoReflect
func (x *ChannelPartnerLink) ProtoReflect() protoreflect.Message
func (*ChannelPartnerLink) Reset
func (x *ChannelPartnerLink) Reset()
func (*ChannelPartnerLink) String
func (x *ChannelPartnerLink) String() string
ChannelPartnerLinkState
type ChannelPartnerLinkState int32
ChannelPartnerLinkState 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.EnumDescriptor
func (ChannelPartnerLinkState) Enum
func (x ChannelPartnerLinkState) Enum() *ChannelPartnerLinkState
func (ChannelPartnerLinkState) EnumDescriptor
func (ChannelPartnerLinkState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelPartnerLinkState.Descriptor instead.
func (ChannelPartnerLinkState) Number
func (x ChannelPartnerLinkState) Number() protoreflect.EnumNumber
func (ChannelPartnerLinkState) String
func (x ChannelPartnerLinkState) String() string
func (ChannelPartnerLinkState) Type
func (ChannelPartnerLinkState) Type() protoreflect.EnumType
ChannelPartnerLinkView
type ChannelPartnerLinkView int32
The 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.EnumDescriptor
func (ChannelPartnerLinkView) Enum
func (x ChannelPartnerLinkView) Enum() *ChannelPartnerLinkView
func (ChannelPartnerLinkView) EnumDescriptor
func (ChannelPartnerLinkView) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelPartnerLinkView.Descriptor instead.
func (ChannelPartnerLinkView) Number
func (x ChannelPartnerLinkView) Number() protoreflect.EnumNumber
func (ChannelPartnerLinkView) String
func (x ChannelPartnerLinkView) String() string
func (ChannelPartnerLinkView) Type
func (ChannelPartnerLinkView) Type() protoreflect.EnumType
ChannelPartnerRepricingConfig
type ChannelPartnerRepricingConfig struct {
// Output only. Resource name of the ChannelPartnerRepricingConfig.
// Format:
// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The configuration for bill modifications made by a reseller
// before sending it to ChannelPartner.
RepricingConfig *RepricingConfig `protobuf:"bytes,2,opt,name=repricing_config,json=repricingConfig,proto3" json:"repricing_config,omitempty"`
// Output only. Timestamp of an update to the repricing rule. If `update_time`
// is after
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
// then it indicates this was set mid-month.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).
func (*ChannelPartnerRepricingConfig) Descriptor
func (*ChannelPartnerRepricingConfig) Descriptor() ([]byte, []int)
Deprecated: Use ChannelPartnerRepricingConfig.ProtoReflect.Descriptor instead.
func (*ChannelPartnerRepricingConfig) GetName
func (x *ChannelPartnerRepricingConfig) GetName() string
func (*ChannelPartnerRepricingConfig) GetRepricingConfig
func (x *ChannelPartnerRepricingConfig) GetRepricingConfig() *RepricingConfig
func (*ChannelPartnerRepricingConfig) GetUpdateTime
func (x *ChannelPartnerRepricingConfig) GetUpdateTime() *timestamppb.Timestamp
func (*ChannelPartnerRepricingConfig) ProtoMessage
func (*ChannelPartnerRepricingConfig) ProtoMessage()
func (*ChannelPartnerRepricingConfig) ProtoReflect
func (x *ChannelPartnerRepricingConfig) ProtoReflect() protoreflect.Message
func (*ChannelPartnerRepricingConfig) Reset
func (x *ChannelPartnerRepricingConfig) Reset()
func (*ChannelPartnerRepricingConfig) String
func (x *ChannelPartnerRepricingConfig) String() string
CheckCloudIdentityAccountsExistRequest
type CheckCloudIdentityAccountsExistRequest struct {
// Required. The reseller account's resource name.
// Parent uses the format: accounts/{account_id}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Domain to fetch for Cloud Identity account 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() string
func (*CheckCloudIdentityAccountsExistRequest) GetParent
func (x *CheckCloudIdentityAccountsExistRequest) GetParent() string
func (*CheckCloudIdentityAccountsExistRequest) GetPrimaryAdminEmail
func (x *CheckCloudIdentityAccountsExistRequest) GetPrimaryAdminEmail()