Skip to content

Commit 9cafd30

Browse files
feat: Automated regeneration of CloudChannel client (googleapis#12483)
Auto-created at 2024-11-05 13:15:42 +0000 using the toys pull request generator.
1 parent 5022933 commit 9cafd30

15 files changed

+86
-12
lines changed

clients/cloud_channel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_cloud_channel, "~> 0.10"}]
14+
[{:google_api_cloud_channel, "~> 0.11"}]
1515
end
1616
```
1717

clients/cloud_channel/lib/google_api/cloud_channel/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.CloudChannel.V1 do
2020
API client metadata for GoogleApi.CloudChannel.V1.
2121
"""
2222

23-
@discovery_revision "20241024"
23+
@discovery_revision "20241102"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1_change_offer_request.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ChangeOfferRequest
2424
* `billingAccount` (*type:* `String.t`, *default:* `nil`) - 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.
2525
* `offer` (*type:* `String.t`, *default:* `nil`) - Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.
2626
* `parameters` (*type:* `list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Parameter.t)`, *default:* `nil`) - Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the Offer.parameter_definitions from the desired offer.
27+
* `priceReferenceId` (*type:* `String.t`, *default:* `nil`) - Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
2728
* `purchaseOrderId` (*type:* `String.t`, *default:* `nil`) - Optional. Purchase order id provided by the reseller.
2829
* `requestId` (*type:* `String.t`, *default:* `nil`) - 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`).
2930
"""
@@ -35,6 +36,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ChangeOfferRequest
3536
:offer => String.t() | nil,
3637
:parameters =>
3738
list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Parameter.t()) | nil,
39+
:priceReferenceId => String.t() | nil,
3840
:purchaseOrderId => String.t() | nil,
3941
:requestId => String.t() | nil
4042
}
@@ -47,6 +49,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ChangeOfferRequest
4749
type: :list
4850
)
4951

52+
field(:priceReferenceId)
5053
field(:purchaseOrderId)
5154
field(:requestId)
5255
end

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1_customer_event.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1CustomerEvent do
2222
## Attributes
2323
2424
* `customer` (*type:* `String.t`, *default:* `nil`) - Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
25-
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened on the customer.
25+
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened for the customer.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1_entitlement.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Entitlement do
2828
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
2929
* `offer` (*type:* `String.t`, *default:* `nil`) - Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
3030
* `parameters` (*type:* `list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Parameter.t)`, *default:* `nil`) - Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the 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.
31+
* `priceReferenceId` (*type:* `String.t`, *default:* `nil`) - Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order. Yet to be implemented: this field is currently not evaluated in the API if populated in a request.
3132
* `provisionedService` (*type:* `GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ProvisionedService.t`, *default:* `nil`) - Output only. Service provisioning details for the entitlement.
3233
* `provisioningState` (*type:* `String.t`, *default:* `nil`) - Output only. Current provisioning state of the entitlement.
3334
* `purchaseOrderId` (*type:* `String.t`, *default:* `nil`) - 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.
@@ -49,6 +50,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Entitlement do
4950
:offer => String.t() | nil,
5051
:parameters =>
5152
list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Parameter.t()) | nil,
53+
:priceReferenceId => String.t() | nil,
5254
:provisionedService =>
5355
GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ProvisionedService.t() | nil,
5456
:provisioningState => String.t() | nil,
@@ -75,6 +77,8 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Entitlement do
7577
type: :list
7678
)
7779

80+
field(:priceReferenceId)
81+
7882
field(:provisionedService,
7983
as: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ProvisionedService
8084
)

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1_entitlement_event.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1EntitlementEvent d
2222
## Attributes
2323
2424
* `entitlement` (*type:* `String.t`, *default:* `nil`) - Resource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
25-
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened on the entitlement.
25+
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened for the entitlement.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1_purchasable_offer.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PurchasableOffer d
2222
## Attributes
2323
2424
* `offer` (*type:* `GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer.t`, *default:* `nil`) - Offer.
25+
* `priceReferenceId` (*type:* `String.t`, *default:* `nil`) - Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
30-
:offer => GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer.t() | nil
31+
:offer => GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer.t() | nil,
32+
:priceReferenceId => String.t() | nil
3133
}
3234

3335
field(:offer, as: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer)
36+
field(:priceReferenceId)
3437
end
3538

3639
defimpl Poison.Decoder, for: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PurchasableOffer do

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1_transferable_offer.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1TransferableOffer
2222
## Attributes
2323
2424
* `offer` (*type:* `GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer.t`, *default:* `nil`) - Offer with parameter constraints updated to allow the Transfer.
25+
* `priceReferenceId` (*type:* `String.t`, *default:* `nil`) - Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
30-
:offer => GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer.t() | nil
31+
:offer => GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer.t() | nil,
32+
:priceReferenceId => String.t() | nil
3133
}
3234

3335
field(:offer, as: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Offer)
36+
field(:priceReferenceId)
3437
end
3538

3639
defimpl Poison.Decoder, for: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1TransferableOffer do

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1alpha1_channel_partner_event.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1ChannelPartn
2222
## Attributes
2323
2424
* `channelPartner` (*type:* `String.t`, *default:* `nil`) - Resource name for the Channel Partner Link. Channel_partner uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
25-
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event performed on the Channel Partner.
25+
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened for the channel partner.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1alpha1_customer_event.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1alpha1CustomerEven
2222
## Attributes
2323
2424
* `customer` (*type:* `String.t`, *default:* `nil`) - Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
25-
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened on the customer.
25+
* `eventType` (*type:* `String.t`, *default:* `nil`) - Type of event which happened for the customer.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)