Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: addition of billing_account field on Plan #56

Merged
merged 2 commits into from Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -459,9 +459,10 @@ public final UnaryCallable<GetCustomerRequest, Customer> getCustomerCallable() {
*
* <p>Return Value: List of
* [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources
* for the domain. List may be empty. Note: in the v1alpha1 version of the API, a NOT_FOUND error
* is returned if no
* [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource
* for the domain. List may be empty.
*
* <p>Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if no
* [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources
* match the domain.
*
* <p>Sample code:
Expand Down Expand Up @@ -502,9 +503,10 @@ public final CheckCloudIdentityAccountsExistResponse checkCloudIdentityAccountsE
*
* <p>Return Value: List of
* [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources
* for the domain. List may be empty. Note: in the v1alpha1 version of the API, a NOT_FOUND error
* is returned if no
* [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource
* for the domain. List may be empty.
*
* <p>Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if no
* [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources
* match the domain.
*
* <p>Sample code:
Expand Down
Expand Up @@ -1744,7 +1744,7 @@ public void getCustomer(
* List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain.
* List may be empty.
* Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain.
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
* </pre>
*/
public void checkCloudIdentityAccountsExist(
Expand Down Expand Up @@ -2915,7 +2915,7 @@ public void getCustomer(
* List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain.
* List may be empty.
* Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain.
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
* </pre>
*/
public void checkCloudIdentityAccountsExist(
Expand Down Expand Up @@ -3947,7 +3947,7 @@ public com.google.cloud.channel.v1.Customer getCustomer(
* List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain.
* List may be empty.
* Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain.
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
* </pre>
*/
public com.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse
Expand Down Expand Up @@ -4868,7 +4868,7 @@ protected CloudChannelServiceFutureStub build(
* List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain.
* List may be empty.
* Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain.
* no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
5 changes: 5 additions & 0 deletions proto-google-cloud-channel-v1/clirr-ignored-differences.xml
Expand Up @@ -56,4 +56,9 @@
<className>com/google/cloud/channel/v1/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/channel/v1/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
</differences>
Expand Up @@ -344,6 +344,7 @@ public com.google.protobuf.ByteString getOrgDisplayNameBytes() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -364,6 +365,7 @@ public boolean hasOrgPostalAddress() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -386,6 +388,7 @@ public com.google.type.PostalAddress getOrgPostalAddress() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand Down Expand Up @@ -1645,6 +1648,7 @@ public Builder setOrgDisplayNameBytes(com.google.protobuf.ByteString value) {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -1664,6 +1668,7 @@ public boolean hasOrgPostalAddress() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -1689,6 +1694,7 @@ public com.google.type.PostalAddress getOrgPostalAddress() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand Down Expand Up @@ -1716,6 +1722,7 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress value) {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -1740,6 +1747,7 @@ public Builder setOrgPostalAddress(com.google.type.PostalAddress.Builder builder
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand Down Expand Up @@ -1771,6 +1779,7 @@ public Builder mergeOrgPostalAddress(com.google.type.PostalAddress value) {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -1796,6 +1805,7 @@ public Builder clearOrgPostalAddress() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -1815,6 +1825,7 @@ public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -1838,6 +1849,7 @@ public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder() {
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand Down
Expand Up @@ -81,6 +81,7 @@ public interface CustomerOrBuilder
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -98,6 +99,7 @@ public interface CustomerOrBuilder
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand All @@ -115,6 +117,7 @@ public interface CustomerOrBuilder
* <pre>
* Required. Address of the organization of the customer entity.
* Region and zip codes are required to enforce US laws and embargoes.
* Valid address lines are required for all customers.
* Language code is discarded. Use the Customer-level language code to set the
* customer's language.
* </pre>
Expand Down
Expand Up @@ -114,47 +114,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "7.google.cloud.channel.v1.CloudIdentityI"
+ "nfo.CustomerType\022N\n\027promotional_order_ty"
+ "pes\030\003 \003(\0162-.google.cloud.channel.v1.Prom"
+ "otionalOrderType\"\355\001\n\004Plan\022:\n\014payment_pla"
+ "otionalOrderType\"\206\002\n\004Plan\022:\n\014payment_pla"
+ "n\030\001 \001(\0162$.google.cloud.channel.v1.Paymen"
+ "tPlan\022:\n\014payment_type\030\002 \001(\0162$.google.clo"
+ "ud.channel.v1.PaymentType\0226\n\rpayment_cyc"
+ "le\030\003 \001(\0132\037.google.cloud.channel.v1.Perio"
+ "d\0225\n\014trial_period\030\004 \001(\0132\037.google.cloud.c"
+ "hannel.v1.Period\"\271\001\n\017PriceByResource\022<\n\r"
+ "resource_type\030\001 \001(\0162%.google.cloud.chann"
+ "el.v1.ResourceType\022-\n\005price\030\002 \001(\0132\036.goog"
+ "le.cloud.channel.v1.Price\0229\n\014price_phase"
+ "s\030\003 \003(\0132#.google.cloud.channel.v1.PriceP"
+ "hase\"\212\001\n\005Price\022&\n\nbase_price\030\001 \001(\0132\022.goo"
+ "gle.type.Money\022\020\n\010discount\030\002 \001(\001\022+\n\017effe"
+ "ctive_price\030\003 \001(\0132\022.google.type.Money\022\032\n"
+ "\022external_price_uri\030\004 \001(\t\"\331\001\n\nPricePhase"
+ "\0228\n\013period_type\030\001 \001(\0162#.google.cloud.cha"
+ "nnel.v1.PeriodType\022\024\n\014first_period\030\002 \001(\005"
+ "\022\023\n\013last_period\030\003 \001(\005\022-\n\005price\030\004 \001(\0132\036.g"
+ "oogle.cloud.channel.v1.Price\0227\n\013price_ti"
+ "ers\030\005 \003(\0132\".google.cloud.channel.v1.Pric"
+ "eTier\"i\n\tPriceTier\022\026\n\016first_resource\030\001 \001"
+ "(\005\022\025\n\rlast_resource\030\002 \001(\005\022-\n\005price\030\003 \001(\013"
+ "2\036.google.cloud.channel.v1.Price\"T\n\006Peri"
+ "od\022\020\n\010duration\030\001 \001(\005\0228\n\013period_type\030\002 \001("
+ "\0162#.google.cloud.channel.v1.PeriodType*m"
+ "\n\024PromotionalOrderType\022 \n\034PROMOTIONAL_TY"
+ "PE_UNSPECIFIED\020\000\022\017\n\013NEW_UPGRADE\020\001\022\014\n\010TRA"
+ "NSFER\020\002\022\024\n\020PROMOTION_SWITCH\020\003*k\n\013Payment"
+ "Plan\022\034\n\030PAYMENT_PLAN_UNSPECIFIED\020\000\022\016\n\nCO"
+ "MMITMENT\020\001\022\014\n\010FLEXIBLE\020\002\022\010\n\004FREE\020\003\022\t\n\005TR"
+ "IAL\020\004\022\013\n\007OFFLINE\020\005*D\n\013PaymentType\022\034\n\030PAY"
+ "MENT_TYPE_UNSPECIFIED\020\000\022\n\n\006PREPAY\020\001\022\013\n\007P"
+ "OSTPAY\020\002*\212\001\n\014ResourceType\022\035\n\031RESOURCE_TY"
+ "PE_UNSPECIFIED\020\000\022\010\n\004SEAT\020\001\022\007\n\003MAU\020\002\022\006\n\002G"
+ "B\020\003\022\021\n\rLICENSED_USER\020\004\022\013\n\007MINUTES\020\005\022\016\n\nI"
+ "AAS_USAGE\020\006\022\020\n\014SUBSCRIPTION\020\007*G\n\nPeriodT"
+ "ype\022\033\n\027PERIOD_TYPE_UNSPECIFIED\020\000\022\007\n\003DAY\020"
+ "\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033com.google.clo"
+ "ud.channel.v1B\013OffersProtoP\001Z>google.gol"
+ "ang.org/genproto/googleapis/cloud/channe"
+ "l/v1;channelb\006proto3"
+ "hannel.v1.Period\022\027\n\017billing_account\030\005 \001("
+ "\t\"\271\001\n\017PriceByResource\022<\n\rresource_type\030\001"
+ " \001(\0162%.google.cloud.channel.v1.ResourceT"
+ "ype\022-\n\005price\030\002 \001(\0132\036.google.cloud.channe"
+ "l.v1.Price\0229\n\014price_phases\030\003 \003(\0132#.googl"
+ "e.cloud.channel.v1.PricePhase\"\212\001\n\005Price\022"
+ "&\n\nbase_price\030\001 \001(\0132\022.google.type.Money\022"
+ "\020\n\010discount\030\002 \001(\001\022+\n\017effective_price\030\003 \001"
+ "(\0132\022.google.type.Money\022\032\n\022external_price"
+ "_uri\030\004 \001(\t\"\331\001\n\nPricePhase\0228\n\013period_type"
+ "\030\001 \001(\0162#.google.cloud.channel.v1.PeriodT"
+ "ype\022\024\n\014first_period\030\002 \001(\005\022\023\n\013last_period"
+ "\030\003 \001(\005\022-\n\005price\030\004 \001(\0132\036.google.cloud.cha"
+ "nnel.v1.Price\0227\n\013price_tiers\030\005 \003(\0132\".goo"
+ "gle.cloud.channel.v1.PriceTier\"i\n\tPriceT"
+ "ier\022\026\n\016first_resource\030\001 \001(\005\022\025\n\rlast_reso"
+ "urce\030\002 \001(\005\022-\n\005price\030\003 \001(\0132\036.google.cloud"
+ ".channel.v1.Price\"T\n\006Period\022\020\n\010duration\030"
+ "\001 \001(\005\0228\n\013period_type\030\002 \001(\0162#.google.clou"
+ "d.channel.v1.PeriodType*m\n\024PromotionalOr"
+ "derType\022 \n\034PROMOTIONAL_TYPE_UNSPECIFIED\020"
+ "\000\022\017\n\013NEW_UPGRADE\020\001\022\014\n\010TRANSFER\020\002\022\024\n\020PROM"
+ "OTION_SWITCH\020\003*k\n\013PaymentPlan\022\034\n\030PAYMENT"
+ "_PLAN_UNSPECIFIED\020\000\022\016\n\nCOMMITMENT\020\001\022\014\n\010F"
+ "LEXIBLE\020\002\022\010\n\004FREE\020\003\022\t\n\005TRIAL\020\004\022\013\n\007OFFLIN"
+ "E\020\005*D\n\013PaymentType\022\034\n\030PAYMENT_TYPE_UNSPE"
+ "CIFIED\020\000\022\n\n\006PREPAY\020\001\022\013\n\007POSTPAY\020\002*\212\001\n\014Re"
+ "sourceType\022\035\n\031RESOURCE_TYPE_UNSPECIFIED\020"
+ "\000\022\010\n\004SEAT\020\001\022\007\n\003MAU\020\002\022\006\n\002GB\020\003\022\021\n\rLICENSED"
+ "_USER\020\004\022\013\n\007MINUTES\020\005\022\016\n\nIAAS_USAGE\020\006\022\020\n\014"
+ "SUBSCRIPTION\020\007*G\n\nPeriodType\022\033\n\027PERIOD_T"
+ "YPE_UNSPECIFIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n"
+ "\004YEAR\020\003Bl\n\033com.google.cloud.channel.v1B\013"
+ "OffersProtoP\001Z>google.golang.org/genprot"
+ "o/googleapis/cloud/channel/v1;channelb\006p"
+ "roto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down Expand Up @@ -214,7 +215,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_channel_v1_Plan_descriptor,
new java.lang.String[] {
"PaymentPlan", "PaymentType", "PaymentCycle", "TrialPeriod",
"PaymentPlan", "PaymentType", "PaymentCycle", "TrialPeriod", "BillingAccount",
});
internal_static_google_cloud_channel_v1_PriceByResource_descriptor =
getDescriptor().getMessageTypes().get(5);
Expand Down