123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- syntax = "proto3";
- package google.cloud.channel.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/timestamp.proto";
- import "google/type/date.proto";
- import "google/type/decimal.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
- option java_multiple_files = true;
- option java_outer_classname = "RepricingProto";
- option java_package = "com.google.cloud.channel.v1";
- enum RebillingBasis {
-
- REBILLING_BASIS_UNSPECIFIED = 0;
-
- COST_AT_LIST = 1;
-
-
-
-
- DIRECT_CUSTOMER_COST = 2;
- }
- message CustomerRepricingConfig {
- option (google.api.resource) = {
- type: "cloudchannel.googleapis.com/CustomerRepricingConfig"
- pattern: "accounts/{account}/customers/{customer}/customerRepricingConfigs/{customer_repricing_config}"
- };
-
-
-
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- RepricingConfig repricing_config = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message ChannelPartnerRepricingConfig {
- option (google.api.resource) = {
- type: "cloudchannel.googleapis.com/ChannelPartnerRepricingConfig"
- pattern: "accounts/{account}/channelPartnerLinks/{channel_partner}/channelPartnerRepricingConfigs/{channel_partner_repricing_config}"
- };
-
-
-
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- RepricingConfig repricing_config = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message RepricingConfig {
-
- message EntitlementGranularity {
-
-
-
- string entitlement = 1 [(google.api.resource_reference) = {
- type: "cloudchannel.googleapis.com/Entitlement"
- }];
- }
-
-
-
- message ChannelPartnerGranularity {
- }
-
- oneof granularity {
-
-
- EntitlementGranularity entitlement_granularity = 4;
-
-
- ChannelPartnerGranularity channel_partner_granularity = 5;
- }
-
-
- google.type.Date effective_invoice_month = 1 [(google.api.field_behavior) = REQUIRED];
-
- RepricingAdjustment adjustment = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- RebillingBasis rebilling_basis = 3 [(google.api.field_behavior) = REQUIRED];
- }
- message RepricingAdjustment {
-
- oneof adjustment {
-
- PercentageAdjustment percentage_adjustment = 2;
- }
- }
- message PercentageAdjustment {
-
-
-
-
-
- google.type.Decimal percentage = 2;
- }
|